Re: search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Oleg Verych
On Thu, Feb 08, 2007 at 02:40:28AM -0500, Mike Frysinger wrote: [] > by this argument, why does mkuboot.sh exist at all then ? let's > simply delete mkuboot.sh and change all arch Makefile's like so: > -$(CONFIG_SHELL) $(MKIMAGE) ... > +-mkimage ... Yes (with TOOLCHAIN prefix). > i of

Re: posix-timers overrun broken?

2007-02-07 Thread Milan Svoboda
> On Wed, 2007-02-07 at 14:36 +0100, Milan Svoboda wrote: > > But if the next interrupt arrives before function collect_signal is called > > to actually deliver the > > siginfo_t to userspace, the si.overrun is cleared in posix_timer_event and > > we have just forgotten > > one overrun... > >

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Paolo Ornati
On Wed, 07 Feb 2007 22:56:45 -0600 Robert Hancock <[EMAIL PROTECTED]> wrote: > Paolo Ornati wrote: > > If mounting XFS with "nobarrier" fixes the problem it seems that more > > than one Seagate disk cannot handle the Cache Flush command while other > > commands are in fly... > > It's not allowed

Re: [BUG][PATCH] fix mempolcy's check on a system with memory-less-node take2

2007-02-07 Thread Andi Kleen
> This panic(hang) was found by a numa test-set on a system with 3 nodes, where > node(2) was memory-less-node. I still think it's the wrong fix -- just get rid of the memory less node. I expect you'll likely run into more problems with that setup anyways. > static struct mempolicy

[patch] export ufs_fs.h to userspace

2007-02-07 Thread Mike Frysinger
was ufs_fs.h purposefully not exported to userspace or did it just slip through the cracks ? assuming the latter scenario, the attached patch touches up the relationship between ufs_fs.h and its sub headers (like ufs_fs_sb.h) so that we can export it ... the silo bootloader takes advantage of

Re: search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Mike Frysinger
On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: On Thu, Feb 08, 2007 at 12:56:17AM -0500, Mike Frysinger wrote: > On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >> Check to see if `${CROSS_COMPILE}mkimage` exists and if not, fall back to > >> the standard `mkimage` > > > >Why this can't

[PATCH] ATA convert GSI to irq on ia64

2007-02-07 Thread Zhang, Yanmin
If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be converted to irq vector. Below patch against kernel 2.6.20 fixes it. Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]> --- diff -Nraup

Re: mm snapshot broken-out-2007-02-06-16-59.tar.gz uploaded

2007-02-07 Thread Cedric Le Goater
Michal Piotrowski wrote: > On 07/02/07, Andrew Morton <[EMAIL PROTECTED]> wrote: >> I copied it to >> http://userweb.kernel.org/~akpm/broken-out-2007-02-06-16-59.tar.gz but >> there's really not much point in using it - it's ancient. > > Cedric, here is an updated version >

Re: search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Oleg Verych
On Thu, Feb 08, 2007 at 12:56:17AM -0500, Mike Frysinger wrote: > On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >> Check to see if `${CROSS_COMPILE}mkimage` exists and if not, fall back to > >> the standard `mkimage` > > > >Why this can't be done by > > > > PATH=$CROSS_COMPILE:$PATH > > >

Re: [patch] Re: SCSI logging sucks

2007-02-07 Thread Volker Sameske
> There's a very convenient script called scsi_logging_level included in > (of all things) the s390-tools package. > > Maybe provide a pointer to it -- or even just include it. It's not > very big... > > http://www-128.ibm.com/developerworks/linux/linux390/s390-tools-1.5.4.html The

Re: + search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Mike Frysinger
On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: On Thu, Feb 08, 2007 at 12:58:26AM -0500, Mike Frysinger wrote: > On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >Trivial shell scripts, especially for embedded archs (Blackfin is > >one, IIRC), may be easily converted. > > yes, but Blackfin

