[PATCH] Elantech touchpad driver update for kernel 2.6.24-rc8-mm1

2008-01-27 Thread Arjan Opmeer
>From Arjan Opmeer <[EMAIL PROTECTED]> Update to the Elantech touchpad driver. Changes include: - Fixed an issue on some models where using the physical buttons did not work and only tapping the touchpad produced mouse clicks. - Absolute mode reporting also has an "older" and "newer" packet for

Version 3 of Elantech touchpad driver for kernel 2.6.24

2008-01-27 Thread Arjan Opmeer
I updated my driver for the Elantech touchpad. Changes include: - Fixed an issue on some models where using the physical buttons did not work and only tapping the touchpad produced mouse clicks. - Absolute mode reporting also has an "older" and "newer" packet format where the finger tap and p

[PATCH 2/32] ide-tape: remove dead code

2008-01-27 Thread Borislav Petkov
Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 34 -- 1 files changed, 0 insertions(+), 34 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 552cfed..3bedeb8 100644 --- a/drivers/ide/ide-tape.c +++ b/

[PATCH 4/32] ide-tape: remove struct idetape_mode_parameter_header_t

2008-01-27 Thread Borislav Petkov
Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 40 +++- 1 files changed, 15 insertions(+), 25 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 173ac0d..0542b07 100644 --- a/drivers/ide/ide-tape.c

[PATCH 0/32] ide-tape redux v1

2008-01-27 Thread Borislav Petkov
Hi Bart, after a lot of hammering ide-tape got pimped pretty considerably (ca. 600 lines shorter and slicker :)). I'm sure there's more to be done like, e.g. replacing the BKL in idetape_write_release() with finer-grained locking etc, probably also some pipeline improvements, removal of OnStream s

Re: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging

2008-01-27 Thread Avi Kivity
Joerg Roedel wrote: This patch contains the SVM architecture dependent changes for KVM to enable support for the Nested Paging feature of AMD Barcelona and Phenom processors. +#ifdef CONFIG_X86_64 +static bool npt_enabled = true; +#else static bool npt_enabled = false; +#endif I think th

Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs

2008-01-27 Thread Avi Kivity
Joerg Roedel wrote: Hi, here is the first release of patches for KVM to support the Nested Paging (NPT) feature of AMD QuadCore CPUs for comments and public testing. This

[PATCH 3/32] ide-tape: remove struct idetape_request_sense_result_t

2008-01-27 Thread Borislav Petkov
Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 83 +++ 1 files changed, 27 insertions(+), 56 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 3bedeb8..173ac0d 100644 --- a/drivers/ide/ide

Re: [kvm-devel] [PATCH 4/8] X86: export information about NPT to generic x86 code

2008-01-27 Thread Avi Kivity
Joerg Roedel wrote: The generic x86 code has to know if the specific implementation uses Nested Paging. In the generic code Nested Paging is called Hardware Assisted Paging (HAP) to avoid confusion with (future) HAP implementations of other vendors. This patch exports the availability of HAP to t

[PATCH 5/32] ide-tape: remove IDETAPE_DEBUG_INFO

2008-01-27 Thread Borislav Petkov
The device capabilities are probed for during device initialization so this info is available through proc/ioctl() und it is redundant here. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 74 1 files changed, 0 in

[PATCH 1/32] ide-tape: move historical changelog to Documentation/ide/ChangeLog.ide-tape.1995-2002

2008-01-27 Thread Borislav Petkov
Also, cleanup whitespace and update comments. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- Documentation/ide/ChangeLog.ide-tape.1995-2002 | 405 +++ drivers/ide/ide-tape.c | 414 +--- 2 files changed, 409 insertions(+), 4

Re: (Updated) [Patch] Shut up warnings from files under drivers/

2008-01-27 Thread Jiri Slaby
On 01/27/2008 05:15 AM, WANG Cong wrote: Fix defined-but-not-used warnings from files under drivers/, such as: drivers/char/applicom.c:68: warning: ‘applicom_pci_tbl’ defined but not used Compile tests passed. Cc: Jeff Garzik <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Sam Ravnborg

Re: [PATCH 2/3] x86: Macrofy resuable code

