Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Dan Hecht
On 02/15/2007 11:04 PM, Jeremy Fitzhardinge wrote: HZ - I'm assuming dynticks will appear in the short term, and this will become moot Doesn't Xen send any non-blocked domain a 100hz alarm implicitly, without anyway for the guest to disable it? I guess you'll have to break kernel/hypervisor

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:30:57 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > If you really need to run atomically, that gets ugly. Even of one were to > > run handle_mm_fault() by hand, it still needs to allocate memory. > > > > Two ugly options might be: > > > > a) touch all the

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Nick Piggin
Andrew Morton wrote: On Thu, 15 Feb 2007 23:08:02 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Andrew Morton wrote: This won't work when CONFIG_PREEMPT=y. The pagefault handler will see in_atomic() and will scram. Is there some other way to get the pagetable populated for the

Re: [PATCH] i386: irq: Kill IRQ compression

2007-02-15 Thread Eric W. Biederman
Len Brown <[EMAIL PROTECTED]> writes: > This code makes simple systems complex: > > ACPI: PCI Interrupt :03:04.0[A] -> GSI 18 (level, low) -> IRQ 16 > ACPI: PCI Interrupt :00:1d.0[A] -> GSI 16 (level, low) -> IRQ 17 > ACPI: PCI Interrupt :00:1d.1[B] -> GSI 19 (level, low) -> IRQ 18 >

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Eric W. Biederman
Zachary Amsden <[EMAIL PROTECTED]> writes: > > We do support different HZ values, although 100HZ is actually preferable for > us, > so I don't object to that. PREEMPT is supported by us, but not as tested as I > would like, so I also don't object to dropping it for generic paravirt guests > -

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Nick Piggin
Andrew Morton wrote: On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Add a new mm function apply_to_page_range() which applies a given function to every pte in a given virtual address range in a given mm structure. This is a generic alternative to

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 23:08:02 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> Andrew Morton wrote: >> >>> This won't work when CONFIG_PREEMPT=y. The pagefault handler will see >>> in_atomic() and will scram. >>> >>> >> Is there some other way

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:08:02 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > This won't work when CONFIG_PREEMPT=y. The pagefault handler will see > > in_atomic() and will scram. > > > > Is there some other way to get the pagetable populated for the address >

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 22:14:45 -0800 Dan Hecht <[EMAIL PROTECTED]> wrote: > > >>> config PREEMPT >>> bool "Preemptible Kernel (Low-Latency Desktop)" >>> + depends on !XEN >>> help >>> This option reduces the latency of the kernel by making >>> all

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > I guess your pte-at-a-time walker could be quite simply implemented underneath > the smaps pmd-at-a-time walker. > Yes, converting should be pretty simple. There aren't many users in Xen, but they are moderately performance critical (fork, exec and exit), so using