Re: + search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Oleg Verych
On Thu, Feb 08, 2007 at 12:58:26AM -0500, Mike Frysinger wrote: > On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >On Wed, Feb 07, 2007 at 09:19:21PM -0800, Andrew Morton wrote: > >> On Thu, 8 Feb 2007 06:24:40 +0100 Oleg Verych <[EMAIL PROTECTED]> > >wrote: > >> > >> > If that matter, `type

Re: [git patches] net driver updates

2007-02-07 Thread Junio C Hamano
Jeff Garzik <[EMAIL PROTECTED]> writes: > mode change 100644 => 100755 drivers/net/qla3xxx.c > mode change 100644 => 100755 drivers/net/qla3xxx.h Did you mean to have these? Commit bd36b0ac appears to have brought the mode bits change in. Not trying to nitpick --- I am trying to find out if

Re: [2.6.20] tifm_7xx1/mmc not working

2007-02-07 Thread Pierre Ossman
Alex Dubov is the maintainer of tifm, not me. Andreas Steinmetz wrote: > Hi, > I do have a problem with tifm_7xx1 and 2.6.20. First of all, the device > is working with 2.6.18.2 and the out of tree tifm-0.6 release. In this > case except for the first card insertion after suspend/reboot I do get

Re: + search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Mike Frysinger
On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: On Wed, Feb 07, 2007 at 09:19:21PM -0800, Andrew Morton wrote: > On Thu, 8 Feb 2007 06:24:40 +0100 Oleg Verych <[EMAIL PROTECTED]> wrote: > > > If that matter, `type -path' is bashizm (BloAted SHell), and "blackbox" > > with "dash" (very good

Re: dd

2007-02-07 Thread Mike Frysinger
On 2/8/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > Check to see if `${CROSS_COMPILE}mkimage` exists and if not, fall back to > the standard `mkimage` Why this can't be done by PATH=$CROSS_COMPILE:$PATH in your environment? because it wouldnt matter ? the tool is called

Re: Multiple virtual bus instances

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 02:15:08PM -0800, Simon White wrote: > Hi, > > I've been working through trying to create a virtual > bus. How does this differ from a "real" bus? > I've successfuly made it work for a single instance but wanted to > confirm how to create multiple instances of the

Re: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 07:28:19PM -0800, Linus Torvalds wrote: > > > On Wed, 7 Feb 2007, Trond Myklebust wrote: > > > > The latest pull from the git tree spews out a torrent of the above > > warning on a recent Fedora Core 6 machine running gcc-4.1.1. config file > > is attached... > > Should

Re: + search-a-little-harder-for-mkimage.patch

2007-02-07 Thread Oleg Verych
On Wed, Feb 07, 2007 at 09:19:21PM -0800, Andrew Morton wrote: > On Thu, 8 Feb 2007 06:24:40 +0100 Oleg Verych <[EMAIL PROTECTED]> wrote: > > > If that matter, `type -path' is bashizm (BloAted SHell), and "blackbox" > > with "dash" (very good `sh' equivalents) will fail. > > Does the kernel

Re: 2.6.20 PCI Cannot allocate resource region 2

2007-02-07 Thread Manu Abraham
On 2/7/07, Grant Grundler <[EMAIL PROTECTED]> wrote: On Tue, Feb 06, 2007 at 03:52:47PM +0400, Manu Abraham wrote: > >attaching a dump of the regs (on 2.6.17.7) as well as the diff > > The device now works, used the demodulator driver alongwith the bridge > driver. Ok - thanks for the dmesg

Re: forcedeth problems on 2.6.20-rc6-mm3

2007-02-07 Thread Andrew Morton
On Mon, 5 Feb 2007 16:52:24 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 05 Feb 2007 18:35:06 -0600 > Robert Hancock <[EMAIL PROTECTED]> wrote: > > > Daniel Barkalow wrote: > > > On Sun, 4 Feb 2007, Robert Hancock wrote: > > > > > >> Something's busted with forcedeth in

+ make-mkcompile_h-use-lang=c-and-lc_all=c-for-cc-v.patch

2007-02-07 Thread Oleg Verych
> make-mkcompile_h-use-lang=c-and-lc_all=c-for-cc-v.patch [] > Fix a minor bug in mkcompile_h. As one can see, the current locale is used > while getting the version of gcc. This produces problems when a locale > other than C or en_US is used. As an example, my /proc/version contains > Turkish

Re: 2.6.20 PCI Cannot allocate resource region 2

2007-02-07 Thread Manu Abraham
On 2/7/07, Grant Grundler <[EMAIL PROTECTED]> wrote: On Tue, Feb 06, 2007 at 03:52:47PM +0400, Manu Abraham wrote: > >attaching a dump of the regs (on 2.6.17.7) as well as the diff > > The device now works, used the demodulator driver alongwith the bridge > driver. Ok - thanks for the dmesg

[git pull] drm tree for 2.6.21-rc1

2007-02-07 Thread Dave Airlie
Hi Linus, Please pull from the 'drm-patches' branch of git://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches This contains the drm patches for the 2.6.21-rc1, and contains a cleanup of the drm ioremap code to avoid some paravirt_op exports, fixes to the ioremap code

