linux-kernel mailing list

FromSubjectsort iconDate
Benjamin Herrenschmidt
[RFC/PATCH] drm: Fix for non-coherent DMA PowerPC
This patch fixes bits of the DRM so to make the radeon DRI work on non-cache coherent PCI DMA variants of the PowerPC processors. It moves the few places that needs change to wrappers to that other architectures with similar issues can easily add their own changes to those wrappers, at least until we have more useful generic kernel API. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- drivers/char/drm/ati_pcigart.c | 6 ++++++ drivers/char/drm/drm_scatter.c | 1...
Nov 25, 7:41 pm 2007
Kristoffer Ericson
Question regarding naming scheme (HP Jornada 6XX/7XX)
Greetings, Just want some input before I start dropping patches everywhere. A simple ack will do nicely if you just agree. Currently we use the name of the most typical HP Jornada (680 and 720) to mean all 6XX/7XX (= 620/660/680/690 and 720/720/728). In the past this has led to some confusion when people tried to compile their own kernels. For instance an hp 620 user thought that their system was unsupported because everything was for '680'. Or the other way round 728 users didn't want to use 720...
Nov 25, 7:03 pm 2007
Robert Hancock
[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)
We need to run any DMA command with result taskfile requested in ADMA mode when the port is in ADMA mode, otherwise it may try to use the legacy DMA engine in ADMA mode which is not allowed. Enforce this with BUG_ON() since data corruption could potentially result if this happened. Also, fail any attempt to try and issue NCQ commands with result taskfile requested, since the hardware doesn't allow this. Signed-off-by: Robert Hancock <hancockr@shaw.ca> --- linux-2.6.24-rc3-git1edit/drivers/a...
Nov 25, 6:59 pm 2007
Mikael Pettersson
Re: Small System Paging Problem - OOM-killer goes nuts
I'm no VM tuning expert, but I have and still do heavy compile jobs on similarly configured machines, with no OOM problems: I regularly build 2.6 kernels and occasionally also gcc on a 100MHz 486 with 28MB of RAM and perhaps 500MB of swap. It runs a standard but stripped down Fedora Core 4 user-space, with ext3 file systems and a kernel that doesn't include anything non-essential. The machine will swap madly, but the OOM killer never triggers. (All system settings are FC4 defaults. I haven't tou...
Nov 25, 6:55 pm 2007
Davide Libenzi
[patch 2/4] Timerfd v3 - new timerfd API
This is the new timerfd API as it is implemented by the following patch: int timerfd_create(int clockid, int flags); int timerfd_settime(int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr); int timerfd_gettime(int ufd, struct itimerspec *otmr); The timerfd_create() API creates an un-programmed timerfd fd. The "clockid" parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME. The timerfd_settime() API give new settings by the timerfd fd, by optionally retrie...
Nov 25, 6:14 pm 2007
Davide Libenzi
[patch 3/4] Timerfd v3 - wire the new timerfd API to the x86...
Wires up the new timerfd API to the x86 family. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> - Davide --- arch/x86/ia32/ia32entry.S | 4 +++- arch/x86/kernel/syscall_table_32.S | 4 +++- include/asm-x86/unistd_32.h | 6 ++++-- include/asm-x86/unistd_64.h | 9 +++++++-- 4 files changed, 17 insertions(+), 6 deletions(-) Index: linux-2.6.mod/include/asm-x86/unistd_32.h ================================================================...
Nov 25, 6:14 pm 2007
Davide Libenzi
[patch 4/4] Timerfd v3 - un-break CONFIG_TIMERFD
Remove the broken status to CONFIG_TIMERFD. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> - Davide --- init/Kconfig | 1 - 1 file changed, 1 deletion(-) Index: linux-2.6.mod/init/Kconfig =================================================================== --- linux-2.6.mod.orig/init/Kconfig 2007-11-23 13:55:15.000000000 -0800 +++ linux-2.6.mod/init/Kconfig 2007-11-24 12:49:30.000000000 -0800 @@ -566,7 +566,6 @@ config TIMERFD bool "Enable timerfd() system ca...
Nov 25, 6:14 pm 2007
Davide Libenzi
[patch 1/4] Timerfd v3 - introduce a new hrtimer_forward_now...
I think that advancing the timer against the timer's current "now" can be a pretty common usage, so, w/out exposing hrtimer's internals, we add a new hrtimer_forward_now() function. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> - Davide --- include/linux/hrtimer.h | 7 +++++++ 1 file changed, 7 insertions(+) Index: linux-2.6.mod/include/linux/hrtimer.h =================================================================== --- linux-2.6.mod.orig/include/linux/hrtime...
Nov 25, 6:14 pm 2007
Adrian Bunk
[2.6 patch] scsi/qla2xxx/qla_os.c section fix
qla2x00_remove_one() mustn't be __devexit since it's called from qla2xxx_pci_error_detected(). This patch fixes the following section mismatch: <-- snip --> ... WARNING: vmlinux.o(.text+0x2a4462): Section mismatch: reference to .exit.text:qla2x00_remove_one (between 'qla2xxx_pci_error_detected' and 'qla2x00_stop_timer') ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- drivers/scsi/qla2xxx/qla_os.c | 4 ++-- 1 file changed, 2 insertions(+),...
Nov 25, 6:05 pm 2007
Adrian Bunk
[2.6 patch] finish the VID_HARDWARE_* removal
This patch removes a few remainders of the VID_HARDWARE_* removal. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- Documentation/DocBook/videobook.tmpl | 9 --------- drivers/media/video/usbvision/usbvision.h | 4 ---- 2 files changed, 13 deletions(-) 643d01fb38b6f376cced035549f4e193018776e7 diff --git a/Documentation/DocBook/videobook.tmpl b/Documentation/DocBook/videobook.tmpl index b629da3..b3d93ee 100644 --- a/Documentation/DocBook/videobook.tmpl +++ b/Documentation...
Nov 25, 6:04 pm 2007
Josh Goldsmith
Small System Paging Problem - OOM-killer goes nuts
Hi, I have a Linksys NSLU2 running 2.6.21 (I can replicate the problem on 2.6.23 but it isn't fully supported on SlugOS). It is a armv5teb device with 32MB of RAM, 400+ MB swap on its 160GB USB2 root disk. The machine is used as a fileserver and to build packages for other ARM devices. It may be underpowered by today's standard but is a whole lot faster than my first Linux system (386sx20 with 4MB RAM) but the whole system with disk uses <8 watts and is silent. The problem comes ...
Nov 25, 6:02 pm 2007
Roland McGrath
[PATCH 01/27] ptrace: arch_has_single_step
This defines the new macro arch_has_single_step() in linux/ptrace.h, a default for when asm/ptrace.h does not define it. It declares the new user_enable_single_step and user_disable_single_step functions. This is not used yet, but paves the way to harmonize on this interface for the arch-specific calls on all machines. Signed-off-by: Roland McGrath <roland@redhat.com> --- include/linux/ptrace.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 dele...
Nov 25, 5:55 pm 2007
Christoph Hellwig
Re: [PATCH 01/27] ptrace: arch_has_single_step
Why should arch_has_single_step be a function-like macro? I can't thing of a case were this wouln't be a compile-time constant. And given that this is hopefully a transitionary ifdef because eventually all architectures would use the generic code I'd prefer ifdefs in the code that clearly mark And I don't think these should be provided at all as generic stubs. If an arch doesn't use the generic code it simply shouldn't compile the code using this. Whats the reason for the user_ prefix btw, mo...
Nov 25, 6:22 pm 2007
Roland McGrath
Re: [PATCH 01/27] ptrace: arch_has_single_step
I'm not sure it's true that there is no machine where some chips support single-step and others don't, though I do think it's true that no arch code has a conditional like this now. In the case of block-step (in later patches), is is the case that a run-time check for availability of the hardware feature comes up (on some x86 configurations). So a main reason The code compiles away completely with if (0)'s. I did it this way to avoid more #ifdef's in the generic ptrace code. Previous patch rev...
Nov 25, 6:59 pm 2007
Roland McGrath
[PATCH 27/27] x86: PTRACE_SINGLEBLOCK
This adds the PTRACE_SINGLEBLOCK request on x86, matching the ia64 feature. The implementation comes from the generic ptrace code and relies on the low-level machine support provided by arch_has_block_step() et al. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/ia32/ptrace32.c | 1 + include/asm-x86/ptrace-abi.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/ia32/ptrace32.c b/arch/x86/ia32/ptrace32.c index 5661abd..d1fe78c 10064...
Nov 25, 6:08 pm 2007
Roland McGrath
[PATCH 26/27] x86: debugctlmsr kprobes
This adjusts the x86 kprobes implementation to cope with per-thread MSR_IA32_DEBUGCTLMSR being set for user mode. I haven't delved deep enough into the kprobes code to be really sure this covers all the cases where the user-mode BTF setting needs to be cleared or restored. It looks about right to me. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/kprobes_32.c | 15 +++++++++++++++ arch/x86/kernel/kprobes_64.c | 15 +++++++++++++++ 2 files changed, 30 insertion...
Nov 25, 6:08 pm 2007
Roland McGrath
[PATCH 25/27] x86: debugctlmsr arch_has_block_step
This implements user-mode step-until-branch on x86 using the BTF bit in MSR_IA32_DEBUGCTLMSR. It's just like single-step, only less so. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/step.c | 64 +++++++++++++++++++++++++++++++++++++++++-- arch/x86/kernel/traps_32.c | 6 ++++ arch/x86/kernel/traps_64.c | 6 ++++ include/asm-x86/ptrace.h | 7 +++++ 4 files changed, 80 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/step.c b/arch/x86/ke...
Nov 25, 6:08 pm 2007
Roland McGrath
[PATCH 24/27] x86: debugctlmsr context switch
This adds low-level support for a per-thread value of MSR_IA32_DEBUGCTLMSR. The per-thread value is switched in when TIF_DEBUGCTLMSR is set. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/process_32.c | 6 +++++- arch/x86/kernel/process_64.c | 3 +++ include/asm-x86/processor_32.h | 2 ++ include/asm-x86/processor_64.h | 2 ++ include/asm-x86/thread_info_32.h | 6 ++++-- include/asm-x86/thread_info_64.h | 4 +++- 6 files changed, 19 i...
Nov 25, 6:08 pm 2007
Roland McGrath
[PATCH 23/27] x86: debugctlmsr kconfig
This adds the (internal) Kconfig macro CONFIG_X86_DEBUGCTLMSR, to be defined when configuring to support only hardware that definitely supports MSR_IA32_DEBUGCTLMSR with the BTF flag. The Intel documentation says "P6 family" and later processors all have it. I think the Kconfig dependencies are right to have it set for those and unset for others (i.e., when 586 and earlier are supported). Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/Kconfig.cpu | 4 ++++ 1 files ch...
Nov 25, 6:08 pm 2007
Roland McGrath
[PATCH 22/27] x86: debugctlmsr constants
This adds constant macros for a few of the bits in MSR_IA32_DEBUGCTLMSR. Signed-off-by: Roland McGrath <roland@redhat.com> --- include/asm-x86/msr-index.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/msr-index.h b/include/asm-x86/msr-index.h index a494473..4045bbe 100644 --- a/include/asm-x86/msr-index.h +++ b/include/asm-x86/msr-index.h @@ -63,6 +63,13 @@ #define MSR_IA32_LASTINTFROMIP 0x000001dd #define MSR_IA32_LASTINTTOIP 0x000...
Nov 25, 6:06 pm 2007
Roland McGrath
[PATCH 19/27] x86-32 ptrace debugreg cleanup
This cleans up the 32-bit ptrace code to separate the guts of the debug register access from the implementation of PTRACE_PEEKUSR and PTRACE_POKEUSR. The new functions ptrace_[gs]et_debugreg match the new 64-bit entry points for parity, but they don't need to be global. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_32.c | 119 +++++++++++++++++++++++++------------------ 1 files changed, 69 insertions(+), 50 deletions(-) diff --git a/arch/x86/kernel/ptrac...
Nov 25, 6:05 pm 2007
Roland McGrath
[PATCH 21/27] ptrace: generic PTRACE_SINGLEBLOCK
This makes ptrace_request handle PTRACE_SINGLEBLOCK along with PTRACE_CONT et al. The new generic code makes use of the arch_has_block_step macro and generic entry points on machines that define them. Signed-off-by: Roland McGrath <roland@redhat.com> --- kernel/ptrace.c | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 309796a..2824726 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -373,6 +373,12 @@...
Nov 25, 6:06 pm 2007
Roland McGrath
[PATCH 20/27] ptrace: arch_has_block_step
This defines the new macro arch_has_block_step() in linux/ptrace.h, a default for when asm/ptrace.h does not define it. This is the analog of arch_has_single_step() for step-until-branch on machines that have it. It declares the new user_enable_block_step function, which goes with the existing user_enable_single_step and user_disable_single_step. This is not used yet, but paves the way to harmonize on this interface for the arch-specific calls on all machines. Signed-off-by: Roland McGrath <...
Nov 25, 6:05 pm 2007
Roland McGrath
[PATCH 17/27] x86-64 ptrace debugreg cleanup
This cleans up the 64-bit ptrace code to separate the guts of the debug register access from the implementation of PTRACE_PEEKUSR and PTRACE_POKEUSR. The new functions ptrace_[gs]et_debugreg are made global so that the ia32 code can later be changed to call them too. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_64.c | 140 ++++++++++++++++++++----------------------- include/asm-x86/ptrace.h | 3 + 2 files changed, 69 insertions(+), 74 deletions(-) ...
Nov 25, 6:04 pm 2007
Roland McGrath
[PATCH 18/27] x86-64 ia32 ptrace debugreg cleanup
This cleans up the ia32 compat ptrace code to use shared code from native ptrace for the implementation guts of debug register access. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/ia32/ptrace32.c | 63 ++++++---------------------------------------- 1 files changed, 8 insertions(+), 55 deletions(-) diff --git a/arch/x86/ia32/ptrace32.c b/arch/x86/ia32/ptrace32.c index a9a5cd4..5661abd 100644 --- a/arch/x86/ia32/ptrace32.c +++ b/arch/x86/ia32/ptrace32.c @@ -40,7 +40,...
Nov 25, 6:05 pm 2007
Roland McGrath
[PATCH 16/27] x86-64 ptrace: use task_pt_regs
This cleans up the 64-bit ptrace code to use task_pt_regs instead of its own redundant code that does the same thing a different way. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_64.c | 60 ++++++++---------------------------------- 1 files changed, 12 insertions(+), 48 deletions(-) diff --git a/arch/x86/kernel/ptrace_64.c b/arch/x86/kernel/ptrace_64.c index 85fba7b..8123ecb 100644 --- a/arch/x86/kernel/ptrace_64.c +++ b/arch/x86/kernel/ptrace_64.c @@...
Nov 25, 6:04 pm 2007
Roland McGrath
[PATCH 13/27] powerpc: arch_has_single_step
This defines the new standard arch_has_single_step macro. It makes the existing set_single_step and clear_single_step entry points global, and renames them to the new standard names user_enable_single_step and user_disable_single_step, respectively. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/powerpc/kernel/ptrace.c | 12 ++++++------ include/asm-powerpc/ptrace.h | 7 +++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/ptrace....
Nov 25, 6:03 pm 2007
Roland McGrath
[PATCH 15/27] x86-32 ptrace: use task_pt_regs
This cleans up the 32-bit ptrace code to use task_pt_regs instead of its own redundant code that does the same thing a different way. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_32.c | 68 ++++++++++-------------------------------- 1 files changed, 16 insertions(+), 52 deletions(-) diff --git a/arch/x86/kernel/ptrace_32.c b/arch/x86/kernel/ptrace_32.c index 50882b3..7c33244 100644 --- a/arch/x86/kernel/ptrace_32.c +++ b/arch/x86/kernel/ptrace_32.c @@...
Nov 25, 6:04 pm 2007
Roland McGrath
[PATCH 14/27] powerpc: ptrace generic resume
This removes the handling for PTRACE_CONT et al from the powerpc ptrace code, so it uses the new generic code via ptrace_request. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/powerpc/kernel/ptrace.c | 46 ------------------------------------------ 1 files changed, 0 insertions(+), 46 deletions(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index b970d79..8b056d2 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c @@...
Nov 25, 6:04 pm 2007
Roland McGrath
[PATCH 09/27] x86 single_step: TIF_FORCED_TF
This changes the single-step support to use a new thread_info flag TIF_FORCED_TF instead of the PT_DTRACE flag in task_struct.ptrace. This keeps arch implementation uses out of this non-arch field. This changes the ptrace access to eflags to mask TF and maintain the TIF_FORCED_TF flag directly if userland sets TF, instead of relying on ptrace_signal_deliver. The 64-bit and 32-bit kernels are harmonized on this same behavior. The ptrace_signal_deliver approach works now, but this change makes th...
Nov 25, 6:00 pm 2007
Roland McGrath
[PATCH 11/27] x86-64: ptrace generic resume
This removes the handling for PTRACE_CONT et al from the 64-bit ptrace code, so it uses the new generic code via ptrace_request. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_64.c | 45 ------------------------------------------- 1 files changed, 0 insertions(+), 45 deletions(-) diff --git a/arch/x86/kernel/ptrace_64.c b/arch/x86/kernel/ptrace_64.c index d8453da..85fba7b 100644 --- a/arch/x86/kernel/ptrace_64.c +++ b/arch/x86/kernel/ptrace_64.c @@ -334...
Nov 25, 6:01 pm 2007
Roland McGrath
[PATCH 10/27] ptrace: generic resume
This makes ptrace_request handle all the ptrace requests that wake up the traced task. These do low-level ptrace implementation magic that is not arch-specific and should be kept out of arch code. The implementations on each arch usually do the same thing. The new generic code makes use of the arch_has_single_step macro and generic entry points to handle PTRACE_SINGLESTEP. Signed-off-by: Roland McGrath <roland@redhat.com> --- kernel/ptrace.c | 61 +++++++++++++++++++++++++++++++++++++...
Nov 25, 6:01 pm 2007
Christoph Hellwig
Re: [PATCH 10/27] ptrace: generic resume
Nice, I've been trying to get people to move this to common code for Could we by any chance just force every architecture using generic code to implement PTRACE_SINGLESTEP and PTRACE_SYSEMU? This will lead to both far less messy code and a more consistant user interface. -
Nov 25, 6:23 pm 2007
Roland McGrath
Re: [PATCH 10/27] ptrace: generic resume
I'd like to look into that later after most arch's have moved to using the generic code for their existing support. I am thoroughly in favor, but it requires some more groundwork that can come after this initial stage. Thanks, Roland -
Nov 25, 6:37 pm 2007
Roland McGrath
[PATCH 12/27] x86-32: ptrace generic resume
This removes the handling for PTRACE_CONT et al from the 32-bit ptrace code, so it uses the new generic code via ptrace_request. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_32.c | 57 ------------------------------------------- 1 files changed, 0 insertions(+), 57 deletions(-) diff --git a/arch/x86/kernel/ptrace_32.c b/arch/x86/kernel/ptrace_32.c index a493017..50882b3 100644 --- a/arch/x86/kernel/ptrace_32.c +++ b/arch/x86/kernel/ptrace_32.c @@ -277...
Nov 25, 6:01 pm 2007
Roland McGrath
[PATCH 05/27] x86: single_step moved
This moves the single-step support code from ptrace_64.c into a new file step.c, verbatim. This paves the way for consolidating this code between 64-bit and 32-bit versions. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/Makefile_64 | 2 + arch/x86/kernel/ptrace_64.c | 134 ----------------------------------------- arch/x86/kernel/step.c | 140 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 134 deletions(-) diff --git a...
Nov 25, 5:59 pm 2007
Roland McGrath
[PATCH 08/27] x86: single_step: share code
This removes the single-step code from ptrace_32.c and uses the step.c code shared with the 64-bit kernel. The two versions of the code were nearly identical already, so the shared code has only a couple of simple #ifdef's. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/Makefile_32 | 1 + arch/x86/kernel/ptrace_32.c | 125 ------------------------------------------- arch/x86/kernel/step.c | 14 +++++ 3 files changed, 15 insertions(+), 125 deletions(-) ...
Nov 25, 6:00 pm 2007
Roland McGrath
[PATCH 06/27] x86: single_step segment macros
This cleans up the single-step code to use the asm/segment.h macros for segment selector magic bits, rather than its own constant. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/step.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/step.c b/arch/x86/kernel/step.c index cb3c8bc..3b70f20 100644 --- a/arch/x86/kernel/step.c +++ b/arch/x86/kernel/step.c @@ -5,8 +5,6 @@ #include <linux/mm.h> #include <linux/ptr...
Nov 25, 5:59 pm 2007
Roland McGrath
[PATCH 07/27] x86: single_step 0xf0
This fixes the 64-bit single-step handling code's instruction decoder to grok the 0xf0 (lock) prefix, which the 32-bit code already does correctly. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/step.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/step.c b/arch/x86/kernel/step.c index 3b70f20..6a93b93 100644 --- a/arch/x86/kernel/step.c +++ b/arch/x86/kernel/step.c @@ -66,7 +66,7 @@ static int is_setting_trap_flag(stru...
Nov 25, 6:00 pm 2007
Roland McGrath
[PATCH 03/27] x86: remove TRAP_FLAG
This gets rid of the local constant macro TRAP_FLAG. It's redundant with the public constant macro X86_EFLAGS_TF. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_32.c | 9 +++------ arch/x86/kernel/ptrace_64.c | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/x86/kernel/ptrace_32.c b/arch/x86/kernel/ptrace_32.c index 39a94a0..2b4fcb5 100644 --- a/arch/x86/kernel/ptrace_32.c +++ b/arch/x86/kernel/ptrace_32.c @@ -37,9 ...
Nov 25, 5:58 pm 2007
Roland McGrath
[PATCH 04/27] x86: arch_has_single_step
This defines the new standard arch_has_single_step macro. It makes the existing set_singlestep and clear_singlestep entry points global, and renames them to the new standard names user_enable_single_step and user_disable_single_step, respectively. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/kernel/ptrace_32.c | 12 ++++++------ arch/x86/kernel/ptrace_64.c | 12 ++++++------ include/asm-x86/ptrace.h | 7 +++++++ 3 files changed, 19 insertions(+), 12 deletions...
Nov 25, 5:59 pm 2007
Roland McGrath
[PATCH 02/27] x86: segment selector macros
This copies into asm-x86/segment_64.h some macros from asm-x86/segment_32.h for dissecting segment selectors. This lets other code use these macros uniformly on 32/64-bit rather than duplicating the constants elsewhere. Signed-off-by: Roland McGrath <roland@redhat.com> --- include/asm-x86/segment_64.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/segment_64.h b/include/asm-x86/segment_64.h index 04b8ab2..dce7421 100644 --- a/include...
Nov 25, 5:58 pm 2007
Rafael J. Wysocki
[RFC][PATCH] Update REPORTING-BUGS
Hi, The recent "kernel bugzilla is FPOS" thread made me think that it might be a good idea to update REPORTING-BUGS, so that it's more "friendly" to people who want to report a kernel bug for the first time. The patch below does that, but it's more a means to spark a discussion than anything else. Comments are obviously welcome. :-) Greetings, Rafael --- From: Rafael J. Wysocki <rjw@sisk.pl> Update REPORTING-BUGS to reflect the current common practice and to provide inexperienc...
Nov 25, 4:57 pm 2007
Adrian Bunk
Re: [RFC][PATCH] Update REPORTING-BUGS
I wouldn't say creating an account (if you don't already have one) plus 5 additional mouse clicks per bug report are substancially more How should a newbie find the correct mailing list? Benchmark: If you don't already know MAINTAINERS well then finding the right What about recommending a cronjob that resends the bug report every three days? ;-) Really, we must define _one_ way for people to report a bug, and how If you expect people to read and follow this, wouldn't it be easier...
Nov 25, 5:12 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH] Update REPORTING-BUGS
Plus generating some information that it asks you for and that may or may not Nope. Please try to file a report against libata/PATA using the Bugzilla. I disagree. How a newbie is supposed to know what AIO and DIO mean and WTH is the difference between LVM2/DM and MD? I took only the IO/Storage submenu as an example, but there are other things like that. For instance, what is the difference between "Flash/Memory Technology Devices" and MMC/SD? Why "Hotplug" is under "Drivers" and WTH ...
Nov 25, 5:51 pm 2007
Adrian Bunk
Re: [RFC][PATCH] Update REPORTING-BUGS
What are you talking about? $ grep PATA MAINTAINERS "we" = "we kernel developers" I'm not focussed on Bugzilla. But a submitter should send a bug report _once_ through one well-defined medium, this should result in the bug report not being lost, and every other communication of the submitter should be triggered by developers requesting additional information. I don't care whether that's done with Bugzilla, some email based bug tracker like the Debian bug tracker, someone putting...
Nov 25, 5:51 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH] Update REPORTING-BUGS
OK Who's supposed to be responsible for that? I don't think that have to be only *one* medium as long as we're able to track That last solution doesn't scale very well ... How about using the system in which it's possible to report bugs using both email and a web interface? We can request that the address of the bug tracker be added to the Cc lists of bug reports sent by email and we can make it resend reports filed with it to the appropriate mailing lists and with the appropriate em...
Nov 25, 7:00 pm 2007
Adrian Bunk
Re: [RFC][PATCH] Update REPORTING-BUGS
You are trying to solve something that is not a problem. It does not matter which medium we choose for getting bug reports. The only thing that matters is that we get bug reports resolved within a 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 -
Nov 25, 7:13 pm 2007
Mathias Kretschmer
2.6.22 (gentoo + grsec) kernel BUG at mm/mlock.c:205!
Hi, this is a x86_64 kernel with 4GB of RAM. incident happened when compiling cdrecord (or some variant of it :) in a 32-bit chroot jail during the 'configure' process. alpha / # uname -a Linux alpha 2.6.22-hardened-r8 #10 SMP Sun Nov 25 12:52:39 CET 2007 x86_64 AMD Processor model unknown AuthenticAMD GNU/Linux Let me know, if you need for info. Best, Mathias
Nov 25, 3:36 pm 2007
Arjan van de Ven
Re: 2.6.22 (gentoo + grsec) kernel BUG at mm/mlock.c:205!
On Sun, 25 Nov 2007 20:36:04 +0100 you have both a heavily patched kernel and a tainted kernel due to binary kernel modules.... sounds like you're best of contacting the support side of whoever gave you the patches and/or the binary module; I don't think there's much lkml can do for you. -- 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 -
Nov 25, 7:17 pm 2007
previous daytodaynext day
November 24, 2007November 25, 2007November 26, 2007