linux-kernel mailing list

FromSubjectsort iconDate
Rusty Russell
Re: request->ioprio
[Empty message]
Aug 6, 1:33 pm 2008
Admin
Job Offer
Dear applicant, we have found a suitable job for you in the Gulf area which matches your interests and your qulifications, to apply kindly log on to http://www.middle-east-jobs.blogspot.com/ and submit your C.V as soon as possible Kind regards, Recruitment dept --
Aug 6, 4:57 pm 2008
David Wagner
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
This is at odds with my experience. Are you sure you've been talking to the right people? Is it possible you've only been talking to A/V vendors? I find it entirely plausible that there is such a consensus among A/V vendors, but I'm pretty skeptical that the rest of the security community would make this kind of claim. What I hear, instead, is quite a bit of skepticism about the future of A/V. Here's an experiment for you. Walk up to a random security expert and ask them what they think ...
Aug 6, 3:04 pm 2008
David Wagner
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
I don't think there is any such consensus, so I'm not expecting a technical explanation. As best as I can tell, the primary explanation for why so many A/V vendors are doing it seems to be that it's a damn effective business model, and that may have as much of an effect on its widespread use as any technical merits or demerits. Think about it: you get users to buy your A/V, then you tell them they need to pay a monthly subscription fee to get the latest virus signatures updates. It's like ...
Aug 6, 3:24 pm 2008
Adrian Bunk
[2.6 patch] fs/partitions/acorn.c: remove dead code
I missed this when I did the arm26 removal. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 23 Apr 2008 - 14 Apr 2008 - 31 Mar 2008 - 1 Mar 2008 fs/partitions/acorn.c | 10 ---------- 1 file changed, 10 deletions(-) f7dc697bb2d04227b2f41a9d56f626fbd65c3d9d foobar diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c index 3d3e166..a97b477 100644 --- a/fs/partitions/acorn.c +++ ...
Aug 6, 2:10 pm 2008
Tim Bird
Re: [PATCH] bootup: Add built-in kernel command line for x86
I'd be OK implementing it with an option, rather than a magic char. I was trying to avoid adding too many options, since many kernel developers prefer fewer options where possible. But the magic char makes the code less straightforward. If we ever move towards supporting both prefix and suffice splicing (or even complicated in-the-middle splicing), then the magic char is easier to develop into that. But so far, I can only come up with reasonable cases for append and override, and I don't ...
Aug 6, 4:00 pm 2008
Robert Schwebel
Re: [PATCH] bootup: Add built-in kernel command line for x86
If this feature is desired on all architectures, shouldn't it go out of arch/? rsc -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 --
Aug 6, 3:04 pm 2008
Tim Bird
Re: [PATCH] bootup: Add built-in kernel command line for x86
Different arches handle their command lines differently, but with some elbow grease (and some buy-in from the different arch maintainers), we could try unifying the approach here. One difficulty is that the other arches' command lines are not currently "broken", so there's no real incentive to change them. The only thing novel thing I'm adding here is the addition of the leading '!' to allow for an override. This is needed in some x86 cases I'm familiar with, but I've haven't seen any ...
Aug 6, 3:22 pm 2008
Matt Mackall
Re: [PATCH] bootup: Add built-in kernel command line for x86
Ok, there are a couple weird outliers outside of that still, but that should make most people satisfied. -- Mathematics is the supreme nostalgia of our time. --
Aug 6, 3:48 pm 2008
Matt Mackall
Re: [PATCH] bootup: Add built-in kernel command line for x86
You're right, I had forgotten about the suffix splicing and my brain is Yes, though I doubt we're in danger of introducing any real backwards compatibility issues with the magic '!' at the beginning. -- Mathematics is the supreme nostalgia of our time. --
Aug 6, 3:52 pm 2008
H. Peter Anvin
Re: [PATCH] bootup: Add built-in kernel command line for x86
Well, it does if we want to make this a generic feature, which I believe we should. -hpa --
Aug 6, 4:02 pm 2008
Tim Bird
[PATCH] bootup: Add built-in kernel command line for x86
Add support for a built-in command line for x86 architectures. The Kconfig help gives the major rationale for this addition. Note that this option is available for many other arches, and its use is widespread in embedded projects. This patch addresses concerns that were raised with an earlier version, regarding precedence between the built-in command line and the command line provided by the boot loader. See the thread at http://lkml.org/lkml/2006/6/11/115 for details. The default ...
Aug 6, 2:31 pm 2008
H. Peter Anvin
Re: [PATCH] bootup: Add built-in kernel command line for x86
Note that it could just as easily be done with a CONFIG_CMDLINE_OVERRIDE option, since the initial reason for a magic character was to be able to provide both prefix and suffix splicing. CONFIG_CMDLINE_OVERRIDE is probably more palatable to other architectures. -hpa --
Aug 6, 3:48 pm 2008
H. Peter Anvin
Re: [PATCH] bootup: Add built-in kernel command line for x86
I think I agree, and the override option would make it easier to make generic. -hpa --
Aug 6, 4:03 pm 2008
Tim Bird
Re: [PATCH] bootup: Add built-in kernel command line for x86
parse_early_param() is right AFTER this in the x86 setup_arch() function (in arch/x86/kernel/setup.c). All the other command-line handling I could find is after this in init/main.c:start_kernel(). There is some stuff earlier in the setup_arch() routine about boot_params, but that looks like it's related to the old(?) binary data points you can jam into the kernel image. (That is, it doesn't look like it's related to the command line handling). -- Tim ============================= Tim ...
Aug 6, 3:31 pm 2008
Matt Mackall
Re: [PATCH] bootup: Add built-in kernel command line for x86
Nice solution. Where is this relative to early boot option checking? -- Mathematics is the supreme nostalgia of our time. --
Aug 6, 3:14 pm 2008
Justin Mattock
BUG kmalloc-64: Object already free
I must be honest, 2.6.27-rc1-00156-g94ad374 has made me entirely lazy with wanting to add any patches or taking anything out... but I guess I'll have to pull and add a patch that was sent to me yesterday. upon booting I saw this for the first time with isight: <dmesg below> [ 0.000000] Linux version 2.6.27-rc1-00156-g94ad374 (root@unix) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #5 SMP Mon Aug 4 08:40:33 PDT 2008 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: ...
Aug 6, 2:21 pm 2008
Adrian Bunk
[2.6.28 parch] the scheduled SERIAL_COLDFIRE removal
This patch contains the scheduled removal of the obsolete SERIAL_COLDFIRE driver. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- Documentation/feature-removal-schedule.txt | 8 drivers/serial/Kconfig | 16 drivers/serial/Makefile | 1 drivers/serial/mcfserial.c | 1965 --------------------- drivers/serial/mcfserial.h | 74 5 files changed, 2 insertions(+), 2062 ...
Aug 6, 2:19 pm 2008
Aristeu Rozanski
[PATCH v1] 8250: add support for DTR/DSR hardware flow control
This patch adds support for DTR/DSR hardware flow control on 8250 driver on x86 machines. It's done by adding a CDTRDSR flag to work just like CRTSCTS, which is not done on other architectures on purpose (so each maintainer can allocate it). This patch was tested with success with a serial printer configured with a small buffer and DTR/DSR flow control. This is based on the work of Michael Westermann (http://lkml.org/lkml/2007/8/31/133) Comments more than welcome. Signed-off-by: Aristeu ...
Aug 6, 2:14 pm 2008
Adrian Bunk
[2.6 patch] make ptrace_untrace() static
ptrace_untrace() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 22 Jul 2008 include/linux/ptrace.h | 1 - kernel/ptrace.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 819e9b617ffe996a61a150598050973911acd7e7 diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index c6f5f9d..fe0d5a4 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -94,7 +94,6 @@ extern void ...
Aug 6, 2:12 pm 2008
Adrian Bunk
[2.6 patch] m32r: remove the unused NOHIGHMEM option
This patch removes the unused NOHIGHMEM option. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 25 Jun 2008 adea6f9163987adf9c5a63b5a257ed3554add9d7 diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index de153de..e2e3661 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -216,10 +216,6 @@ config MEMORY_SIZE default "01000000" if PLAT_M32104UT default "00800000" if PLAT_OAKS32R ...
Aug 6, 2:12 pm 2008
Adrian Bunk
[2.6 patch] make probe_serial_gsc() static
This patch makes the needlessly global probe_serial_gsc() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 18 Jun 2008 e0053c1295ce33ec15d2788140070660e95a07f0 diff --git a/drivers/serial/8250_gsc.c b/drivers/serial/8250_gsc.c index 0416ad3..418b4fe 100644 --- a/drivers/serial/8250_gsc.c +++ b/drivers/serial/8250_gsc.c @@ -111,7 +111,7 @@ static struct parisc_driver serial_driver = { .probe = serial_init_chip, }; -int __init ...
Aug 6, 2:12 pm 2008
Adrian Bunk
[2.6 patch] drivers/parisc/: make code static
This patch makes the following needlessly global code static: - asp.c: asp_init_chip() - ccio-dma.c: ccio_io_pdir_entry() - dino.c: struct dino_port_ops - dino.c: struct dino_bios_ops - hppb.c: struct hppb_card_head - lasi.c: lasi_led_init() - lasi.c: lasi_init_chip() - lba_pci.c: struct lba_bios_ops - sba_iommu.c: sba_io_pdir_entry() - sba_iommu.c: sba_driver_callback() - sba_iommu.c: sba_driver_callback() - wax.c: wax_init_chip() Signed-off-by: Adrian Bunk ...
Aug 6, 2:12 pm 2008
Adrian Bunk
[2.6 patch] parisc/lib/: make code static
This patch makes the following needlessly global code static: - iomap.c: struct iomap_ops[] - memcpy.c: pa_memcpy() Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 15 Jun 2008 arch/parisc/lib/iomap.c | 2 +- arch/parisc/lib/memcpy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 45e7cd0b2c678dda4f5ba4ac6d0ed628df9381bd diff --git a/arch/parisc/lib/iomap.c b/arch/parisc/lib/iomap.c index 9abed07..5069e8b 100644 --- ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] binfmt_som.c: add MODULE_LICENSE
This patch adds the missing MODULE_LICENSE("GPL"). Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 15 Jun 2008 4cec562181f818f16f072b9a14ca7a0ce6c66417 diff --git a/fs/binfmt_som.c b/fs/binfmt_som.c index fdc36bf..6d3bebb 100644 --- a/fs/binfmt_som.c +++ b/fs/binfmt_som.c @@ -308,3 +308,5 @@ static void __exit exit_som_binfmt(void) core_initcall(init_som_binfmt); ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] m32r/kernel/: cleanups
This patch contains the following cleanups: - make the following needlessly global code static: - entry.S: resume_userspace - process.c: pm_idle - process.c: default_idle() - smp.c: send_IPI_allbutself() - time.c: timer_interrupt() - time.c: struct irq0 - traps.c: set_eit_vector_entries() - traps.c: kstack_depth_to_print - traps.c: show_trace() - traps.c: die_lock - remove the following unused code: - head.S: startup_32 - process.c: hlt_counter - process.c: ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] m32r: export __ndelay
This patch fixes the following build error: <-- snip --> ... MODPOST 1083 modules ERROR: "__ndelay" [drivers/spi/spi_bitbang.ko] undefined! ... make[2]: *** [__modpost] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 11 Jun 2008 arch/m32r/lib/delay.c | 2 ++ 1 file changed, 2 insertions(+) 75460f5ec520539e33163ac455ffe4400da341c3 diff --git a/arch/m32r/lib/delay.c ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] m32r: export empty_zero_page
This patch fixes the following build error: <-- snip --> ... Building modules, stage 2. MODPOST 1083 modules ERROR: "empty_zero_page" [fs/ext4/ext4dev.ko] undefined! ... make[2]: *** [__modpost] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 11 Jun 2008 arch/m32r/kernel/m32r_ksyms.c | 2 ++ 1 file changed, 2 insertions(+) ae7a1cecb2071e861cbcd6ee362ed93dd43793d5 ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] drivers/scsi/a3000.c: make 2 functions static
a3000_{detect,release}() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 10 Jun 2008 drivers/scsi/a3000.c | 6 ++++-- drivers/scsi/a3000.h | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) 85a02587af2fff4f03fcecf3bb0f61fbe1cfadc3 diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c index 8b449d8..6970ce8 100644 --- a/drivers/scsi/a3000.c +++ b/drivers/scsi/a3000.c @@ -25,6 +25,8 @@ static struct Scsi_Host ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] drivers/scsi/a2091.c: make 2 functions static
a2091_{detect,release}() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 10 Jun 2008 drivers/scsi/a2091.c | 6 ++++-- drivers/scsi/a2091.h | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) 22558d3b8c3dcf29bb54d76256a64db89017dedc diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index 07d572f..f36029c 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c @@ -23,6 +23,8 @@ #define DMA(ptr) ...
Aug 6, 2:11 pm 2008
Mark Fasheh
Re: [2.6 patch] ocfs2/cluster/tcp.c: make some functions ...
Great, thanks Adrian. --Mark -- Mark Fasheh --
Aug 6, 2:23 pm 2008
Adrian Bunk
[2.6 patch] ocfs2/cluster/tcp.c: make some functions static
Commit 0f475b2abed6cbccee1da20a0bef2895eb2a0edd (ocfs2/net: Silence build warnings) made sense as far as it fixed compile warnings, but it was not required that it made the functions global. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 5 Jun 2008 fs/ocfs2/cluster/tcp.c | 44 ++++++++++++++++++++++++++------ fs/ocfs2/cluster/tcp_internal.h | 32 ----------------------- 2 files changed, 37 insertions(+), 39 ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] NTFS: update homepage
This patch updates the location of the NTFS homepage in several files. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 Documentation/filesystems/ntfs.txt | 4 ++-- MAINTAINERS | 2 +- fs/ntfs/usnjrnl.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 8853ddf5282c534fa4d187aeaf896c6d4c6baba9 diff --git a/Documentation/filesystems/ntfs.txt b/Documentation/filesystems/ntfs.txt index ...
Aug 6, 2:11 pm 2008
Adrian Bunk
[2.6 patch] MAINTAINERS: remove HGA FRAMEBUFFER DRIVER entry
- maintainer has not been active for years - maintainer email bounces - URL no longer exists - covered by the FRAMEBUFFER LAYER entry Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 fc7a740aef47772e5417c71f52aa9726eb5c716d diff --git a/MAINTAINERS b/MAINTAINERS index 2f74092..af69cab 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1822,13 +1822,6 @@ M: zippel@linux-m68k.org L: linux-kernel@vger.kernel.org S: Maintained -HGA ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] MAINTAINERS: remove ZF MACHZ WATCHDOG entry
- maintainer has not been active for years - maintainer email bounces - URL no longer exists - covered by the WATCHDOG DEVICE DRIVERS entry Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 3f02b057b07dee95e02f58a0f9109a8c8815ae2c diff --git a/MAINTAINERS b/MAINTAINERS index 52b7035..2f74092 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4521,12 +4521,6 @@ L: linux-wireless@vger.kernel.org L: zd1211-devs@lists.sourceforge.net ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] Alpha Miata: remove dead URL
This patch removes a dead URL. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 deb4137671451a172bc7b9ed62cae9fbfd1decba diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 729cdbd..97d58e8 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -224,8 +224,7 @@ config ALPHA_MIATA bool "Miata" help The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a, - or 600au). There is an Installation HOWTO for this ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] asm-h8300/md.h: remove CVS keyword
This patch removes a CVS keyword that wasn't updated for a long time from a comment. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has ben sent on: - 20 May 2008 0bda44fc75018619bac248acd44c04c41b96fee9 diff --git a/include/asm-h8300/md.h b/include/asm-h8300/md.h index 1a47dc6..1b7300e 100644 --- a/include/asm-h8300/md.h +++ b/include/asm-h8300/md.h @@ -1,4 +1,4 @@ -/* $Id: md.h,v 1.1 2002/11/19 02:09:26 gerg Exp $ +/* * md.h: High speed xor_block operation for ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] kernel/dma.c: remove a CVS keyword
This patch removes a CVS keyword that wasn't updated for a long time from a comment. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 ecbe2e714c6f467a94d2240223dfa335cdfb501e diff --git a/kernel/dma.c b/kernel/dma.c index d2c60a8..f903189 100644 --- a/kernel/dma.c +++ b/kernel/dma.c @@ -1,4 +1,4 @@ -/* $Id: dma.c,v 1.7 1994/12/28 03:35:33 root Exp root $ +/* * linux/kernel/dma.c: A DMA channel allocator. Inspired by linux/kernel/irq.c. ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] include/linux/mount.h: remove CVS keyword
This patch removes an CVS keyword that wasn't updated for a long time from a comment. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 023ddaa65448ffc93a3f90c1ff37d39c0af3cfa4 diff --git a/include/linux/mount.h b/include/linux/mount.h index 4374d1a..f526b78 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -5,8 +5,6 @@ * * Author: Marco van Wieringen <mvw@planets.elm.net> * - * Version: $Id: mount.h,v 2.0 1996/11/17 ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] quota: remove CVS keywords
This patch removes CVS keywords that weren't updated for a long time from comments. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Jan Kara <jack@suse.cz> --- This patch has been sent on: - 20 May 2008 fs/dquot.c | 2 -- include/linux/quota.h | 2 -- include/linux/quotaops.h | 3 --- 3 files changed, 7 deletions(-) f2096053eb97000dbd556a4a2465c879bdf38670 diff --git a/fs/dquot.c b/fs/dquot.c index 5ac77da..920e430 100644 --- a/fs/dquot.c +++ ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] parport: remove CVS keywords
This patch removes CVS keywords that weren't updated for a long time from comments. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 drivers/parport/ieee1284.c | 2 +- drivers/parport/probe.c | 2 +- drivers/parport/share.c | 2 +- include/linux/parport.h | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) e6a73a87211cdfd9ffc9dbb55ba7b5d0ef4f37c2 diff --git a/drivers/parport/ieee1284.c ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] reiserfs/procfs.c: remove CVS keywords
This patch removes CVS keywords that weren't updated for a long time from comments. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 fs/reiserfs/procfs.c | 3 --- 1 file changed, 3 deletions(-) a41d213debad92b6672c39b577baf58641b5c54c diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c index b9dbeec..37173fa 100644 --- a/fs/reiserfs/procfs.c +++ b/fs/reiserfs/procfs.c @@ -8,8 +8,6 @@ /* proc info support a la one created by ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] telephony: remove CVS keywords
This patch removes CVS keywords that weren't updated for a long time from comments. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 20 May 2008 drivers/telephony/ixj.c | 2 -- include/linux/telephony.h | 4 ---- 2 files changed, 6 deletions(-) 413f5fb4ebba4bbc4a2a0061ba475c897842e334 diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c index 49cd979..127f761 100644 --- a/drivers/telephony/ixj.c +++ b/drivers/telephony/ixj.c @@ ...
Aug 6, 2:10 pm 2008
Adrian Bunk
[2.6 patch] pnp: remove printk() with outdated version
There's no point in printing some ancient version number forever. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by; Rene Herman <rene.herman@gmail.com> Acked-by; Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by; Adam M Belay <abelay@MIT.EDU> --- This patch has been sent on: - 20 May 2008 acef517cfbe3cd741f8884311ef6fc2dfbeb1a4d diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 20771b7..d924798 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c @@ -209,7 +209,6 @@ ...
Aug 6, 2:10 pm 2008
Rene Herman Aug 6, 2:38 pm 2008
Adrian Bunk
[2.6 patch] make mm/rmap.c:anon_vma_cachep static
This patch makes the needlessly global anon_vma_cachep static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Rik van Riel <riel@redhat.com> --- This patch has been sent on: - 5 May 2008 - 22 Apr 2008 - 14 Apr 2008 - 31 Mar 2008 - 25 Feb 2008 include/linux/rmap.h | 12 ------------ mm/rmap.c | 12 +++++++++++- 2 files changed, 11 insertions(+), 13 deletions(-) 8d2d63d71ecbf2db78f31025acb136c9dd4db6a2 diff --git a/include/linux/rmap.h ...
Aug 6, 2:10 pm 2008
Jean Delvare
[GIT PULL] hwmon updates for 2.6.27
Hi Linus, Please pull hwmon subsystem updates for Linux 2.6.27 from: git://jdelvare.pck.nerim.net/jdelvare-2.6 hwmon-for-linus In the absence of a maintainer for the hwmon subsystem, I have gathered a number of patches which have been posted to the lm-sensors mailing list over the past few months and reviewed publicly. This will ensure that these patches, which I consider ready for upstream, aren't lost, so developers can spend their time to something else than resending these patches over ...
Aug 6, 1:53 pm 2008
Piotr Jaroszyński
HZ from userspace
Hello, I want to be able to convert starttime from /proc/#/stat to absolute time and it seems that I need HZ to do that as it is measured in jiffies. How can I get HZ? I have seen some discussion about this but haven't found a definite answer. procps is using some hacks do it and I would prefer to avoid them. I only need a solution for modern kernels, say 2.6.20+ if that matters. -- Best Regards, Piotr Jaroszyński
Aug 6, 1:48 pm 2008
Piotr Jaroszyński
Re: HZ from userspace
manpage says it's obsolete and i read in some discussion that it only returns the default and not the real HZ used. -- Best Regards, Piotr Jaroszyński
Aug 6, 3:07 pm 2008
Ray Lee
Re: HZ from userspace
On Wed, Aug 6, 2008 at 1:48 PM, Piotr Jaroszyński `man sysconf`, in particular you want sysconf(_SC_CLK_TCK).
Aug 6, 2:49 pm 2008
Ray Lee
Re: HZ from userspace
On Wed, Aug 6, 2008 at 3:07 PM, Piotr Jaroszyński I believe the claim that it's out of date is out of date. manpages 3.0.1 has an update to this, according to a message I saw on this list a month or so ago. Regardless, the fields you're reading should all be showing USER_HZ which is fixed at 100 per second regardless of the underlying kernel HZ parameter. Try it.
Aug 6, 3:16 pm 2008
Sven Wegener
Re: HZ from userspace
You can get the information via two ways. At compile time, that is the=20 variable CLK_TCK and this way has been obsoleted. The other way is at=20 runtime via sysconf(_SC_CLK_TCK) and that is still valid. You don't need=20 the real HZ, because the kernel converts it to USER_HZ, which is currently= =20 100 on x86 for historic reasons. Sven
Aug 6, 3:19 pm 2008
Piotr Jaroszyński
Re: HZ from userspace
Pj4+PiBJIHdhbnQgdG8gYmUgYWJsZSB0byBjb252ZXJ0IHN0YXJ0dGltZSBmcm9tIC9wcm9jLyMv c3RhdCB0byBhYnNvbHV0ZQo+Pj4+IHRpbWUgYW5kIGl0IHNlZW1zIHRoYXQgSSBuZWVkIEhaIHRv IGRvIHRoYXQgYXMgaXQgaXMgbWVhc3VyZWQgaW4KPj4+PiBqaWZmaWVzLiBIb3cgY2FuIEkgZ2V0 IEhaPyBJIGhhdmUgc2VlbiBzb21lIGRpc2N1c3Npb24gYWJvdXQgdGhpcyBidXQKPj4+PiBoYXZl bid0IGZvdW5kIGEgZGVmaW5pdGUgYW5zd2VyLiBwcm9jcHMgaXMgdXNpbmcgc29tZSBoYWNrcyBk byBpdCBhbmQKPj4+PiBJIHdvdWxkIHByZWZlciB0byBhdm9pZCB0aGVtLgo+Pj4+IEkgb25seSBu ZWVkIGEgc29sdXRpb24gZm9yIG1vZGVybiBrZXJu ...
Aug 6, 3:20 pm 2008
Ray Lee
Re: HZ from userspace
Here's the latest proc(5) man page from June 25, 2008. Look for _SC_CLK_TCK about a third of the way down. http://www.kernel.org/doc/man-pages/online/pages/man5/proc.5.html
Aug 6, 3:20 pm 2008
Alan Stern
Re: BUG in VFS or block layer
The USB layer doesn't handle that; the SCSI layer takes care of it. Possibly the I/O error confuses the code in and around scsi_end_request(). I'll have to do some testing to find out. Alan Stern --
Aug 6, 3:40 pm 2008
Andrew Morton
Re: BUG in VFS or block layer
On Wed, 6 Aug 2008 16:40:02 -0400 (EDT) What the VFS will do is - lock the page - put the page into a BIO and send it down to the block layer - later, wait for IO completion. It does this by running lock_page[_killable](), which will waiting for the page to come unlocked. The page comes unlocked via the device driver, usually within the IO completion interrupt. A common cause of userspace lockups during IO errors is that the driver layer screwed up and didn't run the ...
Aug 6, 2:28 pm 2008
Andrew Morton
Re: BUG in VFS or block layer
On Wed, 6 Aug 2008 18:40:54 -0400 (EDT) Well... looking at your patch to drivers/usb/gadget/file_storage.c:do_read(), it appears that do_scsi_command() just drops do_read()'s error code on the floor rather than returning it to the scsi layer? --
Aug 6, 3:55 pm 2008
Alan Stern
BUG in VFS or block layer
This bug is certainly present in 2.6.27-rc2, and it may be present in several earlier kernel versions too, perhaps as far back as 2.6.25. What happens is that in the presence of certain I/O errors, user processes can hang. Here is a procedure for recreating the bug: Make sure that CONFIG_USB_GADGET and CONFIG_USB_GADGET_DUMMY_HCD are enabled as modules, as well as CONFIG_USB_FILE_STORAGE. Apply the patch below and build the drivers. Then create a blank image file with 1 MB of zeros and load ...
Aug 6, 1:40 pm 2008
Rafael C. de Almeida
Weird behaviour on /proc/stat
I've executed the following code on a intel core 2 quad (linux 2.6.21.5): for (( x=0; x < 1800; x = x+1 )); do head -n5 /proc/stat | awk '{ print $2+$3+$4+$5+$6+$7+$8+$9 }' | awk 'BEGIN { x=0 } { if (NR == 1) y=$0; else x=x+$1; } END { print y, x }' | awk '{ print $0, $1-$2 }' >> values sleep 1; done My expectation was that the values file would have only 0s on the second field. It didn't happen. Actually, it was always a value greater than 0. So I ...
Aug 6, 1:35 pm 2008
Sven Wegener
Re: Weird behaviour on /proc/stat
It's expected behaviour, but it is indeed misleading. Here's the reason why it happens: In the kernel we're accounting time based on CONFIG_HZ (which I suspect is 1000 in your case) but are exporting values based on USER_HZ (100, historic reasons) to userspace. So we're effectively dividing the values by 10. Well, that division obviously leaves a remainder in most cases, which is dropped. You see in the code that for the summary we first add all in-kernel values up and then do the ...
Aug 6, 2:51 pm 2008
Wim Van Sebroeck
[WATCHDOG] v2.6.27-rc patches
Hi Linus, Please pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git or if master.kernel.org hasn't synced up yet: master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git This will update the following files: drivers/watchdog/Kconfig | 16 - drivers/watchdog/Makefile | 4 drivers/watchdog/acquirewdt.c | 130 ++++----- drivers/watchdog/advantechwdt.c | 162 +++++------ ...
Aug 6, 1:29 pm 2008
Luis R. Rodriguez
Re: [PATCH 2/4] list.h: add list_cut_position()
I meant on top of the list_splice_tail() of course :) Luis --
Aug 6, 1:32 pm 2008
Luis R. Rodriguez
Re: [PATCH 2/4] list.h: add list_cut_position()
Here it is again but this time one which applies cleanly ontop of the list_cut_tail() patch I just reposted. -- list.h: add list_cut_position() This adds list_cut_position() which lets you cut a list into two lists given a pivot in the list. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> --- include/linux/list.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/include/linux/list.h b/include/linux/list.h index ...
Aug 6, 1:28 pm 2008
Sam Ravnborg
[GIT PULL] kbuild fixes
Hi Linus. Please pull following kbuild related fixes. o Fix "make O=..." builds for arm o update to for newer cscope o patch-kernel fix (but I doubt it has many uses) o small Kconfig clean-up Sam The following changes since commit 0967d61ea0d8e8a7826bd8949cd93dd1e829ac55: Linus Torvalds (1): Linux 2.6.27-rc2 are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes.git master Denis ChengRq (1): kbuild: a better ...
Aug 6, 1:27 pm 2008
Alan Cox
Re: [PATCH] m68k/amiserial: fix fallout of tty break han ...
Acked-by: Alan Cox <alan@redhat.com> --
Aug 6, 3:28 pm 2008
Geert Uytterhoeven
[PATCH] m68k/amiserial: fix fallout of tty break handlin ...
commit 9e98966c7bb94355689478bc84cc3e0c190f977e (tty: rework break handling) forgot to update one exit point of rs_break() in the Amiga serial driver. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/char/amiserial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/char/amiserial.c +++ b/drivers/char/amiserial.c @@ -1254,7 +1254,7 @@ static int rs_break(struct tty_struct *t unsigned long flags; if (serial_paranoia_check(info, tty->name, ...
Aug 6, 1:19 pm 2008
Max.Krasnyansky
[PATCH] Resurect proper handling of maxcpus= kernel option
From: Max Krasnyansky <maxk@qualcomm.com> For some reason we had redundant parsers registered for maxcpus=. One in init/main.c and another in arch/x86/smpboot.c So I nuked the one in arch/x86. Also 64-bit kernels used to handle maxcpus= as documented in Documentation/cpu-hotplug.txt. CPUs with 'id > maxcpus' are initialized but not booted. 32-bit version for some reason ignored them even though all the infrastructure for booting them later is there. In the current mainline both 64 and 32 ...
Aug 6, 1:00 pm 2008
Max Krasnyansky
Re: [PATCH] Resurect proper handling of maxcpus= kernel option
I just realized that I managed to screw up my From: email address in git-send-email command line. Please reply to maxk@qualcomm.com. Max --
Aug 6, 1:23 pm 2008
Greg KH
Re: [PATCH] fix verify_dynamic_kobject_allocation()
I just took andrew's version of this patch, sorry for the oops. thanks, greg k-h --
Aug 6, 4:52 pm 2008
Alan Stern
[PATCH] fix verify_dynamic_kobject_allocation()
The warn-when-statically-allocated-kobjects-are-used patch crashes my machine during boot when it calls kzalloc(), presumably because the call occurs too early. This patch (as1126) fixes it by using a static string instead of a dynamically-allocated string. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> --- Index: usb-2.6/lib/kobject.c =================================================================== --- usb-2.6.orig/lib/kobject.c +++ usb-2.6/lib/kobject.c @@ -38,10 +38,9 @@ ...
Aug 6, 1:00 pm 2008
Nix
Re: writable packet CD mounting and non-root formatting ...
Formatting them as non-root (with cdrwtool 1.0.0b3) seems broken too: nix@hades 129 /home/nix% cdrwtool -d /dev/cdrw -q < /dev/null using device /dev/cdrw 7294KB internal buffer setting write speed to 4x wait_cmd: Bad address Command failed: bb 00 ff ff 02 c0 00 00 00 00 00 00 - sense 00.00.00 set speed can't unlock door It seems to work as root (well, it's got further but the lengthy formatting process is still continuing). --
Aug 6, 12:18 pm 2008
Nix
writable packet CD mounting in 2.6.26.x?
It seems to be impossible to mount packet-written CD-RWs writably in 2.6.26.x, even as root. Things worked in 2.6.25.x. hades:/tmp# ls -l /dev/pktcdvd total 0 brw-rw-rw- 1 root root 254, 0 2008-08-05 00:45 cdrw crw-r--r-- 1 root root 10, 63 2008-08-05 00:44 control brw-rw-rw- 1 root cdrom 254, 0 2008-08-05 00:45 pktcdvd0 hades:/tmp# mount -o rw /dev/pktcdvd/cdrw /mnt/pcdrw mount: block device /dev/pktcdvd/cdrw is write-protected, mounting read-only hades:/tmp# mount -o rw ...
Aug 6, 12:12 pm 2008
Josef Bacik
Re: [PATCH 2/2] improve ext3 fsync batching
Err sorry about that, the with patch and without patch colums should be reversed. Thanks, --
Aug 6, 12:23 pm 2008
Josef Bacik
[PATCH 2/2] improve ext3 fsync batching
Hello, Fsync batching in ext3 is somewhat flawed when it comes to disks that are very fast. Now we do an unconditional sleep for 1 second, which is great on slow disks like SATA and such, but on fast disks this means just sitting around and waiting for nothing. This patch measures the time it takes to commit a transaction to the disk, and sleeps based on the speed of the underlying disk. Using the following fs_mark command to test the speeds ./fs_mark -d /mnt/ext3-test -s 4096 -n 2000 -D 64 ...
Aug 6, 12:15 pm 2008
Josef Bacik
[PATCH 1/2] add hrtimer_sleep_ns helper function
Hello, This patch adds a function so that things within the kernel can sleep for nanoseconds. This is needed for the next patch in the series. Thank you, Signed-off-by: Josef Bacik <jbacik@redhat.com> Index: linux-2.6/include/linux/hrtimer.h =================================================================== --- linux-2.6.orig/include/linux/hrtimer.h +++ linux-2.6/include/linux/hrtimer.h @@ -345,6 +345,7 @@ extern long hrtimer_nanosleep_restart(st extern void ...
Aug 6, 12:08 pm 2008
Stefan Richter
[git pull] FireWire regression fix
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive a FireWire subsystem fix-for-a-fix. David Moore (1): firewire: Preserve response data alignment bug when it is harmless drivers/firewire/fw-cdev.c | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) commit 8401d92ba46a1e859464cbd9c9ee304f6e361da3 Author: David Moore <dcm@acm.org> Date: Tue Jul ...
Aug 6, 11:47 am 2008
Suresh Siddha
Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Both the padlock version or asm version don't use FP/math registers, right? It is interesting that you don't see the problem with asm version but see the problem with padlock version. Does disabling CONFIG_PREEMPT in 2.6.26 change anything? And also, can you provide the complete kernel log till the point of failure(oops that you sent doesn't have the call trace info) thanks, suresh --
Aug 6, 1:14 pm 2008
Suresh Siddha
Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
BTW, in one of your oops, I see: note: cron[1207] exited with preempt_count 268435459 I smell some kind of stack corruption here which is corrupting thread_info (in the above case preempt_count in the thread_info). Similarly, if the status field(in thread_info) gets corrupted(setting TS_USEDFPU) without proper math state allocated(present in thread_struct), we can end up oops in __switch_to. But you seem to say, reverting recent fpu patches make the problem go away. hmm, just wondering ...
Aug 6, 2:21 pm 2008
Wolfgang Walter
Re: Kernel oops with 2.6.26, padlock and ipsec: probably ...
Hello Herbert, I think I finally found the problem. Here a short description again: all our routers with a via C3 using padlock for AES-encryption are crashing with 2.6.26 while they work fine with 2.6.25. Not using padlock (i.e. using the i386 assembler version of AES) they just work fine. After a kernel bisection I found that fa5c4639419668cbb18ca3d20c1253559a3b43ae works fine, 2adee9b30d1382fba97825b9c50e4f50a0117c36 crashes. I did not try to bisect the last 4 commits as they seem to ...
Aug 6, 10:33 am 2008
Greg KH
Linux 2.6.26.2
We (the -stable team) are announcing the release of the 2.6.26.2 kernel. It contains lots of bugfixes, all over the map. Any users of the 2.6.26 kernel series should upgrade to this version. For details on the fixes, see the changelog entries and the diffstat below. I'll also be replying to this message with a copy of the patch between 2.6.26.1 and 2.6.26.2 The updated 2.6.26.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git and ...
Aug 6, 10:55 am 2008
Greg KH
Re: Linux 2.6.26.2
diff --git a/Documentation/ftrace.txt b/Documentation/ftrace.txt deleted file mode 100644 index 13e4bf0..0000000 --- a/Documentation/ftrace.txt +++ /dev/null @@ -1,1353 +0,0 @@ - ftrace - Function Tracer - ======================== - -Copyright 2008 Red Hat Inc. -Author: Steven Rostedt <srostedt@redhat.com> - - -Introduction ------------- - -Ftrace is an internal tracer designed to help out developers and -designers of systems to find what is going on inside the kernel. -It can be ...
Aug 6, 10:56 am 2008
Greg KH
Linux 2.6.25.15
We (the -stable team) are announcing the release of the 2.6.25.15 kernel. It contains lots of bugfixes, all over the map. Any users of the 2.6.25 kernel series should upgrade to this version. For details on the fixes, see the changelog entries and the diffstat below. I'll also be replying to this message with a copy of the patch between 2.6.25.14 and 2.6.25.15 The updated 2.6.25.y git tree can be found at: ...
Aug 6, 10:54 am 2008
Greg KH
Re: Linux 2.6.25.15
diff --git a/Makefile b/Makefile index 4c589b6..ea0ca7c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 25 -EXTRAVERSION = .14 +EXTRAVERSION = .15 NAME = Funky Weasel is Jiggy wit it # *DOCUMENTATION* diff --git a/arch/powerpc/kernel/ppc32.h b/arch/powerpc/kernel/ppc32.h index 90e5627..fda05e2 100644 --- a/arch/powerpc/kernel/ppc32.h +++ b/arch/powerpc/kernel/ppc32.h @@ -135,4 +135,6 @@ struct ucontext32 { struct ...
Aug 6, 10:55 am 2008
Max Krasnyansky
Re: [PATCH] cpuset : Handling improper memory allocation.
Makes sense. I'll add it, since I'm touching that area anyway. Max --
Aug 6, 1:43 pm 2008
Paul Jackson
Re: [PATCH] cpuset : Handling improper memory allocation.
This might be a good place for a comment, since unchecked kmalloc() calls look dangerous: /* Convert <csn, csa> to <ndoms, doms> */ doms = kmalloc(ndoms * sizeof(cpumask_t), GFP_KERNEL); if (!doms) goto rebuild; dattr = kmalloc(ndoms * sizeof(struct sched_domain_attr), GFP_KERNEL); /* dattr == NULL is ok; partition_sched_domains() can cope with it. */ -- I won't rest till it's the best ... Programmer, Linux Scalability Paul ...
Aug 6, 1:37 pm 2008
Rakib Mullick
[PATCH] cpuset : Handling improper memory allocation.
This patch makes sure that , if kmalloc fails in "rebuild_sched_domains", then we've a place to go. If anything else, please let me know. Thanks. Signed-off-by: Md.Rakib H. Mullick (rakib.mullick@gmail.com) --- linux-2.6.27-rc2.orig/kernel/cpuset.c 2008-08-06 16:23:26.000000000 +0600 +++ linux-2.6.27-rc2/kernel/cpuset.c 2008-08-06 23:07:59.504441992 +0600 @@ -615,7 +615,8 @@ void rebuild_sched_domains(void) if (dattr) { *dattr = SD_ATTR_INIT; update_domain_attr_tree(dattr, ...
Aug 6, 10:22 am 2008
Max Krasnyansky
Re: [PATCH] cpuset : Handling improper memory allocation.
partition_sched_domains() can deal with attrs==NULL case. So we do not have to abort domain building. --
Aug 6, 1:13 pm 2008
Toralf
build issue #549 for v2.6.27-rc2 :ixj.c:(.text+0x172b89) ...
--Boundary-01=_UzdmI9aKqTUd3wx Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, the build (.config attached) failed, make ends with : =2E.. CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 12 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=3Dy' GEN .version CHK ...
Aug 6, 10:18 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH 4/2] ide-{floppy,tape}: remove request stack
On Wed, Aug 6, 2008 at 8:33 PM, Bartlomiej Zolnierkiewicz pc stack... pc stack... --
Aug 6, 11:34 am 2008
Borislav Petkov
Re: [PATCH 4/2] ide-{floppy,tape}: remove request stack
Looks good so far, even slimmer than the dynamic alloc ones i'd done. Will test with ide-floppy on the weekend. -- Regards/Gruss, Boris. --
Aug 6, 12:38 pm 2008
Bartlomiej Zolnierki ...
[PATCH 4/2] ide-{floppy,tape}: remove request stack
* Add 'struct request request_sense_rq' to struct ide_{floppy,tape}_obj and switch ide*_retry_pc() to use it (there can be only one REQUEST SENSE request active for a given device). * Remove no longer needed ide*_next_rq_storage(), rq_stack[] and rq_stack_index. * DBG_PCRQ_STACK -> DBG_PC_STACK * Update comments for IDE*_PC_STACK and idetape_queue_pc_{head,tail}(). There should be no functional changes caused by this patch. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: ...
Aug 6, 10:14 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH 4/2] ide-{floppy,tape}: remove request stack
On Wed, Aug 6, 2008 at 7:14 PM, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote: Please disregard above comments -- I found a better way to deal with rq stack. --
Aug 6, 11:33 am 2008
Bartlomiej Zolnierki ...
[PATCH 3/2] ide-tape: remove idetape_init_rq()
idetape_init_rq() is only used in idetape_queue_pc_head() so inline it there. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-tape.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) Index: b/drivers/ide/ide-tape.c =================================================================== --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -689,13 +689,6 @@ static void ...
Aug 6, 10:13 am 2008
Wahlig, Elsie
RE: Opteron Rev E has a bug ... a locked instruction doe ...
I don't know but I will see about getting it in there. --
Aug 6, 2:18 pm 2008
Arkadiusz Miskiewicz
Re: Opteron Rev E has a bug ... a locked instruction doe ...
Matches my hardware cpu family : 15 Would be better to fix the bug on kernel level if this is possible. Just -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ --
Aug 6, 10:13 am 2008
Mikael Pettersson
Re: Opteron Rev E has a bug ... a locked instruction doe ...
In principle it's easy. We append a 3-byte nop to the lock-taking instructions. We invent an AMD_MUTEX_BUG synthetic cpuid feature bit and add boot-time code to detect it. We use the alternatives() infrastructure to replace that nop with lfence at boot-time if AMD_MUTEX_BUG is present. I think the hardest part is locating all lock-taking code sequences. Also I think I'll start by writing a user-space test program that does a stress-test of the plain lock;rmw;unlobk sequence to see ...
Aug 6, 12:23 pm 2008
Randy.Dunlap
[PATCH] docbook: fix v4l fatal filename error
From: Randy Dunlap <randy.dunlap@oracle.com> cc: mchehab@infradead.org docproc: /var/linsrc/lin2627-rc2/drivers/media/video/videodev.c: No such file or directory make[1]: *** [Documentation/DocBook/videobook.xml] Error 1 Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- Documentation/DocBook/videobook.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Argh. See Documentation/SubmitChecklist #11. --- lin2627-rc2.orig/Documentation/DocBook/videobook.tmpl +++ ...
Aug 6, 10:08 am 2008
Bartlomiej Zolnierki ...
[PATCH 1/2] ide-floppy: remove needless parens
Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-floppy.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) Index: b/drivers/ide/ide-floppy.c =================================================================== --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -738,7 +738,7 @@ static int idefloppy_get_sfrp_bit(ide_dr return 1; floppy->srfp = pc.buf[8 + 2] & ...
Aug 6, 9:37 am 2008
Bartlomiej Zolnierki ...
[PATCH 2/2] ide-floppy: add ide_floppy_format_ioctl() helper
* Factor out IDEFLOPPY_IOCTL_FORMAT_* ioctls handling from idefloppy_ioctl() to ide_floppy_format_ioctl(). While at it: * Pass 'drive' instead of 'floppy' to ide_floppy_format_unit(). * idefloppy_get_format_progress() -> ide_floppy_get_format_progress() There should be no functional changes caused by this patch. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-floppy.c | 46 ...
Aug 6, 9:37 am 2008
Krzysztof Helt
[PATCH] agp: fix SIS 5591/5592 wrong PCI id
From: Krzysztof Helt <krzysztof.h1@wp.pl> The correct id is the id of the main host (5591) not the id of the PCI-to-PCI bridge AGP (0001). Output from "lspci -nv" shows that only the former has AGP capabilities flag set: 00:00.0 0600: 1039:5591 (rev 02) Flags: bus master, medium devsel, latency 64 Memory at ec000000 (32-bit, non-prefetchable) [size=32M] Capabilities: [c0] AGP version 1.0 00:02.0 0604: 1039:0001 (prog-if 00 [Normal decode]) Flags: bus ...
Aug 6, 9:48 am 2008
Stefan Richter
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
It should exist in the scripts/ subdirectory. Check whether execute permission is set for the file. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=scripts/chec... -- Stefan Richter -=====-==--- =--- --==- http://arcgraph.de/sr/ --
Aug 6, 9:32 am 2008
Vesa-Matti Kari
[PATCH] selinux: conditional expression type validation ...
expr_isvalid() in conditional.c was off-by-one and allowed invalid expression type COND_LAST. However, it is this header file that needs to be fixed. That way the if-statement's disjunction's second component reads more naturally, "if expr type is greater than the last allowed value" ( rather than using ">=" in conditional.c): if (expr->expr_type <= 0 || expr->expr_type > COND_LAST) Signed-off-by: Vesa-Matti Kari <vmkari@cc.helsinki.fi> --- security/selinux/ss/conditional.h | 2 +- 1 ...
Aug 6, 8:24 am 2008
James Morris
Re: [PATCH] selinux: conditional expression type validat ...
Thanks, nice catch. Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next - James -- James Morris <jmorris@namei.org> --
Aug 6, 4:47 pm 2008
Udo van den Heuvel
Re: cf-gps op H2200 ipaq...
Oops, wrong list. Sorry. --
Aug 6, 9:09 am 2008
Udo van den Heuvel
cf-gps op H2200 ipaq...
Beste mensne, Is hier iemand die me verder kan helpen? Ik probeer een cf gps werkend te krijgen op mijn HP H2210 ipaq. Als de kaart wordt geplaatst zie ik in dmesg: <5>[2334577.760000] pccard: PCMCIA card inserted into slot 0 <5>[2334577.760000] pcmcia: registering new device pcmcia0.0 en er onstaan files onder /sys/devices/platform/pxa2xx-pcmcia.0. Ook gaat de rode led aan de zijkant van de globalsat bc337 branden Wat moet er verder nog gebeuren om de gps te kunnen gebruiken? udev zou ...
Aug 6, 8:56 am 2008
Holger Macht
ACPI: Properly clear flags on false-positives and send u ...
Some devices emit a ACPI_NOTIFY_DEVICE_CHECK while physically unplugging even if the software undock has already been done and dock_present() check fails. However, the internal flags need to be cleared (complete_undock()). Also, even notify userspace if the dock station suddently went away without proper software undocking. Signed-off-by: Holger Macht <hmacht@suse.de> --- diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index bb7c51f..7d2edf1 100644 --- a/drivers/acpi/dock.c +++ ...
Aug 6, 8:56 am 2008
David Howells
[PATCH 22/24] CRED: Differentiate objective and effectiv ...
Differentiate the objective and real subjective credentials from the effective subjective credentials on a task by introducing a second credentials pointer into the task_struct. task_struct::real_cred then refers to the objective and apparent real subjective credentials of a task, as perceived by the other tasks in the system. task_struct::cred then refers to the effective subjective credentials of a task, as used by that task when it's actually running. These are not visible to the other ...
Aug 6, 8:39 am 2008
David Howells
[PATCH 14/24] CRED: Rename is_single_threaded() to is_wq ...
Rename is_single_threaded() to is_wq_single_threaded() so that a new is_single_threaded() can be created that refers to tasks rather than waitqueues. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> --- kernel/workqueue.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 4a26a13..e4e2bd3 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -83,21 +83,21 ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 23/24] CRED: Add a kernel_service object class to ...
Add a 'kernel_service' object class to SELinux and give this object class two access vectors: 'use_as_override' and 'create_files_as'. The first vector is used to grant a process the right to nominate an alternate process security ID for the kernel to use as an override for the SELinux subjective security when accessing stuff on behalf of another process. For example, CacheFiles when accessing the cache on behalf on a process accessing an NFS file needs to use a subjective security ID ...
Aug 6, 8:39 am 2008
David Howells
[PATCH 21/24] CRED: Documentation [ver #7]
Document credentials and the new credentials API. Signed-off-by: David Howells <dhowells@redhat.com> --- Documentation/credentials.txt | 563 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 563 insertions(+), 0 deletions(-) create mode 100644 Documentation/credentials.txt diff --git a/Documentation/credentials.txt b/Documentation/credentials.txt new file mode 100644 index 0000000..3caf1ea --- /dev/null +++ b/Documentation/credentials.txt @@ -0,0 +1,563 @@ + ...
Aug 6, 8:39 am 2008
David Howells
[PATCH 04/24] CRED: Neuter sys_capset() [ver #7]
Take away the ability for sys_capset() to affect processes other than current. This means that current will not need to lock its own credentials when reading them against interference by other processes. This has effectively been the case for a while anyway, since: (1) Without LSM enabled, sys_capset() is disallowed. (2) With file-based capabilities, sys_capset() is neutered. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Acked-by: Andrew ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 20/24] CRED: Use creds in file structs [ver #7]
Attach creds to file structs and discard f_uid/f_gid. file_operations::open() methods (such as hppfs_open()) should use file->f_cred rather than current_cred(). At the moment file->f_cred will be current_cred() at this point. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> --- arch/mips/kernel/vpe.c | 4 ++-- drivers/isdn/hysdn/hysdn_procconf.c | 6 ++++-- fs/coda/file.c | 2 +- fs/file_table.c ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 13/24] CRED: Separate per-task-group keyrings fro ...
Separate per-task-group keyrings from signal_struct and dangle their anchor from the cred struct rather than the signal_struct. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> --- include/linux/cred.h | 16 +++++++ include/linux/key.h | 8 +-- include/linux/sched.h | 6 --- kernel/cred.c | 61 ++++++++++++++++++++++++++ kernel/fork.c | 8 --- security/keys/process_keys.c | ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 15/24] CRED: Make inode_has_perm() and file_has_p ...
Make inode_has_perm() and file_has_perm() take a cred pointer rather than a task pointer. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- security/selinux/hooks.c | 140 ++++++++++++++++++++++++++++++---------------- 1 files changed, 92 insertions(+), 48 deletions(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 27d1779..fb76940 100644 --- ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 17/24] CRED: Inaugurate COW credentials [ver #7]
Inaugurate copy-on-write credentials management. This uses RCU to manage the credentials pointer in the task_struct with respect to accesses by other tasks. A process may only modify its own credentials, and so does not need locking to access or modify its own credentials. A mutex (cred_replace_mutex) is added to the task_struct to control the effect of PTRACE_ATTACHED on credential calculations, particularly with respect to execve(). With this patch, the contents of an active credentials ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 08/24] CRED: Separate task security context from ...
Separate the task security context from task_struct. At this point, the security data is temporarily embedded in the task_struct with two pointers pointing to it. Note that the Alpha arch is altered as it refers to (E)UID and (E)GID in entry.S via asm-offsets. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- arch/alpha/kernel/asm-offsets.c | 11 +- arch/alpha/kernel/entry.S | 10 + ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 24/24] CRED: Allow kernel services to override LS ...
Allow kernel services to override LSM settings appropriate to the actions performed by a task by duplicating a set of credentials, modifying it and then using task_struct::cred to point to it when performing operations on behalf of a task. This is used, for example, by CacheFiles which has to transparently access the cache on behalf of a process that thinks it is doing, say, NFS accesses with a potentially inappropriate (with respect to accessing the cache) set of credentials. This patch ...
Aug 6, 8:39 am 2008
David Howells
[PATCH 02/24] KEYS: Disperse linux/key_ui.h [ver #7]
Disperse the bits of linux/key_ui.h as the reason they were put here (keyfs) didn't get in. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> --- include/keys/keyring-type.h | 31 ++++++++++++++++++++ include/linux/key-ui.h | 66 ------------------------------------------- security/keys/internal.h | 31 ++++++++++++++++++++ security/keys/keyring.c | 1 + security/keys/request_key.c | 2 + 5 files changed, 64 ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 19/24] CRED: Prettify commoncap.c [ver #7]
Prettify commoncap.c. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Reviewed-by: James Morris <jmorris@namei.org> --- security/commoncap.c | 304 +++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 247 insertions(+), 57 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 3da0ada..c91b1af 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -39,16 +39,22 @@ int cap_netlink_recv(struct ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 11/24] CRED: Use RCU to access another task's cre ...
Use RCU to access another task's creds and to release a task's own creds. This means that it will be possible for the credentials of a task to be replaced without another task (a) requiring a full lock to read them, and (b) seeing deallocated memory. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- drivers/connector/cn_proc.c | 16 +++++++---- fs/binfmt_elf.c | 8 ++++- ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 12/24] CRED: Wrap access to SELinux's task SID [ver #7]
Wrap access to SELinux's task SID, using task_sid() and current_sid() as appropriate. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> --- security/selinux/hooks.c | 416 ++++++++++++++++++++++++---------------------- 1 files changed, 220 insertions(+), 196 deletions(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 1efc990..27d1779 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -171,10 ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 16/24] CRED: Pass credentials through dentry_open ...
Pass credentials through dentry_open() so that the COW creds patch can have SELinux's flush_unauthorized_files() pass the appropriate creds back to itself when it opens its null chardev. The security_dentry_open() call also now takes a creds pointer, as does the dentry_open hook in struct security_operations. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> --- fs/ecryptfs/ecryptfs_kernel.h | 3 ++- fs/ecryptfs/kthread.c | 9 ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 05/24] CRED: Constify the kernel_cap_t arguments ...
Constify the kernel_cap_t arguments to the capset LSM hooks. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Acked-by: James Morris <jmorris@namei.org> --- include/linux/security.h | 44 ++++++++++++++++++++++++-------------------- security/commoncap.c | 10 ++++++---- security/security.c | 12 ++++++------ security/selinux/hooks.c | 10 ++++++---- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 07/24] CRED: Wrap most current->e?[ug]id and some ...
Change most current->e?[ug]id to current_e?[ug]id(). Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more sense to use RCU directly rather than a convenient wrapper; these are addressed by a later patch (see the patch entitled "CRED: Use RCU to access another task's creds and to release a task's own creds"). Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 09/24] CRED: Detach the credentials from task_str ...
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct(). Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- include/linux/cred.h | 29 ++++++++++++++ include/linux/init_task.h | 16 ------- include/linux/sched.h | 1 include/linux/security.h | 26 ++++++------ kernel/Makefile | 2 - kernel/cred.c ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 18/24] CRED: Make execve() take advantage of copy ...
Make execve() take advantage of copy-on-write credentials, allowing it to set up the credentials in advance, and then commit the whole lot after the point of no return. This patch and the preceding patches have been tested with the LTP SELinux testsuite. This patch makes several logical sets of alteration: (1) execve(). The credential bits from struct linux_binprm are, for the most part, replaced with a single credentials pointer (bprm->cred). This means that all the ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 10/24] CRED: Wrap current->cred and a few other a ...
Wrap current->cred and a few other accessors to hide their actual implementation. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- drivers/net/tun.c | 8 +- drivers/usb/core/devio.c | 10 +- fs/binfmt_elf.c | 10 +- fs/binfmt_elf_fdpic.c | 9 +- fs/exec.c | 5 + fs/fcntl.c | 3 - fs/file_table.c ...
Aug 6, 8:38 am 2008
David Howells
[PATCH 00/24] Introduce credentials [ver #7]
I've brought my patchset up to date with regards the recent merge melee and built the patches on top of the next branch of James's security testing tree as per his request. A tarball of these patches can be retrieved from: http://people.redhat.com/~dhowells/cow-creds-7.tar.bz2 I've been testing these patches with the LTP syscalls and SELinux test scripts. --- There are three parts to this project: (1) Implement COW credentials. (2) Pass the cred pointer through the vfs_xxx() ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 03/24] KEYS: Alter use of key instantiation link- ...
Alter the use of the key instantiation and negation functions' link-to-keyring arguments. Currently this specifies a keyring in the target process to link the key into, creating the keyring if it doesn't exist. This, however, can be a problem for copy-on-write credentials as it means that the instantiating process can alter the credentials of the requesting process. This patch alters the behaviour such that: (1) If keyctl_instantiate_key() or keyctl_negate_key() are given a specific ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 06/24] CRED: Change current->fs[ug]id to current_ ...
Change current->fs[ug]id to current_fs[ug]id() so that fsgid and fsuid can be separated from the task_struct. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> --- arch/ia64/kernel/perfmon.c | 4 ++-- arch/powerpc/platforms/cell/spufs/inode.c | 4 ++-- drivers/isdn/capi/capifs.c | 4 ++-- drivers/usb/core/inode.c | 4 ++-- fs/9p/fid.c ...
Aug 6, 8:37 am 2008
David Howells
[PATCH 01/24] Fix setting of PF_SUPERPRIV by __capable() ...
Fix the setting of PF_SUPERPRIV by __capable() as it could corrupt the flags the target process if that is not the current process and it is trying to change its own flags in a different way at the same time. __capable() is using neither atomic ops nor locking to protect t->flags. This patch removes __capable() and introduces has_capability() that doesn't set PF_SUPERPRIV on the process being queried. This patch further splits security_ptrace() in two: (1) security_ptrace_may_access(). ...
Aug 6, 8:37 am 2008
Max Krasnyansky
Re: [patch 0/5] x86-microcode: run ucode update via workqueue
That'd be ok. Somehow I think it's not worth the effort though. If the machine was able to boot to the point that it can run user-space (request_firmware) with the old microcode it can probably sustain itself a bit longer while waiting for the workqueue thread to be scheduled. You probably have more exciting things to do ;-) The latest patches look ok btw. Max --
Aug 6, 1:35 pm 2008
Dmitry Adamushko
Re: [patch 0/5] x86-microcode: run ucode update via workqueue
btw., I still think we should consider running ucode-updates from the low-level arch code. But as it's perhaps a material for .28, there should be plenty of time. I also have in mind a few possible generalizations/improvemets. -- Best regards, Dmitry Adamushko --
Aug 6, 1:14 pm 2008
Peter Oruba
[patch 0/5] x86-microcode: run ucode update via workqueue
Referring to: http://lkml.org/lkml/2008/8/3/114 Dmitry, thanks for your work. Rebased Dmitry's patch set to x86-microcode and incorporated changes into AMD microcode patch loader. No issues with cpu-hotplug anymore, tested on Intel as well as AMD. --Peter --
Aug 6, 8:21 am 2008
Peter Oruba
[patch 4/5] [PATCH 4/5] x86: Minor correction to Intel m ...
Signed-off-by: Peter Oruba <peter.oruba@amd.com> --- arch/x86/kernel/microcode_intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/microcode_intel.c b/arch/x86/kernel/microcode_intel.c index 4ab6ce3..8d69470 100644 --- a/arch/x86/kernel/microcode_intel.c +++ b/arch/x86/kernel/microcode_intel.c @@ -315,7 +315,7 @@ static void apply_microcode(int cpu) unsigned long flags; unsigned int val[2]; int cpu_num = raw_smp_processor_id(); - struct ...
Aug 6, 8:21 am 2008
Peter Oruba
[patch 5/5] [PATCH 5/5] x86: Run AMD microcode updates v ...
Signed-off-by: Peter Oruba <peter.oruba@amd.com> --- arch/x86/kernel/microcode_amd.c | 106 ++++++++++++++++++++++++-------------- 1 files changed, 67 insertions(+), 39 deletions(-) diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c index 33b2a21..37d26ec 100644 --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c @@ -14,6 +14,7 @@ * License version 2. See file COPYING for details. */ +/* #define DEBUG */ /* pr_debug */ #include ...
Aug 6, 8:21 am 2008
Arjan van de Ven
Re: [patch 3/5] [PATCH 3/5] x86: Run Intel ucode-updates ...
On Wed, 6 Aug 2008 17:21:20 +0200 Peter Oruba <peter.oruba@amd.com> wrote: [ no description or reason ] Why is this? I'm not very happy about this.. it means practically that this stuff *has* to run late. Probably later than we want to. (Like.. we may want to redo the microcode during resume.. which is not a schedulable context) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit ...
Aug 6, 8:44 am 2008
Dmitry Adamushko
Re: [patch 3/5] [PATCH 3/5] x86: Run Intel ucode-updates ...
More details are available here. I've also suggested to do ucode-updates as early as possible from start_secondary() (or whatever low-level code). The second patch (do via workqueue) was just a proof-of-concept (to Currently, it runs from cpu-hotplug-notifier(CPU_ONLINE, ...) [ and crashes with .26+ due to a reason you may find via the aforementioned link ] - by this moment, at least kernel threads may I'm not sure what's "schedulable context" here terms but the existing code makes ...
Aug 6, 8:56 am 2008
Peter Oruba
[patch 3/5] [PATCH 3/5] x86: Run Intel ucode-updates via ...
Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com> Signed-off-by: Peter Oruba <peter.oruba@amd.com> --- arch/x86/kernel/microcode.c | 49 ++++++++++++++---------- arch/x86/kernel/microcode_intel.c | 74 ++++++++++++++++++++++-------------- include/asm-x86/microcode.h | 9 +++- 3 files changed, 80 insertions(+), 52 deletions(-) diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index b797692..0264c76 100644 --- ...
Aug 6, 8:21 am 2008
Dmitry Adamushko Aug 6, 8:57 am 2008
Max Krasnyansky
Re: [patch 3/5] [PATCH 3/5] x86: Run Intel ucode-updates ...
Dmitry and I tried to figure out how soon does it need to run. Nobody had a strong argument why it must run synchronously in the hotplug path. Sure we want it as soon as possible and I'd say workqueue is soon enough. Existing hotplug path does not guaranty any ordering and original microcode interface was driven from user-space. So clearly it was not considered very critical. Max --
Aug 6, 1:31 pm 2008
Arjan van de Ven
Re: [patch 3/5] [PATCH 3/5] x86: Run Intel ucode-updates ...
On Wed, 06 Aug 2008 13:31:18 -0700 you're not going to like the answer, but it's "as soon as possible". Unlike normal boot, hotplug is a case where the bios hasn't been able -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 6, 1:45 pm 2008
Peter Oruba
[patch 1/5] [PATCH 1/5] x86: microcode generic updates
Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com> Signed-off-by: Peter Oruba <peter.oruba@amd.com> --- arch/x86/kernel/microcode.c | 83 ++++++++++++++----------------- arch/x86/kernel/microcode_intel.c | 97 +++++++++++++++++++------------------ include/asm-x86/microcode.h | 27 +++++----- 3 files changed, 101 insertions(+), 106 deletions(-) diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index ad136ad..b797692 100644 --- ...
Aug 6, 8:21 am 2008
Peter Oruba
[patch 2/5] [PATCH 2/5] x86: Minor correction to header file
Signed-off-by: Peter Oruba <peter.oruba@amd.com> --- include/asm-x86/microcode.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/microcode.h b/include/asm-x86/microcode.h index 072bef1..fb08022 100644 --- a/include/asm-x86/microcode.h +++ b/include/asm-x86/microcode.h @@ -1,5 +1,5 @@ -extern int microcode_init(void *opaque, struct module *module); -extern void microcode_exit(void); +int microcode_init(void *opaque, struct module *module); +void ...
Aug 6, 8:21 am 2008
Alan Jenkins
2.6.27-rc2: uvcvideo breaks after suspend to ram
I don't use the webcam on my EeePC; I just happened to try it while testing 2.6.27-rc2. I don't know about any other version so this isn't neccessarily a regression. I think I tested it using Kopete, then later I got this warning on resume. I definitely didn't have Kopete open when I suspended though. Thanks Alan
Aug 6, 8:31 am 2008
Alan Jenkins
2.6.27-rc2: uvcvideo breaks after suspend to ram
I don't use the webcam on my EeePC; I just happened to try it while testing 2.6.27-rc2. I don't know about any other version so this isn't neccessarily a regression. I think I tested it using Kopete, then later I got this warning on resume. I definitely didn't have Kopete open when I suspended though. Thanks Alan
Aug 6, 8:23 am 2008
Andy Whitcroft
[PATCH 1/1] allocate structures for reservation tracking ...
[Gerald, could you see if this works for you it seems to for us on an x86 build. If it does we can push it up to Andrew.] In the normal case, hugetlbfs reserves hugepages at map time so that the pages exist for future faults. A struct file_region is used to track when reservations have been consumed and where. These file_regions are allocated as necessary with kmalloc() which can sleep with the mm->page_table_lock held. This is wrong and triggers may-sleep warning when PREEMPT is ...
Aug 6, 12:03 pm 2008
Gerald Schaefer
[BUG] hugetlb: sleeping function called from invalid context
Hi, running the libhugetlbfs test suite I met the following bug: BUG: sleeping function called from invalid context at include/linux/pagemap.h:294 in_atomic():1, irqs_disabled():0 CPU: 0 Not tainted 2.6.27-rc1 #3 Process private (pid: 4531, task: 000000003f68e400, ksp: 000000002a7e3be8) 0700000033a00700 000000002a7e3bf0 0000000000000002 0000000000000000 000000002a7e3c90 000000002a7e3c08 000000002a7e3c08 0000000000016472 0000000000000000 000000002a7e3be8 0000000000000000 ...
Aug 6, 7:43 am 2008
Hugh Dickins
[PATCH] memcg: fix oops in mem_cgroup_shrink_usage
Got an oops in mem_cgroup_shrink_usage() when testing loop over tmpfs: yes, of course, loop0 has no mm: other entry points check but this didn't. Signed-off-by: Hugh Dickins <hugh@veritas.com> --- mm/memcontrol.c | 2 ++ 1 file changed, 2 insertions(+) --- 2.6.27-rc2/mm/memcontrol.c 2008-08-06 08:36:20.000000000 +0100 +++ linux/mm/memcontrol.c 2008-08-06 09:05:26.000000000 +0100 @@ -796,6 +796,8 @@ int mem_cgroup_shrink_usage(struct mm_st if (mem_cgroup_subsys.disabled) ...
Aug 6, 7:15 am 2008
Balbir Singh
Re: [PATCH] memcg: fix oops in mem_cgroup_shrink_usage
Looks good Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
Aug 6, 9:21 am 2008
kamezawa.hiroyu Aug 6, 9:13 am 2008
Alexander Huemer
2.6.27-rc1 mtrr fixes do not work
hi, mtrr is wrong on my machine. the fixes of 2.6.27-rc1 do not seem to work. bios is the newest version, mainboard vendor says it's not their fault. mainboard is tyan i5000pw. please tell me how i can help and cc me on answers, i am not subscribed. here is some data: seaburg ~ # grep -E "(^\(WW\)|^\(EE\)|^\(NI\)|^\(??\))" /var/log/Xorg.0.log (WW) VESA(0): Failed to set up write-combining range (0xd8000000,0x2000000) seaburg ~ # dmesg|grep mtrr Command line: root=/dev/sda1 ...
Aug 6, 7:05 am 2008
James Bottomley
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
We could try using this as the trigger. I assume all DIF supporting devices must also claim conformance to SPC3/SBC2 or higher? James --
Aug 6, 9:36 am 2008
Hugh Dickins
[PATCH][SCS] sd: Read Capacity if (16) fails
Commit e0597d70012c82e16ee152270a55d89d8bf66693 (sd: Identify DIF protection type and application tag ownership) says that if a disk is formatted with Inquiry bit PROTECT=1, it is required to support Read Capacity(16). But my SD cards, accessed by builtin cardreader and generic USB storage, disagree. Therefore fall back to the familiar Read Capacity if Read Capacity(16) fails: without even showing the "failed" message since I expect this will be common. Signed-off-by: Hugh Dickins ...
Aug 6, 7:06 am 2008
Martin K. Petersen
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
>>>>> "James" == James Bottomley <James.Bottomley@HansenPartnership.com> writes: James> We could try using this as the trigger. I assume all DIF James> supporting devices must also claim conformance to SPC3/SBC2 or James> higher? You'd think, wouldn't you? Originally I only checked for PROTECT if version was SBC2 or better. But as it turns out I have drives that only report SBC and yet they do DIF. This old version is apparently reported to prevent problems in other operating ...
Aug 6, 9:44 am 2008
Matthew Wilcox
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
How about we flip it around? Unconditionally try READ CAPACITY 16 first, then if that fails, try READ CAPACITY? I suppose there's always the possibility that a drive will go tits-up if it receives the RC16 command, so maybe we'll need a blacklist. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Aug 6, 7:25 am 2008
Douglas Gilbert
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
Classic, USB strikes again! One needs to go back to SCSI-1 (1985 ?) to find when byte 5 bit 0 of an INQUIRY response could be used for anything other than PROTECT. So that bit is reserved in SCSI-2, SPC and SPC-2 then has its current meaning in SPC-3 and SPC-4. Doug Gilbert --
Aug 6, 9:44 am 2008
Martin K. Petersen
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
>>>>> "Hugh" == Hugh Dickins <hugh@veritas.com> writes: Hugh> Commit e0597d70012c82e16ee152270a55d89d8bf66693 (sd: Identify Hugh> DIF protection type and application tag ownership) says that if Hugh> a disk is formatted with Inquiry bit PROTECT=1, it is required Hugh> to support Read Capacity(16). But my SD cards, accessed by Hugh> builtin cardreader and generic USB storage, disagree. Argh. That's really broken. USB storage has no business setting PROTECT. Can you send me the sg_inq ...
Aug 6, 7:27 am 2008
Hugh Dickins
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
Almost: I had to #include <scsi/scsi.h> to get SCSI_2 for the build somewhere (and a SCSI_2 seems to be worth 1 more than anyone else's 2), then it worked just fine for me thanks. Hugh p.s. sorry for losing an I from the "[SCSI]" Subject --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -6,6 +6,7 @@ #include <linux/spinlock.h> #include <linux/workqueue.h> #include <linux/blkdev.h> +#include <scsi/scsi.h> #include <asm/atomic.h> struct request_queue; @@ ...
Aug 6, 10:21 am 2008
James Bottomley
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
OK, so this is the solution until we get USB devices claiming SCSI-3 and mucking with the protection bit ... James --
Aug 6, 10:36 am 2008
James Bottomley
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
I don't think so ... the read capacity logic looks the way it does because we had a bit of trouble with USB devices simply going out to lunch on READ_CAPACITY(16) ... otherwise we'd have done the 16 then fallback to 10 ages ago. The best way is probably a blacklist for protect ... I assume there's no plans in the near future for USB to support it, so we could just turn it off globally in USB slave configure. James --
Aug 6, 9:35 am 2008
Martin K. Petersen
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
>>>>> "Hugh" == Hugh Dickins <hugh@veritas.com> writes: Hugh> Almost: I had to #include <scsi/scsi.h> to get SCSI_2 for the Hugh> build somewhere (and a SCSI_2 seems to be worth 1 more than Hugh> anyone else's 2), then it worked just fine for me thanks. The DIF drives in question claim rev. 3 and are configured correctly with James' patch in place. Acked-by: Martin K. Petersen <martin.petersen@oracle.com> -- Martin K. Petersen Oracle Linux Engineering --
Aug 6, 10:32 am 2008
James Bottomley
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
Just to formalise it, that would be this patch. Hugh, could you try it? Thanks, James --- diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 291d56a..ffbc84a 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -426,7 +426,7 @@ static inline int scsi_device_enclosure(struct scsi_device *sdev) static inline int scsi_device_protection(struct scsi_device *sdev) { - return sdev->inquiry[5] & (1<<0); + return sdev->scsi_level > SCSI_2 ...
Aug 6, 9:53 am 2008
Hugh Dickins
Re: [PATCH][SCS] sd: Read Capacity if (16) fails
sg_inq? I assume that's the same as the inquiry_len bytes at inquiry: 00000000: 00 8d 00 01 1f 01 00 00 47 65 6e 65 72 69 63 2d ........Generic- 00000010: 4d 75 6c 74 69 2d 43 61 72 64 20 20 20 20 20 20 Multi-Card 00000020: 31 2e 30 30 1.00 Ah, sg_inq is a command which spells that out, here you go: standard INQUIRY: PQual=0 Device_type=0 RMB=1 version=0x00 [no conformance claimed] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 ...
Aug 6, 8:34 am 2008
Rakib Mullick
[PATCH] x86: removes extra assignment from arch/x86/kern ...
Hello guys, this patch removes an extra assignment from "write_ldt" function. Thanks. Signed-off-by : Md.Rakib H. Mullick (rakib.mullick@gmail.com) --- linux-2.6.27-rc2.orig/arch/x86/kernel/ldt.c 2008-08-06 16:23:53.000000000 +0600 +++ linux-2.6.27-rc2/arch/x86/kernel/ldt.c 2008-08-06 19:18:50.984268144 +0600 @@ -191,11 +191,12 @@ static int write_ldt(void __user *ptr, u error = -EINVAL; if (bytecount != sizeof(ldt_info)) goto out; - error = -EFAULT; - if (copy_from_user(&ldt_info, ...
Aug 6, 6:33 am 2008
Andreas Herrmann
x86: compile pat debugfs interface only if CONFIG_X86_P ...
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- arch/x86/mm/pat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Recently I've run a kernel w/o PAT support and wondered why there was a file "x86/pat_memtype_list" in debugfs. Of course it's empty if PAT is disabled ... so just get rid of this interface if PAT is disabled. Please apply. (patch against v2.6.27-rc2) Andreas diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 2fe3091..647b1c4 ...
Aug 6, 6:30 am 2008
Andreas Herrmann
[PATCH] x86: compile pat debugfs interface only if CONFI ...
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- arch/x86/mm/pat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Re-submission of the patch -- this time with a proper subject line ... Regards, Andreas diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 2fe3091..647b1c4 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -492,7 +492,7 @@ void unmap_devmem(unsigned long pfn, unsigned long size, pgprot_t vma_prot) free_memtype(addr, addr + ...
Aug 6, 7:23 am 2008
Karsten Keil
[PATCH 3/3] Fix lockdep warning
use correct dynamic spinlock init function. Signed-off-by: Karsten Keil <kkeil@suse.de> --- drivers/isdn/mISDN/tei.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index 6fbae42..d8af45c 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c @@ -1287,7 +1287,7 @@ create_teimanager(struct mISDNdevice *dev) if (!mgr) return -ENOMEM; INIT_LIST_HEAD(&mgr->layer2); - mgr->lock = ...
Aug 6, 6:30 am 2008
Randy Dunlap
Re: [PATCH 3/3] Fix lockdep warning
Hi, It would be a Really Good Thing if we could look at the subject line and see that this is for an ISDN driver instead of something else, like even the general lockdep framework. The Perfect Patch (http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt) section 2.b. discusses this, but it isn't quite strong enough. ;) --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Aug 6, 8:30 am 2008
Karsten Keil
[PATCH 2/3] Cosmetic fixes
found by Randy Dunlap. Signed-off-by: Karsten Keil <kkeil@suse.de> --- Documentation/isdn/README.mISDN | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/isdn/README.mISDN b/Documentation/isdn/README.mISDN index cd8bf92..5271e66 100644 --- a/Documentation/isdn/README.mISDN +++ b/Documentation/isdn/README.mISDN @@ -1,6 +1,6 @@ -mISDN is a new modular ISDN driver, in the long term it should replace -the old I4L driver architecture for passiv ISDN ...
Aug 6, 6:30 am 2008
Sebastien Dugue
[PATCH 0/2 V3] powerpc - Make the irq reverse mapping tr ...
Hi , here is V3 for the powerpc IRQ radix tree reverse mapping rework. V2 -> V3: from comments by Benjamin Herrenschmidt and Daniel Walker - Move the initialization of the radix tree back into irq_late_init() and insert pre-existing irqs into the tree at that time. - One whitespace cleanup. V1 -> V2: from comments by Michael Ellerman - Initialize the XICS radix tree in xics code and only for that irq_host rather than doing it for all the hosts in the powerpc ...
Aug 6, 6:30 am 2008
Sebastien Dugue
[PATCH 1/2] powerpc - Separate the irq radix tree insert ...
irq_radix_revmap() currently serves 2 purposes, irq mapping lookup and insertion which happen in interrupt and process context respectively. Separate the function into its 2 components, one for lookup only and one for insertion only. Fix the only user of the revmap tree (XICS) to use the new functions. Also, move the insertion into the radix tree of those irqs that were requested before it was initialized at said tree initialization. Mutual exclusion between the tree ...
Aug 6, 6:30 am 2008
Sebastien Dugue
[PATCH 2/2] powerpc - Make the irq reverse mapping radix ...
The radix trees used by interrupt controllers for their irq reverse mapping (currently only the XICS found on pSeries) have a complex locking scheme dating back to before the advent of the lockless radix tree. Take advantage of this and of the fact that the items of the tree are pointers to a static array (irq_map) elements which can never go under us to simplify the locking. Concurrency between readers and writers is handled by the intrinsic properties of the lockless radix tree. ...
Aug 6, 6:30 am 2008
Karsten Keil
[PATCH 1/3] Cleanup hfc multiport driver
Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master Remove references to external zaptel modules and some cosmetic cleanups. Signed-off-by: Karsten Keil <kkeil@suse.de> --- drivers/isdn/hardware/mISDN/hfc_multi.h | 4 - drivers/isdn/hardware/mISDN/hfcmulti.c | 109 +++++++------------------------ 2 files changed, 24 insertions(+), 89 deletions(-) diff --git a/drivers/isdn/hardware/mISDN/hfc_multi.h b/drivers/isdn/hardware/mISDN/hfc_multi.h index ...
Aug 6, 6:30 am 2008
Philipp Kohlbecher
[PATCH] x86: fix comment in protected mode header
From: Philipp Kohlbecher <xt28@gmx.de> Comments in arch/x86/boot/compressed/head_32.S erroneously refer to the real mode pointer as the second and the heap area as the third argument to decompress_kernel(). In fact, these have been the first and second argument, respectively, since v2.6.20. This patch corrects the comments. It introduces no code changes. Signed-off-by: Philipp Kohlbecher <xt28@gmx.de> --- Please CC me, I am not on the list. arch/x86/boot/compressed/head_32.S | ...
Aug 6, 6:25 am 2008
Marc Zyngier
[PATCH 0/5] Support for Arcom/Eurotech Viper SBC
This patch serie, against 2.6.27-rc2, adds support for the PXA-255 based Arcom/Eurotech Viper SBC. It is roughly based on the old 2.6.16.28 port made by Arcom, though all bugs are of course mine. It's been heavily tested over the last two months. Most of these patches are quite straightforward, except for the generic PCMCIA patch that may be questionable. As usual, I'll be glad to receive any comment you may have about this patch. Thanks, M. arch/arm/configs/viper_defconfig | ...
Aug 6, 6:19 am 2008
Marc Zyngier
[PATCH 2/5] Add support for the Arcom/Eurotech Viper SBC ...
Signed-off-by: Marc Zyngier <marc.zyngier@altran.com> --- drivers/net/smc91x.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index 22209b6..9481412 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -185,6 +185,27 @@ static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg) #define SMC_IRQ_FLAGS (-1) +#elif defined(CONFIG_ARCH_VIPER) + +/* We can only do 16-bit reads ...
Aug 6, 6:19 am 2008
Marc Zyngier
[PATCH 4/5] Add support for the Arcom/Eurotech Viper SBC ...
Signed-off-by: Marc Zyngier <marc.zyngier@altran.com> --- drivers/pcmcia/Kconfig | 2 +- drivers/pcmcia/Makefile | 1 + drivers/pcmcia/pxa2xx_viper.c | 183 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 185 insertions(+), 1 deletions(-) create mode 100644 drivers/pcmcia/pxa2xx_viper.c diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index e0f8840..de57e7e 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig @@ -220,7 +220,7 @@ ...
Aug 6, 6:19 am 2008
Marc Zyngier
[PATCH 3/5] [PCMCIA] Add support for platform dependant quirks
Some platforms, namely the Arcom/Eurotech Viper, need some extra care to run (on this board, the PC104 connector is actually wired to the second PCMCIA slot, and needs to be powered on despite not being managed by the PCMCIA code...). Add a quirks field to the pcmcia_low_level structure that the SOC dependant code can inspect. Introduce a PXA2XX_QUIRK_NEEDS_MECR_NOS that can be used by the offending board. Signed-off-by: Marc Zyngier <marc.zyngier@altran.com> --- ...
Aug 6, 6:19 am 2008
Marc Zyngier
[PATCH 1/5] Basic support for the Arcom/Eurotech Viper SBC.
Signed-off-by: Marc Zyngier <marc.zyngier@altran.com> --- arch/arm/mach-pxa/Kconfig | 6 + arch/arm/mach-pxa/Makefile | 1 + arch/arm/mach-pxa/viper.c | 952 ++++++++++++++++++++++++++++++++++++++ include/asm-arm/arch-pxa/irqs.h | 23 + include/asm-arm/arch-pxa/viper.h | 91 ++++ 5 files changed, 1073 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-pxa/viper.c create mode 100644 include/asm-arm/arch-pxa/viper.h diff --git ...
Aug 6, 6:19 am 2008
Pavel Machek
2.6.27-rc1: critical thermal shutdown on thinkpad x60
Hi! Aug 6 11:00:10 amd kernel: ACPI: Critical trip point Aug 6 11:00:10 amd kernel: Critical temperature reached (128 C), shutting down. Aug 6 11:00:10 amd shutdown[24414]: shutting down for system halt ...and machine went down at that point :-(. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 6, 2:02 am 2008
Peter Palfrader
2.6.26.1 hangs on dl385
Hi, I tried to upgrade several of our HP DL385 running a 64 bit kernel to 2.6.26.1 from 2.6.25.11. Every single one of them died within at most a few days, sometimes even within minutes. The systems continue to do TCP/IP/pings/etc, but everything that interacts with the filesystem/disks just hangs. It seems to happen faster with more disk/filesystem load. Nothing is printed to the console. The kernel config of the working 2.6.25.11 and of several 2.6.26.1 kernels, none of wich worked ...
Aug 6, 5:33 am 2008
Paul Jackson
Re: [PATCH] cpuset.c : Removes extra variable
No. Sorry - I must NAQ this patch. I intentionally add inessential variables such as this in order to make the code easier to read. I consider the line of code: if (cpus_nonempty && balance_flag_changed) to be more readable than the line of clde: if (!cpus_empty(trialcs.cpus_allowed) && balance_flag_changed) -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
Aug 6, 1:22 pm 2008
Rakib Mullick
[PATCH] cpuset.c : Removes extra variable
Hello everyone, the following patch removes the use of int cpus_nonempty variable from 'update_flag' function. Thanks. Signed-off-by: Md.Rakib H. Mullick (rakib.mullick@gmail.com) --- linux-2.6.27-rc2.orig/kernel/cpuset.c 2008-08-06 16:23:26.000000000 +0600 +++ linux-2.6.27-rc2/kernel/cpuset.c 2008-08-06 18:03:50.000000000 +0600 @@ -1110,7 +1110,7 @@ static int update_flag(cpuset_flagbits_t { struct cpuset trialcs; int err; - int cpus_nonempty, balance_flag_changed; + int ...
Aug 6, 5:50 am 2008
Olaf Hering
unconditional link object arch/powerpc/lib/crtsavres.o b ...
Sam, please have a look at bug 11143. http://bugzilla.kernel.org/show_bug.cgi?id=11143 arch/powerpc/lib/crtsavres.o is added inconditionally to the linker flags, but there is no rule to actually create the object file. This breaks building external modules on 32bit powerpc since 2.6.26. Thanks, Olaf --
Aug 6, 5:23 am 2008
Eric Sesterhenn
Re: Oops when accessing /proc/lockdep_chains
I can easily reproduce this with modprobe rcutorture; sleep 10s; rmmod rcutorture; cat /proc/lockdep_chains > /dev/null Greetings, Eric --
Aug 6, 5:41 am 2008
Eric Sesterhenn
Oops when accessing /proc/lockdep_chains
hi, with current -git (aka -rc2) i sometime get the following oops when doing a cat /proc/lockdep_chains The other /proc/lockdep* files dont cause any errors I dont get it after a fresh reboot :| But was able to reproduce it when running my testscripts, I'll try to narrow it down. [ 584.458673] BUG: unable to handle kernel paging request at d1a27580 [ 584.459010] IP: [<c049403e>] strnlen+0xe/0x20 [ 584.459340] Oops: 0000 [#1] DEBUG_PAGEALLOC [ 584.459596] Modules linked in: [last ...
Aug 6, 5:16 am 2008
David Brownell
Re: linux-next: Tree for August 5 (MTD build error)
Whoops, sorry ... I see what was going on. My bad. --- g26.orig/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:12:45.000000000 -0700 +++ g26/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:11:55.000000000 -0700 @@ -616,7 +616,7 @@ static char *otp_setup(struct mtd_info * #else -static char *otp_setup(struct mtd_info *device) +static char *otp_setup(struct mtd_info *device, char revision) { return " (OTP)"; } --
Aug 6, 4:13 am 2008
Yinghai Lu
Re: 2.6.27rc1 cannot boot more than 8CPUs
actually x86_pc is one mode of genericarch..., genericarch already could detect pc, bigsmp, and numaq, es7000, bigsmp, visew.. hope later we can change mach_default to default. but embed guys may want to keep it as seperated one. in the dmesg when booting x86_pc only, we already have warning to let you set bigsmp if you have 8 more cpus. YH --
Aug 6, 9:13 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
On Wed, Aug 6, 2008 at 5:42 PM, Jeff Chua <jeff.chua.linux@gmail.com> It works. Booted with 16CPUs. 32GB RAM. CPU0 L7345 1.86GHz 0C CPU1 L7345 1.86GHz 0C CPU2 L7345 1.86GHz 0C CPU3 L7345 1.86GHz 0C CPU4 L7345 1.86GHz 0C CPU5 L7345 1.86GHz 0C CPU6 L7345 1.86GHz 0C CPU7 L7345 1.86GHz 0C CPU8 L7345 1.86GHz 0C CPU9 L7345 1.86GHz 0C CPU10 L7345 1.86GHz 0C CPU11 L7345 1.86GHz 0C CPU12 L7345 1.86GHz 0C CPU13 L7345 1.86GHz 0C CPU14 L7345 1.86GHz 0C CPU15 L7345 1.86GHz ...
Aug 6, 4:09 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
It seems to get "sparse mem", NUMA must be set first, but this is not With more than 8 CPUs and upon boot up and hangs, Shift+PgUp does not work, so it's not possible to view console messages except those on the current page, so I guess I missed that hint. Jeff. --
Aug 6, 9:34 am 2008
Mike Frysinger Aug 6, 4:05 am 2008
Mike Frysinger
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
*shrug* ... i dont see other patches with things like: The patch was generated with git. The patch was generated with eclipse. The patch was generated with emacs. etc... we dont generally list all of the tools in the log message that was used in *creating* a patch since it doesnt really add any value when looking back historically at changes. -mike --
Aug 6, 5:14 am 2008
Vegard Nossum
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
Hi, Hm? I'm sorry, I don't understand what you mean by that. Do you think Oh right. I believed that Bryan Wu is the maintainer who would eventually apply the patch, therefore I put him as a direct recipient of the e-mail (To-field) and that he would add his Signed-off-by line which would make the Cc-line redundant. I guess it makes some sense to also list the maintainer in the patch Ccs since the patch itself may be separate from the raw e-mail (e.g. in mail archives, which generally don't ...
Aug 6, 4:28 am 2008
Julia Lawall
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
But with git, emacs, eclipse etc, the person is still making the change by hand. The comment is more like "this patch was generated with perl" or "this patch was generated with sed", indicating that the change is uniform enough to be automated. This does have some interest, although perhaps not for everyone. julia --
Aug 6, 5:21 am 2008
Vegard Nossum
[PATCH] blackfin/sram: use 'unsigned long' for irqflags
(Use a wider diff context such as -U10 after the patch has been applied to see the actual uses of the variables which we change.) From 3ef36948a88a968eec1b09859aa251dc6727df4e Mon Sep 17 00:00:00 2001 From: Vegard Nossum <vegard.nossum@gmail.com> Date: Wed, 6 Aug 2008 12:00:23 +0200 Subject: [PATCH] blackfin/sram: use 'unsigned long' for irqflags Using just 'unsigned' will make flags an unsigned int. While this is arguably not an error on blackfin where sizeof(int) == sizeof(long), the patch ...
Aug 6, 3:58 am 2008
Mike Frysinger
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
that's reasonable to include the actual source (semantic patch) that triggered the resulting change. -mike --
Aug 6, 10:34 am 2008
Vegard Nossum
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
Hm. I agree that git/eclipse/emacs/etc. information is not very useful. However... For errors found with lockdep, we usually put either the lockdep output in the commit message or say that it was found with lockdep. Having this information in the log is useful because it also establishes a track record for the tool which was used to discover/fix the error. Arguably, the semantic patch itself should be present in the log as well. There are different practices here, but in this case, the ...
Aug 6, 5:52 am 2008
Mike Frysinger
Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
although, such information may be fine in the region after --- where the diffstat normally shows up as that will not go into the log ... -mike --
Aug 6, 5:17 am 2008
Paul Mundt
[PATCH 0/3] binfmt_elf_fdpic: auxvec updates, v2.
This is a tiny series of patches for bringing binfmt_elf_fdpic back in line with binfmt_elf in terms of auxiliary vector layout, particularly for the new entries that have popped up recently. [PATCH 1/3] binfmt_elf_fdpic: Support auxvec base platform string. [PATCH 2/3] binfmt_elf_fdpic: Convert initial stack alignment to arch_align_stack(). [PATCH 3/3] binfmt_elf_fdpic: Wire up AT_EXECFD, AT_EXECFN, AT_SECURE. Changes since the last version include the updated 2/3 patch and a cosmetic fixup ...
Aug 6, 3:34 am 2008
Paul Mundt
[PATCH 2/3] binfmt_elf_fdpic: Convert initial stack alig ...
binfmt_elf_fdpic seems to have grabbed a hard-coded hack from an ancient version of binfmt_elf in order to try and fix up initial stack alignment on multi-threaded x86, which while in addition to being unused, was also pushed down beyond the first set of operations on the stack pointer, negating the entire purpose. These days, we have an architecture independent arch_align_stack(), so we switch to using that instead. Move the initial alignment up before the initial stores while we're at ...
Aug 6, 3:36 am 2008
Paul Mundt
[PATCH 1/3] binfmt_elf_fdpic: Support auxvec base platfo ...
Commit 483fad1c3fa1060d7e6710e84a065ad514571739 introduces AT_BASE_PLATFORM, but only implements it for binfmt_elf. Given that AT_VECTOR_SIZE_BASE is unconditionally enlarged for us, and it's only optionally added in for the platforms that set ELF_BASE_PLATFORM, wire it up for binfmt_elf_fdpic, too. Signed-off-by: Paul Mundt <lethal@linux-sh.org> --- fs/binfmt_elf_fdpic.c | 50 ++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 43 insertions(+), 7 deletions(-) diff ...
Aug 6, 3:35 am 2008
Paul Mundt
[PATCH 3/3] binfmt_elf_fdpic: Wire up AT_EXECFD, AT_EXEC ...
These auxvec entries are the only ones left unhandled out of the current base implementation. This syncs up binfmt_elf_fdpic with linux/auxvec.h and current binfmt_elf. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Acked-by: David Howells <dhowells@redhat.com> --- fs/binfmt_elf_fdpic.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index bc64f5f..f0dd83c 100644 --- a/fs/binfmt_elf_fdpic.c +++ ...
Aug 6, 3:36 am 2008
John Kacur
tracing WARN_ON in rt kernel
Hi Steve, the following is one for you. The kernel is 2.6.26.1 plus the 2.6.26-rt1 patch (yes it applies against 2.6.26.1) and some of the patches that were discussed in the lists. I don't think it is relevant which patches, but if you need an exact list I will provide it. WARNING: at kernel/trace/trace_hist.c:396 tracing_hist_preempt_stop+0x23d/0x301() Modules linked in: Pid: 1, comm: init Not tainted 2.6.26.1-rt1.jk #4 Call Trace: [<ffffffff802397f4>] warn_on_slowpath+0x5d/0x99 ...
Aug 6, 2:38 am 2008
Divyesh Shah
Re: request->ioprio
Naveen Gupta sent a priority-based anticipatory IO scheduler patchset earlier which uses request->ioprio and the struct request seems to be the logical place to keep the ioprio. So, please don't cleanup the ioprio from there. Thanks, --
Aug 6, 10:22 am 2008
Fernando Luis
request->ioprio
(CCing LKML) Hi Jens, Rusty, Trying to implement i/o tracking all the way up to the page cache (so that cfq and the future cgroup-based I/O controllers can schedule buffered I/O properly) I noticed that struct request's ioprio is initialized but never used for I/O scheduling purposes. Indeed there seems to be one single user of this member: virtio_blk. Virtio uses struct request's ioprio in the request() function of the virtio block driver, which just copies the ioprio value to the output ...
Aug 6, 2:32 am 2008
Yinghai Lu
Re: [PATCH 32/33] remove >= nr_irqs checking with config ...
====================================== change to create_irq is not needed, it will disabled msi YH --
Aug 6, 3:29 am 2008
Yinghai Lu
[PATCH 18/33] make irq_timer_state to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/char/random.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index fdbdcfc..872669e 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -558,7 +558,13 @@ struct timer_rand_state { }; static struct timer_rand_state input_timer_state; + +#ifdef CONFIG_HAVE_DYN_ARRAY +static struct timer_rand_state ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 00/33] dyn_array and nr_irqs support v4
Please check dyn_array support for x86 v3: split changing to nr_irqs to small patches fix checkpatch error reorder the patch sequence to make dyn_array support go at first so could use that with arrays other than NR_IRQS v4: add CONFIG_HAVE_SPARSE_IRQ with list to use condensed irq_desc array so could use 32 init, and init more if needed. now: x86 32bit: have CONFIG_HAVE_DYN_ARRAY x86 64bit: have CONFIG_HAVE_DYN_ARRAY and CONFIG_HAVE_SPARSE_IRQ left: a. hook ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 01/33] x86: add after_bootmem for 32bit
to prepare to use dyn_array support etc. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/mm/init_32.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 4974e97..b5c1751 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -65,6 +65,7 @@ static unsigned long __meminitdata table_end; static unsigned long __meminitdata table_top; static int __initdata after_init_bootmem; +int ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 24/33] x86: get mp_irqs from madt
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/acpi/boot.c | 30 ++++++++++++++++++++++++++++-- include/asm-x86/mpspec.h | 1 + 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 27ef365..443cb30 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -962,6 +962,29 @@ void __init mp_register_ioapic(int id, u32 address, u32 gsi_base) nr_ioapics++; } +int ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 21/33] serial: change remove NR_IRQS in 8250.c v2
use small array with index to handle irq locking for serial port hope 32 slot is enough v2: according to Eric, move irq_no into irq_info, and not clean irq_no Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> --- drivers/serial/8250.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 41 insertions(+), 4 deletions(-) diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 3920324..595b956 100644 --- ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 20/33] make irq_desc to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/linux/irq.h | 4 ++++ kernel/irq/handle.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 0 deletions(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index bd69d90..c22e870 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -181,7 +181,11 @@ struct irq_desc { const char *name; } ____cacheline_internodealigned_in_smp; +#ifdef CONFIG_HAVE_DYN_ARRAY +extern struct irq_desc ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 09/33] drivers/char to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/char/hpet.c | 2 +- drivers/char/random.c | 4 ++-- drivers/char/vr41xx_giu.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index 2908a0e..8d562ae 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c @@ -219,7 +219,7 @@ static void hpet_timer_set_irq(struct hpet_dev *devp) for (irq = find_first_bit(&v, HPET_MAX_IRQ); irq < ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 32/33] remove >= nr_irqs checking with config_hav ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 36 ++++++++++++++++++++++++------------ arch/x86/kernel/irq_64.c | 2 +- drivers/char/random.c | 4 ++++ fs/proc/proc_misc.c | 29 +++++++++++++++++------------ kernel/irq/chip.c | 28 +++++++++++++++++++++++++++- kernel/irq/manage.c | 37 +++++++++++++++++++++++++++++++------ 6 files changed, 104 insertions(+), 32 deletions(-) diff --git ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 23/33] x86: use dyn_array in io_apic_xx.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 54 +++++++++++++++++++++++++++++++++-------- arch/x86/kernel/io_apic_64.c | 28 ++++++++++++++++----- arch/x86/kernel/setup.c | 6 ++++ 3 files changed, 70 insertions(+), 18 deletions(-) diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index d5953ff..a0ce64c 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c @@ -70,7 +70,7 @@ int ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 14/33] drivers/scsi to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/scsi/aha152x.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index b5a868d..1e5478a 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c @@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc) #else #define IRQ_MIN 9 #if defined(__PPC) -#define IRQ_MAX (NR_IRQS-1) +#define IRQ_MAX (nr_irqs-1) #else #define IRQ_MAX 12 ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 03/33] add dyn_array support
could have crazy big arrays and allocate them in bootmem at init stage. also also to allocate array according to size we need to use to avoid wasting memory use CONFIG_HAVE_DYN_ARRAY to enable it or not usage: |static struct irq_desc irq_desc_init __initdata = { | .status = IRQ_DISABLED, | .chip = &no_irq_chip, | .handle_irq = handle_bad_irq, | .depth = 1, | .lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock), |#ifdef CONFIG_SMP | .affinity = ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 17/33] drivers xen events to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/xen/events.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/xen/events.c b/drivers/xen/events.c index a083703..8e329c2 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -139,7 +139,7 @@ static void init_evtchn_cpu_bindings(void) #ifdef CONFIG_SMP int i; /* By default all event channels notify CPU#0. */ - for (i = 0; i < NR_IRQS; i++) + for (i = 0; i < nr_irqs; ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 07/33] introduce nr_irqs
and at this point it is equal NR_IRQS Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/linux/irq.h | 2 ++ kernel/irq/autoprobe.c | 10 +++++----- kernel/irq/chip.c | 20 ++++++++++---------- kernel/irq/handle.c | 3 ++- kernel/irq/manage.c | 16 ++++++++-------- kernel/irq/proc.c | 2 +- kernel/irq/resend.c | 4 ++-- kernel/irq/spurious.c | 4 ++-- 8 files changed, 32 insertions(+), 29 deletions(-) diff --git ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 11/33] drivers intr remapping to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/pci/intr_remapping.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index bb642cc..980566e 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c @@ -22,7 +22,7 @@ static DEFINE_SPINLOCK(irq_2_ir_lock); int irq_remapped(int irq) { - if (irq > NR_IRQS) + if (irq > nr_irqs) return 0; if ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 31/33] replace loop with nr_irqs with for_each_irq_desc
so don't all get_irq_desc at begining to allocate all. and only call that when needed /proc/interrupts related still use old ways... for compatablilty reason. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 30 +++++++++++++++--------------- arch/x86/kernel/irq_64.c | 5 ++--- arch/x86/kernel/irqinit_64.c | 17 +++++------------ fs/proc/proc_misc.c | 7 +++++-- include/linux/irq.h | 18 ++++++++++++++++++ ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 25/33] x86: remove nr_irq_vectors
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/asm-x86/irq_vectors.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h index 0817a19..821ff99 100644 --- a/include/asm-x86/irq_vectors.h +++ b/include/asm-x86/irq_vectors.h @@ -127,8 +127,6 @@ #endif /* VISWS */ -#define NR_IRQ_VECTORS NR_IRQS - /* Voyager specific defines */ /* These define the CPIs we use in linux */ #define ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 27/33] x86: add get_irq_cfg in io_apic_64.c
preallocate size is 32, and if is not enough, get_irq_cfg will more with alloc_bootmem or kzalloc Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 182 ++++++++++++++++++++++++++++++++--------- 1 files changed, 142 insertions(+), 40 deletions(-) diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 3734216..8908555 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c @@ -57,7 +57,11 @@ #define ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 10/33] drivers/net to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/net/3c59x.c | 4 ++-- drivers/net/hamradio/baycom_ser_fdx.c | 4 ++-- drivers/net/hamradio/scc.c | 6 +++--- drivers/net/wan/sbni.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 8db4e6b..7449a1c 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c @@ -90,7 +90,7 @@ static int vortex_debug = 1; ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 28/33] x86: put irq_2_pin pointer into irq_cfg
preallocate 32 irq_2_pin, and use get_one_free_irq_2_pin to get one and link to irq_cfg if needed. so don't waste one for no irq is enabled. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 162 +++++++++++++++++++++++++++++++----------- 1 files changed, 121 insertions(+), 41 deletions(-) diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 8908555..c8e4613 100644 --- a/arch/x86/kernel/io_apic_64.c +++ ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 26/33] x86_64: use get_irq_desc together with dyn_array
add CONFIG_HAVE_SPARSE_IRQ to for use condensed array preallocate 32 irq_desc, and get_irq_desc will try to get more. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/Kconfig | 4 + arch/x86/Kconfig | 1 + arch/x86/kernel/io_apic_32.c | 46 +++++++++--- arch/x86/kernel/io_apic_64.c | 75 +++++++++++++------- arch/x86/kernel/irq_32.c | 24 ++++--- arch/x86/kernel/irq_64.c | 35 +++++---- ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 22/33] irq: make irqs in kernel stat use per_cpu_ ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/linux/kernel_stat.h | 4 ++++ kernel/sched.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/linux/kernel_stat.h b/include/linux/kernel_stat.h index cf9f40a..fe1f7fe 100644 --- a/include/linux/kernel_stat.h +++ b/include/linux/kernel_stat.h @@ -28,7 +28,11 @@ struct cpu_usage_stat { struct kernel_stat { struct cpu_usage_stat cpustat; +#ifdef ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 02/33] x86: remove irq_vectors_limits
no user Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/asm-x86/mach-generic/irq_vectors_limits.h | 14 -------------- include/asm-x86/summit/irq_vectors_limits.h | 14 -------------- 2 files changed, 0 insertions(+), 28 deletions(-) delete mode 100644 include/asm-x86/mach-generic/irq_vectors_limits.h delete mode 100644 include/asm-x86/summit/irq_vectors_limits.h diff --git a/include/asm-x86/mach-generic/irq_vectors_limits.h ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 06/33] x86: enable dyn_array support
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/Kconfig | 2 ++ arch/x86/Kconfig | 1 + arch/x86/kernel/vmlinux_32.lds.S | 1 + arch/x86/kernel/vmlinux_64.lds.S | 3 +++ 4 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 0267bab..c1f9feb 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -103,3 +103,5 @@ config HAVE_CLK The <linux/clk.h> calls support software clock gating and ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 30/33] x86: move kstat_irqs from kstat to irq_desc
based Eric's patch ... together mold it with dyn_array for irq_desc, will allcate kstat_irqs for nr_irq_desc alltogether if needed. -- at that point nr_cpus is known already. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/alpha/kernel/irq.c | 2 +- arch/alpha/kernel/irq_alpha.c | 2 +- arch/arm/kernel/irq.c | 2 +- arch/avr32/kernel/irq.c | 2 +- arch/cris/kernel/irq.c | 2 +- arch/frv/kernel/irq.c | 2 +- ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 15/33] drivers/serial to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/serial/8250.c | 4 ++-- drivers/serial/amba-pl010.c | 2 +- drivers/serial/amba-pl011.c | 2 +- drivers/serial/cpm_uart/cpm_uart_core.c | 2 +- drivers/serial/m32r_sio.c | 4 ++-- drivers/serial/serial_core.c | 2 +- drivers/serial/serial_lh7a40x.c | 2 +- drivers/serial/sh-sci.c | 2 +- drivers/serial/ucc_uart.c ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 04/33] add per_cpu_dyn_array support
could make array in per_cpu is allocated dynamically too usage: | /* in .h */ |struct kernel_stat { | struct cpu_usage_stat cpustat; | unsigned int *irqs; |}; | | /* in .c */ |DEFINE_PER_CPU(struct kernel_stat, kstat); | |DEFINE_PER_CPU_DYN_ARRAY_ADDR(per_cpu__kstat_irqs, per_cpu__kstat.irqs, sizeof(unsigned int), nr_irqs, sizeof(unsigned long), NULL); after setup_percpu()/per_cpu_alloc_dyn_array(), that dyn_array in per_cpu area is ready to use Signed-off-by: Yinghai Lu ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 16/33] drivers proc to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- fs/proc/proc_misc.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index ded9698..1968251 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c @@ -503,7 +503,7 @@ static int show_stat(struct seq_file *p, void *v) struct timespec boottime; unsigned int *per_irq_sum; - per_irq_sum = kzalloc(sizeof(unsigned int)*NR_IRQS, GFP_KERNEL); + per_irq_sum = ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 08/33] x86: using nr_irqs
also add first_free_entry and pin_map_size Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 26 ++++++++++++++------------ arch/x86/kernel/io_apic_64.c | 33 +++++++++++++++++---------------- arch/x86/kernel/irq_32.c | 8 ++++---- arch/x86/kernel/irq_64.c | 8 ++++---- arch/x86/kernel/irqinit_32.c | 2 +- arch/x86/kernel/irqinit_64.c | 2 +- include/asm-x86/irq.h | 3 +++ 7 files changed, 44 insertions(+), 38 ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 12/33] drivers/pcmcia to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/pcmcia/at91_cf.c | 2 +- drivers/pcmcia/vrc4171_card.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 6849685..194c8ba 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c @@ -273,7 +273,7 @@ static int __init at91_cf_probe(struct platform_device *pdev) goto fail0d; cf->socket.pci_irq = board->irq_pin; } ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 13/33] drivers/rtc to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/rtc/rtc-vr41xx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 884b635..834dcc6 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c @@ -360,7 +360,7 @@ static int __devinit rtc_probe(struct platform_device *pdev) spin_unlock_irq(&rtc_lock); aie_irq = platform_get_irq(pdev, 0); - if (aie_irq < 0 || aie_irq >= NR_IRQS) ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 05/33] x86: alloc dyn_array all alltogether
so could spare some memory with small alignment in bootmem also tighten the alignment checking..., and make print out less debug info Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/setup_percpu.c | 16 +++++++--- include/linux/init.h | 2 +- init/main.c | 65 ++++++++++++++++++++++++++++++--------- 3 files changed, 62 insertions(+), 21 deletions(-) diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index ...
Aug 6, 1:42 am 2008
Yinghai Lu
[PATCH 19/33] make irq2_iommu to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/pci/intr_remapping.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index 980566e..ced5ebc 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c @@ -11,12 +11,14 @@ static struct ioapic_scope ir_ioapic[MAX_IO_APICS]; static int ir_ioapic_num; int intr_remapping_enabled; -static struct { +static struct ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 33/33] x86_64: add irq_desc in function in paramater
So could remove some duplicated calling to get_irq_desc Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 6 +++- arch/x86/kernel/io_apic_64.c | 45 +++++++++++++++++------------------------ arch/x86/kernel/irq_32.c | 3 +- arch/x86/kernel/irq_64.c | 8 ++++-- drivers/mfd/tc6393xb.c | 7 ++++- drivers/parisc/dino.c | 3 +- drivers/parisc/eisa.c | 4 ++- drivers/parisc/gsc.c | 3 +- ...
Aug 6, 1:43 am 2008
Yinghai Lu
[PATCH 29/33] x86: put timer_rand_state pointer into irq_desc
so could remove timer_rand_state pointer array Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- drivers/char/random.c | 31 ++++++++++++++++++++----------- include/linux/irq.h | 2 ++ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index 872669e..d9e7a08 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -559,13 +559,6 @@ struct timer_rand_state { static struct timer_rand_state ...
Aug 6, 1:43 am 2008
Alan Cox
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
On Wed, 06 Aug 2008 13:35:55 -0700 A lot of these are range checks so could be replaced by a single valid_irq(irq) test. Alan --
Aug 6, 4:26 pm 2008
Yinghai Lu
[PATCH 00/33] dyn_array and nr_irqs support v4
Please check dyn_array support for x86 v3: split changing to nr_irqs to small patches fix checkpatch error reorder the patch sequence to make dyn_array support go at first so could use that with arrays other than NR_IRQS v4: add CONFIG_HAVE_SPARSE_IRQ with list to use condensed irq_desc array so could use 32 init, and init more if needed. now: x86 32bit: have CONFIG_HAVE_DYN_ARRAY x86 64bit: have CONFIG_HAVE_DYN_ARRAY and CONFIG_HAVE_SPARSE_IRQ left: a. hook ...
Aug 6, 1:38 am 2008
Eric W. Biederman
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
It looks like you might possibly be iterating to something usable. Breaking architectures is not acceptable however. My suggestion for a non-breaking path: - Kill NR_IRQS in then generic code. With Alan's serial patch and my kstat patch it looks like we have the worst of that. - Introduce get_irq_desc and the functions or function modifications that pass a struct irq_desc * into the genirq code. Although I absolutely hate the name get_irq_desc as it implies we are reference ...
Aug 6, 10:37 am 2008
Yinghai Lu
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
will use irq_desc_with_new() toghether irq_desc() YH --
Aug 6, 1:52 pm 2008
Yinghai Lu Aug 6, 11:50 am 2008
Yinghai Lu
[PATCH 02/33] x86: remove irq_vectors_limits
no user Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/asm-x86/mach-generic/irq_vectors_limits.h | 14 -------------- include/asm-x86/summit/irq_vectors_limits.h | 14 -------------- 2 files changed, 0 insertions(+), 28 deletions(-) delete mode 100644 include/asm-x86/mach-generic/irq_vectors_limits.h delete mode 100644 include/asm-x86/summit/irq_vectors_limits.h diff --git a/include/asm-x86/mach-generic/irq_vectors_limits.h ...
Aug 6, 1:38 am 2008
Eric W. Biederman
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
Possibly irq_desc_with_new() or even create_irq_desc in the one or two code paths that care. Everywhere else can reasonably assume that the irq_desc entries have either been setup, or that the irq number is invalid. Eric --
Aug 6, 1:32 pm 2008
Yinghai Lu
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
On Wed, Aug 6, 2008 at 10:37 AM, Eric W. Biederman will use Alan's patch.at first. already done in last 10 patches. YH --
Aug 6, 11:29 am 2008
Yinghai Lu
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
for some platform like 32bit, may not like to mess up with CONFIG_HAVE_SPARSE_IRQ, to have dyn_array to take small nr_irqs with already add for_each_irq_desc(irq, desc)... | #ifndef CONFIG_HAVE_DYN_ARRAY | /* could be removed if we get rid of all irq_desc reference */ | extern struct irq_desc irq_desc[NR_IRQS]; | #else | extern struct irq_desc *irq_desc; | #endif | | #define for_each_irq_desc(irq, desc) \ | for (irq = 0, desc = irq_desc; irq < nr_irqs; irq++, desc ...
Aug 6, 1:57 pm 2008
Yinghai Lu
[PATCH 01/33] x86: add after_bootmem for 32bit
to prepare to use dyn_array support etc. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/mm/init_32.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 4974e97..b5c1751 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -65,6 +65,7 @@ static unsigned long __meminitdata table_end; static unsigned long __meminitdata table_top; static int __initdata after_init_bootmem; +int ...
Aug 6, 1:38 am 2008
Eric W. Biederman
Re: [PATCH 00/33] dyn_array and nr_irqs support v4
Part of what I am thinking is that there should never be a patch that does s/NR_IRQS/nr_irqs/ that is just pointless noise. Either we need a new abstraction like for_each_irq or to update the code to the current best practices. Which means the patches should be uncontroversial and mergeble on their own with no weird dependencies. Eric --
Aug 6, 1:35 pm 2008
Stephen Rothwell
linux-next: Tree for August 6
Hi all, Changes since next-20080805: Changed tree: v4l-dvb (try a new tree to see). The md-current and md trees were not fetched due to a fault on the server. The v4l-dvb tree is back and merged fine. The ide tree gained a trivial conflict against Linus' tree. The crypto tree lost its build fix patch. The mfd tree lost its build problem. I again merged Linus' tree a second time at the end of the tree today - this made the patches much smaller as -rc2 had been released. I have ...
Aug 6, 1:28 am 2008
Andreas Herrmann
[PATCH 0/2] x86: fix memory leaks when doing CPU hotplug
Following patches fix two memory leaks with CPU hotplug. Some per CPU data is allocated each time a CPU is set online. But this space is never freed. Usually this memory leak is not a big deal (for normal CPU hotplug usage). But during stress tests with lots of CPU offline/online cycles this really matters. The entire leak is 40K (10 pages) for each offline/online cycle per CPU. I've verified both fixes performing more than 90000 CPU offline/online cycles. This is not a regression but I ...
Aug 6, 1:24 am 2008
Andreas Herrmann
[PATCH 1/2] x86: pda_init(): fix memory leak when using ...
pda->irqstackptr is allocated whenever a CPU is set online. But it is never freed. This results in a memory leak of 16K for each CPU offline/online cycle. Fix is to allocate pda->irqstackptr only once. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- arch/x86/kernel/cpu/common_64.c | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) This is a re-submission of a patch posted last week. See http://marc.info/?l=linux-kernel&m=121760147831093 Patch is ...
Aug 6, 1:27 am 2008
Andreas Herrmann
[PATCH 2/2] x86: cpu_init(): fix memory leak when using ...
Exception stacks are allocated each time a CPU is set online. But the allocated space is never freed. Thus with one CPU hotplug offline/online cycle there is a memory leak of 24K (6 pages) for a CPU. Fix is to allocate exception stacks only once -- when the CPU is set online for the first time. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- arch/x86/kernel/cpu/common_64.c | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git ...
Aug 6, 1:29 am 2008
David Miller
Re: [PATCH]: radeonfb: Fix copyarea for R300 and later.
From: Andrew Morton <akpm@linux-foundation.org> Yes, it can. I discussed the patch with Ben earlier and he wants to add the same register writes to the solidfill code as well. --
Aug 6, 2:19 pm 2008
David Miller
[PATCH]: radeonfb: Fix copyarea for R300 and later.
[ Andrew/Ben, this fixes the bootup hang we were talking about the other day. ] radeonfb: Fix copyarea for R300 and later. For current chips we need to make sure the DSTCACHE_CTLSTAT and WAIT_UNTIL registers are properly setup. If not, a sequence of copyarea operations can result in the 2D raster processor hanging. Here is a trace on an RV370 (PCI device ID 0x5b64), it records the RBBM_STATUS register, then the source x/y, destination x/y, and width/height used for the ...
Aug 6, 12:35 am 2008
Andrew Morton
Re: [PATCH]: radeonfb: Fix copyarea for R300 and later.
Neato. This can be backported to -stable without also backporting your recent radeon-misc-corrections.patch, I assume? --
Aug 6, 8:43 am 2008
Benjamin Herrenschmidt
Re: [PATCH]: radeonfb: Fix copyarea for R300 and later.
That and the flush code for when we're about to manually hit the fb. I'll send a patch later today. Ben. --
Aug 6, 3:08 pm 2008
Benjamin Herrenschmidt
Re: [PATCH]: radeonfb: Fix copyarea for R300 and later.
I'd rather do both. The first one affects the bits used by the second. Ben. --
Aug 6, 3:09 pm 2008
Alto Tom
Driver rtl8185 Realtek pci wireless card
Problem found in the following kernels 2.6.26,2.6.25 Distribution slackware 12.1 and 12.0 Compile the module rtl8185 (realtek wireless PCI card) module name r8180 OS hang during boot during UDEV configuration need to turn off computer. kernel 2.6.25 Compile the driver inside the kernel, boot is OK as long as I do not try to configure the network. I was able to ifconfig wlan0 up but the system hang during DHCP, no oops just hang. Need to turn off the computer. I believe to be a ...
Aug 5, 10:44 pm 2008
Nick Piggin Aug 5, 10:36 pm 2008
Herbert Xu
Re: [PATCH] Using Intel CRC32 instruction to accelerate ...
Applied to cryptodev-2.6. Thanks a lot Austin! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Aug 6, 3:09 am 2008
Austin Zhang Aug 6, 4:20 am 2008
Pavel Machek Aug 6, 2:42 am 2008
Herbert Xu
Re: [PATCH] Using Intel CRC32 instruction to accelerate ...
In fact I'm going to kill that printk altogether since the fact that this feature doesn't exist isn't an error. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Aug 6, 4:22 am 2008
Austin Zhang
[PATCH] Using Intel CRC32 instruction to accelerate CRC3 ...
Revised by comments: Add 'static' for limitation namespace; Resend for fixing lines-folded by adjusting evolution config; CRC32c algorithm with the new CRC32 instruction in SSE 4.2 instruction set. The patch detects the availability of the feature, and chooses the most proper way to calculate CRC32c checksum. Byte code instructions are used for compiler compatibility. No MMX / XMM registers is involved in the implementation. Signed-off-by: Austin Zhang ...
Aug 5, 10:23 pm 2008
Herbert Xu
Re: [PATCH] Using Intel CRC32 instruction to accelerate ...
Unfortunately I don't think le32 exists, it'd definitely be nice to have it though. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Aug 6, 4:03 am 2008
Pavel Machek Aug 6, 5:14 am 2008
Austin Zhang
Re: [PATCH] Using Intel CRC32 instruction to accelerate ...
Paval, Thanks for your comments. Are you suggest "ENODEV"? It's a feature from the device but the device is exact here. And for the crc32c algorithm, there would be possible that several algorithms registered themselves in crypto and user will don't care which implementation will server him even the hardware accelerated implementation don't exist in this processor. --
Aug 6, 4:05 am 2008
Herbert Xu
Re: [PATCH] Using Intel CRC32 instruction to accelerate ...
Yes I think this should be ENODEV to be consistent with the existing drivers such as padlock-aes.c. I'll make that change in cryptodev. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Aug 6, 4:17 am 2008
Linus Torvalds
Linux 2.6.27-rc2
So it's been a week since -rc1, and -rc2 is out there. There's a lot of random changes in there, and I'm hoping we're starting to calm down, but one particular _kind_ of random change is probably worth pointing out explicitly due to the things it can result in: the fact that a number of architectures ended up using the "lull" after -rc1 (hah!) to do the 'include/asm-xyz' => 'arch/xyz/include/asm' renames. Now, that doesn't really matter for 99% of all people, but the very fact that ...
Aug 5, 10:14 pm 2008
Alex Chiang
[PATCH 5/7] shpchp: convert to a kmalloc'ed slot name
Callers of pci_hp_register() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. This change also removes the unused struct task_event from the slot structure. We also remove the shpchp_slot_with_bus module parameter, which essentially reverts commits: shpchp: fix slot name ef0ff95f136f0f2d035667af5d18b824609de320 shpchp: add message about ...
Aug 5, 10:11 pm 2008
Alex Chiang
[PATCH 2/7] fakephp: convert to a kmalloc'ed slot name
Callers of pci_hp_register() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/fakephp.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/pci/hotplug/fakephp.c b/drivers/pci/hotplug/fakephp.c index 40337a0..af8a1bf 100644 --- ...
Aug 5, 10:11 pm 2008
Alex Chiang
[PATCH 0/7] Fixups for duplicate slot names
Hello Kenji-san, You are obviously correct about my prior bad patch that simply removed the check in pci_hp_register() for duplicate names. I also talked with Willy, and he thought that the proper way to fix all these issues was not in the individual drivers, but in the PCI core, which I agree with. Here is a patch series that attempts to implement Willy's suggestion. Patches 1--6 convert the callers of pci_hp_register/pci_create_slot from a static char name[] to a dynamically ...
Aug 5, 10:07 pm 2008
Alex Chiang
[PATCH 3/7] pciehp: convert to a kmalloc'ed slot name
Callers of pci_hp_register() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. This change also cleans up pciehp's struct slot, removing the unused struct task_list and moving the number member so that it is naturally aligned, reducing the size from 180 bytes down to 116 bytes. We also remove the pciehp_slot_with_bus module parameter which essentially reverts ...
Aug 5, 10:11 pm 2008
Alex Chiang
[PATCH 7/7] PCI Hotplug core: fixups for duplicate slot names
Commit a86161b3134465f072d965ca7508ec9c1e2e52c7 added a check to detect platforms with broken firmware that attempt to assign identical slot names to multiple slots. This approach is suboptimal because it prints a scary message and forces the user to reload a hotplug driver with a module parameter. We can do better here by attempting to rename these duplicate slots on behalf of the user. If firmware assigns the name N to multiple slots, then: The first registered slot is assigned N The ...
Aug 5, 10:12 pm 2008
Alex Chiang
[PATCH 4/7] PCI hotplug: convert skeleton code to a kmal ...
Callers of pci_hp_register() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. Let's give future implementors a good example to copy from. Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/pcihp_skeleton.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/pci/hotplug/pcihp_skeleton.c ...
Aug 5, 10:11 pm 2008
Alex Chiang
[PATCH 1/7] acpiphp: convert to a kmalloc'ed slot name
Callers of pci_hp_register() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/acpiphp.h | 2 +- drivers/pci/hotplug/acpiphp_core.c | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/pci/hotplug/acpiphp.h ...
Aug 5, 10:10 pm 2008
Alex Chiang
[PATCH 6/7] pci_slot: convert to a kmalloc'ed slot name
Callers of pci_create_slot() need to be converted from a char name[] to a char *name. This change allows pci_create_slot() to dynamically rename the sysfs name of the slot in the event of a name collision. Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/acpi/pci_slot.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/pci_slot.c b/drivers/acpi/pci_slot.c index d5b4ef8..b146b72 100644 --- a/drivers/acpi/pci_slot.c +++ ...
Aug 5, 10:12 pm 2008
Pramod Kumble
g_ether issues with linux host
hello, I am trying to set up USB networking between the linux host and developement board.I am using g_ether gadget along with the controller driver.Currently the code is tested with the windows host (xp service pack 2). RNDIS option in g_ether is enabled and it works fine with windows host.ftp,telnet and ping are working. With the linux host i am disabling RNDIS and using the CDC option. Currently i am facing following problems. 1)With RedHat host (2.4.20) on connecting the cable i ...
Aug 5, 10:00 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25
Had a bit of a scare tonight, about possibly wasting the time of you good folks. My desktop machine (mboard = Gigabyte GA-M59SLI-S5) was built last year, in May 2007. It runs 2.6.26 with no HPET regression, as mentioned. The troublesome machine (mboard = ECS AMD690GM-M2) was built this year, in May or June. I actually bought two identical motherboards, which were on sale at a very nice price, so I could make 2 "servers" for my home network. One machine (call it "fileserver") is in ...
Aug 5, 9:45 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
32bit. High Memory Support (64GB) ---> -*- PAE (Physical Address Extension) Support Memory model (Sparse Memory) ---> -*- 64 bit Memory and IO resources (EXPERIMENTAL) The following is "cut&paste" ... (gmail is not the a good way to do this.) for the 8 cpus that I managed to boot. routine.. 3723.90 BogoMIPS (lpj=7447810) CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 6 CPU: Processor Core ID: 0 x86 PAT enabled: cpu 3, old ...
Aug 5, 9:05 pm 2008
Jaswinder Singh
BUG: scheduling while atomic: swapper/1/0x00000002 in 2. ...
Hello Ingo, I am getting this while booting : hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected BUG: scheduling while atomic: swapper/1/0x00000002 Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.27-rc1-tip #13 [<c03ab719>] schedule+0xa9/0x68a [<c01e7dff>] idr_get_empty_slot+0x13b/0x1e5 [<c01e7dff>] idr_get_empty_slot+0x13b/0x1e5 [<c03abe38>] schedule_timeout+0x13/0x99 [<c01170db>] __wake_up+0x29/0x39 [<c03ab5b9>] wait_for_common+0xab/0x105 [<c0119cb7>] ...
Aug 5, 8:15 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Yes. But, does it matter? Thanks, Jeff. --
Aug 5, 9:06 pm 2008
David Miller
Re: 2.6.27rc1 cannot boot more than 8CPUs
From: "Jeff Chua" <jeff.chua.linux@gmail.com> You have to turn off CONFIG_PROVE_LOCKING, in fact just turn off everything in the lock debugging section: # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_LOCK_STAT is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set --
Aug 6, 12:18 am 2008
Max Krasnyansky
Re: 2.6.27rc1 cannot boot more than 8CPUs
You could try booting CONFIG_NR_CPUS=16 with maxcpus=8 (kernel command line option). If it boots you can then try bringing the rest of the cpus online manually echo 1 > /sys/devices/system/cpu/cpu8/online ... echo 1 > /sys/devices/system/cpu/cpu15/online Might get a better OOPS/BUG_ON/etc report. Max --
Aug 5, 8:31 pm 2008
David Miller
Re: 2.6.27rc1 cannot boot more than 8CPUs
From: "Jeff Chua" <jeff.chua.linux@gmail.com> Maybe edit the ".config" file at the top level of the kernel sources and then type "make oldconfig" ?!?!?! --
Aug 6, 2:36 am 2008
David Miller
Re: 2.6.27rc1 cannot boot more than 8CPUs
From: "Jeff Chua" <jeff.chua.linux@gmail.com> Do you have lockdep enabled? If sure, try turning that off. --
Aug 5, 10:19 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
On Wed, Aug 6, 2008 at 2:01 PM, Linus Torvalds Bisecting now. Jeff. --
Aug 5, 11:42 pm 2008
Jeff Chua
2.6.27rc1 cannot boot more than 8CPUs
I've a Dell R900 with 4 quad-core Xeon processors (total 16CPUs), but can only managed to boot up with CONFIG_NR_CPUS=8. Setting CONFIG_NR_CPUS=16 causes the kernel to hang while booting. Here's the dmesg with CONFIG_NR_CPUS=8 ... CPU6: Intel(R) Xeon(R) CPU L7345 @ 1.86GHz stepping 0b checking TSC synchronization [CPU#0 -> CPU#6]: passed. CPU 7 irqstacks, hard=c0526000 soft=c051e000 Booting processor 7/26 ip 6000 Initializing CPU#7 Calibrating delay using timer specific ...
Aug 5, 8:15 pm 2008
Yinghai Lu
Re: 2.6.27rc1 cannot boot more than 8CPUs
do you have CONFIG_X86_GENERICARCH=y CONFIG_X86_BIGSMP=y 8 more cpu need bigsmp mode. YH --
Aug 6, 1:49 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Ok, booted with CONFIG_NR_CPUS=16 with maxcpus=8, but can't find the rest of the CPUs. I can only find cpu0 to cpu7 ... drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu0 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu1 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu2 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu3 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu4 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu5 drwxr-xr-x 4 root root 0 Aug 6 19:38 cpu6 drwxr-xr-x 4 root root 0 Aug 6 ...
Aug 5, 8:50 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Are these the ones that supposed to be set? Any, can't find a place to set these using menuconfig. # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_VSMP is not set Thanks Jeff. --
Aug 6, 2:35 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Sorry, found it. These are not obvious. I had selected "Subarchitecture Type (PC-compatible)" and could find a place to set CONFIG_X86_GENERICARCH. Just found it under " Subarchitecture Type (Generic architecture)", and then it shows the CONFIG_X86_BIGSMP option. Ok, compiling and testing now. Jeff. --
Aug 6, 2:42 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
I don't any option to turn these off. Still searching. Jeff. --
Aug 6, 2:33 am 2008
Linus Torvalds
Re: 2.6.27rc1 cannot boot more than 8CPUs
One trivial thing to try would be to just bisect it. I assume 2.6.26 is fine, so while it will take a few boots to try it out (there's 8111 commits in between, so 13 reboots should do it), the advantage of bisection is that it's fairly straightforward to do even if you don't have any clue where the problem might lurk. And with your machine, recompiling the kernel 13 times shouldn't take that long ;) Linus --
Aug 5, 11:01 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
It's enabled by default, and I can't seem to disable it even if I commented it out or delete it, it comes back after running "make". CONFIG_X86_32=y # CONFIG_X86_64 is not set CONFIG_X86=y CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" # CONFIG_GENERIC_LOCKBREAK is not ...
Aug 5, 11:42 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Thanks to all the great helpful suggestions from everyone, and this turns out that I just need to enable the following switches, so I didn't bisect further, and since it's first machine that I've tried with more than 8 CPUs so I wasn't sure whether 2.6.16 has the same Thank you all for the great linux kernel! Jeff. --
Aug 6, 8:33 am 2008
Max Krasnyansky
Re: 2.6.27rc1 cannot boot more than 8CPUs
Are you running 32-bit kernel ? Max --
Aug 5, 8:54 pm 2008
Max Krasnyansky
Re: 2.6.27rc1 cannot boot more than 8CPUs
It used to. 64-bit kernel used to handle maxcpus option as documented in the Documentation/cpu-hotplug.txt and 32-bit one was broken. I just looked at the latest code and realized that both are now broken. They ignore cpu id > maxcpus instead of not-booting them. I'll send a patch that fixes that tomorrow. Max --
Aug 5, 9:48 pm 2008
Li Zefan
Re: 2.6.27rc1 cannot boot more than 8CPUs
Yes. I have an x86_64 box with 4 cpus, but yesterday when I booted up with maxcpus=2, greate :) --
Aug 5, 9:53 pm 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Ok, may be not as bad as I thought. These are not in .config meaning, Thanks, Jeff. --
Aug 6, 2:50 am 2008
Max Krasnyansky
Re: 2.6.27rc1 cannot boot more than 8CPUs
I just sent it and CC'ed both of you guys. [PATCH] Resurect proper handling of maxcpus= kernel option Jeff, maybe you can try again booting with maxcpus=8 and then bringing them online one by one to see where/what fails. Max --
Aug 6, 1:11 pm 2008
Charles
resume problem with i915/drm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi-- I'm having a problem resuming (from RAM) if the i915 and drm modules are loaded (these are needed for running X on my machine). Vanilla kernel versions 2.6.25.x and 2.6.26.x. I get the same behavior with Debian linux-image-2.6.25-2-686 kernel. I can't believe I'm the first to encounter this. suspend-to-ram and resuming works fine with earlier kernels (e.g. 2.6.17), but I haven't tested exhaustively. Possibly related is a failure in ...
Aug 5, 7:25 pm 2008
Robert P. J. Day
[PATCH] Define a macro for subsys_initcall_sync() -> mod ...
Define the macro subsys_initcall_sync() to map to module_init() so that module code can stop horrifically abusing fs_initcall(). Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> --- currently, a number of source files under drivers/ will use a call to fs_initcall() instead of module_init() to get precise control over when that code runs if it is compiled into the kernel -- that is, to *guarantee* that that code runs after all subsys initcalls but before any device ...
Aug 5, 7:19 pm 2008
Linus Torvalds
Re: [GIT]: Networking
Talking about wireless driver updates - has anybody looked at the RaLink wireless driver? It's in the newer EeePC's (901 and 1000), and it actually has a driver from the company which the comments make clear is GPLv2 too, no apparent oddness or anything: http://www.ralinktech.com.tw/data/drivers/2008_0708_RT2860_Linux_STA_v1.7.0.0.tar.bz2 which admittedly apparently has some trivial problems (with a trivial patch as seen ...
Aug 5, 7:57 pm 2008
Linus Torvalds
Re: [GIT]: Networking
Yeah, the rfkill literally makes the chip go away from the PCI lists, it seems. But your problems can certainly be somehow driver-related, I haven't actually _tested_ that thing at all, I got the machine just as the Well, it's also trying to support both 2.4.x and 2.6 etc. Yeah, that is horrid. At the same time, I can't say that the "rewrite it entirely" approach of the previous-gen cards has worked very well either, since that seems to have just perpetuated the problems. It would be ...
Aug 5, 11:18 pm 2008
Marcel Holtmann
Re: [GIT]: Networking
I looked at the driver and got it working. However my 901 seems to have an issue with the antennas. I can do scans, but associating with an access point or even thinking about transmit keeps failing. Even with external antennas this still doesn't work. So either my EeePC is broken or it needs some ACPI magic to enable it. Personally I think mine is broken since the PCIe hotplug stuff works for the wireless card and that seems to be their way of doing the rfkill. The driver itself ...
Aug 5, 10:59 pm 2008
Ivo van Doorn
Re: [GIT]: Networking
For the interested, the rt2800pci and rt2800usb code which I am working on can be found in the experimental branch of my repository: http://git.kernel.org/?p=linux/kernel/git/ivd/rt2x00.git;a=shortlog;h=experimental Because the code is incomplete it cannot be tested, but it gives at least an idea on what is already done. ;) Ivo --
Aug 6, 7:35 am 2008
Ivo van Doorn
Re: [GIT]: Networking
I've send a mail to Ralink with a request if they could step away from the "port the windows driver to linux" idea and get the Linux driver "kernel-ready" early on. That won't solve the problem now, but hopefully it does mean the drivers for Well it basically is the Windows driver ported to Linux. ;) Ivo --
Aug 6, 1:22 am 2008
Ivo van Doorn
Re: [GIT]: Networking
Like the earlier rt2x00 drivers I am rewriting the driver as released by Ralink and have put it in the rt2x00lib/mac80211 framework. Most of the code is currently done, and the last part should be done this week. After that it is a matter of testing and comparing register values with the Ralink driver for the last tweaks. I doubt the driver will be ready/stable for 2.6.28, but it should be ready for 2.6.29. Ivo --
Aug 6, 1:21 am 2008
David Miller
[GIT]: Networking
Here are the pending networking bits. There was going to be the addition of the ath9k wireless driver but there was some fallout that is being worked on right now (linux/list.h changes needed lkml review, ath9k driver triggered some gcc aborts, all kinds of fun stuff :-) so hopefully it will make it in the next pass. I tried to wait an extra day for it to be resolved, but that was optimistic. Highlights: 1) Intel driver guys triggered an OOPS when setting MTU during a busy transmit ...
Aug 5, 7:00 pm 2008
John W. Linville
Re: [GIT]: Networking
The Ralink guys are being educated and AFAICT they are interested in better participation. Time will tell, of course. In the meantime as Ivo indicated he is "on the case" -- I think we will see something before too long. John -- John W. Linville linville@tuxdriver.com --
Aug 6, 6:15 am 2008
Michael Brennan
Waking up from suspend regression
Hi, I am having some major problems with the newest kernels on my Thinkpad R61i and I'm doing my best trying to debug the problems. One problem is waking up from suspend to RAM. Earlier kernels worked fine (e.g. 2.6.25), but with the latest the system is unusable after waking up. When trying to wake the computer up it first is completely unresponsive with a black screen. After about 40 seconds it comes back alive and shows the locked screensaver. But whatever I do I just get error ...
Aug 5, 6:25 pm 2008
Jens Axboe
Re: Waking up from suspend regression
A week before -rc2, yet it isn't in... That's a bit sad, basically the same story as -rc1 where wifi didn't work on my laptop. Oh well. THanks for the hint Tejun! -- Jens Axboe --
Aug 6, 1:42 am 2008
Jens Axboe
Re: Waking up from suspend regression
Same here, sata is dead after the resume. Thinkpad X60. -- Jens Axboe --
Aug 6, 1:31 am 2008
Michael Brennan
Re: Waking up from suspend regression
Well, look at that. I'm sorry I missed that bugreport, could have saved me quite a few recompilations. I'll try the patch, thanks. -- Michael Brennan --
Aug 6, 6:44 am 2008
Tejun Heo Aug 6, 1:32 am 2008
Luis R. Rodriguez
CRDA and uevent
At OLS we reviewed how CRDA [1] and its integration with the kernel works. One comment was to have the kernel call a uevent instead of calling call_usermodehelper() as this is a better accepted way of calling user mode helpers and it provides a better framework. I still am not sold on this but regardless I'd like to give it a shot. It seems we would need to register a class for this. Marcel I know you also mentioned about using device platform for this? Is this correct or did I misunderstand? ...
Aug 5, 6:12 pm 2008
Pavel Machek
Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinter ...
Actually it is better. When I travelled from brussels they were so Well, I'm afraid that AV industry with its "lets enumerate badness" model... just does not protect against anything at all... Maybe we should be thinking more like "only ever run exectuables from trusted sources" -- like from your distro -- ? Fortunately that's the way most linux users work today. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) ...
Aug 6, 3:25 am 2008
Robert P. J. Day
Re: does an initcall level of "0s" actually exist?
ah, i was unaware of that, thanks. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== --
Aug 6, 3:18 pm 2008
Rene Herman
Re: does an initcall level of "0s" actually exist?
Last I heard, all sync levels were on their way out (Arjan). Rene. --
Aug 6, 3:13 pm 2008
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinter ...
This is troubling to me. Why "offline conversations"? Why are you being forced to be the mediator here? Why will these companies not contribute directly to the development of this code/model in public, like all other major Linux kernel contributions? Isn't this the point of the malware-list in the first place? For them to hide behind _anyone_ seems very suspect. thanks, greg k-h --
Aug 5, 5:11 pm 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinter ...
On Tue, 05 Aug 2008 20:25:29 -0400 That's not my worry. My real worry is that the anti-virus companies have been working with an enforcement policy that has been evolving slowly from the DOS days, while today's threat model has changed considerably. I do not see how the proposed hooks would close off a system sufficiently to claim anything approaching security. The way forward is to: 1) define a threat model 2) figure out what infrastructure is needed for protection 3) come up with ...
Aug 5, 5:46 pm 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinter ...
I'm going to be trying to get them to talk offline because obviously few people from the AV industry are stepping up online. I'm told we'll be hearing from Sophos tomorrow and hopefully they will have read all of Yes it is, hopefully if we can move parts of this conversation to malware list the AV vendors will feel a bit less like this is an us against them proposition and more like a collaborative effort. From my point of view I'd have to say that everyone has been refreshingly I don't ...
Aug 5, 5:25 pm 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinter ...
... and which also doesn't into account some of the facilities which Linux has, that DOS/Windows does not have. Part of the problem I suspect is that the AV folks have managed to get CIO's believe that all computer systems need to have anti-virus software, of the same design that is needed for DOS/Windows systems. This state of delusion is so bad that apparently some AV engineers aren't even willing to reason from first principles what is necessary or not to maintain a secure system. And ...
Aug 5, 6:44 pm 2008
Martin Schwidefsky
Re: [PATCH] docbook: fix s390 fatal error after header f ...
Oops.. thanks Randy. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. --
Aug 6, 1:24 am 2008
David Miller
Re: [PATCH] sparc: serio/i8042-sparcio.h: fix warning
From: Alexander Beregalov <a.beregalov@gmail.com> Applied, thanks Alexander. --
Aug 6, 2:43 am 2008
Mark Fasheh
Re: [PATCH] ocfs2/cluster/netdebug.c: fix warning
Ok, this is in ocfs2.git now. --Mark -- Mark Fasheh --
Aug 6, 2:24 pm 2008
Simon Horman
Re: [PATCH] netxen_nic_hw.c: fix warnings
This seems to be the agreed work-around for this. --
Aug 5, 7:16 pm 2008
Matthew Garrett
Re: [PATCH] Add Intel ACPI IGD OpRegion support
The 750ms delay is from thinkpad-acpi. I sent a patch to Henrique which makes it go away, but I'm not entirely sure what the ACPI method concerned is supposed to be doing. The opregion code won't currently run until X is started because the drm layer requires X to be the foreground vt before handling IRQs. -- Matthew Garrett | mjg59@srcf.ucam.org --
Aug 5, 5:13 pm 2008
Henrique de Moraes H ...
Re: [PATCH] Add Intel ACPI IGD OpRegion support
Hi Matthew! Ah, THIS patch. Yes, a more intelligent version of it (that doesn't scream blood murder on thinkpads without PWMS) needs to go into thinkpad-acpi along with your patch. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Aug 6, 5:29 am 2008
Matthew Garrett
Re: [PATCH] Add Intel ACPI IGD OpRegion support
It doesn't seem to, no. I should have been clearer - the delay is in the DSDT (not thinkpad-acpi itself), but there's a Thinkpad-specific ACPI call that seems to be needed in order to delay it. Here's the patch again. diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index b596929..bbc45c8 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -899,6 +899,9 @@ static int __init tpacpi_check_std_acpi_brightness_support(void) if ...
Aug 5, 11:34 pm 2008
Henrique de Moraes H ...
Re: [PATCH] Add Intel ACPI IGD OpRegion support
Well, for what is it worth, thinkpad-acpi has a knob (brightness_mode) which can be used. Set it to CMOS mode (see docs). From what I recall, it should do what your patch does. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Aug 5, 7:32 pm 2008
Yves-Alexis Perez
Re: [PATCH] Add Intel ACPI IGD OpRegion support
It's worth noting that I get the 750 ms delay even when I reload thinkpad-acpi with brightness_mode=3D2 it got it (but maybe I should reboot before to be sure no one messed with EC). What's strange too is that brightness keys work fine when thinkpad-acpi isn't loaded, so everything seems done in video.ko. Cheers, --=20 Yves-Alexis
Aug 5, 10:44 pm 2008
Yves-Alexis Perez
Re: [PATCH] Add Intel ACPI IGD OpRegion support
Woah, it works perfectly fine here. Thanks :) Cheers, --=20 Yves-Alexis
Aug 5, 11:50 pm 2008
Alex Nixon
Re: Spinlock recursion in hvc_poll
The patch appears to fix things. --
Aug 6, 2:12 am 2008
Alan Cox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
The drivers need to know if you are going to be using odd sizes regularly so they can pick between - I do this fine who cares (most chips) - Er uh wtf its not 512 byts (some chip state machines) - FIFO off (performance hit) for this disk - FIFO managed for the odd command thats a funny size - Various other levels of software managed controller thumping It's not a passive thing and we'd want to do it post identify on the drive pair as it'll often need per channel decisions (eg on ...
Aug 6, 7:13 am 2008
Alan Cox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
On Tue, 5 Aug 2008 20:22:55 -0600 What early spec says what state word 106 is in ? Healthy paranoia is a good idea in the IDE world because its all a bit murky in the early days and you get some quite strange ident data from early devices - one reason for 0xC000 = 0x4000 is that some early drives use 0xFFFF for unknown words On the driver side I need to know so I can control the FIFO so I guess knowing when you start/end planning to use large sector sizes. The driver could do it per command ...
Aug 6, 2:06 am 2008
Alan Cox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
Put a 512 byte and a 2K sector sized disk on the same channel and its Because I'd like to do better than that - and FIFO is only one of the cases. I think your proposal basically works - providing you identify both drives before worrying about sector sizes. Most of our other logic is done that way - the drives are all identified then the controller makes decisions. The setup time method then either vetos the disk or accepts it The existing mode_filter can be used to implement stuff like ...
Aug 6, 8:06 am 2008
Matthew Wilcox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
It's up to the drive to report the number of sectors it uses. After that all regular read/write commands will be doing that size. Unless we're in some very bizarre situation, that will be the majority of Might want to print a message explaining why performance is going to ... but it's not the odd command, it's going to be the vast majority of Why can't you just disable the (controller) FIFO whenever any drive reports != 512 byte sectors? -- Intel are signing my paycheques ... ...
Aug 6, 8:13 am 2008
Matthew Wilcox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
ATA-1 says that word 106 is reserved (and further that reserved means the drive shall return 0). I don't have a spec earlier than that. I suspect the ATA spec writers are assuming that no drive puts random bits there. all-0 and all-1 make sense, but alternating 0 and 1 are unlikely. At least, it's good enough for us for checking words 48, 76, 78, Obviously it is going to change per command -- because different commands have different sizes. I was thinking that we could call the driver ...
Aug 6, 6:11 am 2008
Matthew Wilcox
Re: [PATCH] ata: Add support for Long Logical Sectors an ...
Probably ... I did consider it, but I think I was too influenced by the I'm not sure that's necessary. The spec says to check whether words are Yes, I would expect some driver work to be required. It only gets worse once we implement the DIX-equivalent. How do you suggest would be a good migration path? We could have the driver set a flag, or call into the driver from the midlayer to check whether it can cope with a I didn't want to change behaviour. We currently set sect_size to ...
Aug 5, 7:22 pm 2008
Jiri Slaby
Re: Simple UART driver help and TTY questions
Ah, .flags = ASYNC_BOOT_AUTOCONF I guess? + I'm sure you will need to set up more entries of your uart_port structure. --
Aug 6, 2:51 pm 2008
Jiri Slaby
Re: Simple UART driver help and TTY questions
if (flags & UART_CONFIG_TYPE) According to the straces, you get -EIO from ioctl and read which most likely means TTY_IO_ERROR bit set due to tiny_port->type = PORT_UNKNOWN (i.e. 0). Try the above. --
Aug 6, 2:11 pm 2008
Ira Snyder
Re: Simple UART driver help and TTY questions
Not quite, but it got me on the right track. I needed to set port->type before calling uart_add_one_port(). Now it gets into my code. Previously, it had never even called any of my code. None of it. Unfortunately, I ran it and it segfaulted. Turns out that Greg's tinyserial driver didn't implement ops->set_termios() and that was the cause. Implementing that got everything working. Now I get in my dmesg: [ 73.813893] ttytiny: Tiny serial driver [ 83.714486] Enter: tiny_startup [ ...
Aug 6, 2:46 pm 2008
Ira Snyder
Re: Simple UART driver help and TTY questions
Here is a strace of "cat /proc/ttytiny0": ====================================================================== execve("/bin/cat", ["cat", "/dev/ttytiny0"], [/* 21 vars */]) = 0 brk(0) = 0x8050000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f05000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or ...
Aug 6, 12:32 pm 2008
Manfred Spraul
Re: [PATCH tip/core/rcu] classic RCU locking and memory- ...
Hi Paul, I thought about hierarchical RCU, but I never found the time to implement it. Do you have a concept in mind? Right now, I try to understand the current code first - and some of it doesn't make much sense. There are three per-cpu lists: ->nxt ->cur ->done. Obviously, there must be a quiescent state between cur and done. But why does the code require a quiescent state between nxt and cur? I think that's superflous. The only thing that is required is that all cpus have ...
Aug 5, 10:30 pm 2008
Adrian Bunk
Re: rsk7203_defconfig build error
Thanks, that fixed the compilation for me. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Aug 6, 10:29 am 2008
Paul Mundt
Re: rsk7203_defconfig build error
This works fine for my toolchains at least, so I'll apply it. --
Aug 5, 11:03 pm 2008
Paul Mundt Aug 5, 11:02 pm 2008
gerald_IMAP
Re: [PATCH] hugetlb: call arch_prepare_hugepage() for su ...
Ok, thanks. I didn't see it as a bugfix because it doesn't make any difference on s390, and nobody else is using arch_prepare_hugepage() so far. But of course this may change, so I should have made two Right, this was missing from the beginning. It affects s390 only, so I'll check if we need a backport. Thanks, Gerald --
Aug 6, 6:48 am 2008
Christoph Lameter
Re: [PATCH][migration] Trivial cleanup
Acked-by: Christoph Lameter <cl@linux-foundation.org> --
Aug 6, 7:25 am 2008
MinChan Kim
[PATCH][migration] Trivial cleanup
This is a trivial cleanup. Anyone doesn't use it any more. Signed-off-by: MinChan Kim <minchan.kim@gmail.com> --- mm/mempolicy.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 97020c0..36f4257 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -808,7 +808,6 @@ static int migrate_to_node(struct mm_struct *mm, int source, int dest, int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from_nodes, const ...
Aug 5, 10:42 pm 2008
Matthew Wilcox
Re: [PATCH] Make kthread_stop() not oops when passed a b ...
I was considering something more along the lines of "we've oopsed so I'd kzalloc'd the memory structure, then rearranged the order of calls I'm actually really dubious about kthread_stop() returning a value at all. To me, returning an error implies that the function failed to do its job, ie the thread is still running. But that's not true; if it returns -EINVAL, it means the thread never ran. And why should the caller care? Only three callers of kthread_stop do anything with ...
Aug 6, 5:07 am 2008
Rusty Russell
Re: [PATCH] Make kthread_stop() not oops when passed a b ...
Yes, I got that :) But if we're not about to sprinkle "if check_ptr(arg)" all And if you hadn't used kzalloc you'll still blow up. I dislike zeroing allocs myself because I have dreams of valgrinding the kernel. gcc would warn about You mean -EINTR? Yes, it should probably be left undefined: the caller Good point. I assumed passing through the value would be useful, but as it's not been after a couple of years, we should make the callback return void. No, all we know is ...
Aug 6, 1:48 pm 2008
Rusty Russell
Re: [PATCH] Make kthread_stop() not oops when passed a b ...
Hi Willy, I really do sympathize with your problem; but the quest is to figure out how to identify it before the code is run, not to put a non-orthogonal bandaid here which can hurt other cases. How about a more ambitious "we've oopsed so break a mutex every 30 seconds of 1) There's no reason that kthread_stop is uniquely difficult to use. Why pick on that one? 2) I know that kfree() handles NULL, but kthread_create/kthread_run never return NULL, unlike kmalloc(). 3) If we ...
Aug 5, 6:22 pm 2008
Matthew Wilcox
Re: [patch] PCI: check the return value of device_create ...
I'm sure the compiler warns about that. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Aug 6, 6:19 am 2008
Simon Horman
Re: [patch] PCI: check the return value of device_create ...
Check the return value of device_create_bin_file in pci_create_bus and unwind if necessary. Don't propagate error to caller, as failure to create these files shouldn't prevent PCI from being initialised. Cc: Sven Wegener <sven.wegener@stealer.net> Cc: Michael Ellerman <michael@ellerman.id.au> Cc: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Simon Horman <horms@verge.net.au> --- Tue, 5 Aug 2008 21:14:07 +1000 * Revised the patch to free and NULLify b->legacy_io in ...
Aug 5, 5:57 pm 2008
Simon Horman
Re: [patch] PCI: check the return value of device_create ...
Amusingly, yes. -- Horms -> looks for somewhere to hide --
Aug 6, 4:25 pm 2008
Simon Horman
Re: [patch] PCI: check the return value of device_create ...
Check the return value of device_create_bin_file in pci_create_bus and unwind if necessary. Don't propagate error to caller, as failure to create these files shouldn't prevent PCI from being initialised. Cc: Sven Wegener <sven.wegener@stealer.net> Cc: Michael Ellerman <michael@ellerman.id.au> Cc: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Simon Horman <horms@verge.net.au> --- Tue, 5 Aug 2008 21:14:07 +1000 * Revised the patch to free and NULLify b->legacy_io in ...
Aug 6, 4:30 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 5 (MTD build error)
linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp': linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup' make[4]: *** [drivers/mtd/devices/mtd_dataflash.o] Error 1 make[3]: *** [drivers/mtd/devices] Error 2 --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/
Aug 5, 5:55 pm 2008
Stephen Rothwell
Re: linux-next: Tree for August 5 (XEN)
On Tue, 05 Aug 2008 18:15:27 -0700 Jeremy Fitzhardinge <jeremy@goop.org> wr= I have applied this to linux-next today - assuming it will turn up via one of the tip trees soon. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Aug 5, 11:31 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 5 (XEN)
Ack, looks good, fixes those warnings. --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Aug 5, 7:30 pm 2008
Jeremy Fitzhardinge
Re: linux-next: Tree for August 5 (XEN)
I posted this patch the other day. It's in tip.git, but I guess it hasn't made it to next. J Subject: xen-balloon: fix up sysfs issues 1. Set the class so it doesn't clash with the normal memory class 2. Fix up the sysfs show functions to match the new prototype 3. Clean up use of memparse Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: viets@work.de Cc: Andi Kleen <andi@firstfloor.org> --- drivers/xen/balloon.c | 27 ++++++++++++--------------- 1 ...
Aug 5, 6:15 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 5 (XEN)
These warnings have been around for several days now. Is there a patch available but not yet merged for linux-next? linux-next-20080805/drivers/xen/balloon.c:599: warning: initialization from incompatible pointer type linux-next-20080805/drivers/xen/balloon.c:600: warning: initialization from incompatible pointer type linux-next-20080805/drivers/xen/balloon.c:601: warning: initialization from incompatible pointer type linux-next-20080805/drivers/xen/balloon.c:602: warning: initialization from ...
Aug 5, 6:03 pm 2008
Jike Song
Re: What is the best way to identify a new x86 processor ...
As you said, since the manufacturer has provided some codes to tune the CPU speed, did they provide any method to identify the CPU without a cpuid function? --
Aug 5, 7:33 pm 2008
Bill Davidsen
Re: What is the best way to identify a new x86 processor ...
Your (2) sounds reasonable. -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot --
Aug 6, 5:12 am 2008
jmerkey
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
If you install the patch and enter the debugger, you will find quite excellent documentation **inside** the debugger. start with "help help" Network General (now NetScout) Several Others I do not have authority to name because of NDA agreements. --
Aug 6, 12:03 pm 2008
Masami Hiramatsu
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
Would you have any document about MDB, or project-site url? I think it is hard for anyone to understand what you like to Would you have talked with kdb/kgdb people? Since linux kernel already have kgdb, I think you might better talk about merging your functionality (and stability) to kgdb, or at least Out of curiously, is there anyone except for you using MDB? -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail: ...
Aug 6, 9:51 am 2008
Abhishek Sagar
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
If the mdb() call modifies the IF flag in regs, then it should probably be called after trace_hardirqs_fixup. Best to keep it behind notify_die() ensuring that kprobes handles all breakpoints first. Otherwise at least the mdb function (and others in its call chain) should be marked as __kprobes. -- Abhishek Sagar --
Aug 6, 5:21 am 2008
Ananth N Mavinakayan ...
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
On Tue, Aug 05, 2008 at 12:26:35AM -0600, jmerkey@wolfmountaingroup.com wrote: Kprobes needs to be the first consumer of these exceptions (via notify_die); if the exception was due to a kprobe, it does its thing without requiring any user intervention. Here, for example, you can get into mdb for a kprobe breakpoint hit. Please move the mdb hooks to after kprobes has been notified. Better still, integrate mdb to use the notify_die infrastructure and use a lower priority than what kprobes does ...
Aug 6, 1:40 am 2008
jmerkey
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
I have removed these hooks already and converted to debugger to use notify_die -- finished it last night as per Andi's suggestions. This code section has already been removed from reboot.c and traps_XX.c. I'll post the new patch with the module based debugger later today. Jeff --
Aug 6, 6:36 am 2008
Stefan Richter
Re: [PATCH 2.6.27-rc1-git5 2/26] mdb: correct kprobes in ...
I guess you got complaints from scripts/checkpatch.pl for at least 3/4 of all lines by now. Some or many of the complaints will probably look silly. Have a look at Documentation/CodingStyle then because it gives context for many of the complaints. It also gives some rules of thumb for things which checkpatch.pl cannot check, e.g. legibility of global names. From what I saw, there are _many_ whitespace "deviations" in your code (which perhaps scripts/Lindent can help to adjust), ...
Aug 6, 1:15 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] ide-floppy: use scatterlists for pio transfers
Hi, Don't we also need to zero pc->b_count in idefloppy_blockpc_cmd()? [ idefloppy_init_pc() clears whole pc so ->b_count assignment to zero is not strictly necessary ] Except that it looks all good, thanks for working on it. --
Aug 6, 9:05 am 2008
Borislav Petkov
Re: [PATCH] ide-floppy: use scatterlists for pio transfers
We probably should and i should've probably hit that during testing and maybe hit an OOPS along that path but we don't do REQ_TYPE_BLOCK_PC in ide-floppy yet, as it appears, and since idefloppy_blockpc_cmd() is only called when blk_pc_request(rq) that's why this one doesn't matter here. We should consider it though when we convert to using BLOCK_PC type rq's. -- Regards/Gruss, Boris. --
Aug 6, 12:30 pm 2008
Luis R. Rodriguez
Re: [PATCH 2/4] list.h: add list_cut_position()
Alright, I'll just make some small note on the documentation and exit early Yes, the user of this call should not care if we wipe @list for them as it is just a reference. This lets you, for example, use @list on list_cut_position() it in a loop. I'll extend the documentation to It certainly has, thanks for reviewing. How's this: This adds list_cut_position() which lets you cut a list into two lists given a pivot in the list. Signed-off-by: Luis R. Rodriguez ...
Aug 6, 11:27 am 2008
Randy Dunlap
Re: [PATCH 2/4] list.h: add list_cut_position()
For kernel-doc notation, the parameters need to follow the function name+short description. After that, a longer description can be added. I.e., please move the parameters up to --
Aug 6, 11:35 am 2008
Luis R. Rodriguez
Re: [PATCH 1/4] list.h: Add list_splice_tail() and list_ ...
I like your version of list_splice_tail() and list_splice_tail_init() more as you re-use __list_splice() and fix it for its use instad of adding a new __list_splice_tail(). You also caught some users of __list_splice() for tail purposes. Its a good thing both versions are functionally equivalent :) otherwise one of us was doing something wrong. We just need to also clarify list_splice() is for stacks and not queues, I can add that. You patch however fails with checkpatch and forgot to add ...
Aug 6, 1:26 pm 2008
Luis R. Rodriguez
Re: [PATCH 1/4] list.h: Add list_splice_tail() and list_ ...
Sorry, I forgot to add my kdoc for list_splice_tail_init(), here it is with it added: -- list.h: Add list_splice_tail() and list_splice_tail_init() If you are using linked lists for queues list_splice() will not do what you would expect even if you use the elements passed reversed. We need to handle these differently. We add list_splice_tail() and list_splice_tail_init(). Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Luis R. Rodriguez ...
Aug 6, 3:21 pm 2008
Joe Peterson
Re: tty: ctrl-c not always echoed, especially under load
One more observation: In Linux, try this: # cat > foo hi^Sthere^Q ^D (in other words, during the cat into "foo", type "hi", hit ^S, then type "there", then hit ^Q, then, on the next line, ^D to end the file) Note that the "there" does not appear after hitting ^Q, but it does appear in the file. So the characters were accepted, but they were not echoed (not even saved for echo when the terminal is restarted). This behavior differs from that of FreeBSD (just tried it for fun ...
Aug 6, 1:17 pm 2008
Arjan van de Ven
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
On Wed, 6 Aug 2008 15:16:02 +0100 one argument against the namespaces one is that of security; on the one hand I can see the argument of running the virus scanner in its own container, on the other hand I can see the argument of not liking that is a fair list of complaints.. the question is can inotify be fixed.... -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 6, 7:23 am 2008
Andi Kleen
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
This means your scheme is not generally supposed to protect against root? I assume yes (since I can think of lots of other holes for root), but you should state that explicitely in the spec since it is a major limitation. On the other hand it will also allow you to optimize significantly: In particularly it also means that you can trust the permissions and don't need to check any files which cannot be written by users you don't control. -Andi --
Aug 5, 8:52 pm 2008
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
It prevents any user from overwriting an existing executable, and it prevents any user from adding an executable file to a common directory (/usr/bin). It also prevents any user from overwriting a different user's data file. What specific threat model are you feeling is still present on Linux today that this proposal is supposed to address? thanks, greg k-h --
Aug 6, 8:24 am 2008
Arjan van de Ven
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
not writing to the syscall table hasn't been possible/allowed for.. about 5 years now. (yes I know there were still bad hacks possible until 2 years ago). So I'm sorry, but the timeline argument doesn't hold, you've had 5+ years of warning. All existing RHEL products already don't allow this (I know it for the earlier ones since I was part of the design team)... unless your software acts entirely like a rootkit (but even then) -- If you want to reach me at my work email, use ...
Aug 6, 6:49 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
I see what you mean, it should have been worded better. Nevertheless that is what was intended by it - to enable caching only on filesystems where I don't have a very good understanding of the VM subsystem I must admit. So in other words with the current kernel file modification time is not necessarily correct - it represents when the file was last opened for modification, not when it was actually modified? (While those two points in time can be arbitrarily separated) How would I use ...
Aug 6, 4:29 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Yes, it would be nice if inotify gave you back a full pathname and where a single watch would return all changes anywhere in the Linux's namespace support does break a lot of traditional paradigm. I'll note the TALPA "requirements" are broken themselves since they refer to pathnames. Furthermore, I assume you'll always want to do the scanning in userspace; the virus signature files for Windows are ***huge***. And if you are going to be scanning for Windows virii on the argument that you ...
Aug 6, 8:22 am 2008
Casey Schaufler
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
On delivery you'd need to decide what security scheme is actually available on the packet and in what order to interpret any inbound security data. If you had an MLS scheme that uses CIPSO, an integrity mechanism using IPSEC and a DAC scheme that assigns user ids by host address getting the ordering right and every domain registered properly in the networking stack would be a trick. Plus, making sure that any state the security scheme requires is tricky. Maybe it's not actually worse if the ...
Aug 5, 8:00 pm 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
The list of requirements you came up with was a very low-level set of requirements. This is why Al Viro called it not much better than we want a bunch of hooks here, here, and here. What is needed is the high-level set of requirements --- which in the case of security fixes, really needs to start with a threat model (or threat models). See my previous message, where I tried to help you guys out on this. There are scenarios such as "The Linux Desktop", where the Clueless User may be tricked ...
Aug 6, 8:00 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
On Tue, 5 Aug 2008 14:04:26 -0400 We're getting close. What exactly are the threat models you want to protect against? Once we have the answer to that question, we can figure out whether the current patch set addresses the threat model or whether alternate approaches are needed. -- All rights reversed. --
Aug 5, 5:22 pm 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Problem is with network filesystems. So could it be a flag somewhere per filesystem which would say something like "this filesystem guarantees content of a file cannot change without get_write_access or file_update_time being called locally"? That doesn't sound like a lot of code so what am I missing? Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 6, 2:44 am 2008
Nick Piggin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
That is exactly what you cannot do. Otherwise you have to rewrite filesystems not to use the pagecache, and probably have to do disallow or do some horrible hacks to support mmap. The requirement you actually intend is more like what you said before, It is a best effort thing. When you start mmapping, that allows get_user_pages, which in turn may be able to take pages and modify Even just with mmap (we do a much better job of it now, but) you can probably write to a file after mtime if ...
Aug 6, 9:57 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
The problem with your example is that it ignores the cost; the cost in code maintenance; the cost in performance, etc. That's the problem an absolutist view towards security. Going back to the your sparying analogy, if the illness is considered *so* utterly deadly that you don't consider the costs of beneficial insects dieing, children getting exposed so badly that they get cancer five years later, etc. --- then the argument would be heck, let's spray every day! Let's spray every hour! Let's ...
Aug 6, 8:08 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
On Wed, 6 Aug 2008 17:12:56 +0100 A universally useful large change is often easier to get into the Linux kernel than a single-purpose hack. -- All Rights Reversed --
Aug 6, 9:25 am 2008
Peter Dolding
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
This buffer overflow risk and other equals are why LSM's exist. It put jails around applications so they cannot do any more than they are meant to. Its called risk reduction something that is most likely a new idea to people coming from a windows background. It also makes exploiting a flawed applicaiton tricky. Do something that application should not normally do it will be blocked and trip the LSM alarm that could be set to straight up terminate the offending application. Yes a true ...
Aug 6, 5:38 am 2008
Andi Kleen
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
Actually local disk file systems can be changed invisibly to the VFS too by directly writing to the block device. This does not change the page cache, but the on disk copy and when a page is pruned from RAM and reloaded VFS will see the new contents without knowing about any change. How would you stop that in your proposal? I assume you could always require a special LKM that forbids block writes for anything mounted, but that has other problems too and one wuld need to be extremly careful of ...
Aug 5, 7:35 pm 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Other options involved overwriting LSM function pointers. I was told that recently moving SELinux to be statically compiled in apparently messed them up on that method, at least for RH products. The other method I've heard is hunting down all of the filesystem_operations structs and overwriting those functions. I was also told that until recently pages marked RO could just be marked RW and then remarked RO, although it was recently fixed to RO pages stayed RO. So yeah, I'd have to call them ...
Aug 6, 6:55 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
I can't, but everyone is doing it so that is at least an implied Maybe it is not how you imagine it? It is not a database of every possible individual attack but there are more intelligent methods. But I am not an expert in this field to explain it better.. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 6, 3:09 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
On Wed, 06 Aug 2008 04:41:04 +0200 Firefox, Open Office and other applications are probably large and feature rich enough that making worms for them might be possible. Not being able to harm the operating system is not the same as not being able to harm the user. We still want some protection from the latter... -- All Rights Reversed --
Aug 6, 11:04 am 2008
Andi Kleen
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
My guess is that wine is good enough these days to run many Windows worms actually. -Andi --
Aug 5, 7:41 pm 2008
jmorris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Alas, we've been here before. http://article.gmane.org/gmane.linux.kernel/608634 On Thu, 29 Nov 2007, Al Viro wrote: > Incidentally, I would really love to see the threat profile we are > talking about. Exactly. Please come up with a set of requirements that can be reviewed by the core kernel folk, and perhaps then focus on how to meet those requirements once they have been accepted. To be very clear, so we don't waste any _more_ time and effort on this: The ...
Aug 5, 5:53 pm 2008
Press, Jonathan
RE: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
-----Original Message----- From: Peter Dolding [mailto:oiaohm@gmail.com] Sent: Wednesday, August 06, 2008 8:39 AM To: Press, Jonathan Cc: Rik van Riel; Greg KH; Arjan van de Ven; Eric Paris; linux-kernel@vger.kernel.org; linux-security-module@vger.kernel.org Subject: Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon access scanning On Wed, Aug 6, 2008 at 10:10 PM, Press, Jonathan <Jonathan.Press@ca.com> This buffer overflow risk and other equals are why LSM's exist. It ...
Aug 6, 6:11 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Didn't I already go over this? The patch for FS exclusions would not be namespace based, rather dentry->d_inode->i_sb->fstype->name matching. Lets not start name based discussions at this point in time. Those patches weren't proposed on this go and reading the write up of both of the name based items (I think number 11 and 12) one I outright reject and the other will require future discussion. -Eric --
Aug 6, 8:41 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Should be OK from my point of view assuming we keep cache and basic filesystem exclusions in kernel. Otherwise it would be too much work (I am talking about CPU time) to do with each and every interception. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 6, 2:28 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
On Tue, 05 Aug 2008 14:39:34 -0400 Then isn't the close time check superfluous, since you do the checks at change time already? -- All rights reversed. --
Aug 5, 5:30 pm 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Over engineering in a void for some supposed someday user isn't a good idea either. If there are other people interested in working together to come up with a solution to multiple needs I'm here to help! -Eric --
Aug 6, 11:06 am 2008
Adrian Bunk
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Until now the main discussion participant from the AV side is Jonathan Press. But the real discussion hasn't even started since the information required is not available. And as soon as the information for the real discussion is available all cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. ...
Aug 6, 4:26 am 2008
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
You did? I didn't see any patches from you here, did I just happen to miss them? If Eric's code was based on yours, that's great, but it didn't imply maintenance, especially as it doesn't look like your original patches much :) thanks, greg k-h --
Aug 6, 8:17 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
I will have a brief look to familiarise myself with inotify implementation. So maybe, but even if that solves only one Core functionality does not depend on pathnames. I thought that was Once upon a time I worked for a different company and we used embedded linux to drive some custom hardware, rather complex things. On some customer sites, every week or so the OS would hang. Some free, public and open kernel GPL code was leaking kernel memory on each USB transaction and depending ...
Aug 6, 8:54 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
In the patches I posted, "checks" are done at open and close if the result is not already in the cache. Every write invalidates the cache and thus the next open/close will do a "check." So the longer a process keeps a file open the longer it is susceptible to "unclean" data existing in that file. --
Aug 5, 6:55 pm 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Could you please explain some more what and how do you think Unix model prevents? Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 6, 2:24 am 2008
Peter Dolding
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
We are not just kernel. http://hal.freedesktop.org/docs/PolicyKit/ Is a good read. Long term Linux design is basically Nuke the root user and protect the core os providing restricted access. So anti system core damage integrates outside kernel space. We are You got to remember syscall trapping can be done for good and evil. You use it to monitor actions another use it to do harm like steal data. We need syscall trapping for debugging. ptrace and the like. Something important you ...
Aug 6, 6:57 am 2008
Paul Moore
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
I still don't understand how that is any different from a file or some other resource, local or remote. Assuming a single security label (tag, mark, mode, etc.) on an entity on which you wish to apply an access control decision the problem boils down to how do you internalize the security label in such a way that it can be useful for the security mechanism(s). In the case of a single LSM you do this once, in the case of multiple, stacked LSMs you do this multiple times. With multiple ...
Aug 6, 7:18 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
It is much more advanced than that, really. I don't know if ever a whole file is read and in 99% it is just a tiny part of it. I don't know what I am allowed to disclose and also it is not my area of expertise, but if you are interested in how detection actually works maybe we can talk off list and put you in touch with some other people here. It is also wrong to think that you can scan only what has changes because that bit may be harmless itself but present a final part of a malware ...
Aug 6, 9:12 am 2008
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
See previous messages about namespaces and paths for trying to figure this I really can not judge as we have not seen an implementation yet. thanks, greg k-h --
Aug 6, 8:25 am 2008
David Collier-Brown
Sidebar to [malware-list] [RFC 0/5] [TALPA] Intro to a l ...
Open for read is the "traditional" time for scanning, but the sequence (open for write) -> change -> (time passes or close happens) is specifically a good time to do content checking, so as to have the answer to the check available for the open for read. I'd suggest "read" and "write" are the two cases that are interesting, and that we've been using 'open" an "close" for a not very good approximation to them (;-)) --dave -- David Collier-Brown | Always do right. This will ...
Aug 6, 4:40 am 2008
Press, Jonathan
RE: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
-----Original Message----- From: Theodore Tso [mailto:tytso@MIT.EDU] Sent: Wednesday, August 06, 2008 11:09 AM To: Press, Jonathan Cc: Rik van Riel; linux-kernel@vger.kernel.org; malware-list@lists.printk.net; linux-security-module@vger.kernel.org; Arjan van de Ven Subject: Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon access scanning The problem with your example is that it ignores the cost; the cost in code maintenance; the cost in performance, etc. That's the ...
Aug 6, 8:33 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
While I try to get someone to talk to me, lets consider even the most simplistic threat model. I'm not stating that this is the only threat that vendors wish to protect against, but I think we can all agree it is a meaningful threat. Trying to get the AV vendors to talk about their products actual uses is like pulling teeth. This simple thread shows what I believe to be clear and compelling evidence of the need for an in kernel solution. Lets just consider that we are a high input, high ...
Aug 6, 11:49 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
No, because we are talking about a case here where we don't want to do any scanning. We want to detect if it is procfs (for example) as quickly as possible and don't do anything. Same goes for any other filesystem where Again similar thing as above - In case of a cache we are not doing complex things. So I think you can't argue that because scanning is slow everything else has to go to userspace. On a typical running system scanning is exceptional and everything else benefits from ...
Aug 6, 2:37 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
On Wed, 6 Aug 2008 11:33:23 -0400 Disks are slow and files are getting larger by the day. We can do a lot better than scanning a whole file. A mechanism that can notify programs about what file changed and what byte range in the file changed can reduce scanning overhead by only needing to scan the part of the file that changed. More importantly, getting info on which bytes in a file changed will also help backup programs and disk indexing programs. Blocking on open can be useful for ...
Aug 6, 8:46 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
In this scenario, are you positing that you are worried about Windows malware, or Linux malware? What OS are the clients running? I will note that Windows has such a sucky NFS implementation that nearly all Widows clients will be running CIFS/SMB, not NFS --- so the right solution there is to integrate the virus checking with Samba --- especially since the one AV vendor has already admitted the actual virus signature checking has to be done in userspace. For Linux clients, one question that ...
Aug 6, 2:02 pm 2008
Arjan van de Ven
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
On Wed, 6 Aug 2008 08:10:53 -0400 this indeed gets to the heart of the problem. several of us here are trying to argue that scan-on-close isn't very good, BUT that if you do scan-on-change (say with inotify) you do reach the same goal but with much better results. notice the "but" in there. What I hope will happen is that one or more people from the AV side (eg you and tvrtko) will actually read the "but" part rather than just dismissing it outright because of not liking your solution in the ...
Aug 6, 6:44 am 2008
Adrian Bunk
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
As an observer of this thread: - Some set of requirements suddenly appears out of the void on linux-kernel. - Noone is able and/or willing to exactly describe the problem(s) they are trying to solve. With this status quo the discussion is going nowhere - Linux kernel development does not work this way. The aim is not to include this code, but to find the best technical solution for your problem(s) - no matter whether this will have anything cu Adrian -- "Is ...
Aug 6, 3:50 am 2008
Peter Dolding
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Simplely they are following the windows way of doing things. Rootkit the OS no one will stop us. Sorry that RootKitting is not going to work here long term because we will fix Root Kit weaknesses. TPM from IBM will make it even harder. Nice bits of that are in 2.6.27. Allowing LSM stacking solves nothing. IBM's developers credentials is a far better place for file system monitoring to hook in. Its pre caching allows all the alterations they could want. Even better credentials is a ...
Aug 6, 7:11 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
We all? How is that true? I for example wrote some code and am willing to help maintain it if it gets accepted. And as you describe it, it would be true for any submission because not all things are usefull for all people, while everything is baggage for the community. And who is the community? I thought all who take place in discussions, bug reporting, submitting code, fixing bugs etc are the community. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, ...
Aug 6, 3:05 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
How are namespaces and pathnames relevant to exclusions based on filesystem *type*? It is not about checking for /proc but checking if the As small as possible - just one extra field in the inode struct. And really you are talking about a different thing again and moving the argument around. I answered you why your argument about putting a cache in userspace since we do so much there already is wrong, because we don't do a lot (anything really) in userspace for vast majority of opens ...
Aug 6, 9:03 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
First copyrights in all those files are Sophos. Tvrtko is where the basis for most of these code came from. Although ongoing maintenance has not been discussed, he and Sophos deffinitely get the credit for working on code. -Eric --
Aug 6, 8:22 am 2008
Eric Paris
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on ...
I didn't consider it. Most likely at the end of the day the finding will be, "if you can write directly to the block device you already won since there as so many other things you can do to subvert the system." Admittedly its the first technical point brought up on list that I didn't consider at all (lots of other things brought up on list that need more thought that weren't exactly technical details, don't let me seem like I'm downplaying those) -Eric --
Aug 5, 8:43 pm 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
I know you didn't say; that's why I asked. :-) I dispute your assertion that this quesiton is irrelevant. It's highly relevant, because if it's Windows clients, they ***won't*** be using NFS. As for other large desktop OS's, that would be MacOS and Linux; anything else? And the big, huge, vast difference between Windows and MacOS/Linux is that with Windows, in practice people ran with Administrator privileges because most applications (including at one point Microsoft Visual Studio :-) ...
Aug 6, 2:52 pm 2008
Serge E. Hallyn
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Seriously, it's David Howells at Redhat who's doing that. In your last email i figured it was a typo, but credit where it's due :) -serge --
Aug 6, 7:20 am 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Because previously it was said to go away and come back with a clear list of requirements. And here you make it sound like a negative thing. See Hopefully we will get there. Very little time has passed since the discussion has started, even less considering the time zone difference for I completely agree with that. Here I was just pointing out that what Greg wrote was untrue and exaggerated so not helping the discussion at all. Tvrtko Sophos Plc, The Pentagon, Abingdon Science ...
Aug 6, 4:07 am 2008
Peter Dolding
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Failed daemon support has to exist in Credentials for filesystems that cannot store all the security data and needing third party support. This is the issue same features basically required to do the same things. Different reasons. One to virus scan. One to fix up security lacking file systems. From what I see exactly the same set of features are needed. At most only 1 feature is missing a form of copy on write. Adding this at credentials level over the complete system would not be a ...
Aug 6, 4:20 pm 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
Problems with inotify as far as I know: You can't do something like inotify("/") (made up API) but you have to set up a watch for every directory you wan't to watch. That seems like a waste of resources. Then you get back a file name, if you wan't to report it or attempt* to scan it you have to build a pathname yourself, which means you have to maintain the whole tree of names in memory. Even bigger waste. When I say attempt to scan it above I mean that we are back into the pathanme ...
Aug 6, 7:16 am 2008
David Collier-Brown
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Peter Dolding wrote: Then in a real sense you've solved much of their problem for them (;-)) After this comes engineering, so that they can re-use the scanning mechanisms they already have, but from a different caller. The requirements are probably that they know - is this an open for read or write (somewhat less time-sensitive)? - is the data present, or do we have to wait? - if so, for what? as of the time they start looking at the file. Having a race-free mechanism using ...
Aug 6, 4:31 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
I believe I specifically did not make any such claims at all about the client OS and merely claimed the intended target was not the linux NFS server. I didn't make those claims because they are irrelevant and so that people could not jump on those details and try to offload the solution to the wrong place. Maybe the client is not Windows but another large desktop OS who actually has a reasonable NFS client? How do you turn this into a straw man argument then? Remember, I'm not claiming that ...
Aug 6, 2:28 pm 2008
tvrtko.ursulin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
In general this metadata provides more context to the event that happened. For example reporting - log message/UI popup/centralised something can be displayed saying which user running which application was involved with bad stuff. Also we can find out where the user is logged in and send him a message there. It is more descriptive than just failing the access with -EACCESS which When you don't run an userspace client cache should not come into play because nothing will be cached ...
Aug 6, 1:39 am 2008
Press, Jonathan
RE: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
-----Original Message----- From: Rik van Riel [mailto:riel@redhat.com] Sent: Tuesday, August 05, 2008 8:51 PM To: Press, Jonathan Cc: Greg KH; Arjan van de Ven; Eric Paris; linux-kernel@vger.kernel.org; malware-list@lists.printk.net; linux-security-module@vger.kernel.org Subject: Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon access scanning On Tue, 5 Aug 2008 14:38:23 -0400 How can you, as a security professional, argue for a security measure that you know is flawed, ...
Aug 6, 5:10 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxint ...
On Tue, 5 Aug 2008 14:38:23 -0400 How can you, as a security professional, argue for a security measure that you know is flawed, when there is a mailing list full of people willing to help figure out what a working security measure would look like? Yes, abandoning some of the old DOS anti-virus security model may cause work, but surely that will be worth it if it leads to a more secure system? -- All rights reversed. --
Aug 5, 5:51 pm 2008
Nick Piggin
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
Maybe... but that's not the same as what requirement 5 calls for. But depending on exactly what semantics you really call for, it can get tricky to account for all of pagecache. Writes can happen through page tables or get_user_pages. True that a process has to at some point have write permission to the file, but the cache itself could be modified even after the file is closed and all mmaps disappear. --
Aug 6, 4:10 am 2008
Andi Kleen
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux in ...
There's no fixed process name in Linux that cannot be easily faked: Use process name -- every process can change that by writing to its own environment. Use comm name -- there's a prctl to change that and there can be collisions Use path name of binary -- breaks with chroot and name spaces. Also existing binaries can be subverted. Use inode of binary -- can be faked with fuse and breaks when the binaries is copied ... Use dev, inode -- breaks when copying binary and when running on ...
Aug 5, 7:46 pm 2008
Alan Cox
Re: Kernel Summit request for Discussion of future of AT ...
Only thing I would do differently and definitely want to do differently is the assumption that we just turn on 32bit and see what occurs. We need to read/test/change controller by controller over to 32bit not just hope. Alan --
Aug 6, 1:51 am 2008
Robert Hancock
Re: Kernel Summit request for Discussion of future of AT ...
Yeah, those are both leftovers from the 16-bit code. I'll fix them up in --
Aug 5, 7:30 pm 2008
Robert Hancock
Re: Kernel Summit request for Discussion of future of AT ...
Here's my first cut at it. Compile tested only. This sets most controllers to use 32-bit PIO except for those which could potentially be on a real ISA or other 16-bit bus. It's a bit non-obvious what to do with some of the drivers, so input is welcome. This implementation doesn't check the ata_id_has_dword_io at all, since it would only make a difference on controllers where we don't really want to use it anyway. It seems like regardless of whether we do 32-bit by default or not the ...
Aug 5, 5:21 pm 2008
Tejun Heo Aug 5, 5:44 pm 2008
Sergei Shtylyov
Re: Kernel Summit request for Discussion of future of AT ...
OTOH, it definitely could work if the drive asserted it for the I/O port 0x1x2 at least for the data transfer phase (and probably even if it always asserted -IOCS16 for this address). That pre-historic word indeed could have made sense then... MBR, Sergei --
Aug 6, 4:17 am 2008
Tejun Heo
Re: [Ksummit-2008-discuss] Kernel Summit request for Dis ...
Well, as most of machines are 64-bit these days, discussing whether a word means 16 or 32 bits is kind of moot. I usually just think byte, word, dword, qword and and libata and pci assume that too - ata_id_has_dword_io() and PCI configuration accessors. It's ultimately a peripheral issue either way tho. Thanks. -- tejun --
Aug 6, 6:04 am 2008
Sergei Shtylyov
Re: Kernel Summit request for Discussion of future of AT ...
Hello. Isn't word 32-bit in the 32-bit systems? We're not on 80[12]86 (despite Intel/MS preference of calling 32-bit memory cells DWORDS)... MBR, Sergei --
Aug 6, 4:27 am 2008
Sam Ravnborg Aug 6, 1:14 pm 2008
Matthew Garrett
[PATCH v2 2/2] eeepc-laptop: Use standard interfaces
eeepc-laptop currently only sends key events via ACPI and has non-standard rfkill control. Add an input device and use the rfkill infrastructure. Signed-off-by: Matthew Garrett <mjg@redhat.com> --- Updated to explicitly set state at registration time and use the enums rather than relying on ...
Aug 6, 2:25 am 2008
Matthew Garrett
[PATCH v2 1/2] eeepc-laptop: Fix user after free
eeepc-laptop uses the hwmon struct after unregistering the device, causing an oops on module unload. Flip the ordering to fix. Signed-off-by: Matthew Garrett <mjg@redhat.com> --- commit 95f4bc41ef256b8e3dfa94cabe1faf0776ac988c Author: Matthew Garrett <mjg59@srcf.ucam.org> Date: Mon Aug 4 ...
Aug 6, 2:23 am 2008
Rene Herman
Re: AGP and PAT (induced?) problem (on AMD family 6)
No... my kernel message buffer isn't large enough for that :-( Right, I guess I now know where the delay is coming from. I suppose this is not expected. dmesg as captured after starting X and without "debugpat" at: http://members.home.nl/rene.herman/pat/dmesg.x Truncated dmesg with "debugpat": Before starting X (1K): http://members.home.nl/rene.herman/pat/pat_memtype_list.console.debugpat After starting X ...
Aug 6, 1:57 pm 2008
Andreas Herrmann
Re: AGP and PAT (induced?) problem (on AMD family 6)
To get some more debug data, can you please retest with latest kernel (2.6.27-rc2) using "debugpat" kernel option and provide dmesg output plus contents of <debugfs>/x86/pat_memtype_list? Thanks, Andreas --
Aug 6, 6:51 am 2008
Lee Schermerhorn
Re: Race condition between putback_lru_page and mem_cgro ...
Hi, Balbir: Sorry for the delay in responding. Distracted... I think that perhaps the zone's LRU lock is unnecessary because I didn't see anything in mem_cgroup_move_lists() or it's callees that needed protection by the zone lru_lock. Looking at the call sites in the reclaim paths [in shrink_[in]active_page()] and activate_page(), they are holding the zone lru_lock because they are manipulating the lru lists and/or zone statistics. The places where pages are moved to a new lru list ...
Aug 6, 9:53 am 2008
Peter Zijlstra
Re: [RFC][PATCH 4/7] lockdep: shrink held_lock structure
A build fix, probably run-away search-'n-replace damage.. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- Index: linux-2.6/kernel/lockdep.c =================================================================== --- linux-2.6.orig/kernel/lockdep.c +++ linux-2.6/kernel/lockdep.c @@ -2821,7 +2821,7 @@ static int lock_release_nested(struct ta #ifdef CONFIG_DEBUG_LOCKDEP hlock->prev_chain_key = 0; - hlock_class(hlock) = NULL; + hlock->class_idx = 0; hlock->acquire_ip = 0; ...
Aug 6, 12:17 am 2008
kamezawa.hiroyu
Re: Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory ...
Hmm, I think page_cgroup's cost is visible when 1. a page is changed to be in-use state. (fault or radixt-tree-insert) 2. a page is changed to be out-of-use state (fault or radixt-tree-removal) 3. memcg hit its limit or global LRU reclaim runs. "1" and "2" can be catched as 5% loss of exec throuput. "3" is not measured (because LRU walk itself is heavy.) What new chances to access page_cgroup you'll add ? Overhead between page <-> page_cgroup lock is cannot be catched by lock_stat now.Do ...
Aug 6, 6:45 am 2008
Dave Hansen
Re: RFC: I/O bandwidth controller
I'm confused. Are these two of the competing controllers? Or are the complementary in some way? -- Dave --
Aug 6, 8:48 am 2008
KAMEZAWA Hiroyuki
Re: Too many I/O controller patches
On Tue, 05 Aug 2008 09:20:18 -0700 memcg have more problems now ;( Only a difficult thing to limit dirty-ratio in memcg is how-to-count dirty pages. If I/O controller's hook helps, it's good. My small concern is "What happens if we throttole I/O bandwidth too small under some memcg." In such cgroup, we may see more OOMs because I/O will not finish in time. A system admin have to find some way to avoid this. But please do I/O control first. Dirty-page control is related but ...
Aug 5, 7:44 pm 2008
Hirokazu Takahashi
Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subs ...
I don't think it will cause significant performance loss, because the link between a page and a page_cgroup has already existed, which the memory resource controller prepared. Bio_cgroup uses this as it is, and does nothing about this. And the link between page_cgroup and bio_cgroup isn't protected by any additional spin-locks, since the associated bio_cgroup is guaranteed to exist as long as the bio_cgroup owns pages. I've just noticed that most of overhead comes from the spin-locks when ...
Aug 6, 4:43 am 2008
Fernando Luis
Re: RFC: I/O bandwidth controller
Having more users of bio-cgroup would probably help to get it merged, so we'll certainly send patches as soon as we get our cfq prototype in shape. Regards, Fernando --
Aug 5, 11:41 pm 2008
Fernando Luis
RFC: I/O bandwidth controller (was Re: Too many I/O cont ...
Hi Dave, I have been tracking the memory controller patches for a while which spurred my interest in cgroups and prompted me to start working on I/O bandwidth controlling mechanisms. This year I have had several opportunities to discuss the design challenges of i/o controllers with the NEC and VALinux Japan teams (CCed), most recently last month during the Linux Foundation Japan Linux Symposium, where we took advantage of Andrew Morton's visit to Japan to do some brainstorming on this topic. ...
Aug 5, 6:13 pm 2008
Dave Hansen
Re: RFC: I/O bandwidth controller (was Re: Too many I/O ...
I'd just suggest doing what is simplest and can be done in the smallest amount of code. As long as it is functional in some way and can be I think what Fernando is suggesting is that we *allow* each disk to be treated separately, not that we actually separate them out. I agree that with large disk count systems, it would get a bit nutty to deal with I/O limits on each of them. It would also probably be nutty for some dude with two disks in his system to have to set (or care ...
Aug 6, 11:00 am 2008
Balbir Singh
Re: RFC: I/O bandwidth controller (was Re: Too many I/O ...
Would you like to split up IO into read and write IO. We know that read can be very latency sensitive when compared to writes. Should we consider them Won't that get too complex. What if the user has thousands of disks with several Are you suggesting that the IO and memory controller should always be bound Yes, I agree with this step as being the first step. May be extending the Very nice summary -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
Aug 6, 9:42 am 2008
Hirokazu Takahashi
Re: Too many I/O controller patches
I/O controllers are just supposed to emulate slow device from the point of view of the processes in a certain cgroup or something. I think the memory management layer and the memory controller are the ones which should be able to handle these, which might be as slow as Yup. Thanks, Hirokazu Takahashi. --
Aug 5, 11:48 pm 2008
Ryo Tsuruta
Re: RFC: I/O bandwidth controller
I'd like to add the following item to the goals. 7. Selectable from multiple bandwidth control policy (proportion, I agree with your plan. We keep bio-cgroup improving and porting to the latest kernel. Thanks, Ryo Tsuruta --
Aug 5, 11:18 pm 2008
Naveen Gupta
Re: RFC: I/O bandwidth controller (was Re: Too many I/O ...
Fernando Nice summary. My comments are inline. -Naveen I/O limiting can be a special case of proportional bandwidth scheduling. A process/process group can use use it's share of bandwidth and if there is spare bandwidth it be allowed to use it. And if we want to absolutely restrict it we add another flag which specifies that the specified proportion is exact and has an upper bound. Let's say the ideal b/w for a device is 100MB/s And process 1 is assigned b/w of 20%. When we say ...
Aug 6, 12:37 pm 2008
Balbir Singh
Re: Too many I/O controller patches
Yes, please solve the I/O control problem first. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
Aug 5, 8:30 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subs ...
On Mon, 04 Aug 2008 17:57:48 +0900 (JST) Plese CC me or Balbir or Pavel (See Maintainer list) when you try this ;) After this patch, the total structure is page <-> page_cgroup <-> bio_cgroup. (multiple bio_cgroup can be attached to page_cgroup) Does this pointer chain will add - significant performance regression or - new race condtions ? I like more loose relationship between them. For example, adding a simple function. == int get_page_io_id(struct page *) - returns a ...
Aug 6, 12:54 am 2008
Benjamin Herrenschmidt
Re: nfsd, v4: oops in find_acceptable_alias, ppc32 Linux ...
Ok, so I can reproduce on a few 32 bits configs with ftrace enabled. Looks like some non volatile GPRs get corrupted. I don't know yet if ftrace is the culprit though, I couldn't find anything obviously wrong with the mcount implementation we have. It looks like the corrupted GPR has been saved/restored on the stack and that the corruption is due to the stack itself being written to. It's not clear by whome though and in what circumstances. We'll have to dig more. Cheers, Ben. --
Aug 5, 11:29 pm 2008
Frank Ch. Eigler
Re: [Patch 0/2] Renaming 'trace' to 'relay' and enhancem ...
Perhaps ftrace ought to use this facility for its debugfs-facing bulk data interface rather than an internal one that cannot be used by anyone else. Perhaps lttng could use it. Systemtap could. I believe a grand unification at this level was the idea. - FChE --
Aug 6, 8:08 am 2008
Zhao Yakui
Re: 2.6.27-rc1 "BUG: unable to handle kernel NULL pointe ...
please attach the output of acpidump using the latest pmtools at http://www.lesswatts.org/patches/linux_acpi/ Of course you can open a new bug in bugzilla and attach the output of dmesg, acpidump, lspci -vxxx. http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI --
Aug 5, 10:43 pm 2008
jmerkey
Re: [PATCH 2.6.26 4/25] mdb: Merkey's Kernel Debugger
Gets rid of noisy compiler warnings under M$ Windows compilers -- not needed in linux -- can be removed. Jeff --
Aug 6, 6:33 am 2008
Stefan Richter
Re: [PATCH 2.6.26 4/25] mdb: Merkey's Kernel Debugger
Hmm, this construct of empty conditional blocks is new to me. What is its purpose? -- Stefan Richter -=====-==--- =--- --==- http://arcgraph.de/sr/ --
Aug 6, 1:09 am 2008
jmerkey
Re: [PATCH 2.6.26 2/25] mdb: Merkey's Kernel Debugger
I can get that done. debuggers as modules makes more sense anyway. Jeff --
Aug 5, 6:45 pm 2008
jmerkey
Re: [PATCH 2.6.26 2/25] mdb: Merkey's Kernel Debugger
I'll post some patches with these changes and submit it as a module. I will of course need to patch the kernel to introduce the die notifiers where they are not and there's the issue of cross call NMI to stop other processors on SMP. That's the real issues, Andi, is the xcall stuff for IPC to control all the processors. --
Aug 5, 6:24 pm 2008
Andi Kleen
Re: [PATCH 2.6.26 2/25] mdb: Merkey's Kernel Debugger
This should be all using die notifiers (register_die etc.) like the other kernel debuggers, not own hooks. As you can see there is already a notify_die call around basically all the places you put in a mdb() call, and you can just hook in there. If your other interfaces to the core kernel are clean enough this would even allow to use your debugger as a module. -Andi --
Aug 5, 6:35 pm 2008
Andi Kleen
Re: [PATCH 2.6.26 2/25] mdb: Merkey's Kernel Debugger
NMIs have die notifiers too. That said a cleaner way would be to generalize the synchronization code already in kdump and reuse that. -Andi --
Aug 5, 7:01 pm 2008
Andy Whitcroft
Re: [PATCH 2.6.26 1/25] mdb: Merkey's Kernel Debugger
I note that all of these 25 patches have the same title, either they are one change and would be in one patch, or more likely they are all changing different bits of the kernel and as such could do with meaningful titles. For a start without that they could not be tested in -mm as they will not load into Andrews patch tools. Second reviewers for the specific sub-systems or architectures touched may only look over the patches that are relevant to them. Without any clue in the title Now its ...
Aug 6, 3:21 am 2008
Frans Pop
Re: [regression?] usb: new errors during device detection
Eh, that info is already trivially available from my original mail: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 [...] input: USB Compliant Keyboard as /class/input/input0 input: USB HID v1.10 Keyboard [USB Compliant Keyboard] on usb-0000:00:1d.2-1 input: USB Compliant Keyboard as /class/input/input1 Yes, obviously the keyboard is attached during boot (and has been connected No idea. I could try this I guess if it will really provide useful info. Will include ...
Aug 6, 1:29 pm 2008
Alan Stern
Re: [regression?] usb: new errors during device detection
Here's how it works. An EHCI controller contains a bank of switches, one for each port. By default, the switches are set so that each port connects to the companion UHCI (or OHCI) controller; that way you get USB-1.1 functionality even if ehci-hcd isn't loaded. But when the driver loads, it resets the switches so that the ports connect to the EHCI controller. There is no way for the driver to tell which ports have devices attached and which don't, so it has to reset all the switches. ...
Aug 6, 3:27 pm 2008
Frans Pop
Re: [regression?] usb: new errors during device detection
Hi Alan, Meaningless, but annoying. Especially as such "errors" get through to the console when you boot with the 'quiet' boot parameter and thus draw more Thanks for the explanation. Attached boot messages (for -rc2) with usb debug enabled as suggested by Felipe Balbi. Messages have been extracted from kern.log (dmesg had already overflowed). If I filter out messages related to bus 3 (PCI 1d.2) what I see is: [...] ! usb 3-1: new low speed USB device using uhci_hcd and address 2 [ ...
Aug 6, 2:10 pm 2008
Felipe Balbi
Re: [regression?] usb: new errors during device detection
I think Alan's reply is already good enough. It's basically port handover. -- balbi --
Aug 6, 1:54 pm 2008
Jason Wessel
Re: [ANNOUNCE] Merkey's Kernel Debugger
It depends how you look at the problem. I would agree that the use of gdb + kgdb vs an assembly debugger are completely different cases. The kgdb core in the mainline kernel, can actually allow to write such a front end however. The kgdb core has an API for I/O and it is possible to write an I/O module that implements an in kernel assembly debugger. The kgdb test suite is not a great example, but it is a complete example of using the kgdb core directly without a second machine. If there ...
Aug 6, 10:21 am 2008
Stefan Richter
Re: [ANNOUNCE] Merkey's Kernel Debugger
To be fair, choice in "leaf" features like a debugger is not entirely comparable to choice in central features. If the infrastructure does not support all use cases reasonably well, its better to fix the infrastructure or replace it by a working one, rather than adding a second infrastructure which is also not general enough. In this case: Make a side-by-side comparison of features and shortcomings of the available debuggers (as in Andi's response), then decide how the best of both ...
Aug 6, 6:37 am 2008
Nick Piggin
Re: [ANNOUNCE] Merkey's Kernel Debugger
No. First try to integrate them together so you have the best of both from one code base is what I was saying. I specifically said if they are significantly different and can't be reconciled then it could be merged. --
Aug 6, 7:16 am 2008
Andi Kleen
Re: [ANNOUNCE] Merkey's Kernel Debugger
I don't think kgdb and a simple assembler debugger are directly comparable. kgdb always requires a remote machine, which has many advantages, but is also often very inconvenient or impossible to arrange. An low overhead assembler debugger can be always compiled in just in case. Also at least for the x86 port the debugger interfaces should be general enough now (see die hooks as a "debug vfs") that it would be quite possible to have a multitude of debuggers just using them. In fact that's ...
Aug 5, 8:08 pm 2008
Rene Herman
Re: [ANNOUNCE] Merkey's Kernel Debugger
Nick, please note there is/was some mis-communication between the two of you with respect to kgdb, the currently merged GNU debugger interface, and kdb, the SGI kernel debugger. Merkey responded to you as if you asked about differences with KDB while what you did was ask about differences with KGDB. Both KDB and MDB are significantly different from KGDB at least in sofar that the latter is a remote debugger; it requires two machines. KDB and MDB are local. This makes KDB and MDB more ...
Aug 6, 12:47 pm 2008
jmerkey
Re: [ANNOUNCE] Merkey's Kernel Debugger
I have removed the hooks into the /arch/x86 sections and converted the debugger to use kprobes and notify_die as Andi suggested. It also builds and loads as a module. One serious point has to do with NMI handling on SMP since the notify_die handlers use this priorty calling mechanism. I am still testing on SMP but it seems to work -- I just am a little uncomfortable with trusting an interface (notify_die) that can let someone come in and hook the NMI handlers when I MUST BE ABLE TO NMI AND ...
Aug 6, 6:45 am 2008
Olivier Galibert
Re: [ANNOUNCE] Merkey's Kernel Debugger
It's a little too early for that. Right now it's at the phase "how to make it better integrate with the kernel", with the use of existing hooks, adding the needed hooks to be more complete, working as a module, etc. When that is done then the philosophical aspects can come into play, but it's not there yet. OG. --
Aug 6, 6:54 am 2008
Nick Piggin
Re: [ANNOUNCE] Merkey's Kernel Debugger
OK thanks for the info. I don't actually know debugger code as I said, so I wasn't against merging mdb if it offers things that kgdb fundamentally cannot. If so, then ensuring clean interfaces indeed would seem like a good first step to getting it merged. --
Aug 5, 10:50 pm 2008
Bill Davidsen
Re: [ANNOUNCE] Merkey's Kernel Debugger
That idea sounds familiar, the "suspend2" response, when something new and significantly different is offered, instead of putting it in and letting people choose in configuration, take the position that what is there is good enough, and if the author of the new solution will just drop all their ideas and slap some band-aids on the existing code it will be "gooder enough" without actually offering people a choice of something different. I totally agree with this, the whole idea of a remote ...
Aug 6, 6:11 am 2008
Andi Kleen
Re: [ANNOUNCE] Merkey's Kernel Debugger
> It depends how you look at the problem. I would agree that the use of Yes I left the possibility of a "someone writing a in kernel kgdb UI" out. Indeed that would be a possibility. On the other hand I'm not sure it would save all that much code versus just directly working on top of die notifiers. It's not just a possibility, they are already used by multiple debugger like subsystems. e.g. kprobes is certainly a kind of debugger. -Andi --
Aug 6, 11:57 am 2008
Mikael Pettersson
Re: Opteron Rev E has a bug ... a locked instruction do ...
Mikael Pettersson writes: > On Mon, 4 Aug 2008 15:56:05 +0200, Arkadiusz Miskiewicz wrote: > >On Monday 04 August 2008, Mikael Pettersson wrote: > >> Arkadiusz Miskiewicz writes: > >> > Hello, > >> > > >> > http://google-perftools.googlecode.com/svn-history/r48/trunk/src/base/= > >at > >> >omicops-internals-x86.cc says > >> > > >> > " // Opteron Rev E has a bug in which on very rare occasions a locked > >> > // instruction doesn't act as a read-acquire barrier if followed ...
Aug 6, 6:09 am 2008
Alan Cox
[PATCH] serial: Remove NR_IRQS usage
Works on my test box with a quick test. 8250: Remove NR_IRQ usage From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/serial/68328serial.c | 11 +----- drivers/serial/8250.c | 73 +++++++++++++++++++++++++++++++++--------- 2 files changed, 60 insertions(+), 24 deletions(-) diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c index 381b12a..277b78d 100644 --- a/drivers/serial/68328serial.c +++ ...
Aug 6, 6:09 am 2008
Eric W. Biederman
Re: [PATCH] serial: Remove NR_IRQS usage
This looks good. Could you move the unlock down to the end of serial_link_irq_chain? Eric --
Aug 6, 9:10 am 2008
Alan Jenkins
Re: 2.6.27-rc1-git4: Reported regressions from 2.6.26
Cool. Will do so in future. Sorry to be a pest, but can you explain why this address is better than <kernel-testers@vger.kernel.org>? It's easier for me to use the latter since I Thanks, having this list helps build my confidence when testing if anything more is broken in rc2 :-). Alan --
Aug 6, 2:38 am 2008
Rafael J. Wysocki Aug 6, 5:38 am 2008
Henrique de Moraes H ...
Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth ...
Then it is probably not turning the device on, but rather, reverting its state. This is normal with hardware like the ipw2200 that has a hardware Actually, all the users have to do right now is to have rfkill-input loaded. It *already* kicks all devices online when you release the master rfkill Some network drivers want to do it themselves, so now it will be the job of every driver to know whether it should do something or not. To test your platform to know if you will need to do ...
Aug 6, 5:26 am 2008
Philip Langdale
Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth ...
It's all done behind the scenes I think (it's an ipw2200 device). There's Ok, that makes things much easier for me :-) But it means that for now the Why is this necessary? Doesn't the radio power down as part of the suspend process? How would I tell what the hardware is doing? I'll update the diff when I can. --phil --
Aug 5, 8:33 pm 2008
Henrique de Moraes H ...
Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth ...
Oh, and if you don't have a way to test, you can just call your own private switch_my_radios_off() function in your driver's suspend() handler. You don't even have to turn them back on on resume(), as rfkill will always do that for you. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Aug 6, 5:45 am 2008
Karsten Keil
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti
For cards based on the HFC mulit chips we need runtime detection, since not all card support both access methods and this is the only way how distributions can support all cards. For the xhfc this may be a differnt choice, to select the access method on compile time, because the chip is mainly used for embedded systems, so it do not need to have a generic driver, the kerne is usually configured exactly for the hardware. On the other side, if you look into the xhfc chip and documentation, it ...
Aug 5, 5:18 pm 2008
Benjamin Herrenschmidt
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti
That's probably the best way. On powerpc, we have done a lot of work to make it possible to have kernels support multiple platforms even in the embedded space. You don't have to do it, but we found it important to allow for it. It forces to keep the code cleaner, but also makes it possible for somebody release a range of products based on different designs to support/release single binary images for the entire product range (at least provided it's the same CPU core "family", we don't ...
Aug 5, 5:33 pm 2008
KAMEZAWA Hiroyuki
Re: [Libcg-devel] Control groups and Resource Management ...
On Tue, 5 Aug 2008 09:30:07 -0400 We can go ahead step by step. I think PAM support is the first step. The daemon is the second. 1. PAM 2. A daemon for task placement (via netlink ?) I think developping "a daemon for task placement" is important. but cannot be perfect solution for any situations. The third step is 3. Modify applications (in newer version of them.) "should work without any apache modifications" is (maybe) necessary. But for perfect control, it's not enough. We ...
Aug 5, 6:05 pm 2008
Vivek Goyal
Re: [Libcg-devel] Control groups and Resource Management ...
On Wed, Aug 06, 2008 at 10:05:00AM +0900, KAMEZAWA Hiroyuki wrote: Phase wise approach makes sense. I already have working patches for following things. 1. PAM module for placement of tasks 2. Modification of init scripts and a tool "cgclassify" so that at boot up time "init" and other system services are moved to "admin"'s group. 3. libcgroup API so that application can use these to place forked children in right cgroup before doing exec. 4. A command line tool "execcg" which helps ...
Aug 6, 6:00 am 2008
Andi Kleen
Re: [PATCH 0 of 8] x86/smp function calls: convert x86 t ...
Do you have any measurements comparing performance of the old and the new call? TLB flush is quite time critical so we should be very careful here. -Andi --
Aug 5, 8:22 pm 2008
Andi Kleen
Re: [PATCH 0 of 8] x86/smp function calls: convert x86 t ...
Micro benchmark. Just stick RDTSC around the calls and trigger a few remote flushes by e.g. doing mmap/munmap on a multithreaded program running on different CPUs. -Andi --
Aug 5, 8:37 pm 2008
Jeremy Fitzhardinge Aug 5, 8:33 pm 2008
Paul Menage
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
I'd vote in favour of Max's suggestion of just rebuild_sched_domains(), to localize the changes better. Paul --
Aug 6, 1:30 pm 2008
Paul Jackson
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
"overkill" -- by what metric? If something is overkill, it means something is excessive. Excess (and deficiency) occur along some scale, some metric. If not by CPU cycles, then by what metric is it overkill? -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
Aug 5, 8:29 pm 2008
Max Krasnyansky
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Sure. That looks fine. Although inline_ will probably be a bit confusing since one may think that it has something to do with the C 'inline'. I'd suggest either sync_rebuild_sched_domains() or simply rebuild_sched_domains(). The later has the advantage that the patch will not have to touch the scheduler code. Let me know your preference and I'll respin the patch. Max --
Aug 6, 1:20 pm 2008
Paul Jackson
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
I was referring to an earlier discussion, which resulted in a patch which includes the line: But you seemed to be saying that the reason it was not best to do so was because it was best not to change more than necessary. Perhaps I still don't understand your metric. Apparently Well, your metric seems clear enough there - minimize effort of code conversion and testing. How about this ... two routines quite identical and parallel, even in their names, except that one is async and ...
Aug 5, 10:46 pm 2008
Paul Jackson
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
I'm outvoted, two to one. Go for it, Max. Thank, Paul M. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
Aug 6, 1:56 pm 2008
Max Krasnyansky
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Thank you. I'll go ahead and respin the patch. Max --
Aug 6, 1:36 pm 2008
Paul Jackson
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
I also don't care that much how much code is changed; if it must be changed, then change it to what is best, which may not necessarily be the minimum change. If an asynchronous sched domain rebuild is needed in some places, then consider just using it everywhere, rather than providing two code paths to rebuild, one sync and one async. Ask not how we got here; ask where we should be. In particular, and in this specific case, having the dual code paths really did make it a little more ...
Aug 5, 9:28 pm 2008
Max Krasnyansky
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Sure. What I'm saying is that I do not think it's the best I still do not see a good reason why. IMO exceptions are acceptable. Only domain rebuilds triggered by cpuset fs writes need to be async. I do not see a good technical reason why the rest needs to be converted I'm not sure what you're referring to. There was no back an forth. You suggested reverting the rename and I pointed out that it was not a rename, I simply factored out the part that generates the To be fair the fact that you had ...
Aug 5, 10:03 pm 2008
Max Krasnyansky
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Actually I was not really trying to minimize cpu cycles or anything. But it does seem like an overkill to schedule a workqueue just because we do not want to expose the fact that rebuild_sched_domains() depends get_online_cpus(). More importantly though if you think about it I'm actually not introducing any new alternative paths (besides async_rebuild_sched_domains() itself). Code paths in question have been synchronous since day one, and have been tested that way. Now you're saying lets make ...
Aug 5, 8:24 pm 2008
Paul Jackson
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Good point about "inline" confusions. I am willing to agree to "sync_rebuild_sched_domains()". -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
Aug 6, 1:29 pm 2008
Max Krasnyansky
Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
Paul, I think you're focusing on the wrong part of my reply ;-). You are, of course, correct about the overkill metric. I was saying that saving cycles in that path was not my goal when I wrote the patch. I just added necessary functions to make existing paths work they way they currently do and only changed one path because it had to change due to lock nesting issues. Along the way simply pointed it out that scheduling work unnecessarily does seem less efficient. That was not the important ...
Aug 5, 8:53 pm 2008
Lai Jiangshan
Re: [RFC][PATCH 2/2] rcu classic: new algorithm for call ...
Paul E. McKenney wrote: Sorry about this. percpu_ptr is used for dynamic allocation percpu pointer. It seems that we cannot get a pointer from a static declare percpu data It's not necessary. Actually I like one tail per list which is good for readability. But in my patch, the most work is combining lists, not moving a list to next list, so i use multi-tailed simplify this works and others(etc: "if (rdp->nxtlist)" will be changed to be a more complex and less readability statement if i ...
Aug 6, 12:08 am 2008
Linas Vepstas
Re: amd64 sata_nv (massive) memory corruption
My objection to fs-layer checksums (e.g. in some user-space file system) is that it doesn't leverage the extra info that RAID has. If a block is bad, RAID can probably fetch another one that is good. You can't do this at the file-system level. I assume I can layer device-mappers anywhere, right? Layering one *underneath* md-raid would allow it to reject/discard bad blocks, and then let the raid layer try to find a good block somewhere else. I assume that a device mapper can alter the ...
Aug 6, 2:33 pm 2008
Stephane Marchesin
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
Right, but the current code will basically force the discrete card drivers to implement backing store for all allocations. Do we want this ? Also, for cards that can handle page-based memory allocations, there is no way to make use of this feature, do we want this too ? Stephane --
Aug 6, 10:32 am 2008
Stephane Marchesin
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
Well, this "abstract hardware" is in stores, it's called G80 and R600. If intel can't do something on its hardware shouldn't prevent others from using it. And I seriously doubt even the current interfaces would be fit for this. Stephane --
Aug 6, 11:09 am 2008
Arjan van de Ven
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
On Wed, 6 Aug 2008 18:20:40 +0200 the ATI driver guys already have the interface working. In addition.. since when is "oh you must also make it work for THAT" a requirement? Traditionally, it's up to the second person to make generic code work for them (within reason of course, but I'll argue that the bar of reasonableness has been met here) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit ...
Aug 6, 10:24 am 2008
Eric Anholt
Re: [PATCH] drm: Add GEM ("graphics execution manager") ...
"The 2D driver" means xf86-video-intel xorg driver in userland. The codebase this is coming from uses doxygen. I hadn't checked to see if all the doxygen was converted to kernel-doc. --=20 Eric Anholt eric@anholt.net eric.anholt@intel.com
Aug 5, 6:11 pm 2008
Keith Packard
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
Write a driver and we'll talk. Until then, I don't think your argument is well supported. If the result is that your driver requires a completely separate interface than the Intel driver, that's OK too -- we can talk about merging them together in some unified mechanism at that point. I'm trying to get from zero to one kernel driver for Intel graphics at this point; that seems a valuable goal in itself. I hope it leads to other people building kernel drivers for other graphics hardware. ...
Aug 6, 2:22 pm 2008
Keith Packard
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
Aside from not really forcing discrete card drivers to to anything (they're welcome to use or not use this stuff as they prefer), I believe discrete cards will need backing store to support paging objects to disk I don't see how any of the current code directs how future drivers might work; the user-level interface is reasonably abstract and should allow all kinds of internal organizations. Instead of complaining that the current code might not support some abstract hardware, please build ...
Aug 6, 10:56 am 2008
Stephane Marchesin
Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
Right, but it sounds adventurous to merge this work upstream before it is generic enough to work on discrete cards. Right now it only works on intel integrated cards ; integrated cards are one business, discrete are a completely different world and the issues afoot completely different. Should this go upstream, the kernel guys have to keep in mind and accept the possibility that another memory manager might be needed at some point. Stephane --
Aug 6, 9:20 am 2008
Jaswinder Singh
Re: [PATCH] firmware: avoiding multiple replication for ...
This is also not required as we are doing this in release_firmware(). So : diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index c886113..7b268d1 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -484,9 +484,6 @@ _request_firmware(const struct firmware **firmware_p, const char *name, retval = -ENOENT; release_firmware(fw_priv->fw); *firmware_p = NULL; - list_del(&tmp->list); - kfree(tmp->name); - kfree(tmp); } ...
Aug 6, 3:16 am 2008
Jaswinder Singh
Re: [PATCH] firmware: avoiding multiple replication for ...
Sorry, minor correction. diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 0ba8857..c886113 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -428,12 +428,12 @@ _request_firmware(const struct firmware **firmware_p, const char *name, if (!firmware) return -ENOMEM; - mutex_lock(&fw_lock); tmp = kzalloc(sizeof(struct firmware_list), GFP_KERNEL); if (!tmp) { retval = -ENOMEM; goto error_kfree_fw; ...
Aug 6, 2:46 am 2008
Jaswinder Singh
Re: [PATCH] firmware: avoiding multiple replication for ...
Hello Andrew, Thanks for your feedbacks. You can also check my other firmware patches from : http://git.infradead.org/users/jaswinder/firm-jsr-2.6.git Here is updated patch: Subject: [PATCH] firmware: avoiding multiple replication for same firmware file Now when request_firmware will be called it will check whether firmware is already allocated or not. If already allocated then it provide handle of old firmware and increase count of firmware. release_firmware will decrease count ...
Aug 6, 2:35 am 2008
Jean Delvare
Re: [GIT PATCH] hwmon updates against v2.6.26
Will do. Note that I'm really using quilt, not git, to push patches to linux-next. I only use git to push patches to Linus once in a while. -- Jean Delvare --
Aug 6, 2:41 am 2008
Andrew Morton
Re: [GIT PATCH] hwmon updates against v2.6.26
That would be great, thanks. But it does mean that I'd prefer that any hwmon patches which I pick up are merged via that tree if that's OK. Which all does end up making Sure. Having additional people reviewing, testing and generally caring for changes has practically zero downside. --
Aug 6, 8:53 am 2008
Jean Delvare
Re: [GIT PATCH] hwmon updates against v2.6.26
Hi Andrew, No, that's not OK, sorry. This goes beyond what I can offer at this point in time. I offered to push selected patches to Linus, with no other guarantee than the fact that said patches have been carefully reviewed and are believed to be correct. I do not have the time to do more than that. If this isn't OK with you, then I will have to withdraw my proposal. It's up to you. -- Jean Delvare --
Aug 6, 11:03 am 2008
Hans de Goede
Re: [lm-sensors] [GIT PATCH] hwmon updates against v2.6.26
I too don't want to see any patches get dropped, so I'll try to step up a little with regards to reviewing hwmon patches, I would be grateful if you could incorporate any patches Acked by me in said tree. Esp since my git-fu Don't get me wrong either, I will try to step up my reviewing but I am _not_ volunteering to become the new hwmon subsystem maintainer either. I'm just starting a new job and with that combined with that I'm doing a lot of v4l work +1 Regards, Hans --
Aug 6, 1:59 am 2008
Andrew Morton
Re: [GIT PATCH] hwmon updates against v2.6.26
On Wed, 6 Aug 2008 20:03:01 +0200 <rereads> Ah, I see, this tree is only things-which-Jean-wrote. No probs here. --
Aug 6, 1:43 pm 2008
Jean Delvare
Re: [GIT PATCH] hwmon updates against v2.6.26
Hi Mark, Andrew, I'm sad to see you go (and can only hope that you won't leave the project entirely). But I would also like to thank you for the good work you've done. Even if it was short, everything you did is done and that's something you can be proud of. Especially given the conditions I have a number of hwmon patches in my local kernel tree which I wrote and that have been reviewed by a trusted developer, or that have been posted to the lm-sensors list and that I have reviewed. I ...
Aug 6, 1:39 am 2008
Jean Delvare
Re: [GIT PATCH] hwmon updates against v2.6.26
The patches in question are here if anyone wants to take a look: http://khali.linux-fr.org/devel/linux-2.6/jdelvare-hwmon/ I'll make a git branch out of them by the end of the day, for Linus to pull from. -- Jean Delvare --
Aug 6, 4:15 am 2008
Jean Delvare
Re: [GIT PATCH] hwmon updates against v2.6.26
Things that I wrote or reviewed, yes. Put in short, things I am already involved in, so there is no extra cost for me to push them to Linus. -- Jean Delvare --
Aug 6, 2:09 pm 2008
gus3
Re: XFS noikeep remount in 2.6.27-rc1-next-20080730
How about a middle ground: ignore, but not silently? Report an error, or send it to the syslog, or both, but ultimately ignore unchangeable options, change what can be changed, and give the user/admin as much as possible. This can be particularly pertinent for XFS root. If it's mounted RO at first, it may (will?) need to become RW at some later point. Failing the remount could result in a system that requires a rescue CD (or lots of headaches for remote administration). --
Aug 5, 9:33 pm 2008
Dave Chinner
Re: XFS noikeep remount in 2.6.27-rc1-next-20080730
Sure. But that does not answer my question about what to do with options that can't be changed. Options can come from more than just /etc/fstab - they can come from the mount command line itself as entered by the admin. What do we do if an option is specified that we do not support in a remount? The problem is the way mount combines command line options with options in fstab. I'm not questioning what you did - I'm asking what the expected behaviour is supposed to be so we can make it ...
Aug 5, 5:53 pm 2008
Jasper Bryant-Greene
Re: XFS noikeep remount in 2.6.27-rc1-next-20080730
FWIW, your root filesystem does not need to be rw. I keep mine ro nearly all the time on my laptop, only mounting rw if I need to install software that puts files outside /usr or if I need to modify a config file in /etc. -jasper --
Aug 5, 9:36 pm 2008
Stephen Champion
Re: [Patch] Scale pidhash_shift/pidhash_size up based on ...
Although Robin probably had broader experience, I think we have both had opportunity to examine the workloads and configuration of a reasonable sample of the active (and historical) large (>=512c) shared memory systems. Some workloads and configurations are specialized, and perhaps less stressing that the mixed, volatile loads and array of services most of these systems are expected to handle, but the specialized loads have been the exceptions in my experience. That may change as the ...
Aug 5, 8:21 pm 2008
Thomas Petazzoni
Re: [patch 2/4] Configure out file locking features
Le Mon, 4 Aug 2008 14:16:41 -0400, You're right, that was stupid. Either should I add the Kconfig dependencies *OR* add the function stubs, not both. The following patch implements the second solution. I've checked that NFS, CIFS, GFS2, OCFS2, AFS and FUSE compile correctly. I've tested NFS only, though. Here is the new patch. Comments and suggestions welcome. Sincerly, Thomas --- Configure out file locking features This patch adds the CONFIG_FILE_LOCKING option which allows to ...
Aug 6, 6:12 am 2008
Peter Oberparleiter
Re: 2.6.27-rc1-mm1: unable to boot with gcov on x86_64
Your patch looks good. I don't think I will be able to refine those list of files to be excluded any better than you already did so this should go into -mm with the other gcov patches. For future reference, there are other object files which "stand out" in the respective Makefile, namely rtc.o, hpet.o and paravirt.o. Just like the two files that you identified as causing problems with gcov profiling, these are explicitly excluded from either FTRACE profiling or stack-protector checks or both. ...
Aug 6, 12:23 am 2008
Simon Horman
Re: [patch 5/6] kdump: add is_vmcore_usable() and vmcore ...
The usage of elfcorehdr_addr has changed recently such that being set to ELFCORE_ADDR_MAX is used by is_kdump_kernel() to indicate if the code is executing in a kernel executed as a crash kernel. However, arch/ia64/kernel/setup.c:reserve_elfcorehdr will rest elfcorehdr_addr to ELFCORE_ADDR_MAX on error, which means any subsequent calls to is_kdump_kernel() will return 0, even though they should return 1. Ok, at this point in time there are no subsequent calls, but I think its fair to say ...
Aug 5, 5:44 pm 2008
Jens Axboe
Re: [PATCH 6/6] cciss: fix bug if scsi tape support is d ...
Not sure what to do about that one, actually. It's relatively simple, but... I'll probaly send it out for review soonish on linux-mm and linux-kernel. -- Jens Axboe --
Aug 6, 3:32 am 2008
Jens Axboe
Re: [PATCH 6/6] cciss: fix bug if scsi tape support is d ...
Thanks, but just keep pulling linux-next and I'll try and get them uptodate more frequently :-) -- Jens Axboe --
Aug 6, 3:33 am 2008
Stephen Rothwell
Re: [PATCH 6/6] cciss: fix bug if scsi tape support is d ...
On Tue, 5 Aug 2008 15:30:12 -0700 Andrew Morton <akpm@linux-foundation.org>= Well linux-next gets its block tree from git://git.kernel.dk/linux-2.6-block.git#for-next (which appears to be The for-linus branch seems to have a few commits, though ... Jens, would you like that in linux-next as block-current (merged early - Yeah, that looks way to scary for linux-next :-) --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Aug 5, 8:08 pm 2008
Stephen Rothwell Aug 6, 4:43 pm 2008
Greg KH
Re: [patch 3/3] kmsg: convert xpram messages to kmsg api.
Why can't the message reporting change? What's the reluctance for change here for something that did happen to move to a different file? It shouldn't matter _at all_ as you are only looking at the tags/messages for a specific kernel version to ensure they match up. Any future kernel version might have different ones. It's not like once you write a message/tag it will stay that way fixed for all time, that's just not going to fly with the way the Linux kernel The message tag should not ...
Aug 6, 1:11 pm 2008
Martin Schwidefsky
Re: [patch 3/3] kmsg: convert xpram messages to kmsg api.
The kmsg check is invoked with "make D=1" and reads the source files for all objects that are built by the current configuration and searches for matching kmsg descriptions for the kmsg messages in the source which have a messages id > 0. If a message description can not be found the The kmsg catalog script if called with "make D=1" will check all the messages in the current build. When a message is introduced you have to pick a free number. The checking is done automatically and errors ...
Aug 6, 1:46 am 2008
Martin Schwidefsky
Re: [patch 1/3] kmsg: Kernel message catalog macros.
The missing field is the message tag. Which is the key for the message lookup. As far as the kmsg catalog is concerned this is a pretty To "fix" dev_printk would mean to add the message tag. Which requires to change all callers. The better approach is to add a new printk wrapper and decide for each subsystem if it shouuld be converted. I'm not advocating to change everything. The kmsg macros is a way to document the message from a piece of code if you choose to use these macros. What could ...
Aug 6, 1:35 am 2008
Greg KH
Re: [patch 1/3] kmsg: Kernel message catalog macros.
No, I mean use dev_printk() as the base for your logging macro. Add your message tag as the first field after the dev_printk() information. thanks, greg k-h --
Aug 6, 1:07 pm 2008
Dave Young
Re: [BUG] wireless : cpu stuck for 61s
Additional info, With the mutex fix patch, in 2.6.27-rc1 I seems can not reproduce the debugfs_add bug, (maybe need more test) But with 2.6.26, the bug can be reproduced. (The mutex fix patch need -- Regards dave --
Aug 5, 6:53 pm 2008
Dave Young
Re: [BUG] wireless : cpu stuck for 61s
Yes,. I think so. It's the original bug for me, while testing I found the mutex deadlock problem. But this week I will have no time to trace it. so if I have time I -- Regards dave --
Aug 5, 6:51 pm 2008
Peter Chubb
Re: Fixing rt2500pci
>>>>> "Ivo" == Ivo van Doorn <ivdoorn@gmail.com> writes: Ivo> Are you running rt2500pci in managed or adhoc mode? And when Ivo> does this bug trigger, when authenticating, associating, Ivo> deauthentication or random? Managed mode; the bug happens randomly. Ivo> Also could you post some of the rt2500/mac80211 debug messages Ivo> from the log from before the actual bug? There isn't very much. Here's another trace plus all messages from the rt2500 or MAC or PHY. I can turn on more ...
Aug 5, 6:10 pm 2008
Sam Ravnborg
Re: kbuild now support arch/$ARCH/include - time for ARC ...
This is a kbuild bug. The top-level Makefile creates the include2/asm symlink only if the file$(srctree)/include/asm-$ARCH/errno.h is present. And you moved errno.h when you committed your changes so symlink is not created anymore thus it fails. But this is oly with "make O=..." builds which I think kautobuild does not use (since it did not trigger the bug). I cannot recall the exact reason why I did this check before creating the symlink so I will simply create it always. Sam --
Aug 6, 12:27 pm 2008
Sam Ravnborg
Re: kbuild now support arch/$ARCH/include - time for ARC ...
Our mails crossed. I will fix kbuild asap so you do not need to revert. Sam --
Aug 6, 12:28 pm 2008
Russell King
Re: kbuild now support arch/$ARCH/include - time for ARC ...
And the expression "oh bugger" comes to mind. The breakage in linux-next is because of 2e57d051160dd61776461637f767df19036b1186 and ea35455e0dc17d732436a5b98bd511cab64eb10e. During the last fortnight, I'd moved the "easy to move" ARM headers from include/asm-arm to arch/arm/include/asm. This means that, unknown to me, the symlink was no longer being created. That didn't get picked up in my testing, because I always build using O= builds into already existing object trees, which of course ...
Aug 6, 12:21 pm 2008
Russell King
Re: kbuild now support arch/$ARCH/include - time for ARC ...
Have crossed again, sorry. If you can get a fix for the asm/errno.h thing to Linus ASAP, that'd be great. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: --
Aug 6, 12:51 pm 2008
Mel Gorman
Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks
I'm not keen on the idea of introducing another specialised path just for stacks. Testing coverage is tricky enough as it is and problems still slip through occasionally. Maybe going through hugetlbfs is less than ideal, So far, it is working out as a decent model. It is able to track reservations and deal with the differences between SHARED and PRIVATE without massive difficulties. While we could add another specialised path to directly insert the pages into pagetables for private mappings, ...
Aug 6, 2:02 am 2008
Dave Hansen
Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks
I'm jumping around here a bit, but I'm trying to get to the core of what my problem with these patches is. I'll see if I can close the loop here. The main thing this set of patches does that I care about is take an anonymous VMA and replace it with a hugetlb VMA. It does this on a special cue, but does it nonetheless. This patch has crossed a line in that it is really the first *replacement* of a normal VMA with a hugetlb VMA instead of the creation of the VMAs at the user's request. ...
Aug 6, 12:50 pm 2008
Andi Kleen
Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks
The catch with 2MB pages on x86 is that x86 CPUs generally have much less 2MB TLB entries than 4K entries. So if you're unlucky and access a lot of mappings you might actually thrash more with them. That is why they are not necessarily an universal win. -Andi --
Aug 6, 11:49 am 2008
Matthew Wilcox
Re: [PATCH 3/3] PCI: Add pci_read_base() API
It's not an offending device -- devices are allowed to put whatever they want anywhere outside the first 0x40 bytes of config space. Eric Anholt's patches add a user for this interface. If you want to see an example, download the Intel 3 Series Express Chipset Family Datashee (the filename is 316966.pdf) and see section 5.1.13 about the MCHBAR. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us ...
Aug 6, 7:38 am 2008
FUJITA Tomonori
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
On Wed, 06 Aug 2008 08:29:49 -0400 You can't kmalloc pci_dev or setup some trivial values. You need to use a proper value. The pci code does for us. Yes, see iommu_area_alloc(). --
Aug 6, 6:35 am 2008
Prarit Bhargava
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
Ixnay that last comment -- I geddit (duh.). The implication of "size-1" is that size is always a power of two. Jesse -- I'll have to post a follow-up patch to fix this. P. --
Aug 6, 6:23 am 2008
Prarit Bhargava
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
Oops -- I meant struct device, not struct pci_dev. Anwyay, Jesse -- is this true? I can no longer do something like: static struct device junk_dev = { .bus_id = "junk device", .coherent_dma_mask = 0xffffffff, .dma_mask = &junk_dev.coherent_dma_mask, }; And then use that as the device target for dma_alloc_coherent? AFAIK, that has always worked for me. Anyhoo -- it is possible that dma_get_seg_boundary returns 0xffffffff. Then they don't handle the ...
Aug 6, 7:32 am 2008
Prarit Bhargava
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
You can write a very simple module that kmalloc's a pci_dev, sets up some trivial values for the dev, and then calls pci_alloc_consistent. You will panic 100% of the time because 'dma_get_seg_boundary(dev) + 1' Maybe I'm missing something -- what implies size has to be a power of two? P. --
Aug 6, 5:29 am 2008
Arjan van de Ven
Re: [PATCH RFC] USB: Add HCD fastboot
On Wed, 6 Aug 2008 15:49:27 -0400 (EDT) because I'm done booting to full UI in that time. it's forever. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 6, 12:56 pm 2008
Greg KH
Re: [PATCH RFC] USB: Add HCD fastboot
And what is your boot time if the usb drivers are modules? I'd much prefer that requirement to get a faster boot than to go around mucking with the link-time ordering... thanks, greg k-h --
Aug 6, 12:29 pm 2008
Simon Arlott
Re: [PATCH RFC] USB: Add HCD fastboot
Right - so then all that's needed is to move usb/ before most other things that take a while to init, and it has some time to initialise usb devices in the I'm not an expert on what can be done with the Makefile process, perhaps there's an easier way to move things around based on a config option. If host init is moved before device init for everyone, wouldn't there be too many side effects? I've not tried to use usb-storage as root but presumably that works. If that already uses a ...
Aug 6, 2:49 pm 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
This doesn't answer my question. Why does the fact that you're already in the UI after 5 seconds mean that 5 seconds is too long to delay the start of khubd? Besides, if your machine can boot to the UI in under 5 seconds then you have no need to worry about improving boot-up speed anyway. Alan Stern --
Aug 6, 1:09 pm 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
Whatever that involves... /dev never truly settles; it's always All the major distributions do, as far as I know. (I haven't actually Probably nothing. What do you do on your keyboard while waiting for What if usbhid is the one device driver that is compiled in? :-) Alan Stern --
Aug 6, 1:26 pm 2008
Simon Arlott
Re: [PATCH RFC] USB: Add HCD fastboot
Well, putting usb/ before net/ etc. requires that usb/host/ is the usb/stuff/ or Host init is before device init, as that's the Makefile link order. Any device init causes it to wait for *all* devices, so swapping them around means devices are going to appear at any time after that - there's no device initcall to make it block. Presumably it would be possible to have a late_initcall (which would be early in that list if usb was earlier) that could ensure khubd had finished [its current ...
Aug 6, 3:53 pm 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
Why is 5 seconds too long? Too long for what? What you're doing is already a race between hub_thread() and driver initcalls. My suggestion is no worse. "it'll still have to wait..." If by "it" you mean the initcall thread, you're wrong. If by "it" you mean the user, you still aren't necessarily correct; the user can do plenty of other things while waiting for USB devices to initialize. I suppose you could make the hub_thread delay time a module parameter for usbcore, defaulting to ...
Aug 6, 12:49 pm 2008
Simon Arlott
[PATCH RFC] USB: Add HCD fastboot
What about this? The Makefiles become a bit messy, but by moving things around I get the desired effect without splitting their initcalls. [ 7.941890] Write protecting the kernel read-only data: 5656k [ 5.437709] Write protecting the kernel read-only data: 5656k 2.5s faster, which is almost half the boot time. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> --- drivers/Makefile | 13 ++++++++++--- drivers/usb/Makefile | 30 ++++++++++++++++++++---------- ...
Aug 6, 11:40 am 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
Not exactly -- you should move most of usb/ forward so that it comes before usb/host/. Or alternatively move usb/host/ later so that it Doesn't the host init _already_ come before device init? If host init were moved _after_ device init, I don't think there would be a lot of I noticed in your logs earlier that some of your USB drivers were compiled in and others weren't. Maybe if _all_ of them were compiled in you wouldn't experience as much contention and the init delays would ...
Aug 6, 3:34 pm 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
Wouldn't it be much simpler, and less objectionable, to do what I suggested earlier? That is, add a 5-second delay at the start of hub_thread() in drivers/usb/core/hub.c. No messing with Makefiles, no changes to the initcall scheduling. Alan Stern --
Aug 6, 12:11 pm 2008
Arjan van de Ven
Re: [PATCH RFC] USB: Add HCD fastboot
On Wed, 6 Aug 2008 16:09:21 -0400 (EDT) because it means that while the rest of boot is done and the system idle, the mouse and keyboard aren't going to work. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 6, 1:17 pm 2008
Simon Arlott
Re: [PATCH RFC] USB: Add HCD fastboot
Aside from 5 seconds being too long, and anything less being a race between hub_thread() and driver initcalls, it doesn't improve anything because it'll still have to wait for the devices to finish initialising in userspace instead. -- Simon Arlott --
Aug 6, 12:20 pm 2008
Alan Stern
Re: [PATCH RFC] USB: Add HCD fastboot
Ah, okay. Then if the delay time were set up as a module parameter, you'd be one of the people who leaves the parameter set at its default value of 0. Alan Stern --
Aug 6, 1:27 pm 2008
Simon Arlott
Re: [PATCH RFC] USB: Add HCD fastboot
No, by adding a 5 second delay you're intending for the device driver initcalls to complete within that 5 seconds. If they take too long then the last one blocks everything (I realise that's ridiculous, these initcalls take <1ms when there are no devices yet). The best way to do is to make the driver initcalls Assuming userspace doesn't wait for all devices to settle and appear in /dev etc. It really needs to have hcd initcalls done very early so that device init has the rest of the ...
Aug 6, 1:07 pm 2008
Pavel Machek
Re: [PATCH] Intel Management Engine Interface
Cool, so this should hook into sensors subsystem, right? int is probably better here. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 6, 9:56 am 2008
Kyuma Ohta
Re: [ivtv-devel] [PATCH AVAIL.]ivtv:Crash 2.6.26 with KU ...
Dear Hans, Sorry for later picked up this article cause of my lazyness(^^; Thanx for check I2C bus on card you have...I've no physical probes (such as oscillo-scope or cheapi2c!!) now...thanx... I'll test attached patch until after morning (in JAPAN) firstly, and testing long-running if happend nothing above short test.. If problem will be occured,'ll report . Best regards, Ohta. E-Mail: whatisthis.sowhat@gmail.com (Public) Home Page: http://d.hatena.ne.jp/artane/ (Sorry,not ...
Aug 6, 6:18 am 2008
Borislav Petkov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
--- From: Borislav Petkov <petkovbb@gmail.com> Date: Sun, 3 Aug 2008 18:46:35 +0200 Subject: [PATCH] ide-generic: handle probing of legacy io-ports v4 Avoid probing the io-ports in case an IDE PCI controller is present and it uses the legacy iobases. If we still want to enforce the probing, we do ide_generic.probe_mask=0x3f on the kernel command line. The iobase checking code is adapted from drivers/ata/pata_legacy.c after converting hex pci ids into their corresponding macros in ...
Aug 5, 11:10 pm 2008
Boris Petkov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
I assume you're referring to the legacy ioports fixup in drivers/pci/probe.c:pci_setup_device(). Yes, there's no need to go all the way to BAR5 since those are guaranteed unused in compatibility mode, so actually the loop should go till 4. Bart, can you please change that when applying? -- Regards/Gruß, Boris --
Aug 6, 7:03 am 2008
Borislav Petkov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
So the comment in there saying that in some cases BAR0-3 could contain junk is a bogus? In other words, can we assume that one will always read 0x1f0 from BAR0 and 0x170 from BAR2 in compatibility mode. If so, the check is even simpler: if (pci_resource_start(p, 0) == 0x1f0) *primary = 1; if (pci_resource_start(p, 2) == 0x170) *secondary = 1; -- Regards/Gruss, Boris. --
Aug 6, 12:47 pm 2008
Sergei Shtylyov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
Don't know. The PCI IDE spec. said that those should be 0 in compatibility mode but I know that some controllers require the standard values of 0x1[f7]0 to be in BAR0/2 in compatibility mode. If my memory serves, NatSemi PC8741x Certainly not. We can only rely on the workaround putting 0x1[f7]0 in the Yes, I think that should be enough... WBR, Sergei --
Aug 6, 1:04 pm 2008
Sergei Shtylyov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
And to the fact that the value 0x1f0 should only be ever seen in BAR0 and 0x170 in BAR2 even if they would have been read off the chips (some chips have these values reading back even in legacy mode, and even could malfunction if other values are written there), not fixed up there, and certainly not in BAR1 or BAR3, so it's quite pointless to look in these BARs too. WBR, Sergei --
Aug 6, 8:57 am 2008
Alan Cox
Re: [PATCH 1/2] pata_legacy: export functionality to ide
In theory, but for the sake of about 30 bytes of code in an obscure 'last resort work everywhere' driver it seemed a bit pointless. Alan --
Aug 6, 12:46 pm 2008
Sergei Shtylyov
Re: [PATCH 1/2] pata_legacy: export functionality to ide
Hello. Would have been probably enough to test only BAR0/2, don't you think? MBR, Sergei --
Aug 6, 4:34 am 2008
Woodruff, Richard
RE: [linux-pm] [RFC-PATCH] Improve Menu Governor Predict ...
This does seem to give better guesses. However, first tests are not showing as well as the irq time stamp version I posted. I'll need to grab some hardware trace to see what is going on. Thanks, Richard W. --
Aug 5, 6:24 pm 2008
Wei, Gang
RE: [linux-pm] [RFC-PATCH] Improve Menu Governor Predict ...
Thanks for the trial. My original patch has already been merged into another patch "[patch 2/3] cpuidle: Menu governor fix wrong usage of measured_us" sent out by Venkatesh. The new patch should be more intact. Jimmy --
Aug 5, 6:51 pm 2008
Jean Delvare
Re: [crash, bisected] I2C, kobject (ffff81003e8c4160): ...
Hi Alexey, Ingo, Analysis is totally correct. I guess I shouldn't have tried to fix the original bug in a hurry before leaving for vacation. I didn't have the time to completely test it and as a result I introduced a new bug. Which the following patch should fix: * * * * * Subject: i2c: Fix oops on bus multiplexer driver loading The two I2C bus multiplexer drivers (i2c-amd756-s4882 and i2c-nforce2-s4985) make use of the bus they want to multiplex before checking if it is really ...
Aug 6, 1:21 pm 2008
gregkh
patch usb-cxacru-fix-printk-format-flag-in-error-message ...
This is a note to let you know that I've just added the patch titled Subject: USB: cxacru: Fix printk format flag in error message to my gregkh-2.6 tree. Its filename is usb-cxacru-fix-printk-format-flag-in-error-message.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ From simon@fire.lp0.eu Wed Aug 6 15:50:52 2008 From: Simon Arlott <simon@fire.lp0.eu> Date: Sat, 12 Jul 2008 22:19:48 +0100 Subject: USB: ...
Aug 6, 4:10 pm 2008
Jean Delvare
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Hi Greg, Not a good enough argument, sorry. There have been many cases in the past where code has been withdrawn after some times because we realized that we got it wrong in the first place. So, please explain what the current code is good for. Honestly, my initial reaction to Milton's proposal was "what an idiot, this flag is there for an obvious safety reason and we don't want to remove it" but after reading both his arguments and the code, I found that I have nothing to backup my claim. ...
Aug 6, 12:31 am 2008
Jean Delvare
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Hi Milton, hi Greg, I _am_ arguing the correctness of the removed code. That code silently defaults driver_data to 0 when the driver doesn't set dynids.use_driver_data. This assumes that 0 is always a safe value, I have to agree with Milton. Allowing all drivers to use dynamic IDs first, and then limiting the use of the driver_data field to drivers setting a specific flag, doesn't make sense. For one thing, just because the driver sets the flag, doesn't mean that it does the proper checks ...
Aug 6, 12:22 am 2008
Oleg Nesterov
Re: + pm-introduce-new-interfaces-schedule_work_on-and-q ...
I don't know, but I don't really understand this low-level code. Is it documented? This is certainly true on x86, but I don't understand why this must be true on every arch. Let's see. start_kernel() does smp_setup_processor_id(). Is it guaranteed that it chooses the lowest number from cpu_possible_map? This helper is only defined for voyager, but anyway it is not clear why start_kernel() must be always called on CPU 0. Otherwise, the next cpu_up() (from smp_init() or later) can add another ...
Aug 6, 5:45 am 2008
YAMAMOTO Takashi
Re: [PATCH][RFC] dirty balancing for cgroups
the following is a patch to add the overhead. :) any comments? YAMAMOTO Takashi Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> --- diff --git a/fs/buffer.c b/fs/buffer.c index 9749a90..a2dc642 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -41,6 +41,7 @@ #include <linux/bitops.h> #include <linux/mpage.h> #include <linux/bit_spinlock.h> +#include <linux/memcontrol.h> static int fsync_buffers_list(spinlock_t *lock, struct list_head *list); @@ -708,12 +709,19 @@ ...
Aug 6, 1:20 am 2008
YAMAMOTO Takashi
Re: [PATCH][RFC] dirty balancing for cgroups
i'm not sure how many opportunities to update statistics we would lose for the trylock failure. although the statistics don't need to be too precise, i hope it's possible. :) --
Aug 6, 2:10 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH][RFC] dirty balancing for cgroups
On Wed, 6 Aug 2008 17:20:46 +0900 (JST) Do you have some numbers ? ;) How about changing these to be == void mem_cgroup_test_set_page_dirty() { if (try_lock_page_cgroup(pg)) { pc = page_get_page_cgroup(pg); if (pc ......) { } unlock_page_cgroup(pg) } } == Off-topic: I wonder we can delete this "lock" in future. Because page->page_cgroup is 1. attached at first use.(Obiously no race with set_dirty) 2. deleted at removal. (force_empty is problematic ...
Aug 6, 1:53 am 2008
Mathieu Desnoyers
Re: [PATCH 3/3] relay: Add buffer-only channels; useful ...
Hi, I looks like this patch (commit 20d8b67c06fa5e74f44e80b0a0fd68c8327f7c6a) broke LTTng. LTTng expects its buffer file creation callback to be called when it calls relay_open. Actually, it passes a filename to the relay_open, so I don't see why the create_buf_file callback is not being called anymore. I'll revert it in my LTTng tree for now. I'll eventually need a new create_buf() callback to correctly handle this and allow LTTng to do early boot tracing. When this new callback gets ...
Aug 6, 10:32 am 2008
Andreas Herrmann
Re: [patch 0/6] AMD C1E aware idle support
Disabling C1E is not an option. It saves the most power when you have a multicore AMD CPU. Neither C2 nor C3 are declared here. AMD C1E is hardware level power management if all cores are in the C1 state. If you disable C1E and use a NOHZ kernel your power consumption is The sane way to disable it is in the BIOS -- if your BIOS provides such an option. Thomas pointed already out that C1E might be enabled later during boot. So you would have to reset the respective bits whenever you enter ...
Aug 6, 6:21 am 2008
Christoph Lameter
Re: No, really, stop trying to delete slab until you've ...
Its in linux/Documentation/vm/slabinfo.c Do gcc -o slabinfo Documentation/vm/slabinfo.c ./slabinfo (./slabinfo -h if you are curious and want to use more advanced options) --
Aug 6, 7:24 am 2008
KOSAKI Motohiro
Re: No, really, stop trying to delete slab until you've ...
ok. but i can't do that in this week. so, I'll do it in next week. honestly, I don't know how to use slabinfo command :-) --
Aug 6, 5:36 am 2008
Will Newton
Re: [PATCH] serial 8250: tighten test for using backup timer
I've added a comment and your ack, thanks. Andrew: Are you the appropriate person to send patches for the serial subsystem to? From 36ac82a231498247ada098d31e8d12e735eb34f2 Mon Sep 17 00:00:00 2001 From: Will Newton <will.newton@gmail.com> Date: Wed, 6 Aug 2008 11:48:29 +0100 Subject: [PATCH] 8250: Improve workaround for UARTs that don't re-assert THRE correctly. Recent changes to tighten the check for UARTs that don't correctly re-assert THRE caused problems when such a UART was opened ...
Aug 6, 3:53 am 2008
Pierre Ossman
Re: [PATCH] Tokyo Electron SDIO controller (Ellen) support
On Sat, 01 Dec 2007 00:27:06 -0800 The separation has now finally been performed in case you want to revisit this patch. Rgds --=20 -- Pierre Ossman WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
Aug 6, 3:39 pm 2008
previous daytodaynext day
August 5, 2008August 6, 2008August 7, 2008