Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Jeff Garzik
Linus Torvalds wrote: (For example: I have three machines that I know have working MMCONF. On only one of theose does Linux actually even enable MMCONF accesses, because on the two other ones the BIOSes do the crazy "put it in some space that is reserved by PnP crap later", so we actually

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Jeff Garzik
Ivan Kokshaysky wrote: On Sun, Dec 23, 2007 at 12:44:30AM -0500, Jeff Garzik wrote: Failures are more predictable and more consistent with an all-or-none scenario. The all-or-none solutions are the least complex on the software side, and far more widely tested than any mixed config access

Re: [RFC/PATCH 4/4] [POWERPC] pci: Disable IO/Mem on a device when resources can't be allocated

2007-12-23 Thread Grant Grundler
On Tue, Dec 18, 2007 at 10:01:15AM +1100, Benjamin Herrenschmidt wrote: > This patch changes the PowerPC PCI code to disable IO and/or Memory > decoding on a PCI device when a resource of that type failed to be > allocated. This is done to avoid having unallocated dangling BARs enabled > that

Re: [RFC/PATCH 2/4] pci: Remove users of pci_enable_device_bars()

2007-12-23 Thread Grant Grundler
Just a style nit... On Tue, Dec 18, 2007 at 10:01:14AM +1100, Benjamin Herrenschmidt wrote: > This patch converts users of pci_enable_device_bars() to the new > pci_enable_device_{io,mem} interface. > > The new API fits nicely, except maybe for the QLA case where a bit of > code re-organization

Re: [RFC/PATCH 3/4] pci: Remove pci_enable_device_bars()

2007-12-23 Thread Grant Grundler
On Tue, Dec 18, 2007 at 10:01:14AM +1100, Benjamin Herrenschmidt wrote: > Now that all in-tree users are gone, this removes pci_enable_device_bars() > completely. Almost completely. Patch below removes pci_enable_device_bars() from Documentation/pci.txt . (And I'd be happy to review patches to

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Jeff Garzik
Arjan van de Ven wrote: 3) mmconfig might or might not be enabled, depending on which driver is loaded, whether it called an API or not. Even LESS testing by hw vendors than #2. Maybe even "never" Inconsistent (config access depends on device) the "depends on device" is even

Re: [RFC] [Patch] calgary iommu: Use the first kernel's tce tables in kdump

2007-12-23 Thread Chandru
Hi Muli, I have tried to work with CCR ,CSR, CSMR, CSAR, CFGRW, GBRERRM registers but have been unable to make calgary generate an exception upon error condition. In alloc_tce_table() , I am setting WRITE_ONLY access permission bit to tce entries but it isn't helping. Would you kindly let

Re: [PATCH] UPDATED: hfs: handle more on-disk corruptions without oopsing

2007-12-23 Thread Eric Sandeen
Roman Zippel wrote: > Hi, > > On Thursday 20 December 2007, Eric Sandeen wrote: > >> Index: linux-2.6.24-rc3/fs/hfs/brec.c >> === >> --- linux-2.6.24-rc3.orig/fs/hfs/brec.c >> +++ linux-2.6.24-rc3/fs/hfs/brec.c >> @@ -44,10 +44,21

Re: Build breakage on powerpc with 2.6.24-rc6-mm1

2007-12-23 Thread Greg KH
On Mon, Dec 24, 2007 at 01:43:53PM +1100, Stephen Rothwell wrote: > Hi Balbir, > > Thanks for the report. > > On Mon, 24 Dec 2007 04:11:58 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > > > > I see the following error with the iseries_veth driver in 2.6.24-rc6-mm1 > > > >

Re: drivers/net/iseries_veth.c dubious sysfs usage

2007-12-23 Thread Greg KH
On Mon, Dec 24, 2007 at 01:52:08PM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Wed, 12 Dec 2007 23:08:29 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > > > Hm, ok, it's odd as you are the only driver in the whole tree doing > > something like this, but it seems semi-resonable, so I can't

Re: Boot time module loading problem

2007-12-23 Thread Larry Finger
Shourya Sarcar wrote: > Larry Finger wrote: >> With 2.6.24-rc5, a b43 user reports a problem at bootup. The b43 >> module, which should be loaded by the ssb module, fails with the >> following type of message: >> >> ssb: Sonics Silicon Backplane found on PCI device :0c:00.0 b43: >> disagrees

SCSI errors on powerpc with 2.6.24-rc6-mm1

2007-12-23 Thread Balbir Singh
Hi, I've just seen this on my dmesg, this is new, never seen this before on this box and it happens only with this version of the kernel. In this configuration, the page size is set to 64K and I've enabled fake NUMA nodes on PowerPC. tce_buildmulti_pSeriesLP: plpar_tce_put failed. rc=-4

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-23 Thread Alessandro Suardi
On 22 Dec 2007 16:52:56 -0600, Jason L Tibbitts III <[EMAIL PROTECTED]> wrote: > > "IM" == Ingo Molnar <[EMAIL PROTECTED]> writes: > > IM> Distros will likely pick SLUB if there's no performance worries > IM> and if it's the default. Fedora rawhide already uses SLUB. > > Actually, it seems to

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-23 Thread Theodore Tso
On Sun, Dec 23, 2007 at 03:15:00PM +0100, Andi Kleen wrote: > > Same here. In fact, I've always considered that procfs was for > > humans while sysfs was for tools. sysfs reminds me too much the > > unexploitable /devices in Solaris. With the proper tools, I think > > we can do a lot with it, but

[PATCH] x86: kprobes remove fix_riprel #ifdef

2007-12-23 Thread Harvey Harrison
Move #ifdef around function definiton into the function and unconditionally return on X86_32. Saves an ifdef from the one callsite. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- Ingo, Masami, final leftovers from some unsent kprobes unification work. Net reduction of one #ifdef

[PATCH] x86: Introduce REX prefix helper for kprobes

2007-12-23 Thread Harvey Harrison
Fold some small ifdefs into a helper function. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- Masami, Ingo, I had this left in some unsent kprobes unification work. Depends on your tastes, but does reduce ifdefs and is a bit better about self-documenting the REX prefix on X86_64. If I

Re: do not stop/start devices in suspend/resume path: the SCSI case

2007-12-23 Thread Bjorn Helgaas
On Sunday 23 December 2007 6:43:49 pm Stephane Ascoet wrote: > Bjorn Helgaas a écrit : > > Good. It's not clear to me whether it is safe to leave devices > > enabled while we sleep. I don't see an actual problem, but there > > might be something related to hotplug while we're asleep or

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Carlos Corbacho
On Monday 24 December 2007 01:14:34 Linus Torvalds wrote: > Side note: we could obviously undo the commit that triggered this for you > [..] > In other words, we'd have to go back to our original ordering, which Len > said was fundamentally wrong. I don't think anybody really wants that. Nor

Re: drivers/net/iseries_veth.c dubious sysfs usage

2007-12-23 Thread Stephen Rothwell
Hi Greg, On Wed, 12 Dec 2007 23:08:29 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > Hm, ok, it's odd as you are the only driver in the whole tree doing > something like this, but it seems semi-resonable, so I can't complain :) > > I'll fix the core up to allow you to do this, thanks for the >

