- 20 Oct, 2005 2 commits
-
-
Dave Jones authored
Signed-off-by:
Dave Jones <davej@redhat.com>
-
Dave Jones authored
Signed-off-by:
Dave Jones <davej@redhat.com>
-
- 23 Sep, 2005 1 commit
-
-
Dave Jones authored
Via reading the code, my understanding is that powernow-k8 uses preempt_disable to ensure that driver->target doesn't migrate across cpus whilst it's accessing per processor registers, however set_cpus_allowed will provide this for us. Additionally, remove schedule() calls from set_cpus_allowed as set_cpus_allowed ensures that you're executing on the target processor on return. Signed-off-by:
Zwane Mwaikambo <zwane@arm.linux.org.uk> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Jones <davej@redhat.com>
-
- 20 Sep, 2005 9 commits
-
-
Dave Jones authored
The problem is in the ondemand governor, there is a periodic measurement of the CPU usage. This CPU usage is updated by the scheduler after every tick (basically, by adding 1 either to "idle" or to "user" or to "system"). So if the frequency of the governor is too high, the stat will be meaningless (as mostly no number have changed). So this patch checks that the measurements are separated by at least 10 ticks. It means that by default, stats will have about 5% error (20 ticks). Of course those numbers can be argued but, IMHO, they look sane. The patch also includes a small clean-up to check more explictly the result of the conversion from ns to µs being null. Let's note that (on x86) this has never been really needed before 2.6.13 because HZ was always 1000. Now that HZ can be 100, some CPU might be affected by this problem. For instance when HZ=100, the centrino ,which has a 10µs transition latency, would lead to the governor allowing to read stats every tick (10ms)! Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dave Jones <davej@redhat.com>
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Linus Torvalds authored
Avast, ye scurvy land-lubbers! Time to try out a new release. Arrr!
-
Linus Torvalds authored
Checking i_nlink is dubious, but the alternatives look even less appetizing. Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
Mark J Cox authored
Fix unchecked __get_user that could be tricked into generating a memory read on an arbitrary address. The result of the read is not returned directly but you may be able to divine some information about it, or use the read to cause a crash on some architectures by reading hardware state. CAN-2004-2492. Fix from Al Viro, ack from Dave Miller. Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Herbert Xu authored
The problem is that we're now calling tcp_fragment() in a context where the packets might be marked as SACKED_ACKED or SACKED_RETRANS. This was not possible before as you never retransmitted packets that are so marked. Because of this, we need to adjust sacked_out and retrans_out in tcp_fragment(). This is exactly what the following patch does. We also need to preserve the SACKED_ACKED/SACKED_RETRANS marking if they exist. Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 19 Sep, 2005 26 commits
-
-
Alexey Dobriyan authored
Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Krzysztof Halasa authored
The following commit breaks cisco mode with my WAN drivers: author David S. Miller <davem@davemloft.net> Tue, 28 Jun 2005 22:25:31 +0000 (15:25 -0700) commit 689be439 "[NET]: Remove gratuitous use of skb->tail in network drivers." The following patch fixes it - please apply (cisco_hard_header does skb_push(4 bytes)). Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Harald Welte authored
Those exports are needed by the PPTP helper following in the next couple of changes. Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Patrick McHardy authored
Both __ip_conntrack_expect_find and ip_conntrack_expect_find_get take a reference to the expectation, the difference is that callers of __ip_conntrack_expect_find must hold ip_conntrack_lock. Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Yasuyuki Kozakai authored
Some IPv6 matches have very similar loops to find IPv6 extension header and we can unify them. This patch introduces ipv6_find_hdr() to do it. I just checked that it can find the target headers in the packet which has dst,hbh,rt,frag,ah,esp headers. Signed-off-by:
Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Harald Welte authored
This new "version 3" PPTP conntrack/nat helper is finally ready for mainline inclusion. Special thanks to lots of last-minute bugfixing by Patric McHardy. Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Robert Olsson authored
* This patch is from Paul McKenney's RCU reviewing. Signed-off-by:
Robert Olsson <robert.olsson@its.uu.se> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Robert Olsson authored
* Prints the route tnode and set the stats level deepth as before. Signed-off-by:
Robert Olsson <robert.olsson@its.uu.se> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Andreas Herrmann authored
this patch adds some fc host attributes and removes its equivalents from the zfcp_adapter structure and zfcp specific sysfs subtree. Furthermore it removes superfluous calls to fc_remort_port_delete when an adapter is set offline because rports will be removed by fc_remove_host anyway. Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Maxim Shchetynin authored
N_Port ID Virtualization (NPIV) allows a single FCP port to appear as multiple, distinct ports providing separate port identification. NPIV is supported by FC HBAs on System z9. zfcp was adapted to support this new feature. Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Maxim Shchetynin authored
Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not change. The new traces improve debugging of problems with zfcp, scsi-stack, multipath and hardware in the SAN. san_dbf traces things like ELS and CT commands, hba_dbf saves HBA specific information of requests, and scsi_dbf saves FCP and SCSI specific information of requests. Common to all new DBFs is that they provide a so called structured view. This significantly improves readability of the traces. Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Andreas Herrmann authored
Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Andreas Herrmann authored
Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Andreas Herrmann authored
o union zfcp_req_data removed o increment unit refcount when processing FCP commands (This fixes a theoretical race: When all scsi commands of a unit are aborted and the scsi_device is removed then the unit could be removed before all fsf_requests of that unit are completely processed.) Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Andreas Herrmann authored
o always use locking when changing erp_action lists, o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is still in use for ERP_ACTION_REOPEN_PORT Signed-off-by:
Andreas Herrmann <aherrman@de.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Moore, Eric Dean authored
On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote: > Looks good to me, except for the spurious scsi_print_command prototype > in mptscsih.h. The attached patch addresses that concern. Signed-off-by:
Eric Moore <Eric.Moore@lsil.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Moore, Eric Dean authored
Summary of Changes: * splitting mpt_interrupt per Christophs suggestion about a month ago * rename ScsiCfgData to SpiCfgData structure, then move all the raid related info into new structure called RaidCfgData. This is done because SAS supports RAID, as well as SPI, so the raid stuff should be seperate. * incorrect timeout calculation for cntdn inside WaitForDoorbellAck and WaitForDoortbellInt * add support for interpreting SAS Log Info * Increase Event Log Size from 0xA to 0x32 * Fix bug in mptsas/mptfc/mptspi - when controller has Initiator Mode Disabled, and only running in TargetMode, the mptctl would panic when loading. The fix is to return 0, instead of -ENODEV, in SCSI LLD respective probe routines * Fix bug in mptlan.c - driver will panic if there is host reset, due to dev being set to zero in mpt_lan_ioc_reset * Fix's for SPI - Echo Buffer * Several fix's in mptscsih_io_done - FCP Response info, RESIDUAL_MISMATCH, Data Underrun, etc. * Cleanup Error Handling - EH handlers, mptscsih_flush_cmds, and zeroing out ScsiLookup from mptscsih_qcmd * Cleanup asyn event handling from mptscsih -> mptscsih_event_process. Also added support for SAS Persistent Table Full, an asyn event Signed-off-by:
Eric Moore <Eric.Moore@lsil.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Christoph Hellwig authored
Adds the actual mptsas driver, based upon the LSI driver with new work for SAS transport class integration from Eric Moore and me. This obviously depends on the SAS transport class. Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Christoph Hellwig authored
- various bits for SAS support from the LSI driver. - use the device private data for the fusion target private data. this should be using the midlayer target data framework, but we can't move over to that until fusion has been switched to the generic DV code - use target ID and channel from the fusion target private data, because those in scsi_device will be different for mptsas Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Ivan Kokshaysky authored
Basically, this extends original dp264 fixup to all dp264 variations. Here is one minor change: mask out bits 4-7 of a value assigned by SRM, because - newer consoles report ISA IRQs with offset 0xe0; - even if console IRQ value is bogus, we'll have a value < 16 so it should be harmless as it won't clash with native IRQs. Particularly this fixes USB interrupt problem on xp1000 and es40. Signed-off-by:
Ivan Kokshaysky <ink@jurassic.park.msu.ru> Acked-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
James Bottomley authored
From: Alan Stern <stern@rowland.harvard.edu> This patch (as561) fixes the error handler's thread-exit code. The kthread_stop call won't wake the thread from a down_interruptible, so the patch gets rid of the semaphore and simply does set_current_state(TASK_INTERRUPTIBLE); Signed-off-by:
Alan Stern <stern@rowland.harvard.edu> Modified to simplify the termination loop and correct the sleep condition. Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
We fix the oops by enforcing the host state model. There have also been two extra states added: SHOST_CANCEL_RECOVERY and SHOST_DEL_RECOVERY so we can take the model through host removal while the recovery thread is active. Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
changes by Richard Russon.) Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
- 18 Sep, 2005 2 commits
-
-
Linus Torvalds authored
-
Russell King authored
Fix: arch/arm/mach-sa1100/generic.c:224: warning: 'struct mcp_plat_data' declared inside parameter list caused by mussing structure and function declaration. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-