2008-01-27 Thread Sam Ravnborg
On Sun, Jan 27, 2008 at 02:39:22PM +0530, Abhishek Sagar wrote: > Encapsulate reusable code . > > Signed-off-by: Abhishek Sagar <[EMAIL PROTECTED]> > --- > > diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c > index a99e764..45f2949 100644 > --- a/arch/x86/kernel/kprobes.c > +++

[PATCH 3/3] x86: WARN_ON breakpoints from .kprobes.text section

2008-01-27 Thread Abhishek Sagar
Identify breakpoints in .kprobes.text section. These certainly aren't kprobe traps. However, we make an exception for the breakpoint hardcoded into jprobe_return. Signed-off-by: Abhishek Sagar <[EMAIL PROTECTED]> --- diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c index 45f29

[PATCH 2/3] x86: Macrofy resuable code

2008-01-27 Thread Abhishek Sagar
Encapsulate reusable code . Signed-off-by: Abhishek Sagar <[EMAIL PROTECTED]> --- diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c index a99e764..45f2949 100644 --- a/arch/x86/kernel/kprobes.c +++ b/arch/x86/kernel/kprobes.c @@ -74,6 +74,13 @@ DEFINE_PER_CPU(struct kprobe_ctlblk

[PATCH 0/3][RFC] x86: Catch stray non-kprobe breakpoints

2008-01-27 Thread Abhishek Sagar
Greetings, Non kprobe breakpoints in the kernel might lie inside the .kprobes.text section. Such breakpoints can easily be identified by in_kprobes_functions and can be caught early. These are problematic and a warning should be emitted to discourage them (in any rare case, if they actually occ

[PATCH 1/3] x86: Move in_kprobes_functions to linux/kprobes.h

2008-01-27 Thread Abhishek Sagar
Moving in_kprobes_functions to linux/kprobes.h to share it with arch/x86/kerne/kprobes.c. Signed-off-by: Abhishek Sagar <[EMAIL PROTECTED]> --- diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h index 6168c0a..2762145 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h

Re: (Updated) [Patch] Shut up warnings from files under drivers/

2008-01-27 Thread Sam Ravnborg
Hi WANG. Thanks for chasing these annoying warnings - it is good to keep the warning level low so we keep attention when new warnings happens! > index d775eb6..eec1624 100644 > --- a/drivers/video/aty/atyfb_base.c > +++ b/drivers/video/aty/atyfb_base.c > @@ -244,7 +244,9 @@ static int atyfb_sync(

Re: (Updated) [Patch] Shut up warnings from files under drivers/

2008-01-27 Thread Jiri Slaby
On 01/27/2008 10:08 AM, Jiri Slaby wrote: On 01/27/2008 05:15 AM, WANG Cong wrote: Fix defined-but-not-used warnings from files under drivers/, such as: drivers/char/applicom.c:68: warning: ‘applicom_pci_tbl’ defined but not used Compile tests passed. Cc: Jeff Garzik <[EMAIL PROTECTED]> Cc:

Re: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging

2008-01-27 Thread Joerg Roedel
On Sun, Jan 27, 2008 at 10:52:30AM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > > This patch contains the SVM architecture dependent changes for KVM to enable > > support for the Nested Paging feature of AMD Barcelona and Phenom > > processors. > > > > +#ifdef CONFIG_X86_64 > > +static bool

[PATCH 15/32] ide-tape: remove struct idetape_block_size_page_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 02f5d5e..0708049 100644 --- a/dr

[PATCH 14/32] ide-tape: remove structs os_partition_t, os_dat_entry_t, os_dat_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> They seem just to sit there completely unused. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 37 - 1 files changed, 0 insertions(+), 37 deletions(-) diff --git a/drivers/ide/ide-tap

[PATCH 17/32] ide-tape: remove EXPERIMENTAL driver status

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> ide-tape has depended on EXPERIMENTAL for ages. Change that since the driver is being only maintained now. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/Kconfig |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 12/32] ide-tape: remove struct idetape_medium_partition_page_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> There should be no functional changes resulting from this patch. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/drivers/ide/ide-tap

[PATCH 07/32] ide-tape: refactor the debug logging facility

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Teach the debug logging macro to differentiate different log levels based on the type of debug level enabled specifically instead of a threshold-based one. Thus, convert tape->debug_level to a bitmask that is written to over /proc. Also, - Cleanup and sim

[PATCH 09/32] ide-tape: remove struct idetape_inquiry_result_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> There should be no functional changes resulting from this patch. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 51 --- 1 files changed, 13 insertions(+), 38 deletions(-) dif

[PATCH 06/32] ide-tape: remove IDETAPE_DEBUG_BUGS

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 42 ++ 1 files changed, 2 insertions(+), 40 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index dbececc.

[PATCH 10/32] ide-tape: remove struct idetape_read_position_result_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> There should be no functional changes resulting from this patch. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 49 +-- 1 files changed, 18 insertions(+), 31 deletions(-) dif

[PATCH 08/32] ide-tape: remove struct idetape_capabilities_page_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> All those 2-byte values denoting the different capabilities are being written to the local copy of the caps buffer without being converted to big endian for simplicity of usage and shorter code later. Also, we add some comments stating which are the field

[PATCH 11/32] ide-tape: remove struct idetape_data_compression_page_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> There should be no functional changes resulting from this patch. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/drivers/ide/ide-tap

Re: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging

2008-01-27 Thread Avi Kivity
Joerg Roedel wrote: On the other hand, we want to trap cr0 so the guest can't control the cache disable bits. Also cr4.pce and cr4.mce. Is it a problem when the guest disables caching? It disables it only in its own context because it has its own copy of cr0. Some Intel processors have

Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs

2008-01-27 Thread Joerg Roedel
On Sun, Jan 27, 2008 at 10:57:07AM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > > Hi, > > > > > > here is the first release of patches for KVM to support the Nested Pag

[PATCH 22/32] ide-tape: struct idetape_packet_command_s: shorten member names

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 88 --- 1 files changed, 45 insertions(+), 43 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index b4

[PATCH 23/32] ide-tape: struct idetape_tape_t: shorten member names

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Some member names are self-explanatory, so remove their respective comments. Also, explain the exact purpose of struct members in comments in the struct definition instead of using excessively long member names thus replacing then with a shorter, more hand

[PATCH 31/32] ide-tape: remove idetape_config_t typedef

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Since this is used only in idetape_blkdev_ioctl(), remove the typedef and make the struct function-local. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 23 +++ 1 files changed, 11 insertions(+), 12

[PATCH 25/32] ide-tape: simplify code branching in the interrupt handler

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> ... by adding a new typedef function pointer idetape_io_buf in order to call the proper buffer i/o handler depending on the data direction. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 54 +

[PATCH 19/32] ide-tape: remove unused sense packet commands.

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 5a18158..fd7eeea 100644 --- a/drivers/ide/

[PATCH 18/32] ide-tape: use generic byteorder macros

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> This is not a network driver. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 1435f4e..5

[PATCH 21/32] ide-tape: idetape_chrdev_direction_t:shorten enum names

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 60 --- 1 files changed, 31 insertions(+), 29 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index cf

[PATCH 13/32] ide-tape: remove struct idetape_parameter_block_descriptor_t

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Also, shorten function name idetape_get_blocksize_from_block_descriptor() and move its definition up thereby getting rid of its forward declaration. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 68 +++-

[PATCH 16/32] ide-tape: use generic scsi commands

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Also, remove those which weren't used. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 80 ++-- 1 files changed, 30 insertions(+), 50 deletions(-) diff --git a/drivers/ide/ide

[PATCH 20/32] ide-tape: make function name more accurate

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> idetape_active_next_stage() was rather ambiguous wrt its purpose. Make that more explicit and remove superfluous comment. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c |9 +++-- 1 files changed, 3 insertions(+), 6

[PATCH 29/32] ide-tape: remove mtio.h related comments

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Those are already in mtio.h. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 96 +++ 1 files changed, 15 insertions(+), 81 deletions(-) diff --git a/drivers/ide/ide-tape.c b/d

[PATCH 28/32] ide-tape: shorten some function names

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 29 +++-- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index f8a4b27..d4c4255 100

[PATCH 27/32] ide-tape: remove idetape_increase_max_pipeline_stages()

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> This function was being used only at one place so fold it in there. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 36 1 files changed, 16 insertions(+), 20 deletions(-) diff --git

[RFC PATCH 26/32] ide-tape: remove packet command and struct request memory buffers

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Bart, this one is rather intrusive so please doublecheck it wrt to kzalloc/kfree balancing on all the codepaths so that we don't leak memory all over the place. I free all the alloc'd pc's and rq's in idetape_end_request() which is called from the callback

[PATCH 24/32] ide-tape: remove unreachable code chunk

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> tape->speed_ctl is set to 1 in idetape_setup(), but, in calculate_speeds() its value is tested for being 0, 1, or 2. Remove the if-branches where tape->speed_ctl != 1 since they are never executed. Also, rename calculate_speeds() by adding driver's prefix

[PATCH 30/32] ide-tape: remove atomic test/set macros

2008-01-27 Thread Borislav Petkov
From: Borislav Petkov <[EMAIL PROTECTED]> Also remove flag IDETAPE_READ_ERROR since it is unused. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> --- drivers/ide/ide-tape.c | 222 +--- 1 files changed, 117 insertions(+), 105 deletions(-) diff --gi

Re: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging

2008-01-27 Thread Avi Kivity
Joerg Roedel wrote: What happens to lazy fpu if we don't trap cr0 changes? Perhaps it's worth disabling lazy fpu with npt. It should be implicitly disabled with npt because accesses to cr3 are not intercepted anymore. The svm_set_cr3 function is the only place which disables fpu switchi

Re: [kvm-devel] [PATCH 8/8] SVM: add support for Nested Paging

2008-01-27 Thread Joerg Roedel
On Sun, Jan 27, 2008 at 11:51:06AM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > > > >> What happens to lazy fpu if we don't trap cr0 changes? > >> > >> Perhaps it's worth disabling lazy fpu with npt. > >> > > > > It should be implicitly disabled with npt because accesses to cr3 are > > not

Re: X fails to start with latest Linus git

2008-01-27 Thread Jan Engelhardt
On Jan 27 2008 07:27, Ingo Molnar wrote: >* Kevin Winchester <[EMAIL PROTECTED]> wrote: > >> The machine boots normally, but without that revert, X locks up. Does >> that make sense to anyone? > >could you send your full bootlog? Also please send me the output of: > > http://people.redhat.com/mi

[PATCH] applesmc case led and SCSI LED activity trigger

2008-01-27 Thread René Rebe
Hi all, Nicolas: Do you still have your modified applesmc driver for OS X and could trace which key OS X tweaks when the screensaver switches the display off and lights the case LED to indicate the machine is still alife? Would be best to use the same key but with some quick pokes I did not found

Re: [PATCH] Linux Kernel Markers Support for Proprierary Modules

2008-01-27 Thread Jan Engelhardt
On Jan 25 2008 23:21, Jon Masters wrote: >On Sat, 2008-01-26 at 14:27 +1100, Rusty Russell wrote: > >> 2) Unconditionally reject modules with a wrong module section size. >> Currently >> we have no such check, which means without KALLSYMS, anything goes. > >I favor the latter, since it's safest

Re: [PATCH 06/32] ide-tape: remove IDETAPE_DEBUG_BUGS

2008-01-27 Thread Borislav Petkov
Hi Bart, sorry for that thread split but i had to resend those remaining patches with gmail because yahoo have a restriction on the number of mails one can send per day :( -- Regards/Gruß, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: [PATCH] [14/18] BKL-removal: Add unlocked_fasync

2008-01-27 Thread Bodo Eggert
> +++ linux/fs/fcntl.c > @@ -240,11 +240,15 @@ static int setfl(int fd, struct file * f > > lock_kernel(); > if ((arg ^ filp->f_flags) & FASYNC) { > - if (filp->f_op && filp->f_op->fasync) { > + if (filp->f_op && filp->f_op->unlocked_fasync) > +

Re: preemptible RCU bug (was Re: [git pull] scheduler changes for v2.6.25)

2008-01-27 Thread Paul E. McKenney
On Sat, Jan 26, 2008 at 08:19:21PM +0100, Stefan Richter wrote: > Ingo Molnar wrote: > > - Paul E. McKenney's preemptible RCU code. > > BUG: New Kconfig option without help text. > > $ make oldconfig > RCU implementation type: > > 1. Classic RCU (CLASSIC_RCU) (NEW) > 2. Preemptible RCU (PREEM

[PATCH] fbdev: make the best-fit section of fb_find_mode return the closest matching mode

2008-01-27 Thread Michal Januszewski
From: Michal Januszewski <[EMAIL PROTECTED]> Currently, if a perfect match in terms of resolution is not found, fb_find_mode() only looks for a best-fit mode among modes with a higher resolution than the one requested. Thus, if the user requests a resolution higher than the largest supported one,

[PATCH] uvesafb: don't treat valid modes returned by fb_find_mode() as errors

2008-01-27 Thread Michal Januszewski
From: Michal Januszewski <[EMAIL PROTECTED]> Don't treat valid modes returned by fb_find_mode() (best-fit modes, default modes or the first valid mode) as errors. Signed-off-by: Michal Januszewski <[EMAIL PROTECTED]> --- diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index a14ef89

[PATCH 01/52] [microblaze] Kconfig patches v2

2008-01-27 Thread Michal Simek
From cd9e680aa7a732c1ff1188a22f2a0950f5d24e3b Mon Sep 17 00:00:00 2001 Message-Id: <[EMAIL PROTECTED]> From: Michal Simek <[EMAIL PROTECTED]> Date: Sun, 27 Jan 2008 11:21:34 +0100 Subject: [PATCH 1/1] [microblaze] Kconfig patches v2 Signed-off-by: Michal Simek <[EMAIL PROTECTED]> --- arch/micr

Re: [PATCH 01/52] [microblaze] Kconfig patches

2008-01-27 Thread Michal Simek
Hi Randy, thanks for review. Comments are below. diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig new file mode 100644 index 000..6dbc069 --- /dev/null +++ b/arch/microblaze/Kconfig @@ -0,0 +1,160 @@ +# For a description of the syntax of this configuration file, +# see Document

Re: preemptible RCU bug (was Re: [git pull] scheduler changes for v2.6.25)

2008-01-27 Thread Stefan Richter
Paul E. McKenney wrote: > --- linux-2.6.24-rt1/kernel/Kconfig.preempt 2008-01-27 02:52:36.0 > -0800 > +++ linux-2.6.24-rt1-RCUconfighelp/kernel/Kconfig.preempt 2008-01-27 > 03:05:22.0 -0800 > @@ -131,6 +131,14 @@ choice > prompt "RCU implementation type:" > defau

Re: [PATCH] unifdef linux/vt.h

2008-01-27 Thread Olaf Hering
On Sat, Jan 26, Christoph Hellwig wrote: > On Fri, Jan 25, 2008 at 07:02:15PM +0100, Olaf Hering wrote: > > > > remove the newly added __KERNEL__ block from linux/vt.h > > > > Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> > > We shouldn't add more unifdef-y headers. Please move the newly-adde

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-27 Thread Paul Mackerras
Balbir Singh writes: > Here's a better and more complete fix for the problem. Could you > please see if it works for you? I tested it on a real NUMA box and it > seemed to work fine there. There are a couple of other changes in behaviour that your patch introduces, and I'd like to understand them

Re: [PATCH 17/52] [microblaze] checksum support

2008-01-27 Thread Geert Uytterhoeven
On Thu, 24 Jan 2008, [EMAIL PROTECTED] wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > arch/microblaze/lib/checksum.c| 159 > + > include/asm-microblaze/checksum.h | 101 +

Re: preemptible RCU bug (was Re: [git pull] scheduler changes for v2.6.25)

2008-01-27 Thread Ingo Molnar
* Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > Sorry, no help available for this option yet. > > Good catch!!! > > This patch supplies help text for the "RCU implementation type" kernel > configuration choice. thanks applied to sched.git. (see the patch below - the config option is in ini

[PATCH 2/2] Race-free kernel.core_pattern

2008-01-27 Thread Alexey Dobriyan
On Wed, Jan 23, 2008 at 10:51:40AM +, Alan Cox wrote: > On Tue, 22 Jan 2008 23:27:27 +0300 > Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > /proc/sys part of sysctl code runs without BKL held, so BKL during > > sysctl(2) is useless. Remove misleading comment and "protection" around > > cored

Re: Microblaze init port

2008-01-27 Thread Geert Uytterhoeven
On Thu, 24 Jan 2008, [EMAIL PROTECTED] wrote: > I personally feel the biggest pain in header files. 26, 32, and 48 gave false positives in raising my interest :-) + * The user_ipc_perm structure for m68k architecture. + * The msqid64_ds structure for m68k architecture. + * The shmid64_ds structu

[patch 01/14] m68k: Use cc-cross-prefix

2008-01-27 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> m68k: Use cc-cross-prefix Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> --- arch/m68k/Makefile | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) --- a/arch/m68k/Makefile +++ b/arch/m68k/M

[patch 02/14] m68k: ARRAY_SIZE() cleanup

2008-01-27 Thread Geert Uytterhoeven
From: Alejandro Martinez Ruiz <[EMAIL PROTECTED]> m68k: ARRAY_SIZE() cleanup Signed-off-by: Alejandro Martinez Ruiz <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/amiga/amisound.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/m68k/a

[patch 03/14] dio: ARRAY_SIZE() cleanup

2008-01-27 Thread Geert Uytterhoeven
From: Alejandro Martinez Ruiz <[EMAIL PROTECTED]> dio: ARRAY_SIZE() cleanup [Geert: eliminate NUMNAMES, as suggested by Richard Knutsson ] Signed-off-by: Alejandro Martinez Ruiz <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/dio/dio.c |4 +--- 1 file c

[patch 04/14] m68k: Balance ioremap and iounmap in m68k/atari/hades-pci.c

2008-01-27 Thread Geert Uytterhoeven
From: Roel Kluin <[EMAIL PROTECTED]> m68k: Balance ioremap and iounmap in m68k/atari/hades-pci.c Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/atari/hades-pci.c | 56 +--- 1 file changed

[patch 05/14] nubus: kill drivers/nubus/nubus_syms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> nubus: kill drivers/nubus/nubus_syms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/nubus/Makefile |1 - drivers/nubus/nubus.c | 13

[patch 07/14] m68k: kill arch/m68k/hp300/ksyms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> m68k: kill arch/m68k/hp300/ksyms.c It was empty. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/hp300/Makefile |2 +- arch/m68k/hp300/ksyms.c |9 - 2 files changed, 1 inser

[patch 08/14] m68k: kill arch/m68k/amiga/amiga_ksyms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> m68k: kill arch/m68k/amiga/amiga_ksyms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/amiga/Makefile |2 +- arch/m68k/amiga/amiga_ksyms

[patch 10/14] m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/mvme16x/Makefile|2 +- arch/m68k/mvme16x/c

[patch 09/14] m68k: kill arch/m68k/atari/atari_ksyms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> m68k: kill arch/m68k/atari/atari_ksyms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/atari/Makefile |2 +- arch/m68k/atari/ataints.c

[patch 11/14] mac68k: macii adb comment correction

2008-01-27 Thread Geert Uytterhoeven
From: Finn Thain <[EMAIL PROTECTED]> Corrects a mistake I made in a comment. Signed-off-by: Finn Thain <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/macintosh/via-macii.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/macintosh/via

[patch 12/14] mac68k: remove dead code

2008-01-27 Thread Geert Uytterhoeven
From: Finn Thain <[EMAIL PROTECTED]> Remove dead code. Signed-off-by: Finn Thain <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/mac/config.c |2 -- include/asm-m68k/macintosh.h |2 -- 2 files changed, 4 deletions(-) --- a/arch/m68k/mac/conf

[patch 13/14] mac68k: add nubus card definitions and a typo fix

2008-01-27 Thread Geert Uytterhoeven
From: Finn Thain <[EMAIL PROTECTED]> Add some new card definitions and fix a typo (from Eugen Paiuc). Signed-off-by: Finn Thain <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- include/linux/nubus.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/i

Re: X fails to start with latest Linus git

2008-01-27 Thread Ingo Molnar
* Kevin Winchester <[EMAIL PROTECTED]> wrote: > although it is not complete. For some reason (xubuntu, probably) dash > is my default shell and it does not like the for loop at line 69 of > that script: > > for ((i=0; i<5; i++)); do > echo "-- sched_debug #$i: --" >> $FILE > date

[patch 06/14] m68k: kill arch/m68k/mac/mac_ksyms.c

2008-01-27 Thread Geert Uytterhoeven
From: Adrian Bunk <[EMAIL PROTECTED]> m68k: kill arch/m68k/mac/mac_ksyms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- arch/m68k/mac/Makefile|2 +- arch/m68k/mac/mac_ksyms.c |8 --

[patch 14/14] mac68k: remove dead MAC_ADBKEYCODES

2008-01-27 Thread Geert Uytterhoeven
From: Stanislav Brabec <[EMAIL PROTECTED]> It seems, that current kernel source code contains no traces of MAC_ADBKEYCODES and no reference to keyboard_sends_linux_keycodes any more. Attached patch removes them from configuration files. Signed-off-by: Stanislav Brabec <[EMAIL PROTECTED]> Signed-

Re: X fails to start with latest Linus git

2008-01-27 Thread Ingo Molnar
* Kevin Winchester <[EMAIL PROTECTED]> wrote: > Sure, the result of the script is at > > http://personal.nbnet.nb.ca/kwin/cfs-debug-info-2008.01.27-08.13.28 it seems you've got hpet active by default: /sys/devices/system/clocksource/clocksource0/current_clocksource: hpet /sys/devices/system

Re: (ondemand) CPU governor regression between 2.6.23 and 2.6.24

2008-01-27 Thread Toralf Förster
Am Sonntag, 27. Januar 2008 schrieben Sie: > > On Sun, 2008-01-27 at 12:00 +0100, Toralf Förster wrote: > > BTW the dnetc process runs under the user "dnetc" with nice level -19, > > my process runs under my own user id "tfoerste" therefore I wouldn't expect > > that both processes got the same pr

[GIT PATCH] Blackfin arch updates for 2.6.25

2008-01-27 Thread Bryan Wu
Hi Linus, Please pull from 'for-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git for-linus to receive the following updates: - Some new boards BSP added - Initial add CPLB MPU with original CPLB NOMPU code. - Bug fixing MAINTAINERS

Re: X fails to start with latest Linus git

2008-01-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > it seems you've got hpet active by default: > > /sys/devices/system/clocksource/clocksource0/current_clocksource: > hpet > /sys/devices/system/clocksource/clocksource0/available_clocksource: > hpet acpi_pm pit jiffies tsc btw., it's quite mysteriou

Re: X fails to start with latest Linus git

2008-01-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > hm, perhaps it's due to the xtime lock dependency: > > do { > seq = read_seqbegin(&xtime_lock); > getnstimeofday(ts); > tomono = wall_to_monotonic; > > } while (read_seqretry(&xtime_lock,

Re: [Linux-fbdev-devel] [PATCH] fbdev: make the best-fit section of fb_find_mode return the closest matching mode

2008-01-27 Thread Krzysztof Helt
On Sun, 27 Jan 2008 12:31:16 +0100 Michal Januszewski <[EMAIL PROTECTED]> wrote: > From: Michal Januszewski <[EMAIL PROTECTED]> > > Currently, if a perfect match in terms of resolution is not found, > fb_find_mode() only looks for a best-fit mode among modes with a > higher resolution than the on

Re: [PATCH 03/52] [microblaze] Cpuinfo handling

2008-01-27 Thread Jan Engelhardt
On Jan 24 2008 16:03, [EMAIL PROTECTED] wrote: >+ >+static char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY; >+static char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER; >+ I have not checked - can mark these const? >--- /dev/null >+++ b/arch/microblaze/kernel/cpu/cpuinfo.c >+ >+st

Re: [PATCH 12/52] [microblaze] lmb support

2008-01-27 Thread Jan Engelhardt
On Jan 24 2008 16:02, [EMAIL PROTECTED] wrote: >+ >+#define DEBUG >+ >+#ifdef DEBUG >+#define DBG(fmt...) printk(fmt) >+#else >+#define DBG(fmt...) >+#endif Phew, don't reinvent the wheel - use the existing pr_debug() instead. >+static unsigned long __init lmb_addrs_overlap(unsigned long base1,

[patch 00/14] M68k patches for 2.6.25

2008-01-27 Thread Geert Uytterhoeven
Hi Linus, Andrew, Here are the m68k patches I had queued up for 2.6.25: [1] m68k: Use cc-cross-prefix [2] m68k: ARRAY_SIZE() cleanup [3] dio: ARRAY_SIZE() cleanup [4] m68k: Balance ioremap and iounmap in m68k/atari/hades-pci.c [5] nubus: kill drivers/nubus/nubus_syms.c [6] m68k

Re: [PATCH 2/3] x86: Macrofy resuable code

2008-01-27 Thread Abhishek Sagar
Sam Ravnborg wrote: > Small static functions are preferred over macros. > Any particular reason to use a macro here? > > Sam These macros have very limited(two) instantiations. But here's an alternative patch inlined. Signed-off-by: Abhishek Sagar <[EMAIL PROTECTED]> --- diff --git a/ar

Re: netatalk slow after system upgrade (possibly kernel problem?)

2008-01-27 Thread Rachel Greenham
(this thread came up in searching about the problem myself, so joined to post this, hence the 'broken' threading, I expect:) Andrew Morton asked: It would be interesting if this could be repeated on bare hardware, so we can eliminate the possibility that it is some weird interaction with v

[PATCH] Atari Falcon IDE: Add missing hwif variable

2008-01-27 Thread Geert Uytterhoeven
Atari Falcon IDE: Add missing hwif variable Commit cbb010c180294a5242a7681555c28737d9dd26ab ide: drop 'initializing' argument from ide_register_hw() * Rename init_hwif_data() to ide_init_port_data() and export it. * For all users of ide_register_hw() with 'initializing' argument

[PATCH] Atari floppy: Rename disk_type to atari_disk_type

2008-01-27 Thread Geert Uytterhoeven
Atari floppy: Rename disk_type to atari_disk_type Commit edfaa7c36574f1bf09c65ad602412db9da5f96bf Driver core: convert block from raw kobjects to core devices This moves the block devices to /sys/class/block. It will create a flat list of all block devices, with the disks and par

Re: [PATCH 17/52] [microblaze] checksum support

2008-01-27 Thread Michal Simek
Hi Geert, So basically this is a copy of arch/m68knommu/lib/checksum.c, with some checkpatch.pl fixes but without the sparse fixes? Furthermore, it's just plain C, so maybe we need a common one that can be shared by multiple archs? Gr{oetje,eeting}s,

Re: [PATCH -mm 1/2] Basic PWM driver for AVR32 and AT91

2008-01-27 Thread Haavard Skinnemoen
On Thu, 24 Jan 2008 12:53:13 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > On Thursday 24 January 2008, Haavard Skinnemoen wrote: > > +config ATMEL_PWM > > +   tristate "Atmel AT32/AT91 PWM support" > > +   depends on (AVR32 || AT91) && EXPERIMENTAL > > There's probably no need for EX

[ppc] Disparity between sys_clock_getres and vdso implementation

2008-01-27 Thread Sripathi Kodi
Hi Paul, On PPC, I see a disparity between clock_getres implementations in the vdso and syscall. I am using a IBM Openpower hardware and 2.6.24 kernel with CONFIG_HIGH_RES_TIMERS=y. clock_getres call for CLOCK_REALTIME returns 1 millisecond. However, when I edit arch/powerpc/kernel/vdso*/gettime

[PATCH] natsemi: Update locking documentation

2008-01-27 Thread Mark Brown
The documentation regarding synchronisation at the head of the natsemi driver was badly bitrotted so replace it with a general statement about the techniques used which is less likely to bitrot. Also remove the note saying these chips are uncommon - it makes little difference but they were used in

"inconsistent lock state" (netconsole/net related)

2008-01-27 Thread Marcin Slusarz
Hi My box is locking up on start of X.org so I enabled netconsole and at every boot I'm getting: ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker ACPI: PCI Interrupt :00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17 eth0: Compex RL2000 found at 0xb000, IRQ 17, 00:80:48:de:5e:89. netconsole: local

  1   2   3   4   >