Re: [PATCH] Avoid overflows in kernel/time.c (version 5)

2007-12-23 Thread Roman Zippel
Hi, On Monday 17 December 2007, H. Peter Anvin wrote: > kernel/timeconst.pl | 340 I agree with Jan that it would be better to put this into scripts. In the long term we could also detect some of the simple special cases, so we can finally inline some of these functions again, this

Re: [PATCH] UPDATED: hfs: handle more on-disk corruptions without oopsing

2007-12-23 Thread Roman Zippel
Hi, On Thursday 20 December 2007, Eric Sandeen wrote: > Index: linux-2.6.24-rc3/fs/hfs/brec.c > === > --- linux-2.6.24-rc3.orig/fs/hfs/brec.c > +++ linux-2.6.24-rc3/fs/hfs/brec.c > @@ -44,10 +44,21 @@ u16 hfs_brec_keylen(struct

Re: Build breakage on powerpc with 2.6.24-rc6-mm1

2007-12-23 Thread Stephen Rothwell
Hi Balbir, Thanks for the report. On Mon, 24 Dec 2007 04:11:58 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > > I see the following error with the iseries_veth driver in 2.6.24-rc6-mm1 > > drivers/net/iseries_veth.c: In function ‘veth_init_connection’: > drivers/net/iseries_veth.c:818:

Re: Boot time module loading problem

2007-12-23 Thread Shourya Sarcar
Larry Finger wrote: With 2.6.24-rc5, a b43 user reports a problem at bootup. The b43 module, which should be loaded by the ssb module, fails with the following type of message: ssb: Sonics Silicon Backplane found on PCI device :0c:00.0 b43: disagrees about version of symbol

Re: [BUG 2.6.24-rc6-mm1] BUG() at check_irqs_on() in fs/buffer.c .

2007-12-23 Thread Tetsuo Handa
Hello. Ingo Molnar wrote: > does the patch below help? Yes, it solved this bug. Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: 2.6.24-rc6-mm1

2007-12-23 Thread Herbert Xu
On Sun, Dec 23, 2007 at 12:14:10PM -0800, Andrew Morton wrote: > > No, the problem is that include/crypto/scatterwalk.h doesn't include enough > header files to support its inlining fetish. It needs sched.h. I'll get it fixed in cryptodev. > Ingo, it's not good that we have cond_resched()

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Linus Torvalds wrote: > > IOW, it looks like the normal kind of ACPI mess. Color me not in the least > surprised, and it needs somebody who understands AML and what the heck is > supposed to happen to figure out. Side note: we could obviously undo the commit that

Re: [patch 00/20] VM pageout scalability improvements

2007-12-23 Thread Rik van Riel
On Mon, 24 Dec 2007 04:29:36 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > Rik van Riel wrote: > > In the real world, users with large JVMs on their servers, which > > sometimes go a little into swap, can trigger this system. All of > > the CPUs end up scanning the active list, and all pages

Re: [patch 17/20] non-reclaimable mlocked pages

2007-12-23 Thread Rik van Riel
On Sun, 23 Dec 2007 23:22:08 +1100 Nick Piggin <[EMAIL PROTECTED]> wrote: > Not sure how well that translates to real world workloads, but it > might help somewhere. Admittedly some of the patches are pretty > complex... I like your patch series. They are completely orthogonal to my patches

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Mon, 24 Dec 2007, Carlos Corbacho wrote: > > Please disregard the patch anyway - my test system was still using the custom > DSDT - it doesn't fix anything. Ok, so it's not a simple IO port conflict. And the range 0x1400-0x147f (which is apparently the ACPI block) is properly marked as

[PATCH 1/3] PM: Do not destroy/create devices while suspended in msr.c

2007-12-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The MSR driver should not attempt to destroy/create a suspended device. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- arch/x86/kernel/msr.c |3 --- 1 file changed, 3 deletions(-) Index: linux-2.6/arch/x86/kernel/msr.c

[PATCH 2/3] PM: Do not destroy/create devices while suspended in mce_64.c

2007-12-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The x86-64 MCE driver should not attempt to destroy/create a suspended device. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/mcheck/mce_64.c |2 -- 1 file changed, 2 deletions(-) Index:

[PATCH 0/3] PM: Do not destroy/create devices while suspended

2007-12-23 Thread Rafael J. Wysocki
Hi, Some device drivers register CPU hotplug notifiers and use them to destroy device objects when removing the corresponding CPUs and to create these objects when adding the CPUs back. Unfortunately, this is not the right thing to do during suspend/hibernation, since in that cases the CPU

[PATCH 3/3] PM: Do not destroy/create devices while suspended in cpuid.c

2007-12-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The cpuid driver should not attempt to destroy/create a suspended device. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- arch/x86/kernel/cpuid.c |3 --- 1 file changed, 3 deletions(-) Index: linux-2.6/arch/x86/kernel/cpuid.c

[PATCH 6/6] udf: fix sparse warnings (shadowing & mismatch between declaration and definition)

2007-12-23 Thread marcin . slusarz
fix sparse warnings: fs/udf/super.c:1431:24: warning: symbol 'bh' shadows an earlier one fs/udf/super.c:1347:21: originally declared here fs/udf/super.c:472:6: warning: symbol 'udf_write_super' was not declared. Should it be static? Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> CC: Ben

[PATCH 4/6] udf: check if udf_load_logicalvol failed

2007-12-23 Thread marcin . slusarz
udf_load_logicalvol may fail eg in out of memory conditions - check it and propagate error further Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> CC: Ben Fennema <[EMAIL PROTECTED]> CC: Jan Kara <[EMAIL PROTECTED]> CC: Christoph Hellwig <[EMAIL PROTECTED]> --- fs/udf/super.c |7 ++- 1

[PATCH 5/6] udf: convert some macros to functions

2007-12-23 Thread marcin . slusarz
convert UDF_SB_ALLOC_BITMAP macro to udf_sb_alloc_bitmap function convert UDF_SB_FREE_BITMAP macro to udf_sb_free_bitmap function Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> CC: Ben Fennema <[EMAIL PROTECTED]> CC: Jan Kara <[EMAIL PROTECTED]> CC: Christoph Hellwig <[EMAIL PROTECTED]> ---

[PATCH 3/6] udf: convert UDF_SB_ALLOC_PARTMAPS macro to udf_sb_alloc_partition_maps function

2007-12-23 Thread marcin . slusarz
- convert UDF_SB_ALLOC_PARTMAPS macro to udf_sb_alloc_partition_maps function - convert kmalloc + memset to kzalloc - check if kzalloc failed (partially) Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> CC: Ben Fennema <[EMAIL PROTECTED]> CC: Jan Kara <[EMAIL PROTECTED]> CC: Christoph Hellwig

[PATCH 1/6] udf: fix coding style of super.c

2007-12-23 Thread marcin . slusarz
fix coding style errors found by checkpatch: - assignments in if conditions - braces {} around single statement blocks - no spaces after commas - printks without KERN_* - lines longer than 80 characters before: total: 50 errors, 207 warnings, 1835 lines checked after: total: 0 errors, 164

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Carlos Corbacho
On Sunday 23 December 2007 23:12:47 H. Peter Anvin wrote: > Rafael J. Wysocki wrote: > > On Sunday, 23 of December 2007, Linus Torvalds wrote: > >> On Sun, 23 Dec 2007, Rafael J. Wysocki wrote: > >>> The patch is fine by me, so if anyone has objections, please speak up. > >> > >> There is

[PATCH 0/6] udf: improve code related to super_block, was: udf: convert super_block macros to functions

2007-12-23 Thread marcin . slusarz
Hi This patchset converts macros related to super_block into functions. Besides that it fixes some sparse warnings (6th), improves coding style (1st) and fixes error handling (4th). Note that udf files has really long lines and these patches won't validate by checkpatch. I'm going to do more

Re: do not stop/start devices in suspend/resume path: the SCSI case

2007-12-23 Thread Stephane Ascoet
Bjorn Helgaas a écrit : Good. It's not clear to me whether it is safe to leave devices enabled while we sleep. I don't see an actual problem, but there might be something related to hotplug while we're asleep or something. So I'll cc: some additional people who might have some insight. Hi, is

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Benjamin Herrenschmidt
> I've occasionally wondered if that spinlock needs to get split up, but > for the amount of pain that could ensue, I can't imagine it ever being > worthwhile. Wondered the same thing and decided against it. I do have every now and then some really crazy cases to deal with. One of them is the

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Benjamin Herrenschmidt
On Mon, 2007-12-24 at 10:06 +1100, Benjamin Herrenschmidt wrote: > On Sun, 2007-12-23 at 22:15 +0100, Martin Mares wrote: > > Hello! > > > > > - During that probe, you set a flag if any device has capabilities that > > > extend beyond 0xff. > > > > Can this work? The extended capabilities are

Re: [lm-sensors] 2.6.24-rc4 hwmon it87 probe fails

2007-12-23 Thread Bjorn Helgaas
On Sunday 23 December 2007 2:28:05 am Jean Delvare wrote: > Le 23/12/2007, Bjorn Helgaas a écrit: > >On Saturday 22 December 2007 4:21:41 am Jean Delvare wrote: > >> >This patch makes the it87 driver request only the two ports used for > >> > the Environment Controller device. > >> > >> The

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread H. Peter Anvin
Rafael J. Wysocki wrote: On Sunday, 23 of December 2007, Linus Torvalds wrote: On Sun, 23 Dec 2007, Rafael J. Wysocki wrote: The patch is fine by me, so if anyone has objections, please speak up. There is absolutely *no* way I will apply this in an -rc6 release. The number of machines this

Re: [PATCH 00/63] ide-cd: redux

2007-12-23 Thread Bartlomiej Zolnierkiewicz
On Sunday 23 December 2007, Borislav Petkov wrote: > On Fri, Dec 21, 2007 at 08:57:49PM +0100, Bartlomiej Zolnierkiewicz wrote: > > On Thursday 20 December 2007, Borislav Petkov wrote: > > > On Thu, Dec 20, 2007 at 01:48:49AM +0100, Bartlomiej Zolnierkiewicz wrote: > > > Hi Bart, > > > Hi all, > >

Re: 2.6.24-rc6-mm1

2007-12-23 Thread H. Peter Anvin
Rafael J. Wysocki wrote: On Sunday, 23 of December 2007, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/ - This kernel doesn't work on i386! It oopses late in boot due to an unrevertable change (e3c1b141) in git-x86 which I

[PATCH 1/2] ide: add ide_dump_identify() debug helper

2007-12-23 Thread Bartlomiej Zolnierkiewicz
* Add ide_dump_identify() debug helper for dumping raw identify data in the hdparm friendly format (== the identify data can be extracted from dmesg output and passed to hdparm --Istdin). * Dump identify data in ide-probe.c::do_identify() if DEBUG is enabled. Signed-off-by: Bartlomiej

[PATCH 2/2] ide-{floppy,tape}: remove debug code for dumping identify data

2007-12-23 Thread Bartlomiej Zolnierkiewicz
IDE core supports dumping raw identify data in hdparm friendly format now so verbose identify dumping in ide-{floppy,tape}.c device drivers (done iff IDE{FLOPPY,TAPE}_DEBUG_INFO is defined to '1' and it is '0' by default) is no longer nedeed. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Benjamin Herrenschmidt
On Sun, 2007-12-23 at 22:15 +0100, Martin Mares wrote: > Hello! > > > - During that probe, you set a flag if any device has capabilities that > > extend beyond 0xff. > > Can this work? The extended capabilities are not linked to the normal > ones in any way. Yeah, well, you set a flag if you

Re: [PATCH 2/2] scsi: Use new __dma_buffer to align sense buffer in scsi_cmnd

2007-12-23 Thread Benjamin Herrenschmidt
> This has the potential of leaving a big fat ugly hole in the middle of > scsi_cmnd. I would suggest of *just* moving the sense_buffer array to be > the *first member* of struct scsi_cmnd. The command itself is already cache > aligned, allocated by the proper flags to it's slab. And put a fat

Build breakage on powerpc with 2.6.24-rc6-mm1

2007-12-23 Thread Balbir Singh
Hi, I see the following error with the iseries_veth driver in 2.6.24-rc6-mm1 drivers/net/iseries_veth.c: In function ‘veth_init_connection’: drivers/net/iseries_veth.c:818: warning: unused variable ‘rc’ drivers/net/iseries_veth.c: In function ‘veth_probe_one’: drivers/net/iseries_veth.c:1086:

Re: [patch 00/20] VM pageout scalability improvements

2007-12-23 Thread Balbir Singh
Rik van Riel wrote: > On Sun, 23 Dec 2007 01:57:32 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: >> Rik van Riel wrote: >>> On large memory systems, the VM can spend way too much time scanning >>> through pages that it cannot (or should not) evict from memory. Not >>> only does it use up CPU

Re: 2.6.24-rc6-mm1: suspend broken on HP nx6325 due to cpufreq changes

2007-12-23 Thread Dave Jones
On Sun, Dec 23, 2007 at 02:50:03PM -0800, Andrew Morton wrote: > > > - Someone broke suspend-to-RAM on the t61p again. It just instantly > > > resumes > > > itself. > > > > Suspend is also broken on my HP nx6325 (hangs hard in the last phase of > > suspend) and git-cpufreq.patch is

Can't disconnect a USB sound device and connect another

2007-12-23 Thread Victor Hahn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ... because it causes lsusb to freeze and gives me this in /var/log/messages: Dec 23 23:27:04 cabrio kernel: usb 2-2: USB disconnect, address 5 Dec 23 23:27:04 cabrio kernel: PGD 110f2067 PUD 110f3067 PMD 0 Dec 23 23:27:04 cabrio kernel: CPU 0 Dec 23

Re: 2.6.24-rc6-mm1: suspend broken on HP nx6325 due to cpufreq changes

2007-12-23 Thread Andrew Morton
On Sun, 23 Dec 2007 23:54:40 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Sunday, 23 of December 2007, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/ > > > > - This kernel doesn't work on i386! > > > > It

Re: [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]

2007-12-23 Thread Loic Prylli
On 12/23/2007 3:55 PM, Matthew Wilcox wrote: > On Sun, Dec 23, 2007 at 03:16:24PM -0500, Loic Prylli wrote: > >> I just realized one thing: the bar sizing code in pci_read_bases() (that >> writes 0x in the bars) does not seem to disable the >> PCI_COMMAND_MEM/PCI_COMMAND_IO bits in the

Re: 2.6.24-rc6-mm1: suspend broken on HP nx6325 due to cpufreq changes

2007-12-23 Thread Rafael J. Wysocki
On Sunday, 23 of December 2007, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/ > > - This kernel doesn't work on i386! > > It oopses late in boot due to an unrevertable change (e3c1b141) in git-x86 > which I stared at for a

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Ivan Kokshaysky
On Sun, Dec 23, 2007 at 10:15:10PM +0100, Martin Mares wrote: > > - During that probe, you set a flag if any device has capabilities that > > extend beyond 0xff. > > Can this work? The extended capabilities are not linked to the normal > ones in any way. Good point. OTOH, we *do* have a flag

Re: [PATCH 2.6.24-rc5-mm 2/3] gpiolib: add Generic IRQ support for 16-bit PCA9539 GPIO expander

2007-12-23 Thread David Brownell
> From: eric miao <[EMAIL PROTECTED]> > > This patch adds the generic IRQ support for the PCA9539 on-chip GPIOs. This one bothers me a bit on some technical grounds. One problem is that these chips are not designed for reliable IRQ management, so no matter what a driver does it can't deliver

Re: 2.6.24-rc6-mm1

2007-12-23 Thread Rafael J. Wysocki
On Sunday, 23 of December 2007, Sam Ravnborg wrote: > On Sun, Dec 23, 2007 at 02:53:34PM +0100, Rafael J. Wysocki wrote: > > On Sunday, 23 of December 2007, Rafael J. Wysocki wrote: > > > On Sunday, 23 of December 2007, Ingo Molnar wrote: > > > > > > > > * Rafael J. Wysocki <[EMAIL PROTECTED]>

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Rafael J. Wysocki
On Sunday, 23 of December 2007, Linus Torvalds wrote: > > On Sun, 23 Dec 2007, Rafael J. Wysocki wrote: > > > > The patch is fine by me, so if anyone has objections, please speak up. > > There is absolutely *no* way I will apply this in an -rc6 release. > > The number of machines this will

Re: Boot time module loading problem

2007-12-23 Thread Michael Buesch
On Sunday 23 December 2007 20:39:18 Larry Finger wrote: > With 2.6.24-rc5, a b43 user reports a problem at bootup. The b43 module, > which should be loaded by > the ssb module, fails with the following type of message: > > ssb: Sonics Silicon Backplane found on PCI device :0c:00.0 > b43:

Re: tlb_finish_mmu() bogisity

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Al Viro wrote: > > tlb->need_flush += &__get_cpu_var(quicklist)[0].nr_pages != 0; > makes no sense whatsoever. How the hell can you ever get the address of > __get_cpu_var(quicklist)[0].nr_pages to be NULL? Postfix operators have > higher precedence than prefix

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Martin Mares
Hello! > - During that probe, you set a flag if any device has capabilities that > extend beyond 0xff. Can this work? The extended capabilities are not linked to the normal ones in any way. Have a nice fortnight -- Martin `MJ' Mares

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Benjamin Herrenschmidt
> Are you prepared to guarantee that freely mixing mmconfig and type1 > config accesses at runtime will always work, on all chipsets? I'm > talking about silicon here, not kernel software. We spinlock config space accesses. So the silicon will never see simultaneous accesses, which is what I

Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

2007-12-23 Thread Benjamin Herrenschmidt
On Sat, 2007-12-22 at 21:00 -0800, Linus Torvalds wrote: > > On Sat, 22 Dec 2007, Jeff Garzik wrote: > > > > But regardless of problems, enabling should be done globally, not per > > device... > > I'm ok with trying the "globally" idea, but it has to be "globally but > only if absolutely

Re: [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]

2007-12-23 Thread Matthew Wilcox
On Sun, Dec 23, 2007 at 03:16:24PM -0500, Loic Prylli wrote: > I just realized one thing: the bar sizing code in pci_read_bases() (that > writes 0x in the bars) does not seem to disable the > PCI_COMMAND_MEM/PCI_COMMAND_IO bits in the cmd register before > manipulating the BARs. And it

Re: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Yinghai Lu
On Dec 23, 2007 9:53 AM, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Sun, 23 Dec 2007, Carlos Corbacho wrote: > > > > Fix suspend-to-RAM on nForce 4 (CK804) boards by increasing > > PCIBIOS_MIN_IO. > > > > Fixes kernel bugzilla #9528 > > > > Problem: > > > > Linus' patch

Re: [PATCH - SH/Dreamcast] CD-Rom (GD-Rom) support for the SEGA Dreamcast

2007-12-23 Thread Adrian McMenamin
On 23/12/2007, Adrian McMenamin <[EMAIL PROTECTED]> wrote: > This patch adds support for the CD-Rom (the so-called "GD-Rom") on the > SEGA Dreamcast. > > The GD-Rom is based on the ATA-3 standard but implements a proprietary > packet interface - the so-called Sega Packet Interface (SPI) and >

Re: 2.6.24-rc6-mm1

2007-12-23 Thread Andrew Morton
On Sun, 23 Dec 2007 17:27:12 +0100 "Torsten Kaiser" <[EMAIL PROTECTED]> wrote: > On Dec 23, 2007 8:30 AM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/ > [snip] > >

vfs_rmdir "bug"?

2007-12-23 Thread Erez Zadok
Al, Christoph, vfs_rmdir is called from do_rmdir and does essentially this: dentry_unhash(dentry); error = dir->i_op->rmdir(dir, dentry); if (!error) d_delete(dentry); dput(dentry); do_rmdir grabs a ref on the dentry to be rmdir'ed, and also

Re: [PATCH] fat: Editions to support fat_fallocate()

2007-12-23 Thread Grant Likely
On 12/23/07, OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > "Grant Likely" <[EMAIL PROTECTED]> writes: > > > > However, digging further, when FALLOC_FL_KEEP_SIZE is set, I don't > > think fat_cont_expand() has the behaviour that we want to implement. > > When that flag is set, I think we simply want

Re: [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]

2007-12-23 Thread Loic Prylli
On 12/20/2007 1:16 PM, Matthew Wilcox wrote: > Oh, that's the same bug others (including me) have been complaining > about. > > http://marc.info/?l=linux-kernel=118809338631160=2 > > >> It hangs in exactly the same place every time. >> >> I am surmising that the write to that BAR is causing a

Re: Updated Kernel Hacker's guide to git

2007-12-23 Thread Stefan Richter
Dieter Ries wrote: > Robert P. J. Day schrieb: >> when i got started with git, what i really wanted >> was a list of what i (as a simple, non-developer user) could do once i >> cloned a repository. >> >> to that end, i put together my own little reference list of git >> commands. for example, i

Re: More verizon problems

2007-12-23 Thread Matti Aarnio
On Sun, Dec 23, 2007 at 02:30:50PM -0500, Gene Heskett wrote: > Date: Sun, 23 Dec 2007 14:30:50 -0500 > From: Gene Heskett <[EMAIL PROTECTED]> > Subject: More verizon problems > To: linux-kernel@vger.kernel.org > Content-type: text/plain; charset=iso-8859-1 > > Resend, with more odd data from

Re: 2.6.24-rc6-mm1

2007-12-23 Thread Sam Ravnborg
On Sun, Dec 23, 2007 at 02:53:34PM +0100, Rafael J. Wysocki wrote: > On Sunday, 23 of December 2007, Rafael J. Wysocki wrote: > > On Sunday, 23 of December 2007, Ingo Molnar wrote: > > > > > > * Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > > > > > Well it doesn't build on x86-64 for me: >

Re: Boot time module loading problem

2007-12-23 Thread Johannes Berg
> What could be causing such a problem? I would guess that user has "ssb" loaded from his initrd for some reason and upgraded the modules by hand. johannes signature.asc Description: This is a digitally signed message part

[PATCH] uml: user of helper_wait() got missed when it got extra arguments

2007-12-23 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- arch/um/drivers/harddog_user.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c index b56f8e0..448ba59 100644 --- a/arch/um/drivers/harddog_user.c +++

Re: Morer verizon problems

2007-12-23 Thread Matti Aarnio
On Sun, Dec 23, 2007 at 02:10:39PM -0500, Gene Heskett wrote: > Date: Sun, 23 Dec 2007 14:10:39 -0500 > From: Gene Heskett <[EMAIL PROTECTED]> > Subject: Morer verizon problems > To: linux-kernel@vger.kernel.org > > Just for a heads up, for about the last 8 hours, verizon, my ISP, has been >

[PATCH - SH/Dreamcast] CD-Rom (GD-Rom) support for the SEGA Dreamcast

2007-12-23 Thread Adrian McMenamin
This patch adds support for the CD-Rom (the so-called "GD-Rom") on the SEGA Dreamcast. The GD-Rom is based on the ATA-3 standard but implements a proprietary packet interface - the so-called Sega Packet Interface (SPI) and supports a proprietary CD format (the "Giga Disk"). This driver implements

Boot time module loading problem

2007-12-23 Thread Larry Finger
With 2.6.24-rc5, a b43 user reports a problem at bootup. The b43 module, which should be loaded by the ssb module, fails with the following type of message: ssb: Sonics Silicon Backplane found on PCI device :0c:00.0 b43: disagrees about version of symbol ssb_device_is_enabled b43: Unknown

xfs|loop|raid: attempt to access beyond end of device

2007-12-23 Thread Janos Haar
Hello, list, I have a little problem on one of my productive system. The system sometimes crashed, like this: Dec 23 08:53:05 Albohacen-global kernel: attempt to access beyond end of device Dec 23 08:53:05 Albohacen-global kernel: loop0: rw=1, want=50552830649176, limit=3085523200 Dec 23

Re: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Ingo Molnar wrote: > > This script will probe all unused ports as per /proc/ioports and will > list "suspect" IO port areas: ones that do not produce the expected 0xff > default reply from unclaimed IO ports. Magic chipset register areas can > potentially be mapped this

More verizon problems

2007-12-23 Thread Gene Heskett
Resend, with more odd data from fetchmail.log appended. Just for a heads up, for about the last 8 hours, verizon, my ISP, has been inserting themselves into the path between my gmail account and my local fetchmail of this email subcription at pop.gmail.com. Worse yet they are bouncing the

Re: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > Why: > > > > After debugging _PTS() in the DSDT, it turns out these nVidia boards are > > trying to write to an IO port > 0x1000 (0x142E) during suspend. Before the > > re-ordering, we got away with this. > > Very interesting. > > HOWEVER. > >

[PATCH 2.6] remove Documentation/mips/GT64120.README

2007-12-23 Thread Dmitri Vorobiev
Being related to 2.4 kernel, the information presented in the `Documentation/mips/GT64120.README' file is outdated. Worse, the document contents are plain misleading nowadays because the text mentions files and directories, which have been deleted, moved or restructured for 2.6. In my opinion,

Morer verizon problems

2007-12-23 Thread Gene Heskett
Just for a heads up, for about the last 8 hours, verizon, my ISP, has been inserting themselves into the path between my gmail account and my local fetchmail of this email subcription at pop.gmail.com. Worse yet they are bouncing the messages in a way that makes it look as if I sent them when

[PATCH] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-23 Thread Jochen Friedrich
Using the port of 2.4 code from Vitaly Bordug <[EMAIL PROTECTED]> and the actual algorithm used by the i2c driver of the DBox code on cvs.tuxboc.org from Tmbinc, Gillem ([EMAIL PROTECTED]). Renamed i2c-rpx.c and i2c-algo-8xx.c to i2c-cpm.c and converted the driver to an of_platform_driver.

[PATCH] MAINTAINERS: update Corey Thomas email address

2007-12-23 Thread Joe Perches
> On Sat, 2007-12-22 at 11:48 -0800, Joe Perches wrote: > > Your entry in MAINTAINERS is no longer valid. > > Should that be fixed or deleted from MAINTAINERS? On Sat, 2007-12-22 at 18:08 -0500, Corey Thomas wrote: > This email, [EMAIL PROTECTED] is good. ISP change. Signed-off-by: Joe Perches

OOPS: 2.6.23.11 in PadLock-AES when used in LRW-Mode

2007-12-23 Thread Alexander Eichhorn
Hi, while playing around with AES encrypted block devices (in LRW mode) on top of Software Raid-1/5 volumes I experienced a set of Kernel OOPSes which seem to be related to the current PadLock-AES driver. PadLock-AES in LRW mode also failed when layered directly above a raw disk

Re: [PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-23 Thread Clemens Ladisch
Bernhard Walle wrote: > In the current code, RTC_AIE doesn't work if the RTC relies on > CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag > in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally > check for RTC_PIE and not RTC_AIE when comparing the time > which was set

Re: [PATCH 2.6.24-rc5-mm 3/3] gpiolib: obsolete drivers/i2c/chips/pca9539.c

2007-12-23 Thread David Brownell
> From: eric miao <[EMAIL PROTECTED]> > Date: Wed, 19 Dec 2007 16:40:04 +0800 > Subject: [PATCH] gpiolib: mark drivers/i2c/chips/pca9539.c as deprecated > > use drivers/gpio/pca9539.c instead. > > Signed-off-by: eric miao <[EMAIL PROTECTED]> > Acked-by: Ben Gardner <[EMAIL PROTECTED]> >

Re: [MIPS] MEM_SDREFCFG is not defined for Alchemy DB1550 (compile fail)

2007-12-23 Thread Alon Bar-Lev
Hello, Forgot to write that I checked mips & linus gits, and the problem still exists. Best Regards, Alon Bar-Lev. On 12/23/07, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > Hello, > > When I have: > CONFIG_MIPS_DB1550 > CONFIG_SOC_AU1550 > CONFIG_SOC_AU1X00 > CONFIG_PM > > MEM_SDREFCFG is used at:

Re: [kvm-devel] [PATCH 27/50] KVM: Support assigning userspace memory to the guest

2007-12-23 Thread Avi Kivity
Avi Kivity wrote: From: Izik Eidus <[EMAIL PROTECTED]> Instead of having the kernel allocate memory to the guest, let userspace allocate it and pass the address to the kernel. This is required for s390 support, but also enables features like memory sharing and using hugetlbfs backed memory.

Re: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Linus Torvalds wrote: > > For an example of what I mean, see the file "drivers/pci/quirks.c", and > check out the quirks for various chipsets: Side note - we already do have some quirks for the CK804 chipset, we probably just don't have enough (ie we have it for some HT

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Rafael J. Wysocki wrote: > > The patch is fine by me, so if anyone has objections, please speak up. There is absolutely *no* way I will apply this in an -rc6 release. The number of machines this will break is totally unknown. It might be zero. It might be hundreds. We

Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Ingo Molnar
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > 0x1500 has been picked here as a nice, round and more conservative > > value than 0x4000, and which covers 0x142E. > > The patch is fine by me, so if anyone has objections, please speak up. i'm quite nervous about that approach, partly due to

Re: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM

2007-12-23 Thread Linus Torvalds
On Sun, 23 Dec 2007, Carlos Corbacho wrote: > > Fix suspend-to-RAM on nForce 4 (CK804) boards by increasing > PCIBIOS_MIN_IO. > > Fixes kernel bugzilla #9528 > > Problem: > > Linus' patch (52ade9b3b97fd3bea42842a056fe0786c28d0555) to re-order > suspend (and fix fall out from Rafael's earlier

Re: Peculiar out-of-sync boot log lines

2007-12-23 Thread Nick Warne
On Sun, 2 Dec 2007 19:30:34 +0100 Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> wrote: Hi Bart, Top posting! g. This patch works fine on my system with this peculiar DVD drive, and log reports are perfect. Updated to Linus' git today - 2.6.24-rc6-g5b825ed2 /var/log/messages: Dec 23

  1   2   3   4   5   >