Re: [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 18:24:49 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> This patch series implements the Linux Xen guest in terms of the >> paravirt-ops interface. >> > > The whole patchset exports 67 symbols to modules. How come? > > Are they

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:06:45 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > > wrote: > > > > > >> Add a new mm function apply_to_page_range()[...] > > There was some discussion about

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-15 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 11:22:09PM +0300, Oleg Nesterov wrote: > > o Splits CPU_DEAD into two events namely > > - CPU_DEAD: which will be handled while the processes are still > > frozen. > > > > - CPU_DEAD_KILL_THREADS: To be handled after we thaw_processes. > > > Imho, this

Re: [linux-pm] Suspend to RAM, Sony Vaio PCG-SRX51P, lcd stays off

2007-02-15 Thread Jan Dittmer
Mattia Dongili wrote: > On Thu, February 15, 2007 11:36 am, Pavel Machek said: >>> sys_vendor = "Sony Corporation" >>> sys_product = "PCG-SRX51P(DE) " >>> sys_version = "01 " >>> bios_version = "R0232U2" >>> > (unrelated to your suspend problems)

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > This won't work when CONFIG_PREEMPT=y. The pagefault handler will see > in_atomic() and will scram. > Is there some other way to get the pagetable populated for the address range? J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 22:14:45 -0800 Dan Hecht <[EMAIL PROTECTED]> wrote: > > config PREEMPT > > bool "Preemptible Kernel (Low-Latency Desktop)" > > + depends on !XEN > > help > > This option reduces the latency of the kernel by making > > all kernel code (that is not

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> Add a new mm function apply_to_page_range()[...] > There was some discussion about this sort of thing last week. The > consensus was that it's better to run the callback against a

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Jeremy Fitzhardinge
Dan Hecht wrote: > 1) Complete the xen paravirt-ops backend so it can handle these > "incompatible" options. I realize this is just a matter of time (at > least for most of them, what is your plan for PREEMPT?). Hope it will go away? There's some relatively deep reason to do with migration

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:59:06 -0800 (PST) Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > On Thu, 15 Feb 2007, Andrew Morton wrote: > > > On Thu, 15 Feb 2007 21:45:06 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo <[EMAIL > > >

Re: [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:24:49 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > This patch series implements the Linux Xen guest in terms of the > paravirt-ops interface. The whole patchset exports 67 symbols to modules. How come? Are they all needed? - To unsubscribe from this list: send

Re: [patch 18/21] Xen-paravirt: Add Xen grant table support

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 18:25:07 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> +int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, >> +int readonly) >> +{ >> +int ref; >> + >> +if (unlikely((ref =

Re: [patch 10/21] Xen-paravirt: add hooks to intercept mm creation and destruction

2007-02-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Thu, 15 Feb 2007 18:24:59 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> Add hooks to allow a paravirt implementation to track the lifetime of >> an mm. >> >> --- a/arch/i386/kernel/paravirt.c >> +++ b/arch/i386/kernel/paravirt.c >> @@ -706,6 +706,10 @@

Re: [patch 18/21] Xen-paravirt: Add Xen grant table support

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:07 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > +int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, > + int readonly) > +{ > + int ref; > + > + if (unlikely((ref = get_free_entry()) == -1)) > +

Re: [patch 17/21] Xen-paravirt: Add the Xen virtual console driver.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:06 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > === > --- a/arch/i386/kernel/early_printk.c > +++ b/arch/i386/kernel/early_printk.c > @@ -1,2 +1,4 @@ > > +#ifndef CONFIG_XEN > #include

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-15 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 10:47:42PM +0300, Oleg Nesterov wrote: > > for (;;) { > > - if (cwq->wq->freezeable) > > + if (cwq->wq->freezeable) { > > Else? This is wrong. The change like this should start from making all > cwq->threads freezeable, otherwise it just doesn't

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Miguel Ojeda
On 2/16/07, Scott Preece <[EMAIL PROTECTED]> wrote: On 2/15/07, Miguel Ojeda <[EMAIL PROTECTED]> wrote: > Stupid, maybe. But some people just don't want closed-source > projects/companies like yours using their free work, without any kind > of feedback. Some others don't care, but they could in

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Trent Waddington
On 2/16/07, v j <[EMAIL PROTECTED]> wrote: > It's written in black and white, in the license. Please point me to where it says I cannot load proprietary modules in the Kernel. It doesn't. It does, however, say you can't distribute your module unless you make it available under the same terms

Re: [PATCH] Fix modular AGPGART (ia64 allmodconfig)

2007-02-15 Thread Zwane Mwaikambo
On Fri, 16 Feb 2007, Kyle McMartin wrote: > On Thu, Feb 15, 2007 at 10:09:57PM -0800, Zwane Mwaikambo wrote: > > +ifeq ($(CONFIG_COMPAT),y) > > +agpgart-y += compat_ioctl.o > > +endif > > + > > eh? > > Couldn't this be? > agpgart-$(CONFIG_COMPAT) += compat_ioctl.o Yep

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:01 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > +void lock_vm_area(struct vm_struct *area) > +{ > + unsigned long i; > + char c; > + > + /* > + * Prevent context switch to a lazy mm that doesn't have this area > + * mapped into its page

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Miguel Ojeda
On 2/16/07, v j <[EMAIL PROTECTED]> wrote: > It's written in black and white, in the license. Please point me to where it says I cannot load proprietary modules in the Kernel. > Apart from that, > Greg KH has made his opinion clear, and you have said you understand > and don't debate that he

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Add a new mm function apply_to_page_range() which applies a given > function to every pte in a given virtual address range in a given mm > structure. This is a generic alternative to cut-and-pasting the Linux >

Re: [patch 10/21] Xen-paravirt: add hooks to intercept mm creation and destruction

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:24:59 -0800 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Add hooks to allow a paravirt implementation to track the lifetime of > an mm. > > --- a/arch/i386/kernel/paravirt.c > +++ b/arch/i386/kernel/paravirt.c > @@ -706,6 +706,10 @@ struct paravirt_ops paravirt_ops =

Re: e1000_intr in request_irq faults in 2.6.20-git

2007-02-15 Thread Auke Kok
Andrew Morton wrote: On Thu, 15 Feb 2007 18:10:53 -0800 "Brandeburg, Jesse" <[EMAIL PROTECTED]> wrote: @@ -1431,6 +1427,10 @@ e1000_open(struct net_device *netdev) e1000_update_mng_vlan(adapter); } + err = e1000_request_irq(adapter); + if (err) +

Re: GPL vs non-GPL device drivers

2007-02-15 Thread v j
It's written in black and white, in the license. Please point me to where it says I cannot load proprietary modules in the Kernel. Apart from that, Greg KH has made his opinion clear, and you have said you understand and don't debate that he holds this opinion, and his code is what you said

Re: [PATCH] Fix modular AGPGART (ia64 allmodconfig)

2007-02-15 Thread Kyle McMartin
On Thu, Feb 15, 2007 at 10:09:57PM -0800, Zwane Mwaikambo wrote: > +ifeq ($(CONFIG_COMPAT),y) > +agpgart-y+= compat_ioctl.o > +endif > + eh? Couldn't this be? agpgart-$(CONFIG_COMPAT)+= compat_ioctl.o Cheers, Kyle M. - To unsubscribe from this list: send the

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Zwane Mwaikambo
On Thu, 15 Feb 2007, Andrew Morton wrote: > On Thu, 15 Feb 2007 21:45:06 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo <[EMAIL > > PROTECTED]> wrote: > > > > > On Thu, 15 Feb 2007, Andrew Morton wrote: > > > > > > > This makes

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Dan Hecht
On 02/15/2007 06:25 PM, Jeremy Fitzhardinge wrote: The XEN config option enables the Xen paravirt_ops interface, which is installed when the kernel finds itself running under Xen. (By some as-yet fully defined mechanism, implemented in a future patch.) Xen is no longer a sub-architecture, so

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: The XEN config option enables the Xen paravirt_ops interface, which is installed when the kernel finds itself running under Xen. (By some as-yet fully defined mechanism, implemented in a future patch.) Xen is no longer a sub-architecture, so the X86_XEN subarch config

[PATCH] Fix modular AGPGART (ia64 allmodconfig)

2007-02-15 Thread Zwane Mwaikambo
My previous compat AGP patch broke modular AGPGART. Test built on; i386 CONFIG_AGP=y,m x86_64 CONFIG_AGP=y ia64 CONFIG_AGP=m Signed-off-by: Zwane Mwaikambo <[EMAIL PROTECTED]> Index: linux-2.6.20-mm1-ia64/drivers/char/agp/Makefile

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Chris Friesen
v j wrote: Greg KH has gone and made the basic sysfs interface, which any generic driver could use as EXPORT_SYMBOL_GPL. ...The point is that old functionality is being ripped off and new ones introduced, and their interfaces are not open anymore. Hmm...you keep using the word "open". What

Re: [patch 13/21] Xen-paravirt: Add nosegneg capability to the vsyscall page notes

2007-02-15 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Add the "nosegneg" fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are

Re: [patch 07/21] Xen-paravirt: remove ctor for pgd cache

2007-02-15 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Remove the ctor for the pgd cache. There's no point in having the cache machinery do this via an indirect call when all pgd are freed in the one place anyway. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Acked-by: Zachary Amsden <[EMAIL PROTECTED]>

Re: e1000_intr in request_irq faults in 2.6.20-git

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:10:53 -0800 "Brandeburg, Jesse" <[EMAIL PROTECTED]> wrote: > @@ -1431,6 +1427,10 @@ e1000_open(struct net_device *netdev) > e1000_update_mng_vlan(adapter); > } > > + err = e1000_request_irq(adapter); > + if (err) > + goto

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Trent Waddington
On 2/16/07, v j <[EMAIL PROTECTED]> wrote: This is only because of the terms of GPL. Morally, as many here have pointed out this should fall into the same category. I say it does. If you have the ability, and enjoy Linux, you should try and make the time to contribute some code or other

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Alexandre Oliva
On Feb 16, 2007, Jeff Garzik <[EMAIL PROTECTED]> wrote: > Alexandre Oliva wrote: >> On Feb 15, 2007, Jeff Garzik <[EMAIL PROTECTED]> wrote: >> >>> Michael K. Edwards wrote: On 2/15/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: >> > The /whole point/ of the GPL is to funnel contributions

Re: possible bug in page allocation mechanism

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 14:11:42 -0800 (PST) Tim Cullen <[EMAIL PROTECTED]> wrote: > There appears to be a inconsistenancy with reference > counts on pages allocated with alloc_pages when order > is greater than zero. In buffered_rmqueue when order > != 0 then __rmqueue is called. This returns a page

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:45:06 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo <[EMAIL PROTECTED]> > wrote: > > > On Thu, 15 Feb 2007, Andrew Morton wrote: > > > > > This makes the long-suffering-but-vigorously-defended Vaio come up with

Re: GPL vs non-GPL device drivers

2007-02-15 Thread v j
> So, how are such companies any different from the myriad individuals > and companies that use Linux on the desktop or in their server rooms > without ever modifying it and who also contribute nothing back to the > community? They are also, in many (most?) cases taking advantage of > the free

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > On Thu, 15 Feb 2007, Andrew Morton wrote: > > > This makes the long-suffering-but-vigorously-defended Vaio come up with a > > black display. Everything's working OK otherwise. Sort of a Black Screen > > of

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Zwane Mwaikambo
On Thu, 15 Feb 2007, Andrew Morton wrote: > This makes the long-suffering-but-vigorously-defended Vaio come up with a > black display. Everything's working OK otherwise. Sort of a Black Screen > of Life. I wouldn't call it an improvement though. Bugger, what does your kernel commandline look

Re: [patch 1/3] Input: psmouse - create PS/2 protocol options for Kconfig

2007-02-15 Thread Andres Salomon
Dmitry Torokhov wrote: > On Thursday 15 February 2007 20:30, Andrew Morton wrote: >> On Thu, 15 Feb 2007 19:55:29 -0500 >> Andres Salomon <[EMAIL PROTECTED]> wrote: [...] >> Perhaps a nicer implementation would be to have a separate .c file for each >> variant. >> > > Having completely separate

Re: 2.6.20-mm1

2007-02-15 Thread Andrew Morton
On Fri, 16 Feb 2007 00:39:12 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote: > > > ee1394 usblp evdev > > > CPU:1 > > > EIP:0060:[]Tainted: P VLI > > > EFLAGS: 00010246 (2.6.20-jam01 #1) > > > EIP is at sysfs_lookup+0x5b/0x20a > > > eax: f6707118 ebx: f6b33e5c ecx:

Re: [patch 1/3] Input: psmouse - create PS/2 protocol options for Kconfig

2007-02-15 Thread Dmitry Torokhov
On Thursday 15 February 2007 20:30, Andrew Morton wrote: > On Thu, 15 Feb 2007 19:55:29 -0500 > Andres Salomon <[EMAIL PROTECTED]> wrote: > > > Andrew Morton wrote: > > > On Thu, 15 Feb 2007 05:08:21 -0500 > > > Andres Salomon <[EMAIL PROTECTED]> wrote: > > > > > >> Initial framework for

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-15 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 11:09:04PM +0300, Oleg Nesterov wrote: > What else you don't like? Why do you want to remove cwq_should_stop() and > restore an ugly (ugly for workqueue.c) kthread_stop/kthread_should_stop() ? What is ugly abt kthread_stop in workqueue.c? I feel it is nice if the cleanup

Re: e1000_intr in request_irq faults in 2.6.20-git

2007-02-15 Thread Auke Kok
[Adding Dimitri Mishin to the CC - he proposed the same patch earlier] Len Brown wrote: On Thursday 15 February 2007 21:10, Brandeburg, Jesse wrote: Eric W. Biederman wrote: Len Brown <[EMAIL PROTECTED]> writes: e1000 faults in 2.6.20-git, while 2.6.20 worked fine. System is a D875PBZ

Re: BUG: warning at kernel/cpu.c:51/unlock_cpu_hotplug() - 2.6.18.6

2007-02-15 Thread Gautham R Shenoy
Hi Antoine, On Thu, Feb 15, 2007 at 08:59:05PM +, Antoine Martin wrote: > I just caught this in the log whilst running some unit tests. > (the test was in the process of starting 900 Java threads) > > audit(1171565587.887:96): enforcing=0 old_enforcing=1 auid=4294967295 > BUG: warning at

[PATCH] i386: irq: Kill IRQ compression

2007-02-15 Thread Len Brown
This code makes simple systems complex: ACPI: PCI Interrupt :03:04.0[A] -> GSI 18 (level, low) -> IRQ 16 ACPI: PCI Interrupt :00:1d.0[A] -> GSI 16 (level, low) -> IRQ 17 ACPI: PCI Interrupt :00:1d.1[B] -> GSI 19 (level, low) -> IRQ 18 ACPI: PCI Interrupt :00:1d.7[D] -> GSI 23

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Jeff Garzik
Alexandre Oliva wrote: On Feb 15, 2007, Jeff Garzik <[EMAIL PROTECTED]> wrote: Michael K. Edwards wrote: On 2/15/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: The /whole point/ of the GPL is to funnel contributions back. Bzzzt. The whole point of the GPL is to "guarantee your freedom to

Re: loosen dependancy on rtc cmos

2007-02-15 Thread David Brownell
On Thursday 15 February 2007 8:38 pm, Len Brown wrote: > So I've taken Andi's advice and checked in the patches below. OK; that simplifies things for me, good! I can discard that patch (broken by Andi's pcspkr change anyway), stop worring about whether most folk will even see that driver, and

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 08:29:49 -0800 (PST) Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > VBE1.2 doesn't support function 15h (DDC) resulting in a 'hang' whilst > uncompressing kernel with some video cards. Make sure we check VBE version > before fiddling around with DDC. > >

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-15 Thread Juan Piernas Canovas
Hi, On Fri, 16 Feb 2007, Andi Kleen wrote: If you stripe two disks with a standard fs versus use one of them as metadata volume and the other as data volume with dualfs i would expect the striped variant usually be faster because it will give parallelism not only to data versus metadata, but

Re: sata_nv ADMA controller lockup investigation

2007-02-15 Thread Robert Hancock
Jeff Garzik wrote: Robert Hancock wrote: It's curious that only the post-cache-flush command is having issues, and normal NCQ operation seems fine. Maybe it's related to that tag 0 being reused repeatedly? If you take cache flush out of the equation, what happens when NCQ is enabled with a

[patch 10/21] Xen-paravirt: add hooks to intercept mm creation and destruction

2007-02-15 Thread Jeremy Fitzhardinge
Add hooks to allow a paravirt implementation to track the lifetime of an mm. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> -- arch/i386/kernel/paravirt.c|4 include/asm-i386/mmu_context.h |8 ++-- include/asm-i386/paravirt.h| 38

[patch 18/21] Xen-paravirt: Add Xen grant table support

2007-02-15 Thread Jeremy Fitzhardinge
Add Xen 'grant table' driver which allows granting of access to selected local memory pages by other virtual machines and, symmetrically, the mapping of remote memory pages which other virtual machines have granted access to. This driver is a prerequisite for many of the Xen virtual device

[patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Jeremy Fitzhardinge
Add a new mm function apply_to_page_range() which applies a given function to every pte in a given virtual address range in a given mm structure. This is a generic alternative to cut-and-pasting the Linux idiomatic pagetable walking code in every place that a sequence of PTEs must be accessed.

[patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Jeremy Fitzhardinge
Allocate/destroy a 'vmalloc' VM area: alloc_vm_area and free_vm_area The alloc function ensures that page tables are constructed for the region of kernel virtual address space and mapped into init_mm. Lock an area so that PTEs are accessible in the current address space: lock_vm_area and

[patch 01/21] Xen-paravirt: Fix typo in sync_constant_test_bit()s name.

2007-02-15 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> === --- a/include/asm-i386/sync_bitops.h +++ b/include/asm-i386/sync_bitops.h @@ -130,7 +130,7 @@ static inline int sync_test_and_change_b return oldbit; } -static

[patch 20/21] Xen-paravirt: Add Xen virtual block device driver.

2007-02-15 Thread Jeremy Fitzhardinge
The block device frontend driver allows the kernel to access block devices exported exported by a virtual machine containing a physical block device driver. Signed-off-by: Ian Pratt <[EMAIL PROTECTED]> Signed-off-by: Christian Limpach <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL

[patch 21/21] Xen-paravirt: Add the Xen virtual network device driver.

2007-02-15 Thread Jeremy Fitzhardinge
The network device frontend driver allows the kernel to access network devices exported exported by a virtual machine containing a physical network device driver. Signed-off-by: Ian Pratt <[EMAIL PROTECTED]> Signed-off-by: Christian Limpach <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL

[patch 03/21] Xen-paravirt: Add pagetable accessors to pack and unpack pagetable entries

2007-02-15 Thread Jeremy Fitzhardinge
Add a set of accessors to pack, unpack and modify page table entries (at all levels). This allows a paravirt implementation to control the contents of pgd/pmd/pte entries. For example, Xen uses this to convert the (pseudo-)physical address into a machine address when populating a pagetable

[patch 02/21] Xen-paravirt: ignore vgacon if hardware not present

2007-02-15 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> === --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -372,7 +372,8 @@ static const char *vgacon_startup(void) } /* VGA16 modes are

[patch 17/21] Xen-paravirt: Add the Xen virtual console driver.

2007-02-15 Thread Jeremy Fitzhardinge
This provides a bootstrap and ongoing emergency console which is intended to be available from very early during boot and at all times thereafter, in contrast with alternatives such as UDP-based syslogd, or logging in via ssh. The protocol is based on a simple shared-memory ring buffer.

[patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-15 Thread Jeremy Fitzhardinge
Hi Andi, This patch series implements the Linux Xen guest in terms of the paravirt-ops interface. The features in implemented this patch series are: * domU only * UP only (most code is SMP-safe, but there's no way to create a new vcpu) * writable pagetables, with late pinning/early unpinning

[patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Jeremy Fitzhardinge
The XEN config option enables the Xen paravirt_ops interface, which is installed when the kernel finds itself running under Xen. (By some as-yet fully defined mechanism, implemented in a future patch.) Xen is no longer a sub-architecture, so the X86_XEN subarch config option has gone. The

[patch 05/21] Xen-paravirt: paravirt_ops: hooks to set up initial pagetable

2007-02-15 Thread Jeremy Fitzhardinge
This patch introduces paravirt_ops hooks to control how the kernel's initial pagetable is set up. In the case of a native boot, the very early bootstrap code creates a simple non-PAE pagetable to map the kernel and physical memory. When the VM subsystem is initialized, it creates a proper

[patch 13/21] Xen-paravirt: Add nosegneg capability to the vsyscall page notes

2007-02-15 Thread Jeremy Fitzhardinge
Add the "nosegneg" fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are truncated to protect the

[patch 04/21] Xen-paravirt: ===================================================================

2007-02-15 Thread Jeremy Fitzhardinge
-static void vmi_set_pte_present(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte) +static void vmi_set_pte_present(struct mm_struct *mm, u32 addr, pte_t *ptep, pte_t pte) { vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); vmi_ops.set_pte(pte, ptep,

[patch 09/21] Xen-paravirt: Allow paravirt backend to select PGD allocation alignment

2007-02-15 Thread Jeremy Fitzhardinge
Xen requires pgds to be page-aligned, so make this a parameter which can be set in the paravirt_ops structure. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> -- arch/i386/kernel/paravirt.c |1 + arch/i386/mm/init.c |2 +- include/asm-i386/paravirt.h |5 -

[patch 08/21] Xen-paravirt: Allow paravirt backend to choose kernel PMD sharing

2007-02-15 Thread Jeremy Fitzhardinge
Xen does not allow guests to have the kernel pmd shared between page tables, so parameterize pgtable.c to allow both modes of operation. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> -- arch/i386/kernel/paravirt.c|1 arch/i386/mm/fault.c |6 +--

[patch 07/21] Xen-paravirt: remove ctor for pgd cache

2007-02-15 Thread Jeremy Fitzhardinge
Remove the ctor for the pgd cache. There's no point in having the cache machinery do this via an indirect call when all pgd are freed in the one place anyway. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> === ---

[patch 06/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-15 Thread Jeremy Fitzhardinge
Allocate a fixmap slot for use by a paravirt_ops implementation. Xen uses this to map the hypervisor's shared info page, which doesn't have a pseudo-physical page number, and therefore can't be mapped ordinarily. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> --

Re: loosen dependancy on rtc cmos

2007-02-15 Thread Len Brown
On Wednesday 14 February 2007 18:47, David Brownell wrote: > On Wednesday 14 February 2007 3:20 pm, Len Brown wrote: > > > > > > I still need to resubmit the patch, for X86_PC, which defines the platform > > > device in the (common) case where PNPACPI isn't defined. > > > > CONFIG_PNPACPI=y is

Re: [patch] net, 8139too.c: fix netpoll deadlock

2007-02-15 Thread Atsushi Nemoto
On Wed, 14 Feb 2007 11:30:25 +0900 (JST), Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > > hm, this isnt really about NAPI polling, but about the > > netconsole/netpoll/netdump poll_controller() handler. > > > > with netconsole, printk can be called from IRQ context (and is > > frequently from

Re: [PATCH 1/1] - acpi_unload_table_id() always returns error

2007-02-15 Thread Len Brown
Thanks for the fix, John. Do you grant Intel permission to apply it to the upstream ACPICA tree (with its non-GPL license)? -Len On Thursday 15 February 2007 15:08, John Keller wrote: > acpi_unload_table_id() is always returning an error status. > Also, once the matching table is found, don't

RE: kernel porting query

2007-02-15 Thread Ajay Singh \(ajaysi\)
1) Can any one please shed some light on precisely and exactly what are differences in different boards for which we need to port linux? The differences depends on the boards ... Mostly if they belong to the same family the differences could be mainly in the peripherials ... Interrupt

Re: somebody dropped a (warning) bomb

2007-02-15 Thread Rene Herman
On 02/15/2007 08:02 PM, Linus Torvalds wrote: Think of it this way: in science, a theory is proven to be bad by a single undeniable fact just showing that it's wrong. The same is largely true of a warning. If the warning sometimes happens for code that is perfectly fine, the warning is bad.

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Alexandre Oliva
On Feb 15, 2007, Chris Snook <[EMAIL PROTECTED]> wrote: > v j wrote: >> You don't get it do you. Our source code is meaningless to the Open >> Source community at large. You don't have to offer it to the community at large. You only have to pass it on to your customers, under the terms of the

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Alexandre Oliva
On Feb 15, 2007, "v j" <[EMAIL PROTECTED]> wrote: > On 2/14/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: >> I think you have a bit of a misunderstanding... Linux is not royalty >> free. Just the royalty is not in the form of cash, but in the form of >> having to give your improvements back to

Re: [PATCH] shm: Fix the locking and cleanup error handling in do_shmat.

2007-02-15 Thread Wu, Bryan
On Thu, 2007-02-15 at 22:34 -0500, Eric W. Biederman wrote: > > drivers/video/Kconfig:1606:warning: 'select' used by config symbol > 'FB_PS3' > > refer to undefined symbol 'PS3_PS3AV' > > /mnt/md0/devel/linux-mm/ipc/shm.c: In function 'do_shmat': > > /mnt/md0/devel/linux-mm/ipc/shm.c:945:

[PATCH] Add Cobalt button interface driver support

2007-02-15 Thread Yoichi Yuasa
Hi, This patch adds support for the back panel buttons on Cobalt server. It's tested on the Cobalt Qube2. Yoichi Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> diff -pruN -X mips/Documentation/dontdiff mips-orig/drivers/input/misc/Kconfig mips/drivers/input/misc/Kconfig ---

Re: [PATCH] Add Cobalt button interface driver support

2007-02-15 Thread Dmitry Torokhov
On Thursday 15 February 2007 22:36, Yoichi Yuasa wrote: > Hi, > > This patch adds support for the back panel buttons on Cobalt server. > It's tested on the Cobalt Qube2. > Hi, Thank you for your patch. Couple of comments: > + > + button++; > + } > + > + mod_timer(_timer,

Re: [PATCH] Linux Kernel Markers Documentation - fix

2007-02-15 Thread Mathieu Desnoyers
Linux Kernel Markers Documentation - fix Fixes from Randy's comments. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- a/Documentation/marker.txt +++ b/Documentation/marker.txt @@ -18,7 +18,7 @@ code is reached. They can be used for tracing (LTTng, LKET over SystemTAP), overall

Re: e1000_intr in request_irq faults in 2.6.20-git

2007-02-15 Thread Len Brown
On Thursday 15 February 2007 21:10, Brandeburg, Jesse wrote: > Eric W. Biederman wrote: > > Len Brown <[EMAIL PROTECTED]> writes: > > > >> e1000 faults in 2.6.20-git, while 2.6.20 worked fine. > >> > >> System is a D875PBZ with LOM. > >> > >> clues? > > > > I'm guessing this is an old bug

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Alexandre Oliva
On Feb 15, 2007, Jeff Garzik <[EMAIL PROTECTED]> wrote: > Michael K. Edwards wrote: >> On 2/15/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: >>> The /whole point/ of the GPL is to funnel contributions back. >> Bzzzt. The whole point of the GPL is to "guarantee your freedom to >> share and change

Re: [PATCH] Linux Kernel Markers Documentation

2007-02-15 Thread Mathieu Desnoyers
Hi Randy, * Randy Dunlap ([EMAIL PROTECTED]) wrote: > so is the MARK() supposed to be: > MARK(subsystem, event, ... > > Please make the 2 doc. lines above match the parameters... > or the parameters match the text. > Fixing the paragraph below. > > +- "%d %s %p[struct task_struct]" is the

Re: [PATCH] shm: Fix the locking and cleanup error handling in do_shmat.

2007-02-15 Thread Eric W. Biederman
> drivers/video/Kconfig:1606:warning: 'select' used by config symbol 'FB_PS3' > refer to undefined symbol 'PS3_PS3AV' > /mnt/md0/devel/linux-mm/ipc/shm.c: In function 'do_shmat': > /mnt/md0/devel/linux-mm/ipc/shm.c:945: warning: passing argument 1 of 'IS_ERR' > makes pointer from integer without a

Re: [patch 2.6.20-git] remove modpost false warnings on ARM

2007-02-15 Thread Rusty Russell
On Thu, 2007-02-15 at 19:10 -0800, David Brownell wrote: > This patch stops "modpost" from issuing erroneous modpost warnings on ARM > builds, which it's been doing since since maybe last summer. A canonical > example would be driver method table entries: > > WARNING: - Section mismatch:

Re: [PATCH 9/11] Panic delay fix

2007-02-15 Thread Rusty Russell
On Thu, 2007-02-15 at 15:42 -0800, Zachary Amsden wrote: > So Rusty, Chris, Jeremy, any objections to killing udelay() and friends > in paravirt-ops? It would simplify things a bit. I agree. Thanks! Rusty. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [patch 09/14] syslets: x86, add move_user_context() method

2007-02-15 Thread Davide Libenzi
On Thu, 15 Feb 2007, Davide Libenzi wrote: > On Thu, 15 Feb 2007, Ingo Molnar wrote: > > > /* > > + * Move user-space context from one kernel thread to another. > > + * This includes registers and FPU state. Callers must make > > + * sure that neither task is running user context at the moment:

Re: [PATCH] input: extend EV_LED

2007-02-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Feb 2007, Richard Purdie wrote: > This has been discussed in several places several times. The problem > with hardware accelerated flashing is that you're are often limited to > certain constraints (this case being no exception) and indicating what > these are to userspace in a generic

  1   2   3   4   5   6   7   8   9   10   >