linux-kernel mailing list

FromSubjectsort iconDate
Chris Rankin
[BUG] 2.6.24 refuses to boot - ATA problem?
Hi, I have tried to boot a 2.6.24 kernel on my 1 GHz Coppermine / 512 MB RAM PC. (This is without the nmi_watchdog=1 option.) However, the ATA layer is failing to initialise: Linux version 2.6.24 (chris@twopit.underworld) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP PREEMPT Sat Feb 2 22:21:52 GMT 2008 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 00000000...
Feb 2, 7:40 pm 2008
Greg KH
[GIT PATCH] PCI fixes for 2.6.24-git
Here are some PCI patches against your 2.6.24 git tree. They rip out the PCIE ASPM patch, as it was causing both build errors, and run-time oopses, fixes a build error in the scsi tree caused by a clueless kernel developer who forgot to check in his fix on his machine[1], and 2 patches to fix some of the section warnings in the PCI code that are now showing up. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/ The full patches will be sent to the linux-pci ...
Feb 2, 7:44 pm 2008
Greg KH
[GIT PATCH] driver core fixes against 2.6.24-git
Here's 10 patches against your current git tree that fix some more build issues (with CONFIG_SYSFS=n), update some documentation, and refresh the nozomi driver with some fixes. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/ Patches will be sent as a follow-on to this message to lkml for people to see. thanks, greg k-h ------------ Documentation/driver-model/platform.txt | 6 +- Documentation/ja_JP/stable_kernel_rules.txt | 79 ++++++++++...
Feb 2, 7:43 pm 2008
Greg Kroah-Hartman
[PATCH 10/10] Driver core: Remove unneeded get_{device,drive...
From: Cornelia Huck <cornelia.huck@de.ibm.com> Driver core: Remove unneeded get_{device,driver}() calls. Code trying to add/remove attributes must hold a reference to the device resp. driver anyway, so let's remove those reference count games. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Cc: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/core.c | 8 ++------ drivers/base/driver.c | 9 +++--...
Feb 2, 7:56 pm 2008
Greg Kroah-Hartman
[PATCH 09/10] Driver core: Update some prototypes in platfor...
From: Stephen Rothwell <sfr@canb.auug.org.au> Just make these match the actual code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- Documentation/driver-model/platform.txt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/driver-model/platform.txt b/Documentation/driver-model/platform.txt index 2a97320..83009fd 100644 --- a/Documentation/driver-model/platform.txt +++ b/D...
Feb 2, 7:56 pm 2008
Greg Kroah-Hartman
[PATCH 08/10] driver core: convert to use class_find_device ...
From: Dave Young <hidave.darkstar@gmail.com> Convert to use class_find_device api in drivers/base/core.c Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/core.c | 32 +++++++++++--------------------- 1 files changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index b172787..a0cfda5 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1144,25 +...
Feb 2, 7:56 pm 2008
Greg Kroah-Hartman
[PATCH 07/10] PM: Export device_pm_schedule_removal
From: Rafael J. Wysocki <rjw@sisk.pl> Move the declaration of device_pm_schedule_removal() to device.h and make it exported, as it will be used directly by some drivers for unregistering device objects during suspend/resume cycles in a safe way. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/power/main.c | 1 + drivers/base/power/power.h | 1 - include/linu...
Feb 2, 7:56 pm 2008
Greg Kroah-Hartman
[PATCH 06/10] nozomi: finish constification
From: Frank Seidel <fseidel@suse.de> Even some more constifications Signed-off-by: Frank Seidel <fseidel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/char/nozomi.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index 7979eb1..dfaab23 100644 --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -395,7 +395,7 @@ struct buffer { } __attribute__ ((packed)); ...
Feb 2, 7:56 pm 2008
Greg Kroah-Hartman
[PATCH 05/10] nozomi: constify driver
From: Jan Engelhardt <jengelh@computergmbh.de> nozomi: constify structures and annotate vars Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Frank Seidel <fseidel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/char/nozomi.c | 38 ++++++++++++++++++-------------------- 1 files changed, 18 insertions(+), 20 deletions(-) diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index 86ded7e..7979eb1 100644 --- a/driver...
Feb 2, 7:55 pm 2008
Greg Kroah-Hartman
[PATCH 04/10] nozomi driver update
From: Frank Seidel <fseidel@suse.de> Minor cleanups and removal of in-file changelog: - Correction of misspellings and wrong encoded Name - changed 'unsigned' to 'unsigned int' for better readability - use of generic devicefile access macro - fixed/added explanatory comment to ntty_put_char Signed-off-by: Frank Seidel <fseidel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/char/nozomi.c | 122 ++++++++++++++---------------------------------- 1 fil...
Feb 2, 7:55 pm 2008
Greg Kroah-Hartman
[PATCH 03/10] Add ja_JP translation of stable_kernel_rules.txt
From: Tsugikazu Shibata <tshibata@ab.jp.nec.com> Contents are reviewed by Japanese translation community called "JF". Thanks a lot! Singed-off-by: Tsugikazu Shibata <tshibata@ab.jp.nec.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- Documentation/ja_JP/stable_kernel_rules.txt | 79 +++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 Documentation/ja_JP/stable_kernel_rules.txt diff --git a/Documentation/ja_JP/stable...
Feb 2, 7:55 pm 2008
Greg Kroah-Hartman
[PATCH 02/10] kobject: kerneldoc comment fix
From: Dave Young <hidave.darkstar@gmail.com> Fix kerneldoc comment of kobject_create. Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- lib/kobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/kobject.c b/lib/kobject.c index 1d63ead..d784dae 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -637,7 +637,7 @@ struct kobject *kobject_create(void) * @name: the name for the kset ...
Feb 2, 7:55 pm 2008
Greg Kroah-Hartman
[PATCH 01/10] kobject: Always build in kernel/ksysfs.o.
From: Paul Mundt <lethal@linux-sh.org> kernel/ksysfs.c seems to be a random dumping group for misc globals that the rest of the tree depend on. This has caused problems with exports in the past when sysfs is disabled, which can already be observed in commit-id 51107301b629640f9ab76fe23bf385e187b9ac29. The latest one is the kernel_kobj usage, which presently results in: fs/built-in.o: In function `debugfs_init': inode.c:(.init.text+0xc34): undefined reference to `kernel_kobj' make: *** [....
Feb 2, 7:55 pm 2008
Chris Rankin
[BUG] 2.6.24 refuses to boot - NMI watchdog problem?
Hi, I have a 1 GHz Coppermine PC with 512 MB RAM, and it is failing to boot with the nmi_watchdog=1 option. This kernel was rebuilt after doing a "make mrproper". The dmesg log follows: Linux version 2.6.24 (chris@twopit.underworld) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP PREEMPT Sat Feb 2 22:21:52 GMT 2008 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000...
Feb 2, 7:36 pm 2008
Scott Shambarger
Oops in megaraid_mbox_dpc(), kernel 2.6.23.9-85.fc8.i686
Not really sure where to send this, and this appears to be a good starting place... I was performing some heavy disk activity, and got the following oops in kernel 2.6.23.9-85.fc8.i686 (Fedora 8) I'll try to include as much info as I can, but let me know if I can provide anything else... system has been running for a couple days before this oops w/o problems, so I don't think it's easy to reproduce. Scott megaraid_mbox.c: v2.20.5.1 (Nov 16 2006) panic: (sorry for any errors, since...
Feb 2, 7:03 pm 2008
Miklos Szeredi
[patch 0/3] mm: bdi: updates
Here are incremental patches against the "export BDI attributes in sysfs" patchset, addressing the issues identified at the last submission: - the read-only attributes are only for debugging - more consistent naming needed in /sys/class/bdi - documentation problems I've also done some testing, and fixed some bugs. Including patches in -mm can do wonders, even before the kernel containing them is released :) Let me know if you prefer a resubmission of the original series with these cha...
Feb 2, 7:01 pm 2008
Miklos Szeredi
[patch 1/3] mm: bdi: fix read_ahead_kb_store()
From: Miklos Szeredi <mszeredi@suse.cz> This managed to completely evade testing :( Fix return value to be count or -errno. Also bring the function in line with the other store functions on this object, which have more strict input checking. Also fix bdi_set_max_ratio() to actually return an error, instead of always zero. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> --- Index: linux/mm/backing-dev.c =================================================================== ---...
Feb 2, 7:01 pm 2008
Miklos Szeredi
[patch 3/3] mm: bdi: move statistics to debugfs
From: Miklos Szeredi <mszeredi@suse.cz> Move BDI statistics to debugfs: /sys/kernel/debug/bdi/<bdi>/stats Use postcore_initcall() to initialize the sysfs class and debugfs, because debugfs is initialized in core_initcall(). Update descriptions in ABI documentation. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> --- Index: linux/include/linux/backing-dev.h =================================================================== --- linux.orig/include/linux/backing-dev....
Feb 2, 7:01 pm 2008
Miklos Szeredi
[patch 2/3] mm: bdi: use MAJOR:MINOR in /sys/class/bdi
From: Miklos Szeredi <mszeredi@suse.cz> Uniformly use MAJOR:MINOR in /sys/class/bdi/ for both block devices and non-block device backed filesystems: FUSE and NFS. Add symlink for block devices: /sys/block/<name>/bdi -> /sys/class/bdi/<bdi> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> --- Index: linux/block/genhd.c =================================================================== --- linux.orig/block/genhd.c 2008-02-02 22:41:03.000000000 +0100 +++ linu...
Feb 2, 7:01 pm 2008
Dmitry Adamushko
latencytop: optimize LT_BACKTRACEDEPTH loops a bit
Subject: latencytop: optimize LT_BACKTRACEDEPTH loops a bit. It looks like there is no need to loop any longer when 'same == 0'. Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com> diff --git a/kernel/latencytop.c b/kernel/latencytop.c index b4e3c85..61f7da0 100644 --- a/kernel/latencytop.c +++ b/kernel/latencytop.c @@ -64,8 +64,8 @@ account_global_scheduler_latency(struct task_struct *tsk, struct latency_record return; for (i = 0; i < MAXLR; i++) { - int q; -...
Feb 2, 6:59 pm 2008
Dmitry Baryshkov
[PATCH 0/5] Generic clocks framework
Hi, Currently we have a generic clock api for using clocks. This patchset tries to fill other side: an api for providing clocks. Currently each platform that wants to provide <linux/clk.h> implementation is forced to reimplement everything from scratch. This leads for major code duplication. E.g. the ARM arch contains 13 implementations (one for each mach). Also there are implementations for AVR, MIPS, PowerPC and SH. This patchset implements the "management" part, so each platform would...
Feb 2, 6:54 pm 2008
Dmitry Baryshkov
[PATCH 5/5] Use clocklib for sa1100 sub-arch.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- arch/arm/Kconfig | 1 + arch/arm/mach-sa1100/clock.c | 95 ++--------------------------------------- 2 files changed, 6 insertions(+), 90 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 45c1790..cd8f792 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -385,6 +385,7 @@ config ARCH_SA1100 select ARCH_MTD_XIP select GENERIC_GPIO select GENERIC_TIME + select HAVE_CLOCK_LIB help ...
Feb 2, 7:00 pm 2008
Dmitry Baryshkov
[PATCH 4/5] Use correct clock for IrDA on pxa
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- drivers/net/irda/pxaficp_ir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 8c09344..36d2ec0 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c @@ -814,7 +814,7 @@ static int pxa_irda_probe(struct platform_device *pdev) si->dev = &pdev->dev; si->pdata = pdev->dev.platform_data; - si-&gt...
Feb 2, 7:00 pm 2008
Dmitry Baryshkov
[PATCH 3/5] Use clocklib for ARM pxa sub-arch.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- arch/arm/Kconfig | 1 + arch/arm/mach-pxa/clock.c | 108 ++++---------------------- arch/arm/mach-pxa/clock.h | 58 +++++++------- arch/arm/mach-pxa/pxa25x.c | 187 +++++++++++++++++++++++++++++++++++++------ arch/arm/mach-pxa/pxa27x.c | 61 ++++++++------- arch/arm/mach-pxa/pxa3xx.c | 91 ++++++++++++--------- 6 files changed, 292 insertions(+), 214 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconf...
Feb 2, 7:00 pm 2008
Dmitry Baryshkov
[PATCH 1/5] Add generic framework for managing clocks.
Provide a generic framework that platform may choose to support clocks api. In particular this provides platform-independant struct clk definition, a full implementation of clocks api and a set of functions for registering and unregistering clocks in a safe way. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- include/linux/clklib.h | 85 ++++++++++++++ init/Kconfig | 7 + kernel/Makefile | 1 + kernel/clklib.c | 295 +++++++++++++++++++++++++++++...
Feb 2, 7:00 pm 2008
Dmitry Baryshkov
[PATCH 2/5] Clocklib debugfs support
Provide /sys/kernel/debug/clock to ease debugging. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- include/linux/clklib.h | 5 +++ kernel/clklib.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 0 deletions(-) diff --git a/include/linux/clklib.h b/include/linux/clklib.h index 4bd9b4a..f916693 100644 --- a/include/linux/clklib.h +++ b/include/linux/clklib.h @@ -28,6 +28,11 @@ struct clk { int (*setrate) (struct clk *, un...
Feb 2, 6:59 pm 2008
Christoph Anton Mitterer
kernel support for newer UDF versions (> 2.01)
Hi everybody. Does someone know if it's planned (or even in the works) to support newer versions of the UDF filesystem? Especially the versions 2.50 and 2.60 would be very interesting for mounting BluRay discs (and HD DVD)... I've seen somewhere a patch but that was pretty old and AFAIK not yet finished or included in the vanilla tree. Best wishes, Chris. --
Feb 2, 3:39 pm 2008
Mike Hokenson
Problem burning DVDs with Marvell 88SE6121 on pata_marvell
I recently put together a new system with a MSI P35 PLATINUM and although reading from data CDs, DVDs, and watching DVD movies is working fine, DVD burning isn't. MSI's manual says "1 IDE port by Marvell 88SE6111", but lspci says it's a 88SE6121. I have two DVD burners, a SONY DRU-510A and a DRU-820A. They were both working fine with TDK DVD+R media on my ASUS K8V SE DELUXE (VIA IDE controller) prior to the upgrade. Here's what I see with dvd+rw-tools version 7.0-9: sh# growisofs -dvd-compat -s...
Feb 2, 6:30 pm 2008
Sam Ravnborg
Re: x86: fix arch/x86/kernel/test_nx.c modular build bug
This should have used _ASM_PTR from asm.h: #ifdef CONFIG_X86_32 /* 32 bits */ # define _ASM_PTR " .long " ... #else /* 64 bits */ # define _ASM_PTR " .quad " Sam --
Feb 2, 6:36 pm 2008
H. Peter Anvin
Re: x86: fix arch/x86/kernel/test_nx.c modular build bug
There is an even better patch now in upstream. -hpa --
Feb 2, 7:12 pm 2008
H. Peter Anvin
Re: x86: fix arch/x86/kernel/test_nx.c modular build bug
Sorry, not in upstream; *queued* for upstream (in x86.git#master). -hpa --
Feb 2, 7:54 pm 2008
A.E.Lawrence
2.6.24 x86 apm module name change not in Kconfig
Legacy i386 box failed to shutdown under 2.6.24 because it tried to load module apm rather than apm_32. If it is intended that apm_32 not be aliased as apm, then arch/x86/Kconfig which currently says "module will be called apm." needs to be updated to match. ael --
Feb 2, 5:59 pm 2008
A.E.Lawrence
2.6.24 x86 apm module name change not in Kconfig
Legacy i386 box failed to shutdown under 2.6.24 because it tried to load module apm rather than apm_32. If it is intended that apm_32 not be aliased as apm, then arch/x86/Kconfig which currently says "module will be called apm." needs to be updated to match. ael --
Feb 2, 5:56 pm 2008
Cyrill Gorcunov
[RFC] x86: setup code_bytes - use mask to restrict it's size
This patch strips off 8 bytes from text section. Not a really big advantage (especially for __init section). It seems 8192 bytes of disassembled code is rare used anyway. before: text data bss dec hex filename 9900 176 20 10096 2770 arch/x86/kernel/traps_64.o.old after: text data bss dec hex filename 9892 176 20 10088 2768 arch/x86/kernel/traps_64.o Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- If there is no bene...
Feb 2, 6:12 pm 2008
H. Peter Anvin
Re: [RFC] x86: setup code_bytes - use mask to restrict it's ...
I don't think this is the behaviour we want (wrapping around); worse, if people enter a larger power of two they will get zero. So NAK on this patch, IMO. -hpa --
Feb 2, 6:25 pm 2008
Cyrill Gorcunov
Re: [RFC] x86: setup code_bytes - use mask to restrict it's ...
Thanks for review. Agreed with you absolutely. Silly patch, sorry :( --
Feb 2, 6:32 pm 2008
H. Peter Anvin Feb 2, 6:59 pm 2008
Mathieu Desnoyers
[patch 3/7] Immediate Values - x86 Optimization
x86 optimization of the immediate values which uses a movl with code patching to set/unset the value used to populate the register used as variable source. Changelog: - Use text_poke_early with cr0 WP save/restore to patch the bypass. We are doing non atomic writes to a code region only touched by us (nobody can execute it since we are protected by the imv_mutex). - Put imv_set and _imv_set in the architecture independent header. - Use $0 instead of %2 with (0) operand. - Add x86_64 support, r...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 2/7] Immediate Values - Kconfig menu in EMBEDDED
Immediate values provide a way to use dynamic code patching to update variables sitting within the instruction stream. It saves caches lines normally used by static read mostly variables. Enable it by default, but let users disable it through the EMBEDDED menu with the "Disable immediate values" submenu entry. Note: Since I think that I really should let embedded systems developers using RO memory the option to disable the immediate values, I choose to leave this menu option there, in the EMBEDDED m...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 5/7] Immediate Values - Powerpc Optimization
PowerPC optimization of the immediate values which uses a li instruction, patched with an immediate value. Changelog: - Put imv_set and _imv_set in the architecture independent header. - Pack the __imv section. Use smallest types required for size (char). - Remove architecture specific update code : now handled by architecture agnostic code. - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Rusty Russell <rusty@rustcorp.com.au>...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 4/7] Add text_poke and sync_core to powerpc
- Needed on architectures where we must surround live instruction modification with "WP flag disable". - Turns into a memcpy on powerpc since there is no WP flag activated for instruction pages (yet..). - Add empty sync_core to powerpc so it can be used in architecture independent code. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Rusty Russell <rusty@rustcorp.com.au> CC: Christoph Hellwig <hch@infradead.org> CC: Paul Mackerras <paulus@samba.org&g...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 6/7] Immediate Values - Documentation
Changelog: - Remove imv_set_early (removed from API). - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Rusty Russell <rusty@rustcorp.com.au> --- Documentation/immediate.txt | 221 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) Index: linux-2.6-lttng/Documentation/immediate.txt =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 ...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 7/7] Scheduler Profiling - Use Immediate Values
Use immediate values with lower d-cache hit in optimized version as a condition for scheduler profiling call. Changelog : - Use imv_* instead of immediate_*. - Follow the white rabbit : kvm_main.c which becomes x86.c. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Ingo Molnar <mingo@elte.hu> --- arch/x86/kvm/x86.c | 2 +- include/linux/profile.h | 5 +++-- kernel/profile.c | 22 +++++++++++----------- kernel/sched_fair.c | 5 +---- ...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 1/7] Immediate Values - Architecture Independent Code
Immediate values are used as read mostly variables that are rarely updated. They use code patching to modify the values inscribed in the instruction stream. It provides a way to save precious cache lines that would otherwise have to be used by these variables. There is a generic _imv_read() version, which uses standard global variables, and optimized per architecture imv_read() implementations, which use a load immediate to remove a data cache hit. When the immediate values functionnality is disabl...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 0/7] Immediate Values
Hi Andrew, Here are the updated immediate values for 2.6.24-git12. Dependencies : # instrumentation menu removal #merged in kbuild.git fix-arm-to-play-nicely-with-generic-instrumentation-menu.patch create-arch-kconfig.patch add-have-oprofile.patch add-have-kprobes.patch move-kconfiginstrumentation-to-arch-kconfig-and-init-kconfig.patch # #Kprobes mutex cleanup kprobes-use-mutex-for-insn-pages.patch kprobes-dont-use-kprobes-mutex-in-arch-code.patch kprobes-declare-kprobes-mutex-static.patc...
Feb 2, 5:08 pm 2008
Mathieu Desnoyers
[patch 2/2] Text Edit Lock - kprobes architecture independen...
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Changelog: Move the kernel_text_lock/unlock out of the for loops. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> CC: ananth@in.ibm.com CC: anil.s.keshavamurthy@intel.com CC: davem@davemloft.net CC: Roel Kluin <12o3l@tiscali.nl> --- kernel/kprobes.c | ...
Feb 2, 4:49 pm 2008
Mathieu Desnoyers
[patch 0/2] Text Edit Lock
Hi Andrew, Here is a resend of the Text Edit Lock patchset (only 2 patches). It consists of a mutex that serializes code modification. Used by kprobes and the immediate values. Dependencies : #Kprobes mutex cleanup kprobes-use-mutex-for-insn-pages.patch kprobes-dont-use-kprobes-mutex-in-arch-code.patch kprobes-declare-kprobes-mutex-static.patch #Enhance DEBUG_RODATA support x86-enhance-debug-rodata-support-alternatives.patch x86-enhance-debug-rodata-support-for-hotplug-and-kprobes.patch ...
Feb 2, 4:49 pm 2008
Mathieu Desnoyers
[patch 1/2] Text Edit Lock - Architecture Independent Code
This is an architecture independant synchronization around kernel text modifications through use of a global mutex. A mutex has been chosen so that kprobes, the main user of this, can sleep during memory allocation between the memory read of the instructions it must replace and the memory write of the breakpoint. Other user of this interface: immediate values. Paravirt and alternatives are always done when SMP is inactive, so there is no need to use locks. Signed-off-by: Mathieu Desnoyers &l...
Feb 2, 4:49 pm 2008
Mathieu Desnoyers
[patch 1/2] x86 - Enhance DEBUG_RODATA support - alternatives
Fix a memcpy that should be a text_poke (in apply_alternatives). Use kernel_wp_save/kernel_wp_restore in text_poke to support DEBUG_RODATA correctly and so the CPU HOTPLUG special case can be removed. Add text_poke_early, for alternatives and paravirt boot-time and module load time patching. Notes: - A macro is used instead of an inline function to deal with circular header include otherwise necessary for read_cr0 and preempt_disable/enable. Changelog: - Fix text_set and text_poke align...
Feb 2, 4:42 pm 2008
Mathieu Desnoyers
[patch 2/2] x86 - Enhance DEBUG_RODATA support for hotplug a...
Standardize DEBUG_RODATA, removing special cases for hotplug and kprobes. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Andi Kleen <andi@firstfloor.org> CC: pageexec@freemail.hu CC: Thomas Gleixner <tglx@linutronix.de> CC: Ingo Molnar <mingo@redhat.com> CC: H. Peter Anvin <hpa@zytor.com> CC: Ingo Molnar <mingo@elte.hu> --- arch/x86/mm/init_32.c | 24 ++++++++---------------- arch/x86/mm/init_64.c | 20 +++----------------- 2 files c...
Feb 2, 4:42 pm 2008
previous daytodaynext day
February 1, 2008February 2, 2008February 3, 2008