Re: dd

2007-02-07 Thread Andrew Morton
On Thu, 8 Feb 2007 06:24:40 +0100 Oleg Verych <[EMAIL PROTECTED]> wrote: > If that matter, `type -path' is bashizm (BloAted SHell), and "blackbox" > with "dash" (very good `sh' equivalents) will fail. Does the kernel presently build with that shell? - To unsubscribe from this list: send the line

dd

2007-02-07 Thread Oleg Verych
Hallo. search-a-little-harder-for-mkimage.patch -- Subject: search a little harder for mkimage From: "Mike Frysinger" <[EMAIL PROTECTED]> > Check to see if `${CROSS_COMPILE}mkimage` exists and if not, fall back to > the standard `mkimage` Why

Re: [PATCH] pata_acpi: take two

2007-02-07 Thread Robert Hancock
Alan wrote: --- linux.vanilla-2.6.20-rc6-mm3/drivers/ata/pata_amd.c 2007-01-31 14:20:10.0 + +++ linux-2.6.20-rc6-mm3/drivers/ata/pata_amd.c 2007-02-06 17:04:19.0 + @@ -642,6 +642,11 @@ if (type == 1 && rev > 0x7) type = 2; +#if

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Robert Hancock
Paolo Ornati wrote: If mounting XFS with "nobarrier" fixes the problem it seems that more than one Seagate disk cannot handle the Cache Flush command while other commands are in fly... It's not allowed to overlap NCQ (FPDMA read/write) commands with any other commands such as cache flushes.

Re: 2.6.20 BUG: soft lockup detected on CPU#0!

2007-02-07 Thread Andrew Morton
On Thu, 8 Feb 2007 00:02:10 +0100 (CET) Lukasz Trabinski <[EMAIL PROTECTED]> wrote: > Hello > > On 2.6.19 I had about 60 days uptime, on 2.6.20 2 days :( > Did the machine actually fail? Or did it just print these messages and keep going? > > oceanic:~$ uname -a > Linux

Re: Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-07 Thread Vivek Goyal
On Wed, Feb 07, 2007 at 02:55:39PM +, Etienne Lorrain wrote: > Vivek Goyal wrote: > >How do I know which program header is real mode code and the boot loader > > is not supposed to load it? May be PT_LOAD header with physical addr 0? > > What happens if changes happen and down the line we

Re: [BUG?] ata disk running maximum at DMA33 with 2.6.20 and new pata driver, NV CK804 ide controller.

2007-02-07 Thread Robert Hancock
Alan wrote: On Wed, 7 Feb 2007 01:19:36 +0100 Luigi Genoni <[EMAIL PROTECTED]> wrote: Hi, since upgrading to kernel 2.6.20 my pata disk, using new pata driver, is initialized maximum in DMA33 mode (and obviously performances drop consequently), as you can see from: Interesting. Willing

[PATCH 2/3, try #4] Blackfin: serial driver for Blackfin architecture against Linux kernel 2.6.20

2007-02-07 Thread Wu, Bryan
Hi forks, Aubrey update the patch according to Russell's review. Thanks Russell Here is the change log: a) arrange the driver to reflect the real settings in the termios b) don't use __builtin_bfin_ssync(), directly use SSYNC() instead Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> Reviewed-by:

Re: [PATCH] fix cc-option-yn whitespace

2007-02-07 Thread Linus Torvalds
On Wed, 7 Feb 2007, Roland McGrath wrote: > This change: > > commit 5de043f4bd11a9e0a3e8daec7d1905da575a76b7 > Author: Oleg Verych <[EMAIL PROTECTED]> > Date: Tue Feb 6 02:18:21 2007 +0100 > > [PATCH] kbuild: improve option checking, Kbuild.include cleanup > >

Re: [PATCH] sk98lin: planned removal

2007-02-07 Thread Andrew Morton
On Wed, 7 Feb 2007 09:18:30 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: > Document planned removal of sk98lin driver. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> > --- > Documentation/feature-removal-schedule.txt |7 +++ > 1 files changed, 7 insertions(+), 0

Re: [patch, fix build regression] kbuild: Kbuild.include avoid using spaces in call arguments

2007-02-07 Thread Andrew Morton
On Wed, 7 Feb 2007 15:52:54 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > On Thu, 8 Feb 2007, Roman Zippel wrote: > > > > Sorry, it needs more changes, the patch simply wasn't ready. > > One problem I find very problematic with all the Kbuild setup is that > people tend to be very

Re: [GIT PATCH] ACPI patches for 2.6.21

2007-02-07 Thread Len Brown
On Wednesday 07 February 2007 16:55, Al Boldi wrote: > Len Brown wrote: > > ACPICA Core version 2070126 simplifies the ACPI table manager > > code by consolidating multiple table definitions into one. > > It also saves memory by mapping the tables where the BIOS provides them > > rather than

Re: [GIT PATCH] PCI patches for 2.6.20

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 10:17:12PM -0500, Jeff Garzik wrote: > Greg KH wrote: > >Greg Kroah-Hartman (3): > > PCI: remove duplicate device id from ata_piix > > PCI: remove duplicate device id from ipr > > Revert "PCI: remove duplicate device id from ata_piix" > > > If these are

Re: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Randy Dunlap
On Thu, 8 Feb 2007 11:19:03 +0900 Horms wrote: > On Wed, Feb 07, 2007 at 09:07:40AM -0800, Luck, Tony wrote: > > > kexec.h is needed by arch/ia64/kernel/process.c so for the > > > declaration of kexec_disable_iosapic() which is used in > > > machine_shutdown(). > > > > > +#include > > > > I

[PATCH] fix cc-option-yn whitespace

2007-02-07 Thread Roland McGrath
This change: commit 5de043f4bd11a9e0a3e8daec7d1905da575a76b7 Author: Oleg Verych <[EMAIL PROTECTED]> Date: Tue Feb 6 02:18:21 2007 +0100 [PATCH] kbuild: improve option checking, Kbuild.include cleanup introduced leading whitespace in the results of

Re: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

2007-02-07 Thread Linus Torvalds
On Wed, 7 Feb 2007, Trond Myklebust wrote: > > The latest pull from the git tree spews out a torrent of the above > warning on a recent Fedora Core 6 machine running gcc-4.1.1. config file > is attached... Should hopefully be fixed already in current -git Linus - To unsubscribe

Re: [GIT PATCH] PCI patches for 2.6.20

2007-02-07 Thread Jeff Garzik
Greg KH wrote: Greg Kroah-Hartman (3): PCI: remove duplicate device id from ata_piix PCI: remove duplicate device id from ipr Revert "PCI: remove duplicate device id from ata_piix" If these are coming out of quilt, why add these commit-then-revert changesets at all?

Re: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Horms
On Wed, Feb 07, 2007 at 09:07:40AM -0800, Luck, Tony wrote: > > kexec.h is needed by arch/ia64/kernel/process.c so for the > > declaration of kexec_disable_iosapic() which is used in > > machine_shutdown(). > > > +#include > > I merged this into your earlier change (moving machine_shutdown()

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Horms
On Wed, Feb 07, 2007 at 08:43:55PM +0300, Oleg Nesterov wrote: > On 02/07, Oleg Nesterov wrote: > > > > The following code > > > > schedule_delayed_work(dw); > > cancel_rearming_delayed_workqueue(dw); // OK > > cancel_rearming_delayed_workqueue(dw); // HANGS! > > > > still doesn't

Re: Git backlight subsystem tree

2007-02-07 Thread Andrew Morton
On Thu, 08 Feb 2007 02:30:26 + Richard Purdie <[EMAIL PROTECTED]> wrote: > I'm thinking of more officially volunteering to maintain the Linux > backlight class/subsystem and have been trying to sort out the various > pending patches. I've made a backlight tree available as: > >

RE: [PATCH 1/5] scsi: megaraid_sas - stop cmd processing if hw_crit_error is set

2007-02-07 Thread Patro, Sumant
I will correct the formatting and will resubmit. Regards, Sumant -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 1:18 PM To: Patro, Sumant Cc: [EMAIL PROTECTED]; linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org; Kolli, Neela;

RE: [PATCH 4/5] scsi: megaraid_sas - preallocate memory for ioctlprocessing

2007-02-07 Thread Patro, Sumant
Thanks. I will resubmit the patch. Regards, Sumant -Original Message- From: James Bottomley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 2:02 PM To: Andrew Morton Cc: Patro, Sumant; linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org; Kolli, Neela; Yang, Bo; Patro,

Re: discussion of Kbuild fixes (kbuild: Kbuild.include avoid using spaces in call arguments)

2007-02-07 Thread Oleg Verych
On Thu, Feb 08, 2007 at 03:05:41AM +0100, Roman Zippel wrote: > Hi, > > On Thu, 8 Feb 2007, Oleg Verych wrote: > > > -- `find | sort' in localversion (i insist on split between paths and > > files) > > make has dedicated functions for this. I think, "make" (even whatever shiny new) that

Re: [PATCH] Atmel SPI controller driver

2007-02-07 Thread David Brownell
On Wednesday 07 February 2007 8:15 am, Haavard Skinnemoen wrote: > Driver for the Atmel on-chip SPI master controller. > > Tested primarily on AVR32/AT32AP7000/ATSTK1000 using mtd_dataflash and > the jffs2 filesystem. Call me paranoid, but until such controller drivers can withstand loads placed

Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Ian Kent
On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote: > On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote: > > It may be better to update to a later kernel so I don't have to port the > > patch to several different kernels. Is that possible? > > Sure, 2.6.20 or -git? 2.6.20 has all

Git backlight subsystem tree

2007-02-07 Thread Richard Purdie
I'm thinking of more officially volunteering to maintain the Linux backlight class/subsystem and have been trying to sort out the various pending patches. I've made a backlight tree available as: http://git.o-hand.com/?p=linux-rpurdie-backlight;a=shortlog;h=for-mm (or

Re: hdparm for lib_pata

2007-02-07 Thread Adam J. Richter
>>> = Stephen Clark >> = Adam Richter > = Patrick Ale >> Do you know if these drives were advertising less capability >> than they were spec-ed at? Do you recall if the IDE driver without >> kernel arguments printed its rationale for reverting to the slower >> setting? [...] >Then,

Re: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

2007-02-07 Thread Oleg Verych
> From: Trond Myklebust > Newsgroups: gmane.linux.kernel > Subject: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. > Date: Wed, 07 Feb 2007 17:13:32 -0800 > Archived-At: Hallo, Trond. > The latest pull from the git tree spews

Re: nobh_truncate_page question

2007-02-07 Thread Andrew Morton
On Thu, 08 Feb 2007 01:45:10 +0300 Dmitriy Monakhov <[EMAIL PROTECTED]> wrote: > Could some one please explain me what's happens with nobh_truncate_page? > > int nobh_truncate_page(struct address_space *mapping, loff_t from) > { > > if ((offset & (blocksize - 1)) == 0) >

Re: [PATCH] Add PM_TRACE x86_64 support.

2007-02-07 Thread Nigel Cunningham
On Wed, 2007-02-07 at 23:18 -0200, Otavio Salvador wrote: > Nigel Cunningham <[EMAIL PROTECTED]> writes: > > > - for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > > tracedata += 6) { > > + for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > >

[BUG][PATCH] fix mempolcy's check on a system with memory-less-node take2

2007-02-07 Thread KAMEZAWA Hiroyuki
Hi, This is much easier fix than previous one... -- following is back trace of NULL pointer access in slab_node(). This patch fix this. == backtrace from crash (linux-2.6.20) == #0 [BSP:e00121f412d8] schedule at a0010061ccc0 #1 [BSP:e00121f41280] rwsem_down_failed_common at

Re: discussion of Kbuild fixes (kbuild: Kbuild.include avoid using spaces in call arguments)

2007-02-07 Thread Roman Zippel
Hi, On Thu, 8 Feb 2007, Oleg Verych wrote: > -- `find | sort' in localversion (i insist on split between paths and > files) make has dedicated functions for this. > -- symlinks to /dev/null in option checking -- isn't it better to not >have any (though cached) access to files on

Re: [PATCH 2/2] sysctl: Restore the selinux path based label lookup for sysctls.

2007-02-07 Thread Eric W. Biederman
Stephen Smalley <[EMAIL PROTECTED]> writes: > > One related but separate issue is that the /proc/sys inode labeling is > also affected by the sysctl patch series. Those inodes used to be > labeled by selinux_proc_get_sid (from selinux_d_instantiate), but that > no longer works, so they now fall

Re: [PATCH 3/3] rcutorture: Remove redundant assignment to cur_ops in for loop

2007-02-07 Thread Josh Triplett
Andrew Morton wrote: > On Wed, 7 Feb 2007 16:22:28 -0800 > Andrew Morton <[EMAIL PROTECTED]> wrote: >> I suspect we can do better than that... [...] Much better; please go ahead and replace my patch with this one. Signed-off-by: Josh Triplett <[EMAIL PROTECTED]> - Josh Triplett > ---

Re: [PATCH 3/28] Driver core: convert SPI code to use struct device

2007-02-07 Thread David Brownell
NAK. This wasn't supposed to go upstream Greg; and it also conflicts with other pending SPI patches. - Dave - 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

Re: [PATCH] Add PM_TRACE x86_64 support.

2007-02-07 Thread Otavio Salvador
Nigel Cunningham <[EMAIL PROTECTED]> writes: > - for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > tracedata += 6) { > + for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > tracedata += 2 + sizeof(unsigned long)) { Could you split this line? --

Re: [PATCH 2.6.19.2] r8169: support RTL8169SC/8110SC

2007-02-07 Thread 許恆嘉
Francois Romieu 提到: >許恆嘉 <[EMAIL PROTECTED]> : > > >>Dear Francois: >> >>I think I didn't make it clear about the programming manuals for PCI-E ICs. >> >>Due to several legal issues, Realtek won't put the programming guide on >>its website. However, Realtek does offer the programming guide if

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

2007-02-07 Thread Trond Myklebust
The latest pull from the git tree spews out a torrent of the above warning on a recent Fedora Core 6 machine running gcc-4.1.1. config file is attached... Cheers, Trond # # Automatically generated make config: don't edit # Linux kernel version: 2.6.20 # Wed Feb 7 19:52:47 2007 #

discussion of Kbuild fixes (kbuild: Kbuild.include avoid using spaces in call arguments)

2007-02-07 Thread Oleg Verych
On Thu, Feb 08, 2007 at 01:00:44AM +0100, Roman Zippel wrote: > Hi, > > On Wed, 7 Feb 2007, Randy Dunlap wrote: > > > > > > Linus, please revert. Thanks. > > > > > > > > Roman, while it went so fast to Linus, i didn't expect that, let me > > > > try to fix all this with this little patch. > >

Re: [PATCH 2/3, try #3] Blackfin: serial driver for Blackfinarchitecture against Linux kernel 2.6.20

2007-02-07 Thread Aubrey Li
On 2/8/07, Russell King <[EMAIL PROTECTED]> wrote: On Wed, Feb 07, 2007 at 06:49:58PM +0800, Wu, Bryan wrote: > Thanks Russell's review, we update the serial core driver according to > Russell's comments. Here is the change log: > > a) use "ttyBF" as blackfin serial name and use new serial

[PATCH 2/2] Video: fb, kzalloc changes

2007-02-07 Thread Jiri Slaby
video/fb, kzalloc changes Use kzalloc instead of kmalloc + memset(0). Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit 1e7333622e9abbe0c980c3d42c4691d026be61bb tree d8029a264c0a2ef88d64d82b760d2c41458d3ce8 parent fd6de4a65b2d83db766a9ad3c137c44e361d6e0d author Jiri Slaby <[EMAIL

[PATCH 1/2] Video: fb, add true ref_count atomicity

2007-02-07 Thread Jiri Slaby
video/fb, add true ref_count atomicity Some of fb drivers uses atomic_t in bad manner, since there are still some race-prone gaps. Use mutexes to protect open/close code sections with ref_count testing and finally use simple uint. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit

Re: Free Linux Driver Development!

2007-02-07 Thread David Lang
On Tue, 6 Feb 2007, Akemi Yagi wrote: On Tue, 06 Feb 2007 19:07:50 +0530, Sunil Naidu wrote: On 2/5/07, Stefan Seyfried <[EMAIL PROTECTED]> wrote: On Wed, Jan 31, 2007 at 03:14:31AM +0100, Adrian Bunk wrote: On Tue, Jan 30, 2007 at 05:24:28PM -0800, Greg KH wrote: Wrong. I abandoned all

[PATCH] Add PM_TRACE x86_64 support.

2007-02-07 Thread Nigel Cunningham
This patch add x86_64 support for PM_TRACE, and shifts per-arch code to the appropriate subdirectories. Symbol exports are added so tracing can be used from drivers built as modules too. Please apply. Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> arch/x86_64/kernel/vmlinux.lds.S |7

[PATCH 5/28] driver core: Remove device_is_registered() in device_move().

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> device_is_registered() will always be false for a device with no bus. Remove this check and trust the caller to know what they're doing. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Cc: Marcel Holtmann <[EMAIL PROTECTED]> Signed-off-by: Greg

[PATCH 7/28] MODULES: add the module name for built in kernel drivers

2007-02-07 Thread Greg KH
From: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/device.h |1 + include/linux/module.h |2 +- kernel/module.c| 33 - kernel/params.c

[PATCH 6/28] driver core: Allow device_move(dev, NULL).

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> If we allow NULL as the new parent in device_move(), we need to make sure that the device is placed into the same place as it would if it was newly registered: - Consider the device virtual tree. In order to be able to reuse code, setup_parent() has been

[PATCH 8/28] Modules: only add drivers/ direcory if needed

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> This changes the module core to only create the drivers/ directory if we are going to put something in it. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- kernel/module.c | 20 +++-

[PATCH 16/28] driver core: Change function call order in device_bind_driver().

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> Change function call order in device_bind_driver(). If we create symlinks (which might fail) before adding the device to the list we don't have to clean up afterwards (which we didn't). Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Greg

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 09:43:44 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > and to > > > accurately present the machine's topology to the user without us having to > > > go adding falsehoods like this? > > > > a node is a piece of memory. Without memory it doesn't make sense. > > Who

[PATCH 14/28] driver core fixes: device_register() retval check in platform.c

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> Check the return value of device_register() in platform_bus_init(). Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/platform.c | 11 +-- 1 files changed, 9 insertions(+), 2

[PATCH 17/28] Driver core: fix race in sysfs between sysfs_remove_file() and read()/write()

2007-02-07 Thread Greg KH
From: Oliver Neukum <[EMAIL PROTECTED]> This patch prevents a race between IO and removing a file from sysfs. It introduces a list of sysfs_buffers associated with a file at the inode. Upon removal of a file the list is walked and the buffers marked orphaned. IO to orphaned buffers fails with

[PATCH 13/28] driver core fixes: make_class_name() retval checks

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> Make make_class_name() return NULL on error and fixup callers in the driver core. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/class.c | 21 ++---

[PATCH 10/28] SERIO: add the sysfs driver name to all modules

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> This adds the module name to all SERIO drivers, if they are built into the kernel or not. It will show up in /sys/modules/MODULE_NAME/drivers/ Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[PATCH 26/28] Driver core: allow to delay the uevent at device creation time

2007-02-07 Thread Greg KH
From: Kay Sievers <[EMAIL PROTECTED]> For the block subsystem, we want to delay all uevents until the disk has been scanned and allpartitons are already created before the first event is sent out. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL

[PATCH 9/28] PCI: add the sysfs driver name to all modules

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> This adds the module name to all PCI drivers, if they are built into the kernel or not. It will show up in /sys/modules/MODULE_NAME/drivers/ It also fixes up the IDE core, which was calling __pci_register_driver() directly. Cc: Kay Sievers <[EMAIL

[PATCH 25/28] Driver core: add device_type to struct device

2007-02-07 Thread Greg KH
From: Kay Sievers <[EMAIL PROTECTED]> This allows us to add type specific attributes, uevent vars and release funtions. A subsystem can carry different types of devices like the "block" subsys has disks and partitions. Both types create a different set of attributes, but belong to the same

[PATCH 28/28] sysfs: Shadow directory support

2007-02-07 Thread Greg KH
From: Eric W. Biederman <[EMAIL PROTECTED]> The problem. When implementing a network namespace I need to be able to have multiple network devices with the same name. Currently this is a problem for /sys/class/net/*. What I want is a separate /sys/class/net directory in sysfs for each network

[PATCH 22/28] HOWTO: Add a reference to Harbison and Steele

2007-02-07 Thread Greg KH
From: Robert P. J. Day <[EMAIL PROTECTED]> Add a reference to Harbison and Steele's C book. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/HOWTO |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 24/28] Driver core: add uevent vars for devices of a class

2007-02-07 Thread Greg KH
From: Kay Sievers <[EMAIL PROTECTED]> Devices converted from class_device to device should have the same uevent keys as the original class_device had. We search up the parents until we find the first bus device and add the (already deprecated) PHYDEV* values. Signed-off-by: Kay Sievers <[EMAIL

[PATCH 23/28] SYSFS: Fix missing include of list.h in sysfs.h

2007-02-07 Thread Greg KH
From: Frank Haverkamp <[EMAIL PROTECTED]> Sysfs.h uses definitions (e.g. struct list_head s_sibling) from list.h but does not include it. Signed-off-by: Frank Haverkamp <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/sysfs.h |1 + 1 files changed,

[PATCH 19/28] sysfs: kobject_put cleanup

2007-02-07 Thread Greg KH
From: Mariusz Kozlowski <[EMAIL PROTECTED]> This patch removes redundant argument checks for kobject_put(). Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/sysfs/bin.c |5 ++--- fs/sysfs/file.c |5 ++--- 2 files changed,

[PATCH 21/28] sysfs: error handling in sysfs, fill_read_buffer()

2007-02-07 Thread Greg KH
From: Oliver Neukum <[EMAIL PROTECTED]> if a driver returns an error in fill_read_buffer(), the buffer will be marked as filled. Subsequent reads will return eof. But there is no data because of an error, not because it has been read. Not marking the buffer filled is the obvious fix.

[PATCH 20/28] kobject: kobject_put cleanup

2007-02-07 Thread Greg KH
From: Mariusz Kozlowski <[EMAIL PROTECTED]> This patch removes redundant argument checks for kobject_put(). Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- lib/kobject.c |6 ++ 1 files changed, 2 insertions(+), 4

[PATCH 27/28] Driver Core: Increase the default timeout value of the firmware subsystem

2007-02-07 Thread Greg KH
From: Dave Jones <[EMAIL PROTECTED]> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174589 The ipw driver sometimes takes a long time to load its firmware. Whilst the ipw driver should be using the async interface of the firmware loader to make this a non-issue, this is a minimal fix.

[PATCH 18/28] sysfs: suppress lockdep warnings

2007-02-07 Thread Greg KH
From: Frederik Deweerdt <[EMAIL PROTECTED]> Lockdep issues the following warning: [9.064000] = [9.064000] [ INFO: possible recursive locking detected ] [9.064000] 2.6.20-rc3-mm1 #3 [9.064000] -

[PATCH 11/28] USB: add the sysfs driver name to all modules

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> This adds the module name to all USB drivers, if they are built into the kernel or not. It will show up in /sys/modules/MODULE_NAME/drivers/ Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[PATCH 12/28] /sys/modules/*/holders

2007-02-07 Thread Greg KH
From: Kay Sievers <[EMAIL PROTECTED]> /sys/module/usbcore/ |-- drivers | |-- usb:hub -> ../../../subsystem/usb/drivers/hub | |-- usb:usb -> ../../../subsystem/usb/drivers/usb | `-- usb:usbfs -> ../../../subsystem/usb/drivers/usbfs |-- holders | |-- ehci_hcd ->

[PATCH 2/28] Driver core: convert pcmcia code to use struct device

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Converts from using struct "class_device" to "struct device" making everything show up properly in /sys/devices/ with symlinks from the /sys/class directory. Cc: Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/pcmcia/cs.c

[PATCH 15/28] driver core: Don't stop probing on ->probe errors.

2007-02-07 Thread Greg KH
From: Cornelia Huck <[EMAIL PROTECTED]> Don't stop on the first ->probe error that is not -ENODEV/-ENXIO. There might be a driver registered returning an unresonable return code, and this stops probing completely even though it may make sense to try the next possible driver. At worst, we may end

[PATCH 3/28] Driver core: convert SPI code to use struct device

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Converts from using struct "class_device" to "struct device" making everything show up properly in /sys/devices/ with symlinks from the /sys/class directory. Cc: <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[PATCH 1/28] Kobject: make kobject apis more robust in handling NULL pointers

2007-02-07 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> It should be ok to pass in NULL for some kobject functions, so add error checking for all exported kobject functions to be more robust. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- lib/kobject.c | 19

[GIT PATCH] USB patches for 2.6.20

2007-02-07 Thread Greg KH
Here are a bunch of USB patches against 2.6.20-git They include some new drivers (including PS3 support), some new features (dynamic id support for usb-serial drivers), and loads of other stuff. All of these have been in the -mm releases for quite some time. Please pull from:

[GIT PATCH] PCI patches for 2.6.20

2007-02-07 Thread Greg KH
Here are a bunch of PCI patches against 2.6.20-git They have a lot of PCI hotplug driver fixes and reworks, MSI cleanups and fixes, and a number of other things. See the full log below for details. All of these have been in the -mm tree for a while. Please pull from:

[GIT PATCH] Driver core patches for 2.6.20

2007-02-07 Thread Greg KH
Here are a bunch of Driver core, sysfs, and driver model patches for 2.6.20-git They include the conversion of the network drivers to use 'struct device' instead of 'struct class' (the patch has been in -mm for over 6 months and was acked by David Miller) some module sysfs additions to make

Re: [PATCH] pata_acpi: take two

2007-02-07 Thread Andrew Morton
On Wed, 7 Feb 2007 17:22:20 + Alan <[EMAIL PROTECTED]> wrote: > This is a driver for motherboard SFF style PATA ports that have ACPI > control methods. It needs some work against the current libata tree. drivers/ata/pata_acpi.c: In function 'pacpi_port_start': drivers/ata/pata_acpi.c:259:

  1   2   3   4   5   6   7   8   >