| From | Subject | Date |
|---|---|---|
| Alexander van Heukelum | Re: [PATCH 158/196] Driver core: convert block from raw ...
Fix build with CONFIG_BLOCK off.
Building git-2d94dfc with CONFIG_BLOCK turned off gives me:
drivers/base/core.c: In function 'device_add_class_symlinks':
drivers/base/core.c:704: error: 'part_type' undeclared (first use in this function)
drivers/base/core.c:704: error: (Each undeclared identifier is reported only once
drivers/base/core.c:704: error: for each function it appears in.)
drivers/base/core.c: In function 'device_remove_class_symlinks':
drivers/base/core.c:743: error: 'part_type' ...
| Jan 25, 4:23 pm 2008 |
| Hasan Rashid | CS5536 mfgpt timer setup register hangs board
Hi,
I have been working on a watchdog timer using the mfgpt on AMD Geode
CS5536. I initialize the setup register MFGPT0_SETUP (0x6206) with hex
value 0x306 (1100000110b). However, after this first initialization if I
ever read/write to the register it hangs the system.
I have been through all the documentation, tried several different methods
but all the efforts, frustratingly, to no avail.
Does anyone have any idea as to why would this be? TIA!
--
Regards,
Hasan Rashid
--
| Jan 25, 4:50 pm 2008 |
| Ignacy Gawedzki | Hot (un)plugging of a SATA drive with sata_nv (CK8S) ?
Hi everyone,
I'm having trouble to determine the cause of the following behavior. I'm not
even sure that I'm supposed to hot plug and unplug a SATA drive from a nForce3
Ultra (apparently CK8S, on a Gigabyte K8NS Ultra 939 mobo) SATA interface, to
begin with. The information is hard to find given that the sata_nv driver
supports a range of different hardware.
I've recently acquired an external drive with (among others) an eSATA
interface, so I also bought a eSATA->SATA bracket and intend to ...
| Jan 25, 3:53 pm 2008 |
| Mark Fasheh | [git patches] ocfs2 and configfs updates
These patches comprise the bulk of our outstanding changes for Ocfs2 and
Configfs.
Configfs gets some lockdep updates, and we remove it's EXPERIMENTAL tag as
things have been quite stable for some time now.
Ocfs2 gets fixes that made it in too late for 2.6.24, and several new
features. The most interesting are listed below:
We've been on the path to removing the "vote" cluster messaging in Ocfs2 for
some time now. I'm happy to announce that this series gets rid of the last
set of ...
| Jan 25, 4:16 pm 2008 |
| Jeff Garzik | [git patches] libata updates
Honestly, this is the least interesting merge push I've had in a while.
We're all doing debugging and such, so nothing major is below.
I have some queued stuff (notably a sata_mv update) still to come, but
this is the stuff that's been pending and in -mm for a while.
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus
to receive the following updates:
drivers/ata/Kconfig | 9 +
...
| Jan 25, 4:16 pm 2008 |
| J. Bruce Fields | nfs server patches for 2.6.25
Below is a summary of the nfs server patches which I expect to submit
(any day now) for 2.6.25; please let me know if you notice anything
wrong or missing. I'll follow up to linux-nfs@vger.kernel.org with the
full list of patches.
The biggest changes come from Tom Tucker's rdma and server transport
switch patches, which Chuck Lever, Greg Banks, Neil Brown, and others
helped review (thanks!). The rest is mostly bug fixes and cleanup.
As a reminder, you can see the patches I've got queued up ...
| Jan 25, 4:15 pm 2008 |
| H. Peter Anvin | Re: factor out common s2ram wakeup code
BEEP isn't actually used here and should probably be a C function if
needed. Note: in real mode you can also produce a beep by calling
int $0x10 with %ax = 0x0e07. Please note that some int $0x10
implementations clobber certain registers... see the INT10 macro in the
bootup code.
Seriously cool, though, that you're getting this far.
-hpa
--
| Jan 25, 4:36 pm 2008 |
| Pavel Machek | Re: factor out common s2ram wakeup code
Thanks a lot!
Here is patch that seems to work a bit... video settings are hardcoded
at mode 6 for now.
Pavel
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 7a3116c..6e97bfa 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -30,7 +30,8 @@ subdir- := compressed
setup-y += a20.o apm.o cmdline.o copy.o cpu.o cpucheck.o edd.o
setup-y += header.o main.o mca.o memory.o pm.o pmjump.o
-setup-y += printf.o string.o tty.o video.o version.o ...
| Jan 25, 4:12 pm 2008 |
| Lee Revell | Re: tickless/dynticks + cpufreq = tsc unstable
Yes, it's normal. Dual core AMD64 machines really do have unstable TSC.
Lee
--
| Jan 25, 4:29 pm 2008 |
| Michael Tokarev | tickless/dynticks + cpufreq = tsc unstable
Is it normal that once I enable cpufreq on
a tickless system, it spews a warning:
Clocksource tsc unstable (delta = -288201154 ns)
?
It's an old problem, and I was thinking about
differences between x86-64 (it worked there) and
i386 kernels. But with 2.6.24, x86-64 can run
tickless as well, and once I enable this mode,
and load dynamic cpufreq governor, the above message
gets printed too.
The system is amd x2-64, all kernels since tickless
has been introduced.
I'm not sure if it's ...
| Jan 25, 4:02 pm 2008 |
| Arjan van de Ven | [patch 3/3] x86: deprecate change_page_attr() for drivers
Subject: x86: deprecate change_page_attr()
From: Arjan van de Ven <arjan@linux.intel.com>
With the introduction of the new API, no driver or non-archcore code needs
to use c-p-a anymore, so this patch also deprecates the EXPORT_SYMBOL of CPA
(it's a horrible API after all).
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
arch/x86/mm/pageattr.c | 2 +-
include/asm-x86/cacheflush.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
Index: ...
| Jan 25, 3:52 pm 2008 |
| Arjan van de Ven | [patch 2/3] x86: convert CPA users to the new set_page_ API
Subject: x86: convert CPA users to the new set_page_ API
From: Arjan van de Ven <arjan@linux.intel.com>
This patch converts various users of change_page_attr() to the new,
more intent driven set_page_*/set_memory_* API set.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
arch/x86/kernel/efi.c | 8 ++++----
arch/x86/kernel/pci-gart_64.c | 3 +--
arch/x86/mm/init_32.c | 20 +++++++-------------
arch/x86/mm/init_64.c | ...
| Jan 25, 3:50 pm 2008 |
| Arjan van de Ven | [patch 1/3] x86: a new API for drivers/etc to control ca ...
Subject: x86: a new API for drivers/etc to control cache and other page attributes
From: Arjan van de Ven <arjan@linux.intel.com>
Right now, if drivers or other code want to change, say, a cache attribute of a
page, the only API they have is change_page_attr(). c-p-a is a really bad API
for this, because it forces the caller to know *ALL* the attributes he wants
for the page, not just the 1 thing he wants to change. So code that wants to
set a page uncachable, needs to be aware of the NX ...
| Jan 25, 3:49 pm 2008 |
| Roland Dreier | [GIT PULL] First InfiniBand/RDMA merge
Linus, if you haven't headed off to the airport, please pull from
master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus
This tree is also available from kernel.org mirrors at:
git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus
To get the first batch of InfiniBand/RDMA merges:
Adrian Bunk (1):
IB/mthca: Remove MSI support as scheduled
Anton Blanchard (1):
IB/ehca: Use round_jiffies() for EQ polling timer
Arthur ...
| Jan 25, 3:22 pm 2008 |
| Stefan Richter | Re: [PATCH 3/4] firewire: enforce access order between g ...
Thanks for keeping your eyes on us. Your sign-off will go in when I
build the for-linus branch. Get well,
--
Stefan Richter
-=====-==--- ---= ==--=
http://arcgraph.de/sr/
--
| Jan 25, 3:25 pm 2008 |
| Herbert Xu | Re: [build bug] ./drivers/crypto/hifn_795x.c
Thanks, but I've already checked in a fix :)
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Jan 25, 4:53 pm 2008 |
| Ingo Molnar | Re: [build bug] ./drivers/crypto/hifn_795x.c
find a workaround below - but i'm not sure it's the right one.
Ingo
Index: linux/drivers/crypto/Kconfig
===================================================================
--- linux.orig/drivers/crypto/Kconfig
+++ linux/drivers/crypto/Kconfig
@@ -89,6 +89,7 @@ config CRYPTO_DEV_HIFN_795X
select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER
depends on PCI
+ depends on DEV_HIFN_795X = HW_RANDOM
help
This option allows you to have support for HIFN 795x crypto adapters.
--
| Jan 25, 4:51 pm 2008 |
| Herbert Xu | Re: [build bug] ./drivers/crypto/hifn_795x.c
I'll fix it with the following patch.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 74bd599..8a70a9e 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -88,10 +88,16 @@ config CRYPTO_DEV_HIFN_795X
select CRYPTO_DES
select ...
| Jan 25, 3:45 pm 2008 |
| Ingo Molnar | Re: [build bug] ./drivers/crypto/hifn_795x.c
hey, that's my punishment for not reading my email promptly :) Could
have saved me some time in the Kconfig web of dependencies :-/
Ingo
--
| Jan 25, 4:59 pm 2008 |
| Ingo Molnar | [build bug] ./drivers/crypto/hifn_795x.c
randconfig testing found this (post-v2.6.24) build bug:
drivers/built-in.o: In function `hifn_unregister_rng':
hifn_795x.c:(.text+0x17bbd9): undefined reference to `hwrng_unregister'
drivers/built-in.o: In function `hifn_probe':
hifn_795x.c:(.text+0x17df70): undefined reference to `hwrng_register'
config attached.
i tried to reply to the pull request on lkml, but was unable to find
one. The bug came in via:
Merge ...
| Jan 25, 3:21 pm 2008 |
| Steven Rostedt | 2.6.24-rt1
We are pleased to announce the 2.6.24-rt1 tree, which can be
downloaded from the location:
http://rt.et.redhat.com/download/
Information on the RT patch can be found at:
http://rt.wiki.kernel.org/index.php/Main_Page
Changes since 2.6.24-rc8-rt1
- ported to 2.6.24
to build a 2.6.24-rt1 tree, the following patches should be applied:
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
http://rt.et.redhat.com/download/patch-2.6.24-rt1.bz2
And like always, ...
| Jan 25, 3:17 pm 2008 |
| Jason Wessel | Re: [PATCH 16/21] KGDB: This allows for KGDB to better d ...
Rusty thanks for all your comments.
I restructured the gdb kernel module awareness based on the consolidation of the KGDB section headers into the KALLSYMS requirement for section headers. The new patch to a non patched module.c and module.h is as follows. Below that patch, you will find the delta to the original patch included in the x86.git tree which will clean up the kgdb module code as desired.
Please feel free to further comment.
Thanks,
Jason.
-----------Patch against Clean ...
| Jan 25, 3:11 pm 2008 |
| Konrad Rzeszutek | [PATCH] Add iSCSI iBFT support (v0.4.5)
Hey Andrew,
Please add this patch along with Greg KH's kobject fixes. This module
is dependent on the fixes that Greg KH has in his patches git tree.
This patch (v0.4.5) adds /sysfs/firmware/ibft/[initiator|targetX|ethernetX]
directories along with text properties which export the the iSCSI
Boot Firmware Table (iBFT) structure.
What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI
tools to extract from the machine NICs the iSCSI connection information
so that they can ...
| Jan 25, 3:06 pm 2008 |
| Ingo Molnar | Re: [PATCH] [KGDB] core code cleanups
thanks Jason, i have applied your cleanups to x86.git.
Ingo
--
| Jan 25, 3:28 pm 2008 |
| Jason Wessel | [PATCH] [KGDB] core code cleanups
This patch is against the x86-git which included the kgdb core.
Per review request from the x86-git maintainers, the kgdb-core has had
the kgdb_handle_exception() separated into individual functions. This
patch does nothing other than re-organize the code. There are no
functional kgdb changes.
kgdb_handle_exception now calls gdb_serial_stub() to handle the
debugger communications. The gdb_serial_stub() has call out to sub
handlers for all the major gdb serial packet ...
| Jan 25, 3:01 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
Put appropriate pagetable update hooks in so that paravirt knows
what's going on in there.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/mm/ioremap.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -18,6 +18,7 @@
#include <asm/fixmap.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
+#include <asm/pgalloc.h>
#ifdef ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 07 of 11] x86: don't special-case pmd allocations ...
In x86 PAE mode, stop treating pmds as a special case. Previously
they were always allocated and freed with the pgd. The modifies the
code to be the same as 64-bit mode, where they are allocated on
demand.
This is a step on the way to unifying 32/64-bit pagetable allocation
as much as possible.
There is a complicating wart, however. When you install a new
reference to a pmd in the pgd, the processor isn't guaranteed to see
it unless you reload cr3. Since reloading cr3 also has ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 08 of 11] xen: deal with pmd being allocated/freed
Deal properly with pmd-level pages being allocated and freed
dynamically. We can handle them more or less the same as pte pages.
Also, deal with early_ioremap pagetable manipulations.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/enlighten.c | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 05 of 11] x86: demacro asm-x86/pgalloc_32.h
Convert macros into inline functions, for better type-checking.
This patch required a little bit of fiddling with headers in order to
make __(pte|pmd)_free_tlb inline rather than macros.
asm-generic/tlb.h includes asm/pgalloc.h, though it doesn't directly
use any pgalloc definitions. I removed this include to avoid an
include cycle, but it may cause secondary compile failures by things
depending on the indirect inclusion; arch/x86/mm/hugetlbpage.c was one
such place; there may be ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 02 of 11] x86: use the same pgd_list for PAE and 64-bit
Use a standard list threaded through page->lru for maintaining the pgd
list on PAE. This is the same as 64-bit, and seems saner than using a
non-standard list via page->index.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/mm/fault.c | 10 +++-------
arch/x86/mm/pageattr.c | 2 +-
arch/x86/mm/pgtable_32.c | 19 +++++--------------
include/asm-x86/pgtable.h | 2 ++
include/asm-x86/pgtable_32.h | 2 --
include/asm-x86/pgtable_64.h ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 06 of 11] x86: unify PAE/non-PAE pgd_ctor
The constructors for PAE and non-PAE pgd_ctors are more or less
identical, and can be made into the same function.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: William Irwin <wli@holomorphy.com>
---
arch/x86/mm/pgtable_32.c | 43 +++++++++++--------------------------------
1 file changed, 11 insertions(+), 32 deletions(-)
diff --git a/arch/x86/mm/pgtable_32.c b/arch/x86/mm/pgtable_32.c
--- a/arch/x86/mm/pgtable_32.c
+++ b/arch/x86/mm/pgtable_32.c
@@ -224,50 +224,32 @@ ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 01 of 11] xen: fix mismerge in masking pte flags
Looks like a mismerge/misapply dropped one of the cases of pte flag
masking for Xen. Also, only mask the flags for present ptes.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/mmu.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -244,8 +244,10 @@ unsigned long long xen_pgd_val(pgd_t pgd
pte_t xen_make_pte(unsigned long long pte)
...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 10 of 11] x86: allocate and initialize unshared pmds
If SHARED_KERNEL_PMD is false, then we need to allocate and initialize
the kernel pmd. We can easily piggy-back this onto the existing pmd
prepopulation code.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/mm/pgtable_32.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/arch/x86/mm/pgtable_32.c b/arch/x86/mm/pgtable_32.c
--- a/arch/x86/mm/pgtable_32.c
+++ b/arch/x86/mm/pgtable_32.c
@@ -269,7 +269,7 @@ static void ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 03 of 11] x86: add mm parameter to paravirt_alloc_pd
Add mm to paravirt_alloc_pd, partly to make it consistent with
paravirt_alloc_pt, and because later changes will make use of it.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/kernel/vmi_32.c | 2 +-
arch/x86/mm/init_32.c | 4 ++--
arch/x86/mm/pgtable_32.c | 4 +++-
include/asm-x86/paravirt.h | 6 +++---
include/asm-x86/pgalloc_32.h | 3 +--
5 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kernel/vmi_32.c ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()
PAE mode requires that we reload cr3 in order to guarantee that
changes to the pgd will be noticed by the processor. This means that
in principle pud_clear needs to reload cr3 every time. However,
because reloading cr3 implies a tlb flush, we want to avoid it where
possible.
pud_clear() is only used in a couple of places:
- in free_pmd_range(), when pulling down a range of process address space, and
- huge_pmd_unshare()
In both cases, the calling code will do a a tlb flush anyway, ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 09 of 11] x86: preallocate pmds at pgd creation time
In PAE mode, an update to the pgd requires a cr3 reload to make sure
the processor notices the changes. Since this also has the
side-effect of flushing the tlb, its an expensive operation which we
want to avoid where possible.
This patch mitigates the cost of installing the initial set of pmds on
process creation by preallocating them when the pgd is allocated.
This avoids up to three tlb flushes during exec, as it creates the new
process address space while the pagetable is in active ...
| Jan 25, 2:23 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 00 of 11] x86: separate pmd lifetime from pgd
Hi Ingo,
This series addresses various cleanups in pagetable allocation in the
direction of unifying 32/64 bits (that's still a while off yet).
The significant change in here is that I'm separating the lifetime of
a pmd from its pgd in the 32-bit PAE case. This makes it logically
the same as 64-bit pagetable allocation, and it overall simplifies the
code.
The patches are:
- A pure Xen fix I tacked on for convenience
- Use the same pgd_list mechanism for 32 and 64 bits
- Add an mm ...
| Jan 25, 2:23 pm 2008 |
| Mauro Carvalho Chehab | [GIT PATCHES] V4L/DVB updates for 2.6.25
Linus,
Please pull from:
ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master
People at v4l/dvb community were very busy since 2.6.24 window! This is the
largest patch series I ever sent. It has 500+ patches. Thank you all for your
development efforts.
There are several new things on this series. Just to point the ones I
remember, follows a brief summary of the changes:
- Hybrid tuner support complete;
- Several internal API improvements;
- ...
| Jan 25, 2:43 pm 2008 |
| Santiago Garcia Mantinan | dl2k stopped working on 2.6.24
Hi!
I have just updated my server to 2.6.24 and the dl2k driver has stopped
working.
The problem seems to be when autoselecting the media, the driver says that
the card is set as "Auto 1000 Mbps, Half duplex" instead of the usual "Auto
1000 Mbps, Full duplex", I have tried setting "options dl2k
media=1000mbps_fd" but that didn't seem to change anything (the driver still
said "Auto 1000 Mbps, Half duplex").
I've been playing with ethtools and got it to work at 100FD by setting it
manually, ...
| Jan 25, 2:11 pm 2008 |
| Keir Fraser | Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pu ...
Go read the Intel application note "TLBs, Paging-Structure Caches, and Their
Invalidation" at http://www.intel.com/design/processor/applnots/317080.pdf
Section 8.1 explains about the PDPTR cache in 32-bit PAE mode, which can
only be refreshed by appropriate tickling of CR0, CR3 or CR4.
It is also important to note that *any* valid page directory entry at *any*
level in the page-table hierarchy can become cached at *any* time. Basically
TLB lookup is performed as a longest-prefix match on the ...
| Jan 25, 4:38 pm 2008 |
| H. Peter Anvin | Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pu ...
It only matters (for a processor which supports PGE) if we actually use
This one makes me nervous, as it feels like a side effect of
implementation, and not a guarantee by design.
-hpa
--
| Jan 25, 2:37 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pu ...
Yes. And I don't think there are instances of one place in the kernel
removing pmd and then replacing it in short order. It either means
you're doing a large munmap, or the pagetable is being destroyed (and
Yes. Obviously any user of pud_clear must do some kind of tlb flush
before they can expect the effect of their change to be visible. We
just need to make sure that its the right kind of tlb flush that
satisfies the processor's requirements for updating the pgd. If someone
went ...
| Jan 25, 3:54 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pu ...
Hm, but then chapter 10 goes and makes things confusing with
"Alternative INVLPG Behavior"; but I guess if software needs to
explicitly enable this behaviour in a yet-to-be-determined way, its OK...
Is there any guide about the tradeoff of when to use invlpg vs flushing
the whole tlb? 1 page? 10? 90% of the tlb?
J
--
| Jan 25, 4:44 pm 2008 |
| Bartlomiej Zolnierki ... | [git patches] IDE updates part #1
Hi,
What's inside:
* hpt366 host driver cleanups (Sergei Shtylyov)
* ide-cd oops fix for dead drives (Aristeu Rozanski)
* unify handling of REQ_TYPE_ATA_TASK and REQ_TYPE_ATA_TASKFILE requests
(me, heavily based on the earlier patches from Tejun Heo)
* unify LBA28 and LBA48 HPA handling in ide-disk device driver (me)
* cleanups all over the map - remove needless typedefs, dead code, etc.,
and some bugfixes discovered in the process (me)
Extra thanks to Sergei for feedback ...
| Jan 25, 2:51 pm 2008 |
| Joerg Roedel | [PATCH][RFC] SVM: Add Support for Nested Paging in AMD F ...
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 feature
improves the guest performance significantly. I measured an improvement of
around 17% using kernbench in my first tests.
This patch series is basically tested with Linux guests (32 bit legacy
paging, 32 bit PAE ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 5/8] MMU: make the __nonpaging_map function generic
The mapping function for the nonpaging case in the softmmu does basically the
same as required for Nested Paging. Make this function generic so it can be
used for both.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/mmu.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 635e70c..dfbcf5e 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -956,10 +956,9 @@ static void ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 2/8] SVM: add detection of Nested Paging feature
Let SVM detect if the Nested Paging feature is available on the hardware.
Disable it to keep this patch series bisectable.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 0c58527..49bb57a 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -47,6 +47,8 @@ MODULE_LICENSE("GPL");
#define SVM_FEATURE_LBRV (1 << 1)
#define ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested ...
Great. We will do more tests too next week. Life migration is completly
Thanks :-)
Joerg
--
| Jan 25, 3:47 pm 2008 |
| Joerg Roedel | [PATCH 4/8] X86: export information about NPT to generic ...
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 the generic x86 code.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 7 +++++++
arch/x86/kvm/vmx.c | 7 +++++++
include/asm-x86/kvm_host.h | 2 ++
3 files changed, 16 ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 1/8] SVM: move feature detection to hardware setup code
By moving the SVM feature detection from the each_cpu code to the hardware
setup code it runs only once. As an additional advance the feature check is now
available earlier in the module setup process.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 7bdbe16..0c58527 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -302,7 +302,6 @@ ...
| Jan 25, 1:53 pm 2008 |
| Anthony Liguori | Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to ...
This would probably be better as an integer. Then we don't have to do
nasty things like implicitly cast a literal to a char *.
Regards,
--
| Jan 25, 2:35 pm 2008 |
| Anthony Liguori | Re: [kvm-devel] [PATCH 4/8] X86: export information abou ...
To help with bisecting, you should probably return false here until the
patch that actually implements NPT support. Otherwise, the 7th patch in
this series breaks KVM for SVM.
Regards,
--
| Jan 25, 2:37 pm 2008 |
| Anthony Liguori | Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested ...
A quick sniff test and things look pretty good. I was able to start
running the install CDs for 32-bit and 64-bit Ubuntu, 32-bit OpenSuSE,
64-bit Fedora, and 32-bit Win2k8. I'll do a more thorough run of
kvm-test on Monday when I have a better connection to my machine.
Nice work!
Regards,
--
| Jan 25, 2:32 pm 2008 |
| Joerg Roedel | [PATCH 7/8] MMU: add HAP support to the KVM MMU
This patch contains the changes to the KVM MMU necessary for support of the
Nested Paging feature in AMD Barcelona and Phenom Processors.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/mmu.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++-
arch/x86/kvm/mmu.h | 6 ++++
2 files changed, 78 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index dfbcf5e..bce27ca 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 3/8] SVM: add module parameter to disable Nested Paging
To disable the use of the Nested Paging feature even if it is available in
hardware this patch adds a module parameter. Nested Paging can be disabled by
passing npt=off to the kvm_amd module.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 49bb57a..2e718ff 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -48,6 +48,9 @@ ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 6/8] X86: export the load_pdptrs() function to modules
The load_pdptrs() function is required in the SVM module for NPT support.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/x86.c | 1 +
include/asm-x86/kvm_host.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 8f94a0b..31cdf09 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -202,6 +202,7 @@ out:
return ret;
}
+EXPORT_SYMBOL_GPL(load_pdptrs);
static bool ...
| Jan 25, 1:53 pm 2008 |
| Joerg Roedel | [PATCH 8/8] SVM: add support for Nested Paging
This patch contains the SVM architecture dependent changes for KVM to enable
support for the Nested Paging feature of AMD Barcelona and Phenom processors.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kvm/svm.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 63 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index d0bfdd8..578d8ec 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -47,7 +47,12 @@ ...
| Jan 25, 1:53 pm 2008 |
| Anthony Liguori | Re: [kvm-devel] [PATCH 4/8] X86: export information abou ...
Ignore this, you're already doing the right thing :-)
Regards,
--
| Jan 25, 2:40 pm 2008 |
| Joerg Roedel | Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to ...
Hmm, I used int for that first but typing npt=off seemed more
userfriendly to me than npt=0. So I used char* for it.
Joerg
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General Manager ...
| Jan 25, 3:10 pm 2008 |
| Yinghai Lu | threshold_init_device/kobject_uevent_env oops
current linus tree + x86.git
got
Calling initcall 0xffffffff80b93d98: threshold_init_device+0x0/0x3f()
BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
IP: [<ffffffff80458e20>] kobject_uevent_env+0x2a/0x3d9
PGD 0
Oops: 0000 [1] SMP
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.24-smp-g075f8dcd-dirty #2
RIP: 0010:[<ffffffff80458e20>] [<ffffffff80458e20>]
kobject_uevent_env+0x2a/0x3d9
RSP: 0000:ffff81042643db50 EFLAGS: 00010286
RAX: ...
| Jan 25, 2:05 pm 2008 |
| Greg KH | Re: threshold_init_device/kobject_uevent_env oops
In looking at this code some more, I'm a bit confused. We have an array
of kobjects in per_cpu(threshold_banks, cpu)[bank]->kobj
Now the kobject in the struct threshold_bank structure is a "static"
one, one that should govern the lifecycle of the object, yet there is no
release function for it at all. I don't see a way for it to ever be
properly torn down.
But it's the bank kobjects that are dynamic. They look to be created
properly, and the life cycle is correct because they are ...
| Jan 25, 4:08 pm 2008 |
| Ingo Molnar | Re: threshold_init_device/kobject_uevent_env oops
no. A quick grep shows that it is in a file that _your_ changes in
Linus' latest have touched:
arch/x86/kernel/cpu/mcheck/mce_amd_64.c
via:
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Thu Dec 20 08:13:05 2007 -0800
Kobject: convert arch/* from kobject_unregister() to kobject_put()
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Wed Dec 19 09:23:20 2007 -0800
Kobject: change arch/x86/kernel/cpu/mcheck/mce_amd_64.c to use kobject_init_
commit ...
| Jan 25, 3:35 pm 2008 |
| Greg KH | Re: threshold_init_device/kobject_uevent_env oops
Oh wait, I do see a change. We are now (finally) emitting a kobject
uevent for these devices, which somehow the code can't handle properly.
Let me go poke this some more, unfortunatly I don't have any AMD 64
boxes here anymore, only Intel based processors, so I can't run this
module...
thanks,
greg k-h
--
| Jan 25, 3:50 pm 2008 |
| Yinghai Lu | Re: threshold_init_device/kobject_uevent_env oops
Calling initcall 0xffffffff80ba1dee: threshold_init_device+0x0/0x3f()
Unable to handle kernel NULL pointer dereference at 0000000000000040 RIP:
[<ffffffff8045d2e8>] kobject_uevent_env+0x2a/0x3dd
PGD 0
Oops: 0000 [1] SMP
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.24-smp-g99f1c97d-dirty #1
RIP: 0010:[<ffffffff8045d2e8>] [<ffffffff8045d2e8>]
kobject_uevent_env+0x2a/0x3dd
RSP: 0000:ffff81042643db50 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000000000 RCX: ...
| Jan 25, 4:12 pm 2008 |
| Greg KH | Re: threshold_init_device/kobject_uevent_env oops
Does this happen on just Linus's tree?
Can you send me a .config file for this?
What is threshold_init()? Is it something new in the x86.git tree?
thanks,
greg k-h
--
| Jan 25, 3:15 pm 2008 |
| Greg KH | Re: threshold_init_device/kobject_uevent_env oops
Ok, those are pretty much just search/and/replace type changes, but I
have been running x86-64 boxes with these changes in place.
That's why I'm interested if Linus's tree right now shows this problem,
and if I can get a .config of the offending kernel to try to reproduce
it and fix it myself.
thanks,
greg k-h
--
| Jan 25, 3:47 pm 2008 |
| Yinghai Lu | Re: threshold_init_device/kobject_uevent_env oops
Calling initcall 0xffffffff80ba1dee: threshold_init_device+0x0/0x3f()
kobject: 'threshold_bank4' (ffff8108265450c0): kobject_add_internal:
parent: 'machinecheck0', set: '<NULL>'
kobject: 'misc0' (ffff810425497418): kobject_add_internal: parent:
'threshold_bank4', set: '<NULL>'
kobject: 'misc1' (ffff810425497498): kobject_add_internal: parent:
'threshold_bank4', set: '<NULL>'
kobject: 'misc2' (ffff810425497518): kobject_add_internal: parent:
'threshold_bank4', set: '<NULL>'
Unable to handle ...
| Jan 25, 4:20 pm 2008 |
| Jean Delvare | [PATCH] dmi: Let drivers walk the DMI table
Let drivers walk the DMI table for their own needs. Some drivers need
data stored in OEM-specific DMI records for proper operation.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
Updated to apply cleanly on top of 2.6.24.
drivers/firmware/dmi_scan.c | 61 +++++++++++++++++++++++++++++++++----------
include/linux/dmi.h | 3 ++
2 files changed, 50 insertions(+), 14 deletions(-)
--- linux-2.6.24-rc5.orig/drivers/firmware/dmi_scan.c 2007-12-12 12:36:34.000000000 +0100
+++ ...
| Jan 25, 1:41 pm 2008 |
| Ingo Molnar | [git pull] scheduler changes for v2.6.25
Linus, please pull the latest scheduler git tree for v2.6.25 from:
git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git
it contains various enhancements to the scheduler - find the full
shortlog is below. 96 commits from 19 authors - scheduler developers
have been busy again. :-/
The scheduling behavior of the kernel to normal users should not change
over v2.6.24, but there are a good number of new features and
enhancements under the hood:
- various ...
| Jan 25, 1:37 pm 2008 |
| Jeremy Fitzhardinge | Re: compile error in current git
Here's a config that fails.
J
| Jan 25, 4:24 pm 2008 |
| Greg KH | Re: compile error in current git
Hm, I thought we fixed the CONFIG_BLOCK disabled issues with Randy's
older patch. Randy, wasn't this already addressed somehow?
Jeremy, do you have a .config I can use to try to duplicate and fix
this?
thanks,
greg k-h
--
| Jan 25, 3:17 pm 2008 |
| Greg KH | Re: compile error in current git
Ah, sorry, I missed that "note" :(
thanks,
greg 'time to get that make randconfig system up and working' k-h
--
| Jan 25, 4:11 pm 2008 |
| Jeremy Fitzhardinge | compile error in current git
When compiling current git with CONFIG_BLOCK disabled, I'm seeing this
compile error:
CC drivers/base/core.o
/home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c: In function ‘device_add_class_symlinks’:
/home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:655: error: ‘part_type’ undeclared (first use in this function)
/home/jeremy/hg/xen/paravirt/linux/drivers/base/core.c:655: error: (Each undeclared identifier is reported only ...
| Jan 25, 1:36 pm 2008 |
| Randy Dunlap | Re: compile error in current git
My earlier email fixed one problem but noted that there were
yes, please...
---
~Randy
--
| Jan 25, 4:00 pm 2008 |
| Guennadi Liakhovetski | Re: [PATCH] driver: tcm825x - fix logical typo error
Now that it missed 2.6.24, you probably want to send it to -stable too.
Even though the patch is trivial, it might be a good idea to cc: v4l2
maintainer and / or driver author.
Thanks
Guennadi
---
Guennadi Liakhovetski
--
| Jan 25, 2:05 pm 2008 |
| Cyrill Gorcunov | [PATCH] driver: tcm825x - fix logical typo error
This patch does fix potential NULL pointer dereference
due to logical typo error.
The issue is pointed out by
Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
Index: linux-2.6.git/drivers/media/video/tcm825x.c
===================================================================
--- linux-2.6.git.orig/drivers/media/video/tcm825x.c 2008-01-23 19:01:47.000000000 +0300
+++ linux-2.6.git/drivers/media/video/tcm825x.c 2008-01-25 ...
| Jan 25, 1:27 pm 2008 |
| Wim Van Sebroeck | DMI: add-type-41
Hi All,
Would appreciate feedback on this patch.
Thanks in advance,
Wim.
commit 4956e4e5e77b5a8f87bcfe6127ef17a406edf94b
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Dec 31 17:21:33 2007 +0000
[PATCH] SMBIOS/DMI - add type 41 = Onboard Devices Extended Information
From version 2.6 of the SMBIOS standard, type 10 (On Board Devices Information)
becomes obsolete. The reason for this is that no further fields can be added to
this structure without adversely ...
| Jan 25, 1:19 pm 2008 |
| Wim Van Sebroeck | DMI: create dmi_get_slot()
Hi Len,
I saw you added the dmi_get_slot function recently.
If I look in drivers/firmware/dmi_scan.c however I now see:
...
/**
* dmi_get_system_info - return DMI data value
* @field: data index (see enum dmi_field)
*
* Returns one DMI data value, can be used to perform
* complex DMI data checks.
*/
const char *dmi_get_system_info(int field)
{
return dmi_ident[field];
}
EXPORT_SYMBOL(dmi_get_system_info);
...
/**
* dmi_get_slot - return dmi_ident[slot]
...
| Jan 25, 1:13 pm 2008 |
| Len Brown | Re: DMI: create dmi_get_slot()
Yep, thanks for noticing, i'll delete the duplicate.
-Len
--
| Jan 25, 1:19 pm 2008 |
| Joachim Fenkes | [PATCH 2/2] IB/ehca: Add PMA support
From: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
This patch enables ehca to redirect any PMA queries to the
actual PMA QP.
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com>
Reviewed-by: Christoph Raisch <raisch@de.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_classes.h | 1 +
drivers/infiniband/hw/ehca/ehca_iverbs.h | 5 ++
drivers/infiniband/hw/ehca/ehca_main.c | 2 +-
drivers/infiniband/hw/ehca/ehca_sqp.c | 91 ...
| Jan 25, 1:18 pm 2008 |
| Joachim Fenkes | [PATCH 1/2] IB/ehca: Update sma_attr also in case of dis ...
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
---
drivers/infiniband/hw/ehca/ehca_irq.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c
index 863b34f..b5ca94c 100644
--- a/drivers/infiniband/hw/ehca/ehca_irq.c
+++ b/drivers/infiniband/hw/ehca/ehca_irq.c
@@ -403,6 +403,8 @@ static void parse_ec(struct ehca_shca *shca, u64 eqe)
sport->port_state = IB_PORT_ACTIVE;
...
| Jan 25, 1:12 pm 2008 |
| Joachim Fenkes | [PATCH 0/2] IB/ehca: PMA support and a minor fix
This patchset will fix a minor issue and then add support for Performance
MADs, which redirects all PMA queries to the actual PMA QP.
[1/2] adds a missing query_pma_attr()
[2/2] adds PMA redirection code
The patches will apply, in order, on top of Roland's for-2.6.25 branch.
Please review them and apply for 2.6.25 if you think they're okay.
Thanks and regards,
Joachim
--
Joachim Fenkes -- eHCA Linux Driver Developer and Hardware Tamer
IBM Deutschland Entwicklung GmbH -- Dept. ...
| Jan 25, 1:11 pm 2008 |
| shaggy | [git pull] jfs update
Linus, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git for-linus
This will update the following files:
fs/jfs/jfs_dtree.c | 27 +++++++++++--------------
fs/jfs/jfs_dtree.h | 4 +--
fs/jfs/jfs_imap.c | 4 +--
fs/jfs/jfs_logmgr.c | 34 ++++++++++++++-----------------
fs/jfs/jfs_metapage.c | 43 ++++++++++++++++++++++------------------
fs/jfs/jfs_mount.c | 2 -
fs/jfs/jfs_umount.c | 4 +--
fs/jfs/namei.c | 4 ...
| Jan 25, 12:27 pm 2008 |
| David Newall | Patches for linux-2.4
What's the process for submitting patches for a linux-2.4 driver? I'm
sure this is a FAQ, but I can't find the answer.
--
| Jan 25, 12:21 pm 2008 |
| Willy Tarreau | Re: Patches for linux-2.4
Hi David,
Simply post them to the list with subjects beginning with "[PATCH] 2.4: "
so that we notice them. Please CC me because I can easily miss them as
they now represent about 1/2000 of the mails here!
Also, you should ensure that your patches are really relevant to the
usage people have of 2.4 nowadays. If you fix bugs, that's fine. If
you want to contribute new drivers/features, you should first check
that they are correctly working in 2.6 so that people do not get
trapped when they ...
| Jan 25, 2:56 pm 2008 |
| Greg KH | [PATCH] USB: mark USB drivers as being GPL only
FYI, this is a patch that will be sent out in the next round to Linus
for inclusion in 2.6.25.
If anyone has any objections about it, please let me know.
thanks,
greg k-h
--------
From: Greg Kroah-Hartman <gregkh@suse.de>
Subject: USB: mark USB drivers as being GPL only
Over two years ago, the Linux USB developers stated that they believed
there was no way to create a USB kernel driver that was not under the
GPL. This patch moves the USB apis to enforce that decision.
There are ...
| Jan 25, 11:02 am 2008 |
| Olaf Hering | [PATCH] unifdef linux/vt.h
remove the newly added __KERNEL__ block from linux/vt.h
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
include/linux/Kbuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -157,7 +157,6 @@ header-y += veth.h
header-y += video_decoder.h
header-y += video_encoder.h
header-y += videotext.h
-header-y += vt.h
header-y += x25.h
unifdef-y += acct.h
@@ -348,6 +347,7 @@ unifdef-y += videodev.h
unifdef-y += ...
| Jan 25, 11:02 am 2008 |
| Olaf Hering | [PATCH] hide kernel only code in linux/jbd.h
Move a few kernel only stuff into __KERNEL__
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
include/linux/jbd.h | 2 --
1 file changed, 2 deletions(-)
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -33,7 +33,6 @@
#include <linux/lockdep.h>
#include <asm/semaphore.h>
-#endif
#define journal_oom_retry 1
@@ -84,7 +83,6 @@ static inline void jbd_free(void *ptr, s
#define JFS_MIN_JOURNAL_BLOCKS 1024
-#ifdef __KERNEL__
/**
* typedef handle_t - The ...
| Jan 25, 11:03 am 2008 |
| Brett Dikeman | Re: 2850 drive bays not hot-swap?
On Jan 24, 2008 3:35 PM, William Warren
An update: I don't know whether it is a kernel problem or a hardware
problem, but the instructions pertaining to removing and adding SCSI
devices live above doesn't work on a PE2850 (which uses "LSI Logic /
Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08)",
aka Dell's PERC controller 4e/Di, driven by the mpt* drivers.)
It *appears* to work, but the bus seems to grind to a near halt.
This may be an inaccurate conclusion, but I'm ...
| Jan 25, 10:37 am 2008 |
| Jochen Friedrich | [PATCHv3 2.6.25] i2c: adds support for i2c bus on Freesc ...
Using the port of 2.4 code from Vitaly Bordug <vitb@kernel.crashing.org>
and the actual algorithm used by the i2c driver of the DBox code on
cvs.tuxboc.org from Tmbinc, Gillem (htoa@gmx.net). Renamed i2c-rpx.c and
i2c-algo-8xx.c to i2c-cpm.c and converted the driver to an
of_platform_driver.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
arch/powerpc/boot/dts/mpc8272ads.dts | 10 +
arch/powerpc/boot/dts/mpc866ads.dts | 10 +
arch/powerpc/boot/dts/mpc885ads.dts ...
| Jan 25, 10:11 am 2008 |
| Guillaume Chazarain | Dropping some patches from sched-devel
Hi Ingo,
Can I talk you into dropping these patches of mine from sched-devel
(or not send them to Linus):
da0f9440cdcb1edd5424de91f326de83de3fe5f9 sched: make sure jiffies is
up to date before calling __update_rq_clock()
6eb300ad38fef6db4efe177067a65aaa771596da sched: fix rq->clock
overflows detection with CONFIG_NO_HZ
They are not of good enough quality, and I'm working on a better approach.
Thanks.
--
Guillaume
--
| Jan 25, 9:38 am 2008 |
| Guillaume Chazarain | Re: Dropping some patches from sched-devel
I was talking about code quality: adding a dependency on jiffies does
not seems like a good idea. But also, about the clock quality, I was
focusing on getting rid of underflows and overflows so relaxed the
checks. But I realized all these underflows are definitely needed. I
mean, the conversion from TSC to sched_clock always rounds to lower,
I find the overflow/underflow/warps checks you added in the first
place to be sufficent. Not sure we want to add more tests to
differentiate between ...
| Jan 25, 10:27 am 2008 |
| Ingo Molnar | Re: Dropping some patches from sched-devel
sure, done.
what method are you using of determining quality? Could you perhaps try
to automate it? (even better would be some self-test within the kernel
that detects badness)
Ingo
--
| Jan 25, 9:58 am 2008 |
| Ian Abbott | [PATCH(v3) 2.6.24] Fix fakephp deadlock
From: Ian Abbott <abbotti@mev.co.uk>
This is the third version of my patch to fix the problem of a process
deadlocking itself when it uses the fakephp driver to fake the removal
of a PCI device.
This section describes the changes since the first version of the
patch. Skip to the next section (after the "---") for the original
rationale and (slightly modified) patch description, and for the patch
itself.
Greg KH hinted at a race condition in the first version of the patch.
In the first ...
| Jan 25, 9:23 am 2008 |
| Jan Engelhardt | Re: [PATCH] Introduce softpanic
If the machine goes oops and softlocks (e.g. bug in root filesystem,
lock held but not released, box essentially dead), ping also still
or that.
--
| Jan 25, 8:22 am 2008 |
| Valdis.Kletnieks | Re: [PATCH] Introduce softpanic
I think Bodo is trying to address one specific (but quite common) corner
case, where we currently panic() only because there's nothing else that
makes sense - if we can't find the root fs, we're hosed. But (barring *other*
oops/etc issues), we're still up and running, our data structures are intact,
and there's no real reason we can't use such kernel services as we want (such
as the screen scroller) to help the sysadmin figure out what he misconfigured.
If we were trying to do a *general ...
| Jan 25, 10:16 am 2008 |
| Bodo Eggert | Re: [PATCH] Introduce softpanic
Thanks. I remember having fixed it ...
--
Professionals are predictable, it's the amateurs that are dangerous.
--
| Jan 25, 10:37 am 2008 |
| Jiri Kosina | Re: [PATCH] Introduce softpanic
Hi Bodo,
if you are willing to put some effort into the ability to scroll the
console after panic, it might be worthwile to look making the keyboard
driver work even after panic (i.e. poll the keyboard, rather than relying
on interrupts).
That has significantly smaller potential of breaking because the system is
expected to be dead after panic (watchdogs, broken data structures in
memory, etc).
--
Jiri Kosina
--
| Jan 25, 8:26 am 2008 |
| Andi Kleen | Re: [PATCH] Introduce softpanic
I don't think it's a good idea to keep the network running in the
soft panic. A lot of people have set ups that use ping was a watchdog
and with nfsroot/ip=dhcp ping does work quite well before
mounting root and then the watchdog might not pick up the
soft panic.
Using a polled keyboard driver after panic seems to be the better
option to me, but if you want softpanic you should probably
at least add a suitable panic notifier to the network stack
to shut it all down.
-Andi
--
| Jan 25, 8:01 am 2008 |
| Jan Engelhardt | Re: [PATCH] Introduce softpanic
#ifdef CONFIG_SOFTPANIC?
--
| Jan 25, 8:21 am 2008 |
| Bodo Eggert | [PATCH] Introduce softpanic
Enabling this option changes a hard panic on boot errors to a
soft panic, which does not stop the system completely.
You can still scroll the screen and read the messages.
Signed-Off-By: Bodo Eggert <7eggert@gmx.de>
diff -pruN -X dontdiff linux-2.6.24.pure/include/linux/kernel.h linux-2.6.24.softpanic/include/linux/kernel.h
--- linux-2.6.24.pure/include/linux/kernel.h 2008-01-25 15:09:36.000000000 +0100
+++ linux-2.6.24.softpanic/include/linux/kernel.h 2008-01-25 15:31:26.000000000 +0100
@@ ...
| Jan 25, 7:54 am 2008 |
| Bodo Eggert | Re: [PATCH] Introduce softpanic
I have no idea on how to do it. If somebody has a big red arrow pointing to
a HOWTO, I can give it a try.
OTOH, I think the panic timeout should do the job nicely.
--
If you talk about race, it does not make you a racist. If you see distinctions
between the genders, it does not make you a sexist. If you think critically
about a denomination, it does not make you anti-religion. If you accept but
don't celebrate homosexuality, it does not make you a homophobe.Charlton Heston
--
| Jan 25, 10:31 am 2008 |
| Geert Uytterhoeven | Re: [PATCH] [NET]: Remove PowerPC code from fec.c
As per MAINTAINERS, m68knommu is handled by:
UCLINUX (AND M68KNOMMU)
P: Greg Ungerer
M: gerg@uclinux.org
L: uclinux-dev@uclinux.org (subscribers-only)
I already forwarded a copy of your email to Greg.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
...
| Jan 25, 7:46 am 2008 |
| Frans Pop | Re: [PATCH] [NET]: Remove PowerPC code from fec.c
This comment makes sense for a changelog, but IMO it makes no sense at all
to add it to the file.
Cheers,
FJP
--
| Jan 25, 8:50 am 2008 |
| Jochen Friedrich | [PATCH] [NET]: Remove PowerPC code from fec.c
fec.c is only used on M68k Coldfire CPUs. Remove leftover
PowerPC code from this driver.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
drivers/net/fec.c | 136 +---------------------------------------------------
1 files changed, 3 insertions(+), 133 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 0fbf1bb..0499cbb 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -23,6 +23,9 @@
*
* Bug fixes and cleanup by Philippe De Muyter (phdm@macqel.be)
...
| Jan 25, 7:33 am 2008 |
| Jochen Friedrich | Re: [PATCH] [NET]: Remove PowerPC code from fec.c
I just added it to clarify this code is now only used on m68knommu (Coldfire).
The comments on top are mailny about MPC860T CPUs (PowerPC), however the driver is no
longer used for these CPUs.
Maybe the wording should be changed to:
This driver is now only used on ColdFire (m68knommu) processors. Conditional
PowerPC code has been removed.
Thanks,
Jochen
--
| Jan 25, 9:04 am 2008 |
| Frans Pop | Re: [PATCH] [NET]: Remove PowerPC code from fec.c
Yes, that certainly makes more sense, although IMHO the second sentence is
still somewhat redundant. (My problem was mainly with the second sentence.
I should have made that more clear, sorry.)
--
| Jan 25, 9:31 am 2008 |
| Kumar Gala | Re: [PATCH for-2.6.25] [POWERPC] Rename commproc to cpm1 ...
applied.
- k
--
| Jan 25, 8:56 am 2008 |
| Jochen Friedrich | [PATCH for-2.6.25] [POWERPC] Rename commproc to cpm1 and ...
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also
rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the
includes accordingly.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
arch/powerpc/platforms/8xx/ep88xc.c | 1 +
arch/powerpc/platforms/8xx/mpc86xads_setup.c | 2 +-
arch/powerpc/platforms/8xx/mpc885ads_setup.c | 2 +-
arch/powerpc/sysdev/Makefile | 4 ++--
arch/powerpc/sysdev/{commproc.c => cpm1.c} | ...
| Jan 25, 7:31 am 2008 |
| Jack Harvard | Q: linux failed to execute /init?
Hi,
I'm trying to boot Linux, but the /init process failed. Here is the
info:
=FF<6>/init exit code: -14
/init exit code: -14
<4>Failed to execute /init
Failed to execute /init
<6>/sbin/init exit code: -14
Just wondering what do those different exit codes mean?
Thanks, -J
--
| Jan 25, 6:40 am 2008 |
| H. Peter Anvin | Re: Q: linux failed to execute /init?
Sounds like a problem in your drivers, and/or your memory controller.
Especially the memory controller.
-hpa
--
| Jan 25, 10:52 am 2008 |
| linux-os (Dick Johnson) | Re: Q: linux failed to execute /init?
-14 is EFAULT. This means that there was some access
to memory that was not mapped.
In the future, check /usr/include/asm/errno.h for exit
codes. Of course in user-space they are positive with
-1 being return from the function-call and errno being
set to this code. In the kernel, they are combined with
'error' being the negative of the return code.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips).
My book : ...
| Jan 25, 11:48 am 2008 |
| Jan Engelhardt | Re: Q: linux failed to execute /init?
asm-generic/errno-base.h:#define EFAULT 14 /* Bad address */
--
| Jan 25, 7:27 am 2008 |
| Andreas Schwab | Re: Q: linux failed to execute /init?
#define EFAULT 14 /* Bad address */
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
| Jan 25, 6:47 am 2008 |
| Jack Harvard | Re: Q: linux failed to execute /init?
This is reproduceable and it happens every time. IMHO, I also suspect
this could be caused by some obscure timing issues, as the kernel is
booting up from an FPGA-prototyped SoC, the same Linux image was
running fine on a previous build of FPGA-prototyped SoC, but it's
coming across this /init failed problem repeatedly on the currently
running newly built bit file.
--
| Jan 25, 8:34 am 2008 |
| Jan Engelhardt | Re: Q: linux failed to execute /init?
ÿ is 255. While this could indicate a serial transmission error (my
guess: bad timing), printing -14 repeatedly certainly does not.
Is the ÿ reproducable, does it happen every time?
--
| Jan 25, 8:02 am 2008 |
| Jack Harvard | Re: Q: linux failed to execute /init?
Here is the terminal printout from the correct bootup on a previous build.
<6>Freeing init memory: 584K
Freeing init memory: 584K
init started: BusyBox v0.60.5 (2006.06.15-11:12+0000) multi-call binary
Bummer, could not run '/etc/init.d/rcS': No such file or directory
ÿ
Please press Enter to activate this console.
It looks that it's printing out several ÿ first and then replaced them
with "init started: BusyBox..." seems quite obscure, as the only
difference between those two FPGA builds ...
| Jan 25, 8:47 am 2008 |
| Jack Harvard | Re: Q: linux failed to execute /init?
Also, before the init process hung up and printed out /init exit code:
-14, it printed out the following symbol
ÿ
Which doesn't make any sense to me, just wondering what could have
caused this? it's unlikely due to baud rate and printed out something
unreadable.
--
| Jan 25, 7:39 am 2008 |
| Max Kellermann | 2.6.23.1: oops in diskstats_show()
Hi,
my kernel 2.6.23.1 oopsed today in diskstats_show(), leaving the
block_subsys_lock mutex locked. I have an Athlon 64 X2 (dual-core),
architecture x86_64. I have not tried with 2.6.24 yet, but it looks
like there was no relevant change in 2.6.24.
Right before the crash, I was torturing cryptsetup to experiment with
encryption - I created and deleted device mapper objects in a loop.
The NULL dereference happened inside "disk_stat_read(gp,
time_in_queue)", because the percpu pointer ...
| Jan 25, 6:32 am 2008 |
| Haavard Skinnemoen | [GIT PULL] AVR32 update
Hi Linus,
Please pull from the for-linus branch of
ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git for-linus
to receive the following changes.
Mathieu, this includes the patch that adds the instrumentation menu to
avr32, bringing it in line with most other architectures at the moment.
Please update your patch so that it also updates the avr32 Kconfig when
removing it.
David Brownell (1):
[AVR32] extint: change set_irq_type() handling
Haavard ...
| Jan 25, 6:07 am 2008 |
| Takashi Sato | Re: [RFC] ext3 freeze feature
I think it is reasonable to implement it as the generic system call, as you said.
Does XFS folks think so?
Cheers, Takashi
--
| Jan 25, 5:42 am 2008 |
| Andreas Herrmann3 | [PATCH] x86: fix cpu MHz reporting for AMD family 0x11
Fix cpu MHz reporting for AMD family 0x11 when powernow-k8 is
disabled.
Just adhere to the CONSTANT_TSC feature bit for AMD CPUs when deciding
whether cpu_khz needs calibration. The additional check for CPU family
is not needed and prevents calibration for future CPUs.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
diff --git a/arch/x86/kernel/time_64.c b/arch/x86/kernel/time_64.c
index 61b17f5..0380795 100644
--- a/arch/x86/kernel/time_64.c
+++ ...
| Jan 25, 5:28 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: fix cpu MHz reporting for AMD family 0x11
thanks Andreas, applied!
Ingo
--
| Jan 25, 5:41 am 2008 |
| Asbjørn Sannes | Re: Unpredictable performance
5 runs gives me:
real 5m58.626s
real 5m57.280s
real 5m56.584s
real 5m57.565s
real 5m56.613s
Should I test with tmpfs aswell?
--
Asbjorn Sannes
--
| Jan 25, 8:03 am 2008 |
| Asbjorn Sannes | Unpredictable performance
Hi,
I am experiencing unpredictable results with the following test
without other processes running (exception is udev, I believe):
cd /usr/src/test
tar -jxf ../linux-2.6.22.12
cp ../working-config linux-2.6.22.12/.config
cd linux-2.6.22.12
make oldconfig
time make -j3 > /dev/null # This is what I note down as a "test" result
cd /usr/src ; umount /usr/src/test ; mkfs.ext3 /dev/cc/test
and then reboot
The kernel is booted with the parameter mem=81920000
For 2.6.23.14 the results vary ...
| Jan 25, 4:32 am 2008 |
| Nick Piggin | Re: Unpredictable performance
Hmm, lots of things could cause it. With such big variations in
elapsed time, and small variations on CPU time, I guess the fs/IO
layers are the prime suspects, although it could also involve the
VM if you are doing a fair amount of page reclaim.
Can you boot with enough memory such that it never enters page
reclaim? `grep scan /proc/vmstat` to check.
Otherwise you could mount the working directory as tmpfs to
eliminate IO.
bisecting it down to a single patch would be really helpful if ...
| Jan 25, 7:00 am 2008 |
| Asbjørn Sannes | Re: Unpredictable performance
I'm going to run some tests without limiting the memory to 80 megabytes
(so that it is 2 gigabyte) and see how much it varies then, but iff I
recall correctly it did not vary much. I'll reply to this e-mail with
the results.
I can do some bisecting next week and see if I find any, but it will
probably take a lot of time considering that I need to do enough runs..
how much should this vary anyways? The kernel is compiled as an UP
kernel and there is nothing running in parallel with it.. it ...
| Jan 25, 7:31 am 2008 |
| Asbjørn Sannes | Re: Unpredictable performance
.. I may have jumped the gun a "little" early saying that it is mostly
concentrated around the mean, grepping from memory is not always .. hm,
So, what you are saying is that it is expected to vary this much under
I have all the numbers, I was just hoping that there was a way to
benchmark a small change without a lot of runs. It seems to me to quite
randomly distributed .. from the 2.6.23.14 runs:
43m10.022s, 34m31.104s, 43m47.221s, 41m17.840s, 34m15.454s,
37m54.327s, 35m6.193s, 38m16.909s, ...
| Jan 25, 1:49 pm 2008 |
| Ray Lee | Re: Unpredictable performance
First off, not all tests are good tests. In particular, small timing
differences can get magnified horrendously by heading into swap.
That said, do you have the means and standard deviations of those
runs? That's a good way to tell whether the tests are converging or
not, and whether your results are telling you anything.
Also as you're on a uniprocessor system, make -j2 is probably going to
be faster than make -j3. Perhaps immaterial to whatever you're trying
to test, but there you go.
--
| Jan 25, 10:16 am 2008 |
| Michael Monnerie | netatalk slow after system upgrade (possibly kernel problem?)
Dear lists,
I've been spending a LOT of time trying to find out where's the problem,=20
but can't find it and therefore seek urgent help now. We have the=20
following system:
Server with VMware server
=2D> VM running a webserver and netatalk
=2D> 2 other VMs not related
The VM with netatalk was SUSE 10.0 with kernel 2.6.13-15.15-smp (from=20
SUSE), and things were pretty fun and quick. Then we upgraded to SUSE=20
10.2 and now 10.3, where everything EXCEPT netatalk runs perfect. ...
| Jan 25, 4:55 am 2008 |
| Theodore Tso | Re: [RFC] ext3 freeze feature
Yes, but it requires that the filesystem be stored under LVM. Unlike
what EVMS v1 allowed us to do, we can't currently take a snapshot of a
bare block device. This patch could potentially be useful for systems
That's the problem. You can't afford to freeze for very long.
What you *could* do is to start putting processes to sleep if they
attempt to write to the frozen filesystem, and then detect the
deadlock case where the process holding the file descriptor used to
freeze the filesystem ...
| Jan 25, 6:33 am 2008 |
| Dmitri Monakhov | Re: [RFC] ext3 freeze feature
First of all Linux already have at least one open-source(dm-snap),
and several commercial snapshot solutions. In fact dm-snaps it
not perfect:
a) bit map loading is not supported (this is useful for freezing
only used blocks) which causing significant slowdown even for new writes
b) non patched dm-snap code has significant performance slowdown for all
rewrite requests.
c) IMHO memory footprint is too big.
You have to realize what delay between 1-3 stages have to be minimal.
for ...
| Jan 25, 5:18 am 2008 |
| Takashi Sato | [RFC] ext3 freeze feature
Hi,
Currently, ext3 doesn't have the freeze feature which suspends write
requests. So, we cannot get a backup which keeps the filesystem's
consistency with the storage device's features (snapshot, replication)
while it is mounted.
In many case, a commercial filesystems (e.g. VxFS) has the freeze
feature and it would be used to get the consistent backup.
So I am planning on implementing the ioctl of the freeze feature for ext3.
I think we can get the consistent backup with the following ...
| Jan 25, 3:59 am 2008 |
| Eric Sandeen | Re: [RFC] ext3 freeze feature
I tend to agree. Either you need your fs frozen, or not, and if you do,
That's what I was thinking; can't the path to freeze_bdev just be
elevated out of dm-ioctl.c to fs/ioctl.c and exposed, such that any
filesystem which implements .write_super_lockfs can be frozen? This is
essentially what the xfs_freeze userspace does via
xfs_ioctl/XFS_IOC_FREEZE - which, AFAIK, isn't used much now that the
lvm hooks are in place.
I'm also not sure I see the point of the timeout in the original ...
| Jan 25, 9:34 am 2008 |
| Pekka Enberg | Re: [RFC] ext3 freeze feature
I am also wondering whether we should have system call(s) for these:
And just convert XFS to use them too?
Pekka
--
| Jan 25, 4:17 am 2008 |
| Theodore Tso | Re: [RFC] ext3 freeze feature
That the admin would manage to deadlock him/herself and wedge up the
This is only a guess, but I suspect it was a fail-safe in case the
admin did manage to deadlock him/herself.
I would think a better approach would be to make the filesystem
unfreeze if the file descriptor that was used to freeze the filesystem
is closed, and then have explicit deadlock detection that kills the
process doing the freeze, at which point the filesystem unlocks and
the system can recover.
- Ted
--
| Jan 25, 9:42 am 2008 |
| Steven Whitehouse | GFS2 Pull request
Hi,
I've dropped out a couple of the patches related to journaling. Those
will now do an extra round of my git tree and will likely be merged next
time. Other than that, the patches in the GFS2 -nme git tree are exactly
as recently posted.
Please consider pulling the following changes,
Steve.
---------------------------------------------------------------------------------
The following changes since commit 49914084e797530d9baaf51df9eda77babc98fa8:
Linus Torvalds (1):
Linux ...
| Jan 25, 2:46 am 2008 |
| Eric Sesterhenn | [Patch] Removal of FUTEX_FD
hi,
since FUTEX_FD was scheduled for removal in June 2007 lets remove it.
Google Code search found no users for it and NGPT was abandoned in 2003
according to IBM. futex.h is left untouched to make sure the id does
not get reassigned. Since queue_me() has no users left it is commented
out to avoid a warning, i didnt remove it completely since it is part
of the internal api (matching unqueue_me())
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
--- linux/kernel/futex.c.orig 2008-01-25 ...
| Jan 25, 2:40 am 2008 |
| Stephan Boettcher | parport_ieee1284_epp_read_addr patch
Tim,
Please consider the included patch to fix a 1-bit bug in the software
emulation of parport epp addr read mode.
I am not subscribed to the LKML.
Thanks
Stephan
--- linux-2.6.24-rc6/drivers/parport/ieee1284_ops.c~ 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.24-rc6/drivers/parport/ieee1284_ops.c 2008-01-24 22:15:05.000000000 +0100
@@ -888,7 +888,7 @@
/* Event 59: set nSelectIn (nAStrb) high */
parport_frob_control (port, PARPORT_CONTROL_SELECT,
- ...
| Jan 25, 1:09 am 2008 |
| Minoru Usui | [PATCH] Fix NUMA emulation for x86_64
I found a small bug of NUMA emulation code for x86_64. (CONFIG_NUMA_EMU)
If machine is non-NUMA, find_node_by_addr() should return
NUMA_NO_NODE, but current implementation code returns existent maximum
NUMA node number + 1.
This is not existent NUMA node number.
However, this behaviour does not affect NUMA emulation fortunately, because
acpi_fake_nodes() that is caller of find_node_by_addr() gets pxm
(proximity domain) by node_to_pxm() from non-existent NUMA node number
that was returned by ...
| Jan 25, 1:16 am 2008 |
| Ingo Molnar | Re: [PATCH] Fix NUMA emulation for x86_64
thanks, i have applied your fix to x86.git.
It seems this does not need to be backported to v2.6.24.1 because
node_to_pxm() masked the bad effects of this bug, right?
Ingo
--
| Jan 25, 3:41 am 2008 |
| Mikael Starvik | RE: [PATCH 128/196] Kobject: the cris iop_fw_load.c code ...
Yes, we are currently in the process of cleaning this up for all our device
drivers.
Thanks!
-----Original Message-----
From: Greg Kroah-Hartman [mailto:gregkh@suse.de]
Sent: Friday, January 25, 2008 8:33 AM
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman; Mikael Starvik; Kay Sievers
Subject: [PATCH 128/196] Kobject: the cris iop_fw_load.c code is broken
This code is really really really broken. So much so that it's almost
impossible to fix with a simple patch, so just comment ...
| Jan 25, 1:01 am 2008 |
| Greg Kroah-Hartman | [PATCH 081/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 22 ++++++++++------------
1 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 018ca1c..e17cd81 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:28 am 2008 |
| Greg Kroah-Hartman | [PATCH 142/196] PCMCIA: use proper call to driver_create_file
Don't try to call the "raw" sysfs_create_file when we already have a
helper function to do this kind of work for us.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pcmcia/ds.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 5cf89a9..15c18f5 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -312,8 +312,7 @@ pcmcia_create_newid_file(struct pcmcia_driver *drv)
{
int error = 0;
if ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 085/196] kset: convert s390 ipl.c to use kset_create
Dynamically create the kset instead of declaring it statically.
This makes the kobject attributes now work properly that I broke in the
previous patch.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Michael Holzheu <holzheu@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Volker Sameske <sameske@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/s390/kernel/ipl.c | 73 ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction i ...
From: Li Yang <leo@zh-kernel.org>
Rephrase the introduction as suggested by Jesper Juhl.
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/HOWTO | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/zh_CN/HOWTO b/Documentation/zh_CN/HOWTO
index c8660da..79d1c3c 100644
--- a/Documentation/zh_CN/HOWTO
+++ b/Documentation/zh_CN/HOWTO
@@ -1,10 +1,10 @@
| Jan 25, 12:27 am 2008 |
| Jan Engelhardt | Re: [PATCH 012/196] nozomi driver
If you want to keep them, add it to the patch description; that way they will
be retained in "git log" without expanding the size of the .c file. :)
--
| Jan 25, 6:21 am 2008 |
| Greg Kroah-Hartman | [PATCH 133/196] Kobject: convert kernel/params.c to use ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/params.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/kernel/params.c b/kernel/params.c
index 97e0923..1078b14 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -561,11 +561,9 @@ static void __init kernel_param_sysfs_setup(const char *name,
mk->mod = ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 095/196] kset: remove decl_subsys macro
This macro is no longer used. ksets should be created dynamically with
a call to kset_create_and_add() not declared statically.
Yes, there are 5 remaining static struct kset usages in the kernel tree,
but they will be fixed up soon.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/class.c | 11 +++++++++--
include/linux/kobject.h | 6 ------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 034/196] kobject: convert hvc_console to use kref ...
hvc_console is using a kobject only for reference counting, nothing
else. So switch it to use a kref instead, which is all that is needed,
and is much smaller.
Cc: Anton Blanchard <anton@au.ibm.com>
Cc: Paul Mackerras <paulus@au.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ryan S. Arnold <rsa@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/char/hvc_console.c | 80 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 190/196] rtc: use class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Convert to use the class iteration api.
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/rtc/interface.c | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index f1e00ff..7e3ad4f 100644
--- a/drivers/rtc/interface.c
+++ ...
| Jan 25, 12:33 am 2008 |
| Linus Torvalds | Re: [GIT PATCH] driver core patches against 2.6.24
Ok, I just never noticed, because without any warnings or oopses, it
Sadly, I'm now in the process of shutting down all my machines to prepare
for "the flight from hell(tm)", so I won't have time to check this right
now.
Linus
--
| Jan 25, 1:23 pm 2008 |
| Greg Kroah-Hartman | [PATCH 163/196] Kobject: remove kobject_add() as no one ...
The old kobject_add() function is on longer in use, so let us remove it
from the public scope (kset mess in the kobject.c file still uses it,
but that can be cleaned up later very simply.)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 1 -
lib/kobject.c | 22 ++++++++--------------
2 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 129/196] Kobject: convert drivers/base/class.c to ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/class.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 3ffcda7..ba6745b 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -546,8 +546,7 @@ static struct class_device_attribute class_uevent_attr ...
| Jan 25, 12:32 am 2008 |
| Jon Masters | Re: [GIT PATCH] driver core patches against 2.6.24
Thanks Linus. I'll pass this on to the mkinitrd maintainer. We'll try to
get this sorted out for you :)
Jon.
--
| Jan 25, 2:11 pm 2008 |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kerne ...
From: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/stable_kernel_rules.txt | 66 +++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/stable_kernel_rules.txt
diff --git a/Documentation/zh_CN/stable_kernel_rules.txt ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 099/196] kobject: convert ecryptfs to use kobject ...
Using a kset for this trivial directory is an overkill.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ecryptfs/main.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index d984eac..4f13321 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -734,7 +734,7 @@ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 090/196] kobject: convert /sys/firmware/acpi/ to ...
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/acpi/bus.c | 11 ++++++-----
drivers/acpi/system.c | 2 +-
include/acpi/acpi_bus.h | 2 +-
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 7c172d9..e550da6 100644
--- ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 060/196] kset: convert drivers/base/bus.c to use ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 6309560..e3b1010 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -166,7 +166,7 @@ static struct kset_uevent_ops bus_uevent_ops = {
.filter = bus_uevent_filter,
};
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 111/196] Kobject: change drivers/firmware/edd.c t ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/edd.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c
index ddcc957..dc0b87b 100644
--- a/drivers/firmware/edd.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 054/196] kset: convert gfs2 to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/gfs2/sys.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index a0bdc4a..44cfaae 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -221,7 +221,7 @@ static struct kobj_type gfs2_ktype = {
.sysfs_ops = ...
| Jan 25, 12:09 am 2008 |
| Greg KH | Re: [PATCH 012/196 ver2] nozomi driver
<snip>
Frank, can you send me a patch against Linus's current git tree that had
the last version of this driver included in it?
That way I can actually apply the changes :)
thanks,
greg k-h
--
| Jan 25, 11:55 am 2008 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers
From: Li Yang <leo@zh-kernel.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/SubmittingDrivers | 168 +++++++++++++++++++++++++++++++++
1 files changed, 168 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/SubmittingDrivers
diff --git a/Documentation/zh_CN/SubmittingDrivers b/Documentation/zh_CN/SubmittingDrivers
new file mode 100644
index 0000000..5f4815c
--- /dev/null
+++ ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 048/196] kobject: convert fuse to use kobject_create
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/fuse/inode.c | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index f5e4182..9211806 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -744,9 +744,6 @@ static ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches
From: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/SubmittingPatches | 416 +++++++++++++++++++++++++++++++++
1 files changed, 416 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/SubmittingPatches
diff --git a/Documentation/zh_CN/SubmittingPatches b/Documentation/zh_CN/SubmittingPatches
new file mode ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 026/196] pktcdvd: Convert from class_device to de ...
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Peter Osterlund <petero2@telia.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/block/pktcdvd.c | 16 +++++++---------
include/linux/pktcdvd.h | 2 +-
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/drivers/block/pktcdvd.c ...
| Jan 25, 12:09 am 2008 |
| Christoph Lameter | Re: [PATCH 135/196] Kobject: convert mm/slub.c to use ko ...
Acked-by: Christoph Lameter <clameter@sgi.com>
--
| Jan 25, 11:17 am 2008 |
| Greg Kroah-Hartman | [PATCH 032/196] sysfs: remove SPIN_LOCK_UNLOCKED
From: Jiri Slaby <jirislaby@gmail.com>
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Tejun Heo <teheo@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 4045bdc..09a0611 100644
--- a/fs/sysfs/file.c
+++ ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 006/196] Chinese: add translation of oops-tracing.txt
From: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/oops-tracing.txt | 212 ++++++++++++++++++++++++++++++++++
1 files changed, 212 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/oops-tracing.txt
diff --git a/Documentation/zh_CN/oops-tracing.txt b/Documentation/zh_CN/oops-tracing.txt
new file mode ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 071/196] kset: convert struct bus_device->devices ...
Dynamically create the kset instead of declaring it statically.
Having 3 static kobjects in one structure is not only foolish, but ripe
for nasty race conditions if handled improperly. We also rename the
field to catch any potential users of it (not that there should be
outside of the driver core...)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 19 ++++++++++---------
include/linux/device.h | 2 +-
2 files ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 137/196] driver core: remove owner field from str ...
This isn't used by anything in the driver core, and by no one in the 204
different usages of it in the kernel tree. Remove this field so no one
gets any idea that it is needed to be used.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/device.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/linux/device.h b/include/linux/device.h
index a3b3ff1..313e0b3 100644
--- a/include/linux/device.h
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 162/196] Kobject: convert kernel/module.c to use ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/module.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/kernel/module.c b/kernel/module.c
index 0ae8117..89cd4c7 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -1217,18 +1217,16 @@ int mod_sysfs_init(struct module *mod)
err = -EINVAL;
goto out;
...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 165/196] Kobject: remove kobject_init() as no one ...
The old kobject_init() function is on longer in use, so let us remove it
from the public scope (kset mess in the kobject.c file still uses it,
but that can be cleaned up later very simply.)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 1 -
lib/kobject.c | 11 +++--------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index ...
| Jan 25, 12:33 am 2008 |
| Andrew Morton | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
Absolutely - this is important. After several hours mucking about I just
gave up trying to bisect a 2.6.24-rc1 regression due to hitting 100% build
errors and runtime oopses during the bisection. Mainly from networking in
that case.
--
| Jan 25, 3:33 pm 2008 |
| Greg Kroah-Hartman | [PATCH 089/196] kset: convert edd to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/edd.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c
index fc567fa..f07f370 100644
--- a/drivers/firmware/edd.c
+++ b/drivers/firmware/edd.c
@@ -631,7 +631,7 @@ static struct kobj_type ...
| Jan 25, 12:31 am 2008 |
| Jeff Garzik | Re: [PATCH 076/196] ecryptfs: remove version_str file fr ...
It's not really good policy to rip out ABIs found in release kernels
like this, even if the motivation is sound.
IMO "don't break ABIs" rule is far more important than a
one-value-per-file sysfs rule.
Jeff
--
| Jan 25, 1:25 am 2008 |
| Greg Kroah-Hartman | [PATCH 038/196] kobject: make kobject_cleanup be static
No one except the kobject core calls it so make the function static.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 2 --
lib/kobject.c | 9 ++++-----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 4a0d27f..2d19a07 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -79,8 +79,6 @@ static inline const char * kobject_name(const struct kobject * kobj)
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 075/196] fix struct user_info export's sysfs inte ...
From: Kay Sievers <kay.sievers@vrfy.org>
Clean up the use of ksets and kobjects. Kobjects are instances of
objects (like struct user_info), ksets are collections of objects of a
similar type (like the uids directory containing the user_info directories).
So, use kobjects for the user_info directories, and a kset for the "uids"
directory.
On object cleanup, the final kobject_put() was missing.
Cc: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: Srivatsa Vaddagiri ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 170/196] Modules: remove unneeded release function
Now that kobjects properly clean up their name structures, no matter if
they have a release function or not, we can drop this empty module
kobject release function too (it was needed prior to this because of the
way we handled static kobject names, we based the fact that if a release
function was present, then we could safely free the name string, now we
are more smart about things and only free names we have previously set.)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 052/196] kset: convert ecryptfs to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ecryptfs/main.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index fe2f44f..4750d82 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -734,7 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 045/196] kobject: add kobject_create_and_add function
This lets users create dynamic kobjects much easier.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 3 ++
lib/kobject.c | 81 ++++++++++++++++++++++++++++++++++++----------
2 files changed, 66 insertions(+), 18 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index f91aeb7..33e7a61 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -91,6 +91,9 @@ extern ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 130/196] Kobject: convert drivers/base/core.c to ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index b3a931f..beb3516 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -523,8 +523,7 @@ static void klist_children_put(struct klist_node *n)
void ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 051/196] kobject: convert configfs to use kobject ...
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/configfs/mount.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c
index 374ddbd..1330046 100644
--- a/fs/configfs/mount.c
+++ b/fs/configfs/mount.c
@@ ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 123/196] Kobject: change drivers/parisc/pdc_stabl ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Kyle McMartin <kyle@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/parisc/pdc_stable.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/parisc/pdc_stable.c ...
| Jan 25, 12:32 am 2008 |
| Greg KH | Re: [PATCH 044/196] kset: add kset_create_and_add function
At this point in the object's lifetime, it is the same exact thing.
So both are correct :)
thanks,
greg k-h
--
| Jan 25, 10:51 am 2008 |
| Greg Kroah-Hartman | [PATCH 009/196] Chinese: add translation of sparse.txt
From: Li Yang <leo@zh-kernel.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/sparse.txt | 100 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 100 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/sparse.txt
diff --git a/Documentation/zh_CN/sparse.txt b/Documentation/zh_CN/sparse.txt
new file mode 100644
index 0000000..75992a6
--- /dev/null
+++ b/Documentation/zh_CN/sparse.txt
@@ ...
| Jan 25, 12:09 am 2008 |
| Jeff Garzik | Re: [PATCH 076/196] ecryptfs: remove version_str file fr ...
Cool, well ignore my objection then...
Jeff
--
| Jan 25, 3:04 pm 2008 |
| Greg Kroah-Hartman | [PATCH 134/196] Kobject: convert kernel/user.c to use ko ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/user.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/kernel/user.c b/kernel/user.c
index 7f17e6e..ab4fd70 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -181,13 +181,12 @@ static int uids_user_create(struct user_struct *up)
int error;
memset(kobj, 0, ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 055/196] kset: convert gfs2 dlm to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/gfs2/locking/dlm/sysfs.c | 22 ++++++++++------------
1 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c
index 93e66b2..0a86140 100644
--- a/fs/gfs2/locking/dlm/sysfs.c
+++ b/fs/gfs2/locking/dlm/sysfs.c
@@ -189,7 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 120/196] Kobject: change drivers/block/pktcdvd.c ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/block/pktcdvd.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 17da699..d1ee383 100644
--- a/drivers/block/pktcdvd.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to dev ...
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Tim Waugh <tim@cyberelk.net>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/block/paride/pg.c | 6 +++---
drivers/block/paride/pt.c | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 112/196] Kobject: change drivers/firmware/efivars ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 7f9f086..b61a72f 100644
--- ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 050/196] kobject: convert debugfs to use kobject_create
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/debugfs/inode.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index f7f1351..6672142 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -426,20 +426,19 @@ exit:
}
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 041/196] kobject: add kobject_init_and_add function
Also add a kobject_init_and_add function which bundles up what a lot of
the current callers want to do all at once, and it properly handles the
memory usages, unlike kobject_register();
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 5 +++++
lib/kobject.c | 27 +++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/include/linux/kobject.h ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 056/196] kset: convert dlm to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/dlm/lockspace.c | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c
index 18e4a17..83a9c4d 100644
--- a/fs/dlm/lockspace.c
+++ b/fs/dlm/lockspace.c
@@ -166,7 +166,7 @@ static struct kobj_type dlm_ktype = {
...
| Jan 25, 12:09 am 2008 |
| Heiko Carstens | Re: [PATCH 085/196] kset: convert s390 ipl.c to use kset ...
Could you please merge this and the previous patch before it goes
upstream? Having an intermediate state where things are broken
will cause pain and additional work in case of bisecting.
Thanks!
--
| Jan 25, 5:20 am 2008 |
| Greg Kroah-Hartman | [PATCH 157/196] Kobject: drop child->parent ref at unreg ...
From: Alan Stern <stern@rowland.harvard.edu>
This patch (as1015) reverts changes that were made to the driver core
about four years ago. The intent back then was to avoid certain kinds
of invalid memory accesses by leaving kernel objects allocated as long
as any of their children were still allocated. The original and
correct approach was to wait only as long as any children were still
_registered_; that's what this patch reinstates.
This fixes a problem in the SCSI core made visible by the ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 117/196] Kobject: change drivers/base/sys.c to us ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/sys.c | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 29eadc6..47fc6eb 100644
--- a/drivers/base/sys.c
+++ b/drivers/base/sys.c
@@ -224,20 +224,15 @@ int ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 079/196] firmware: export firmware_kset so that p ...
Needed for future firmware subsystem cleanups.
In the end, the firmware_register/unregister functions will be deleted
entirely, but we need this symbol so that subsystems can migrate over.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/firmware.c | 3 ++-
include/linux/kobject.h | 2 ++
2 files changed, 4 insertions(+), 1 ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 156/196] sysfs: fix /sys/module/*/holders after s ...
From: Kay Sievers <kay.sievers@vrfy.org>
Sysfs symlinks now require fully registered kobjects as a target,
otherwise the call to create a symlink will fail. Here we register
the kobject before we request the symlink in the holders directory.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Tejun Heo <teheo@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/module.c | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 159/196] Kobject: convert block/elevator.c to use ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
block/elevator.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
index e452deb..5445c3c 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -185,9 +185,7 @@ static elevator_t *elevator_alloc(struct ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 175/196] Kobject: remove kobject_unregister() as ...
There are no in-kernel users of kobject_unregister() so it should be
removed.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 2 --
lib/kobject.c | 17 -----------------
2 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index be03ce8..504ac0e 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -101,8 +101,6 @@ extern ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 135/196] Kobject: convert mm/slub.c to use kobjec ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
mm/slub.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/mm/slub.c b/mm/slub.c
index d26177f..5cc4b7d 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -4025,13 +4025,12 @@ static int sysfs_slab_add(struct kmem_cache *s)
name = ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 102/196] driver core: clean up shutdown.c
shutdown.c had some stuff it did not need, including a duplicate extern
in the power.h file. This cleans up all of that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/power/power.h | 7 -------
drivers/base/power/shutdown.c | 5 -----
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h
index 10c2084..6f0dfca 100644
--- a/drivers/base/power/power.h
+++ b/drivers/base/power/power.h
@@ -1,10 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 184/196] Driver Core: constify the name passed to ...
From: Stephen Rothwell <sfr@canb.auug.org.au>
This name is just passed to platform_device_alloc which has its parameter
declared const.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/platform.c | 2 +-
include/linux/platform_device.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index bdd59e8..48d5db4 100644
--- ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 078/196] kobject: convert efivars to kobj_attr in ...
This cleans up a lot of code and gets rid of a unneeded macro, and gets
us one step closer to deleting the deprecated subsys_attr code.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 35 ++++++++++++++---------------------
1 files changed, 14 insertions(+), 21 deletions(-)
diff --git a/drivers/firmware/efivars.c ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 168/196] Kset: remove kset_add function
No one is calling this anymore, so just remove it and hard-code the one
internal-use of it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 1 -
lib/kobject.c | 13 +------------
2 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 2590847..63967da 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -158,7 +158,6 @@ ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 167/196] Kobject: remove kobject_register()
The function is no longer used by anyone in the kernel, and it prevents
the proper sending of the kobject uevent after the needed files are set
up by the caller. kobject_init_and_add() can be used in its place.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 1 -
lib/kobject.c | 18 ------------------
2 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/include/linux/kobject.h ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 070/196] kset: convert /sys/power to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename power_subsys to power_kset to catch all users of the variable and
we properly export it so that people don't have to guess that it really
is present in the system.
The pseries code is wierd, why is it createing /sys/power if CONFIG_PM
is disabled? Oh well, stupid big boxes ignoring config options...
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to ...
From: Li Yang <leo@zh-kernel.org>
Update translation for commit be3884943674f8ee7656b1d8b71c087ec900c836.
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/HOWTO | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Documentation/zh_CN/HOWTO b/Documentation/zh_CN/HOWTO
index 48fc67b..c8660da 100644
--- a/Documentation/zh_CN/HOWTO
+++ b/Documentation/zh_CN/HOWTO
@@ -218,6 +218,8 @@ kernel.org
| Jan 25, 12:27 am 2008 |
| Greg Kroah-Hartman | [PATCH 141/196] USB: use proper call to driver_create_file
Don't try to call the "raw" sysfs_create_file when we already have a
helper function to do this kind of work for us.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/core/driver.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index c51f8e9..7c3aaa9 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -91,8 +91,8 @@ static int usb_create_newid_file(struct usb_driver ...
| Jan 25, 12:32 am 2008 |
| Greg KH | Re: [PATCH 012/196 ver2] nozomi driver
One more time, with a "real" changelog entry that I can use, and a
signed-off-by: so that I can apply it to the tree would be good :)
thanks,
greg k-h
--
| Jan 25, 12:43 pm 2008 |
| Jon Masters | Re: [GIT PATCH] driver core patches against 2.6.24
Right. I assumed that Linus was calling mkinitrd but was being bitten by
one of the occasional assumptions (I believe we make in that script)
that certain things are always modular. I just mailed the maintainer,
suggesting we screen against the one of the Modules.* files (perhaps
Modules.order might become a good candidate in due course...).
Jon.
--
| Jan 25, 2:20 pm 2008 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to ...
From: Li Yang <leo@zh-kernel.org>
Update translation for commit be3884943674f8ee7656b1d8b71c087ec900c836.
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/HOWTO | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Documentation/zh_CN/HOWTO b/Documentation/zh_CN/HOWTO
index 48fc67b..c8660da 100644
--- a/Documentation/zh_CN/HOWTO
+++ b/Documentation/zh_CN/HOWTO
@@ -218,6 +218,8 @@ kernel.org
| Jan 25, 12:08 am 2008 |
| Greg Kroah-Hartman | [PATCH 068/196] kset: move /sys/slab to /sys/kernel/slab
/sys/kernel is where these things should go.
Also updated the documentation and tool that used this directory.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/vm/slabinfo.c | 2 +-
Documentation/vm/slub.txt | 2 +-
mm/slub.c | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/vm/slabinfo.c ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 062/196] kset: convert drivers/base/firmware.c to ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/firmware.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c
index 336be04..6a4e494 100644
--- a/drivers/base/firmware.c
+++ b/drivers/base/firmware.c
@@ -15,11 +15,11 @@
#include "base.h"
-static decl_subsys(firmware, ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 063/196] kset: convert /sys/devices to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename devices_subsys to devices_kset to catch all users of the
variable.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/base.h | 2 +-
drivers/base/core.c | 16 ++++++++--------
drivers/base/power/shutdown.c | 2 +-
drivers/base/sys.c | 4 +---
4 files changed, 11 insertions(+), 13 deletions(-)
diff --git ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 174/196] Kobject: convert remaining kobject_unreg ...
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/ksysfs.c | 2 +-
kernel/module.c | 9 ++++-----
lib/kobject.c | 4 ++--
net/bridge/br_sysfs_br.c | 2 +-
security/inode.c | 2 +-
5 files changed, 9 insertions(+), 10 deletions(-)
diff --git ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 186/196] Driver core: Cleanup get_device_parent() ...
From: Cornelia Huck <cornelia.huck@de.ibm.com>
Make setup_parent() void as get_device_parent() will always return
either a valid kobject or NULL.
Introduce cleanup_glue_dir() to drop reference grabbed on "glue"
directory by get_device_parent(). Use it for cleanup in device_move()
and device_add() on errors.
This should fix the refcounting problem reported in
http://marc.info/?l=linux-kernel&m=120052487909200&w=2
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Dave Young ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 036/196] kobject: convert icom to use kref, not kobject
The IBM icom serial driver is using a kobject only for reference
counting, nothing else. So switch it to use a kref instead, which is
all that is needed, and is much smaller.
Cc: Anton Blanchard <anton@au.ibm.com>
Cc: Paul Mackerras <paulus@au.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ryan S. Arnold <rsa@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/serial/icom.c | 24 ++++++++++--------------
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 145/196] driver core: Introduce default attribute ...
From: Cornelia Huck <cornelia.huck@de.ibm.com>
This is lot like default attributes for devices (and indeed,
a lot of the code is lifted from there).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/driver.c | 42 +++++++++++++++++++++++++++++++++++++++++-
include/linux/device.h | 1 +
2 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 171/196] Kobject: convert arch/* from kobject_unr ...
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/ia64/kernel/topology.c | 9 ++++-----
arch/s390/hypfs/inode.c | 4 ++--
arch/sh/kernel/cpu/sh4/sq.c | 2 +-
arch/x86/kernel/cpu/intel_cacheinfo.c | 9 ++++-----
...
| Jan 25, 12:33 am 2008 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24
Due to the low level nature of these patches, and because they touch so
many different parts of the kernel, a number of the subsystem
maintainers have asked me to get them in first to make merging other
trees easier.
Here are a pretty large number of kobject, documentation, and driver
core patches against your 2.6.24 git tree.
They can be broken down into these major areas:
- Documentation updates (language translations and fixes, as
well as kobject and kset documenatation updates.)
- ...
| Jan 25, 12:11 am 2008 |
| Michael Halcrow | Re: [PATCH 076/196] ecryptfs: remove version_str file fr ...
The version_str handle is only there as a potential convenience for
users who need to figure out what their module can and cannot do. I
mentioned it in an article in LJ last year. It does not need to be
there for any tools to work right, and I do not think that anyone
really cares about it at this point, so I have no problem with just
ripping it out.
Mike
--
| Jan 25, 12:14 pm 2008 |
| Greg Kroah-Hartman | [PATCH 122/196] Kobject: change drivers/net/ibmveth.c to ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Dave Larson <larson1@us.ibm.com>
Cc: Santiago Leon <santil@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/net/ibmveth.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 7d7758f..bee3037 100644
--- ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 035/196] kobject: convert hvcs to use kref, not kobject
hvcs is using a kobject only for reference counting, nothing else. So
switch it to use a kref instead, which is all that is needed, and is
much smaller.
Cc: Anton Blanchard <anton@au.ibm.com>
Cc: Paul Mackerras <paulus@au.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ryan S. Arnold <rsa@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/char/hvcs.c | 78 ++++++++++++++++----------------------------------
...
| Jan 25, 12:09 am 2008 |
| Harvey Harrison | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
Sorry, I've been a bit laid up with illness to pull out any upstreamable
pieces. Attached is the original version I sent to you that still has
the Ingo-specific need_config file. Hopefully I'll be back in action
and can finish this soon.
This is functionally equivalent to Ingo's patch at:
http://people.redhat.com/mingo/auto-qa-patches/Kconfig-qa.patch
Instead, create a need_config file and invoke randconfig as:
make randconfig KCONFIG_ALLCONFIG=need_config
Signed-off-by: Harvey ...
| Jan 25, 4:27 pm 2008 |
| Greg Kroah-Hartman | [PATCH 166/196] Kobject: rename kobject_init_ng() to kob ...
Now that the old kobject_init() function is gone, rename
kobject_init_ng() to kobject_init() to clean up the namespace.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
block/elevator.c | 2 +-
block/ll_rw_blk.c | 2 +-
drivers/base/class.c | 2 +-
drivers/base/core.c | 2 +-
drivers/md/md.c | 2 +-
drivers/net/iseries_veth.c | 4 ++--
drivers/uio/uio.c | 2 +-
...
| Jan 25, 12:33 am 2008 |
| Greg KH | Re: [GIT PATCH] driver core patches against 2.6.24
Ok, I'll queue it up myself in my trees and send it to you in a few
days.
Have a nice trip,
greg k-h
--
| Jan 25, 1:28 pm 2008 |
| Greg Kroah-Hartman | [PATCH 125/196] Kobject: change drivers/md/md.c to use k ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Neil Brown <neilb@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/md/md.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index cef9ebd..c503086 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -3054,6 +3054,7 @@ ...
| Jan 25, 12:32 am 2008 |
| Frank Seidel | Re: [PATCH 012/196 ver2] nozomi driver
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>
---
drivers/char/nozomi.c | 122 ++++++++++++++------------------------------------
1 file changed, 36 insertions(+), 86 deletions(-)
--- ...
| Jan 25, 1:13 pm 2008 |
| Greg Kroah-Hartman | [PATCH 131/196] Kobject: convert drivers/net/iseries_vet ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kyle A. Lucke <klucke@us.ibm.com>
Cc: David Gibson <dwg@au1.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/net/iseries_veth.c | 19 ++++++-------------
1 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index 97bd9dc..90ff4ec 100644
--- ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches
From: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: TripleX Chung <triplex@zh-kernel.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/SubmittingPatches | 416 +++++++++++++++++++++++++++++++++
1 files changed, 416 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/SubmittingPatches
diff --git a/Documentation/zh_CN/SubmittingPatches b/Documentation/zh_CN/SubmittingPatches
new file mode ...
| Jan 25, 12:27 am 2008 |
| Greg Kroah-Hartman | [PATCH 155/196] Driver core: fix class glue dir cleanup logic
From: Kay Sievers <kay.sievers@vrfy.org>
We should remove the glue directory between the class and the bus
device _after_ we sent out the 'remove' event for the device, otherwise
the parent relationship is no longer valid, and composing the path
with deleted sysfs entries will not work.
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 206 ...
| Jan 25, 12:33 am 2008 |
| Valdis.Kletnieks | Re: [PATCH 012/196] nozomi driver
By all means - if you have text that explains the who/what/why of the patch,
put it in the patch description, so that 6 months later idiots like me have
a fighting chance of figuring out whether the patch incorrectly implements
the right idea, or if it correctly implements the wrong idea. ;)
| Jan 25, 10:02 am 2008 |
| Greg Kroah-Hartman | [PATCH 152/196] Driver core: clean up debugging messages
The driver core debugging messages are a mess. This provides a unified
message that makes them actually useful.
The format for new kobject debug messages should be:
driver/bus/class: 'OBJECT_NAME': FUNCTION_NAME: message.\n
Note, the class code is not changed in this patch due to pending patches
in my queue that this would conflict with. A later patch will clean
them up.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 077/196] efivars: make new_var and del_var binary ...
These files should not be "normal" sysfs files as they really are binary
ones. This patch makes them binary files and saves code in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Tested-by: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 51 +++++++++++++++++++------------------------
1 files changed, 23 insertions(+), 28 deletions(-)
diff --git ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 196/196] Driver core: coding style fixes
Fix up a number of coding style issues in the drivers/base/ directory
that have annoyed me over the years. checkpatch.pl is now very happy.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/base.h | 14 +-
drivers/base/bus.c | 290 +++++++++++++++++++++++------------------------
drivers/base/class.c | 140 +++++++++++-----------
drivers/base/core.c | 203 +++++++++++++++------------------
drivers/base/dd.c | 119 ++++++++++----------
...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 144/196] PCI: remove foolish code from pci-driver.c
The PCI bus should not be trying to declare its own attribute type.
Especially as this code could never ever be called because the driver
core overwrites the driver kobject type to be its own internal type.
Delete all of this code as it was never being used and is not correct.
Also update my copyright on the file while I'm touching things there.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/pci-driver.c | 50 ++++-----------------------------------------
1 files ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 031/196] sysfs: create optimal relative symlink targets
From: Kay Sievers <kay.sievers@vrfy.org>
Instead of walking from the source down to the root of sysfs, and back
to the target, we stop at the first directory the source and the target
share.
This link:
/devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0/ep_81
pointed to:
../../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0/usb_endpoint/usbdev2.1_ep81
now it just points to:
usb_endpoint/usbdev1.1_ep81
Thanks to Denis Cheng for bringing this up, and sending the initial ...
| Jan 25, 12:09 am 2008 |
| Linus Torvalds | Re: [GIT PATCH] driver core patches against 2.6.24
I've merged it all, but it causes lots of scary warnings:
- from the purely broken ones:
ehci_hcd: no version for "struct_module" found: kernel tainted.
- to the scary ones:
sysfs: duplicate filename 'ehci_hcd' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 610, comm: insmod Tainted: GF 2.6.24-gb47711bf #28
Call Trace:
[<ffffffff802bd63c>] sysfs_add_one+0x54/0xbd
[<ffffffff802bdbc0>] create_dir+0x4f/0x87
[<ffffffff802bdc2d>] ...
| Jan 25, 11:44 am 2008 |
| Hans-Jürgen | Re: [PATCH 185/196] UIO: constify function pointer tables
Am Thu, 24 Jan 2008 23:33:34 -0800
--
| Jan 25, 3:01 am 2008 |
| Greg Kroah-Hartman | [PATCH 059/196] kset: convert kernel_subsys to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename kernel_subsys to kernel_kset to catch all users of this symbol
with a build error instead of an easy-to-ignore build warning.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/configfs/mount.c | 2 +-
fs/debugfs/inode.c | 2 +-
fs/dlm/lockspace.c | 2 +-
fs/gfs2/locking/dlm/sysfs.c | 3 +--
include/linux/kobject.h | 4 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 119/196] Kobject: change drivers/acpi/system.c to ...
Stop using kobject_register for this static kobject, as it's overkill.
This way is much simpler.
Cc: Len Brown <len.brown@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/acpi/system.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c
index c22b93a..5ffe0ea 100644
--- a/drivers/acpi/system.c
+++ b/drivers/acpi/system.c
@@ -58,7 +58,7 @@ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 150/196] Driver core: move the driver specific mo ...
The module driver specific code should belong in the driver core, not in
the kernel/ directory. So move this code. This is done in preparation
for some struct device_driver rework that should be confined to the
driver core code only.
This also lets us keep from exporting these functions, as no external
code should ever be calling it.
Thanks to Andrew Morton for the !CONFIG_MODULES fix.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/Makefile | 1 +
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 148/196] Infiniband: make ipath driver use defaul ...
Make the ipath driver use the new driver functions so that it does not
touch the sysfs portion of the driver structure.
We also remove the redundant symlink from the device back to the driver,
as it is already in the sysfs tree. Any userspace tools should be using
the standard symlink, not some driver specific one.
Cc: Roland Dreier <rdreier@cisco.com>
Cc: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: Arthur Jones <arthur.jones@qlogic.com>
Cc: Cornelia Huck ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 101/196] kobject: convert parisc/pdc_stable to us ...
Using a kset for this simple directory is an overkill.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Thibaut VARENE <varenet@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/parisc/pdc_stable.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/parisc/pdc_stable.c ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 016/196] kref: add kref_set()
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
This adds kref_set() to the kref api for future use by people who really
know what they are doing with krefs...
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kref.h | 1 +
lib/kref.c | 15 +++++++++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/include/linux/kref.h b/include/linux/kref.h
index ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 182/196] sysfs: make SYSFS_DEPRECATED depend on SYSFS
From: Randy Dunlap <randy.dunlap@oracle.com>
Make SYSFS_DEPRECATED depend on SYSFS since files that check
CONFIG_SYSFS_DEPRECATED don't check for CONFIG_SYSFS first.
Also don't prompt user about SYSFS_DEPRECATED if SYSFS=n.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
init/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index b9d11a8..f5becd2 100644
--- ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-con ...
From: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
.../zh_CN/volatile-considered-harmful.txt | 113 ++++++++++++++++++++
1 files changed, 113 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/volatile-considered-harmful.txt
diff --git a/Documentation/zh_CN/volatile-considered-harmful.txt ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 176/196] Driver core: change sysdev classes to us ...
From: Kay Sievers <kay.sievers@vrfy.org>
All kobjects require a dynamically allocated name now. We no longer
need to keep track if the name is statically assigned, we can just
unconditionally free() all kobject names on cleanup.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/arm/kernel/time.c | 4 ++--
arch/arm/mach-integrator/integrator_ap.c | 2 +-
arch/arm/mach-pxa/cm-x270.c | 2 +-
...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 021/196] ISDN: Convert from class_device to devic ...
From: Tony Jones <tonyj@suse.de>
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/isdn/capi/capi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index f449dae..23ae66c 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -1544,11 +1544,11 @@ static int ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 189/196] power supply : use class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Convert to use the class iteration api.
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/power/apm_power.c | 116 +++++++++++++++++++++---------------
drivers/power/power_supply_core.c | 74 ++++++++++++-----------
2 files changed, 107 insertions(+), 83 deletions(-)
diff --git ...
| Jan 25, 12:33 am 2008 |
| Greg KH | Re: [PATCH 085/196] kset: convert s390 ipl.c to use kset ...
It will not cause a build error (see the previous patch for details.)
The sysfs files will not properly show the correct data, that is all.
The odds that you will hit this in a 'git bisect' is VERY low, and the
previous patch states that the files are now broken, so there should not
be any confusion regarding any user that might run across this.
thanks,
greg k-h
--
| Jan 25, 10:48 am 2008 |
| Greg Kroah-Hartman | [PATCH 177/196] kobject: remove old, outdated documentation.
As we are replacing the documentation, it's easier to do this in a two
stage pass, delete the old file and add the new one.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/kobject.txt | 289 ---------------------------------------------
1 files changed, 0 insertions(+), 289 deletions(-)
delete mode 100644 Documentation/kobject.txt
diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt
deleted file mode 100644
index ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 023/196] MCP_UCB1200: Convert from class_device t ...
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/mfd/ucb1x00-assabet.c | 17 +++++++++--------
drivers/mfd/ucb1x00-core.c | 14 +++++++-------
drivers/mfd/ucb1x00.h | 4 ++--
3 files changed, 18 insertions(+), 17 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 037/196] kobject: fix up kobject_set_name to use ...
Kay pointed out that kobject_set_name was being very stupid, doing two
allocations for every call, when it should just be using the kernel
function kvasprintf() instead.
This change adds the internal kobject_set_name_vargs() function, which
other follow-on patches will be using.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
lib/kobject.c | 71 +++++++++++++++++++++++++-------------------------------
1 files changed, 32 insertions(+), 39 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 173/196] Kobject: convert fs/* from kobject_unreg ...
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/configfs/mount.c | 6 +++---
fs/debugfs/inode.c | 4 ++--
fs/dlm/lockspace.c | 4 ++--
fs/ecryptfs/main.c | 4 ++--
fs/fuse/inode.c | 6 +++---
fs/gfs2/locking/dlm/sysfs.c | 2 +-
...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 181/196] Driver core: use LIST_HEAD instead of ca ...
From: Denis Cheng <crquan@gmail.com>
LIST_HEAD has been widely used, so switch to this simpler method.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/attribute_container.c | 9 +--------
drivers/base/base.h | 1 -
drivers/base/init.c | 1 -
3 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c
index ...
| Jan 25, 12:33 am 2008 |
| Roland Dreier | Re: [PATCH 148/196] Infiniband: make ipath driver use de ...
Hey Greg,
with Linus's latest kernel v2.6.24-412-gb47711b (which includes the
patch in the email I'm replying to), I see the following when I do
"modprobe -r ib_ipath" (on a system that actually has ipath hardware):
kernel BUG at fs/sysfs/group.c:74!
invalid opcode: 0000 [1] SMP
CPU 1
Modules linked in: fan ac battery ipv6 nfs lockd nfs_acl sunrpc dm_snapshot dm_mirror dm_mod loop ide_cd cdrom e1000 amd74xx generic psmouse shpchp pci_hotplug thermal ib_ipath serio_raw ehci_hcd ohci_hcd ...
| Jan 25, 2:51 pm 2008 |
| Jeremy Fitzhardinge | Re: [GIT PATCH] driver core patches against 2.6.24
The distro mkinird can reconstruct it containing your freshly built
modules (if any) and any other distro goo which needs to go in there.
/initrd-2.6.23.14-107.fc8.img doesn't come out of an rpm; its built by
an installer script when you install the kernel, and you can run the
same script on your kernels.
Does you use "make modules_install install" when you build the kernel?
It just does the right thing for me under F8, including rebuilding
initrd and updating grub.conf.
J
--
| Jan 25, 2:58 pm 2008 |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment
From: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/dir.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index f281cc6..4948d9b 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -440,7 +440,7 @@ int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd)
/**
* sysfs_remove_one - remove sysfs_dirent from parent
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 153/196] Kobject: change drivers/base/bus to use ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 937fc10..aea5793 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -643,15 +643,12 @@ int ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 012/196] nozomi driver
From: Frank Seidel <fseidel@suse.de>
This is a driver to control the cardbus wireless data card that works on
3g networks.
Greg Kroah-Hartman <gregkh@suse.de> did the initial driver cleanup.
Thanks to Arnaud Patard <apatard@mandriva.com> for help with bugfixing.
Thanks to Alan Cox for a lot of tty fixes.
Thanks to Satyam Sharma <satyam@infradead.org> for fixing buildbreakage.
Thanks to Frank Seidel <fseidel@suse.de> for a lot of bugfixes and
rewriting to make it a sane Linux driver
Thanks ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 178/196] kobject: update the kobject/kset documentation
This provides a much-needed kobject and kset documentation update.
Thanks to Kay Sievers, Alan Stern, Jonathan Corbet, Randy Dunlap, Jan
Engelhardt, and others for reviewing and providing help with this
document.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/kobject.txt | 386 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 386 insertions(+), 0 deletions(-)
create mode 100644 Documentation/kobject.txt
diff ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 124/196] Kobject: change arch/ia64/kernel/topolog ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Tony Luck <tony.luck@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/ia64/kernel/topology.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c
index 14261fe..c4311e3 100644
--- ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 139/196] driver core: add way to get to bus devic ...
This allows an easier way to get to the device klist associated with a
struct bus_type (you have three to choose from...) This will make it
easier to move these fields to be dynamic in a future patch.
The only user of this is the PCI core which horribly abuses this
interface to rearrange the order of the pci devices. This should be
done using the existing bus device walking functions, but that's left
for future patches.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg ...
| Jan 25, 12:32 am 2008 |
| Roland Dreier | Re: [PATCH 148/196] Infiniband: make ipath driver use de ...
So I think it is coming from the following code in ipath_sysfs.c:
int ipath_device_create_group(struct device *dev, struct ipath_devdata *dd)
{
int ret;
ret = sysfs_create_group(&dev->kobj, &dev_attr_group);
if (ret)
goto bail;
ret = sysfs_create_group(&dev->kobj, &dev_counter_attr_group);
if (ret)
goto bail_attrs;
sysfs_remove_group(&dev->kobj, &dev_counter_attr_group);
bail_attrs:
sysfs_remove_group(&dev->kobj, &dev_attr_group);
bail:
return ...
| Jan 25, 3:11 pm 2008 |
| Peter Zijlstra | Re: [GIT PATCH] driver core patches against 2.6.24
My wish is that distros would just boot without requiring an initrd. I
know how to make them for redhat and debian based distros, but the fact
that you can't (easily) cross-build them makes it a very tedious
construct.
I can butcher the distros into booting and ignore the errors on bootup
that whine that modules are missing, but really.
--
| Jan 25, 3:26 pm 2008 |
| Greg KH | Re: [PATCH 076/196] ecryptfs: remove version_str file fr ...
Normally I would agree, but this file is just so bad, it's not even
funny. I could not find any userspace tools or documentation that used
it, and the ecryptfs developers never responded to any of my emails
concerning it.
The information is still present, just in a different file, so no
Just another example of why people need to document this kind of thing
in Documentation/ABI/ which prevents such atrocities from ever being
created in the first place...
thanks,
greg k-h
--
| Jan 25, 10:54 am 2008 |
| Greg Kroah-Hartman | [PATCH 046/196] kobject: get rid of kobject_add_dir
kobject_create_and_add is the same as kobject_add_dir, so drop
kobject_add_dir.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 3 ++-
fs/partitions/check.c | 6 +++---
include/linux/kobject.h | 1 -
kernel/module.c | 6 +++---
lib/kobject.c | 12 ------------
5 files changed, 8 insertions(+), 20 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 092/196] firmware: change firmware_kset to firmwa ...
There is no firmware "subsystem" it's just a directory in /sys that
other portions of the kernel want to hook into. So make it a kobject
not a kset to help alivate anyone who tries to do some odd kset-like
things with this.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/s390/kernel/ipl.c | 8 ++++----
drivers/acpi/bus.c | 2 +-
drivers/base/firmware.c | 8 ++++----
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 108/196] Kobject: change net/bridge to use kobjec ...
The kobject in the bridge code is only used for registering with sysfs,
not for any lifespan rules. This patch changes it to be only a pointer
and use the simpler api for this kind of thing.
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
net/bridge/br_if.c | 2 +-
net/bridge/br_private.h | 2 +-
net/bridge/br_sysfs_br.c | 14 ++++----------
net/bridge/br_sysfs_if.c | 2 ...
| Jan 25, 12:32 am 2008 |
| Linus Torvalds | Re: [GIT PATCH] driver core patches against 2.6.24
No. I really am not. My /etc/grub.conf looks like this:
title Linux
root (hd0,0)
kernel /vmlinuz ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.14-107.fc8.img
ie I literally run the fedora initrd.
I switch kernels, not initrd's. I don't even want to know if the initrd
contains some distro-specific setup...
Linus
--
| Jan 25, 2:49 pm 2008 |
| Greg Kroah-Hartman | [PATCH 161/196] Kobject: convert drivers/md/md.c to use ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Neil Brown <neilb@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/md/md.c | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index f79efb3..7ae9740 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1383,16 +1383,13 @@ static int bind_rdev_to_array(mdk_rdev_t * ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 087/196] kset: convert parisc/pdc_stable.c to use ...
Dynamically create the kset instead of declaring it statically.
This makes the kobject attributes now work properly that I broke in the
previous patch.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Thibaut VARENE <varenet@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/parisc/pdc_stable.c | 38 +++++++++++++++++++++-----------------
1 ...
| Jan 25, 12:31 am 2008 |
| Greg KH | Re: [GIT PATCH] driver core patches against 2.6.24
That's really wierd, I don't see that at all here just running with your
2.6.24 + my git tree and lots of USB drivers built into the kernel also
(like ehci_hcd).
$ cat /proc/sys/kernel/tainted
0
Odd...
$ uname -r
2.6.24-ge374a2bf-dirty
Strange, I thought that the uname id would show the git version that you
were running, but that doesn't show a valid id. But that's probably a
different issue in the build system somewhere...
thanks,
greg k-h
--
| Jan 25, 11:52 am 2008 |
| Greg Kroah-Hartman | [PATCH 104/196] driver core: make /sys/power a kobject
/sys/power should not be a kset, that's overkill. This patch renames it
to power_kset and fixes up all usages of it in the tree.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/arm/mach-omap1/pm.c | 2 +-
arch/powerpc/platforms/pseries/power.c | 10 +++++-----
include/linux/kobject.h | 4 ++--
kernel/power/disk.c | 2 +-
kernel/power/main.c | 8 ++++----
5 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 081/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 22 ++++++++++------------
1 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 018ca1c..e17cd81 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 057/196] kset: convert pci hotplug to use kset_cr ...
This also renames pci_hotplug_slots_subsys to pcis_hotplug_slots_kset
catch all current users with a build error instead of a build warning
which can easily be missed.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/hotplug/acpiphp_ibm.c | 4 ++--
drivers/pci/hotplug/pci_hotplug_core.c | 23 +++++++++++------------
drivers/pci/hotplug/rpadlpar_sysfs.c | 2 +-
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 042/196] kobject: remove struct kobj_type from st ...
We don't need a "default" ktype for a kset. We should set this
explicitly every time for each kset. This change is needed so that we
can make ksets dynamic, and cleans up one of the odd, undocumented
assumption that the kset/kobject/ktype model has.
This patch is based on a lot of help from Kay Sievers.
Nasty bug in the block code was found by Dave Young
<hidave.darkstar@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 039/196] kobject: add kobject_init_ng function
This is what the kobject_init function is going to become.
Add this to the kernel and then we can convert the tree over to use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 1 +
lib/kobject.c | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 2d19a07..bdf4f7c 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 086/196] kobject: convert parisc/pdc_stable to ko ...
This makes the code a bit simpler and and gets us one step closer to
deleting the deprecated subsys_attr code.
NOTE, this needs the next patch in the series in order to work properly.
This will build, but the sysfs files will not properly operate.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Thibaut VARENE <varenet@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman ...
| Jan 25, 12:31 am 2008 |
| Ingo Molnar | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
_PLEASE_ fold such fixes into the patch that introduces the build bugs,
prior sending your git trees upstream! (just like Andrew does it with
all patches that come via -mm)
Changes like this (and it now leaked into Linus' tree as well) kill
bisectability.
Thanks.
Ingo
--
| Jan 25, 3:25 pm 2008 |
| Greg Kroah-Hartman | [PATCH 065/196] kobject: convert s390 hypervisor to use ...
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Thanks to Cornelia for the build fix.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Michael Holzheu <holzheu@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/s390/hypfs/inode.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c
index ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 106/196] kobject: clean up debugging messages
The kobject debugging messages are a mess. This provides a unified
message that makes them actually useful.
The format for new kobject debug messages should be:
kobject: 'KOBJECT_NAME' (ADDRESS): FUNCTION_NAME: message.\n
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
lib/kobject.c | 23 +++++++++++++++--------
lib/kobject_uevent.c | 20 ++++++++++++++------
2 files changed, 29 insertions(+), 14 deletions(-)
diff --git ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 013/196] Documentation: Replace obsolete "driverf ...
From: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
Documentation/pnp.txt | 4 ++--
Documentation/s390/cds.txt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/pnp.txt b/Documentation/pnp.txt
index 481faf5..a327db6 100644
--- a/Documentation/pnp.txt
+++ b/Documentation/pnp.txt
@@ -17,9 +17,9 @@ The User Interface
------------------
The Linux Plug and Play user interface provides a ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 149/196] Driver: add driver_add_kobj for looney i ...
The iseries driver wants to hang kobjects off of its driver, so, to
preserve backwards compatibility, we need to add a call to the driver
core to allow future changes to work properly.
Hopefully no one uses this function in the future and the iseries_veth
driver authors come to their senses so I can remove this hack...
Cc: Dave Larson <larson1@us.ibm.com>
Cc: Santiago Leon <santil@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 014/196] kobject: remove incorrect comment in kob ...
As pointed out by Kay.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
lib/kobject.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/kobject.c b/lib/kobject.c
index 3590f02..9500339 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -334,8 +334,6 @@ int kobject_rename(struct kobject * kobj, const char *new_name)
sprintf(devpath_string, "DEVPATH_OLD=%s", devpath);
envp[0] = devpath_string;
envp[1] = ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction i ...
From: Li Yang <leo@zh-kernel.org>
Rephrase the introduction as suggested by Jesper Juhl.
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/HOWTO | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/zh_CN/HOWTO b/Documentation/zh_CN/HOWTO
index c8660da..79d1c3c 100644
--- a/Documentation/zh_CN/HOWTO
+++ b/Documentation/zh_CN/HOWTO
@@ -1,10 +1,10 @@
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 143/196] PCI: use proper call to driver_create_file
Don't try to call the "raw" sysfs_create_file when we already have a
helper function to do this kind of work for us.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/pci-driver.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index 6d1a216..73e3629 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -96,17 +96,21 @@ pci_create_newid_file(struct pci_driver *drv)
{
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 180/196] kobject: add sample code for how to use ...
This is a more complex example showing how to create a kset and a ktype
and some default attributes for a group of kobjects.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
samples/kobject/Makefile | 2 +-
samples/kobject/kset-example.c | 278 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 279 insertions(+), 1 deletions(-)
create mode 100644 samples/kobject/kset-example.c
diff --git a/samples/kobject/Makefile ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 151/196] Driver core: move the static kobject out ...
This patch removes the kobject, and a few other driver-core-only fields
out of struct driver and into the driver core only. Now drivers can be
safely create on the stack or statically (like they currently are.)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/base.h | 8 +++++
drivers/base/bus.c | 71 +++++++++++++++++++++++++---------------------
drivers/base/dd.c | 24 ++++++++--------
drivers/base/driver.c ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 028/196] cosa: Convert from class_device to devic ...
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/net/wan/cosa.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index ff37bf4..1d706ea 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 169/196] Kobject: auto-cleanup on final unref
From: Kay Sievers <kay.sievers@vrfy.org>
We save the current state in the object itself, so we can do proper
cleanup when the last reference is dropped.
If the initial reference is dropped, the object will be removed from
sysfs if needed, if an "add" event was sent, "remove" will be send, and
the allocated resources are released.
This allows us to clean up some driver core usage as well as allowing us
to do other such changes to the rest of the kernel.
Signed-off-by: Kay Sievers ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 024/196] mtd: Convert from class_device to device ...
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/mtd/mtdchar.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c
index 22ed96c..a0cee86 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg KH | Re: [GIT PATCH] driver core patches against 2.6.24
Ok, in looking at the code, this should also be showing up for you on a
"clean" 2.6.24 release, I didn't change anything in this code path.
This is the sysfs core telling you that someone did something stupid :)
Yes, that's new, but the "error" was always there, I just made the
warning more visible to get people to pay attention to it, and find the
real errors where this happens (and it has found them, which is a good
thing.)
But in this case, it doesn't look like the module loading ...
| Jan 25, 12:42 pm 2008 |
| Greg Kroah-Hartman | [PATCH 064/196] kobject: convert /sys/hypervisor to use ...
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
We also rename hypervisor_subsys to hypervisor_kset to catch all users
of the variable.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/s390/hypfs/inode.c | 2 +-
drivers/base/hypervisor.c | 12 ++++++++----
include/linux/kobject.h | 4 ++--
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git ...
| Jan 25, 12:10 am 2008 |
| Mark Fasheh | Re: [PATCH 093/196] kset: convert ocfs2 to use kset_create
Acked-by: Mark Fasheh <mark.fasheh@oracle.com>
--
Mark Fasheh
Principal Software Developer, Oracle
mark.fasheh@oracle.com
--
| Jan 25, 1:38 pm 2008 |
| Greg Kroah-Hartman | [PATCH 020/196] IDE: Convert from class_device to device ...
From: Tony Jones <tonyj@suse.de>
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Gadi Oxman <gadio@netvision.net.il>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/ide/ide-tape.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 7b9181b..1495792 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -4724,10 +4724,8 @@ static void ...
| Jan 25, 12:09 am 2008 |
| James Bottomley | Jan 25, 7:55 am 2008 | |
| Greg Kroah-Hartman | [PATCH 043/196] kobject: remove kobj_set_kset_s as no on ...
What a confusing name for a macro...
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 5031565..0b97b3a 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -202,24 +202,6 @@ extern struct kset kernel_subsys;
/* The global /sys/hypervisor/ subsystem */
...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 015/196] PM: Acquire device locks on suspend
From: Rafael J. Wysocki <rjw@sisk.pl>
This patch reorganizes the way suspend and resume notifications are
sent to drivers. The major changes are that now the PM core acquires
every device semaphore before calling the methods, and calls to
device_add() during suspends will fail, while calls to device_del()
during suspends will block.
It also provides a way to safely remove a suspended device with the
help of the PM core, by using the device_pm_schedule_removal() callback
introduced ...
| Jan 25, 12:09 am 2008 |
| Frank Seidel | Re: [PATCH 012/196 ver2] nozomi driver
Oops, sorry. Must have been much too long ago since i sent my last
patch :)
Thanks,
Frank
--
| Jan 25, 1:14 pm 2008 |
| Greg Kroah-Hartman | [PATCH 110/196] Kobject: change drivers/infiniband to us ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <mshefty@ichips.intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/infiniband/core/sysfs.c | 35 +++++++++--------------------------
include/rdma/ib_verbs.h | 2 +-
2 files changed, 10 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 027/196] tifm: Convert from class_device to devic ...
From: Tony Jones <tonyj@suse.de>
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/misc/tifm_7xx1.c | 4 ++--
drivers/misc/tifm_core.c | 24 ++++++++++++------------
include/linux/tifm.h | 2 +-
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c
index 2d1b3df..54380da 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Dave Young | Jan 25, 2:09 am 2008 | |
| Greg Kroah-Hartman | [PATCH 029/196] ecryptfs: clean up attribute mess
It isn't that hard to add simple kset attributes, so don't go through
all the gyrations of creating your own object type and show and store
functions. Just use the functions that are already present. This makes
things much simpler.
Note, the version_str string violates the "one value per file" rule for
sysfs. I suggest changing this now (individual files per type supported
is one suggested way.)
Cc: Michael A. Halcrow <mahalcro@us.ibm.com>
Cc: Michael C. Thompson ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 091/196] firmware: remove firmware_(un)register()
These functions are no longer called or needed, so we can remove them.
As I rewrote the whole firmware.c file, add my copyright.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/firmware.c | 19 ++-----------------
include/linux/device.h | 5 -----
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c
index c7f635b..9efff48 100644
--- a/drivers/base/firmware.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Ingo Molnar | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
btw., Harvey Harrison has cleaned them up some more, and has told me
about KCONFIG_ALLCONFIG, which is very useful when you want to tailor
randconfig builds to different testsystems (which might have different
minimum driver requirements and different distro requirements for kernel
features). Harvey, could you send the latest version of those
auto-Kconfig cleanups?
Ingo
--
| Jan 25, 4:18 pm 2008 |
| Greg Kroah-Hartman | [PATCH 103/196] driver core: clean up device_shutdown
device_shutdown does not need to be in a separate file. Move it into
the driver core file where it belongs.
This also moves us one more step closer to making devices_kset static,
now only the crazy sysdevs are keeping that from happening...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 20 ++++++++++++++++++-
drivers/base/power/Makefile | 1 -
drivers/base/power/shutdown.c | 43 -----------------------------------------
3 files changed, 19 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 058/196] kset: remove decl_subsys_name
The last user of this macro (pci hotplug core) is now switched over to
using a dynamic kset, so this macro is no longer needed at all.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 718b488..390ae14 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 069/196] kset: convert /sys/module to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename module_subsys to module_kset to catch all users of the variable.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/module.h | 4 +++-
kernel/module.c | 7 +++----
kernel/params.c | 29 +++++++++--------------------
3 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/include/linux/module.h b/include/linux/module.h
index ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 179/196] kobject: add sample code for how to use ...
This is a simple kobject module, showing how to use kobj_attributes in
basic and more complex ways.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
samples/Kconfig | 10 +++
samples/Makefile | 2 +-
samples/kobject/Makefile | 1 +
samples/kobject/kobject-example.c | 137 +++++++++++++++++++++++++++++++++++++
4 files changed, 149 insertions(+), 1 deletions(-)
create mode 100644 ...
| Jan 25, 12:33 am 2008 |
| Frank Seidel | Re: [PATCH 012/196 ver2] nozomi driver
From: Frank Seidel <fseidel@suse.de>
This is a driver to control the cardbus wireless data card that works on
3g networks.
Greg Kroah-Hartman <gregkh@suse.de> did the initial driver cleanup.
Thanks to Arnaud Patard <apatard@mandriva.com> for help with bugfixing.
Thanks to Alan Cox for a lot of tty fixes.
Thanks to Satyam Sharma <satyam@infradead.org> for fixing buildbreakage.
Thanks to Frank Seidel <fseidel@suse.de> for a lot of bugfixes and
rewriting to make it a sane Linux driver
Thanks ...
| Jan 25, 5:44 am 2008 |
| Jan Engelhardt | Re: [PATCH 012/196] nozomi driver
^
Neither in ISO-8859-1 nor UTF-8 this position contains something meaningful.
Changelogs go into git, not files, at least that is what was mentioned
Probably just me, unsigned int is a good bit more explicit.
The driver may also use a combined struct with
The macros are only used once, could just as well substitute them
^
While 0444 is probably never going to change its meaning, S_IRUGO comes
fix it?
--
| Jan 25, 1:31 am 2008 |
| Christoph Lameter | Re: [PATCH 067/196] kset: convert slub to use kset_create
Cannot see anything wrong (but then sysfs is mainly a mystery to
me)
Acked-by: Christoph Lameter <clameter@sgi.com>
--
| Jan 25, 11:16 am 2008 |
| Stefan Richter | Re: [PATCH 012/196] nozomi driver
I've been told we don't do bitfields anymore in on-the-wire data,
on-disk data, userspace ABIs, etc. because their layout is compiler
dependent in the end.
--
Stefan Richter
-=====-==--- ---= ==--=
http://arcgraph.de/sr/
--
| Jan 25, 4:56 am 2008 |
| Greg Kroah-Hartman | [PATCH 017/196] aoechr: Convert from class_device to device
From: Tony Jones <tonyj@suse.de>
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Sam Hopkins <sah@coraid.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/block/aoe/aoechr.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c
index 39e563e..d5480e3 100644
--- a/drivers/block/aoe/aoechr.c
+++ ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 073/196] Driver Core: add kobj_attribute handling
From: Kay Sievers <kay.sievers@vrfy.org>
Add kobj_sysfs_ops to replace subsys_sysfs_ops. There is no
need for special kset operations, we want to be able to use
simple attribute operations at any kobject, not only ksets.
The whole concept of any default sysfs attribute operations
will go away with the upcoming removal of subsys_sysfs_ops.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 10 ++++++++++
...
| Jan 25, 12:10 am 2008 |
| Stephen Hemminger | Re: [PATCH 136/196] Kobject: convert net/bridge/br_if.c ...
On Thu, 24 Jan 2008 23:32:45 -0800
This is fine, no issues.
--
Stephen Hemminger <stephen.hemminger@vyatta.com>
--
| Jan 25, 9:20 am 2008 |
| Greg Kroah-Hartman | [PATCH 158/196] Driver core: convert block from raw kobj ...
From: Kay Sievers <kay.sievers@vrfy.org>
This moves the block devices to /sys/class/block. It will create a
flat list of all block devices, with the disks and partitions in one
directory. For compatibility /sys/block is created and contains symlinks
to the disks.
/sys/class/block
|-- sda -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
|-- sda1 -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1
|-- sda10 -> ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 033/196] kobject: convert ibmasm to use kref, not ...
The IBM asm driver is using a kobject only for reference counting,
nothing else. So switch it to use a kref instead, which is all that is
needed, and is much smaller.
Cc: Max Asböck <amax@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/misc/ibmasm/command.c | 12 +++---------
drivers/misc/ibmasm/ibmasm.h | 10 ++++++----
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/drivers/misc/ibmasm/command.c ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 018/196] coda: convert struct class_device to str ...
From: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Tony Jones <tonyj@suse.de>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/coda/psdev.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index dcc6aea..e3eb355 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -362,8 +362,8 @@ static int init_coda_psdev(void)
goto ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle
From: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Li Yang <leo@zh-kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/zh_CN/CodingStyle | 701 +++++++++++++++++++++++++++++++++++++++
1 files changed, 701 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/CodingStyle
diff --git a/Documentation/zh_CN/CodingStyle b/Documentation/zh_CN/CodingStyle
new file mode 100644
index 0000000..ecd9307
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 113/196] Kobject: change drivers/cpufreq/cpufreq. ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Dominik Brodowski <linux@brodo.de>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Shin <jacob.shin@amd.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/cpufreq/cpufreq.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/cpufreq/cpufreq.c ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 114/196] Kobject: change drivers/edac to use kobj ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Acked-by: Doug Thompson <dougthompson@xmission.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/edac/edac_device_sysfs.c | 39 +++++++++++--------------------------
drivers/edac/edac_mc_sysfs.c | 28 ++++++++------------------
drivers/edac/edac_pci_sysfs.c | 29 +++++++--------------------
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 076/196] ecryptfs: remove version_str file from sysfs
This file violates the one-value-per-file sysfs rule.
If you all want it added back, please do something like a per-feature
file to show what is present and what isn't.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ecryptfs/main.c | 43 -------------------------------------------
1 files changed, 0 insertions(+), 43 deletions(-)
diff --git ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 128/196] Kobject: the cris iop_fw_load.c code is broken
This code is really really really broken. So much so that it's almost
impossible to fix with a simple patch, so just comment out the offending
registration with the kobject core, and mark the driver as broken.
The problem is that the code is trying to register a "raw" struct
device, which is not allowed. struct device is only for use within the
driver model. This is being done to try to use the firmware layer which
wants a struct device. To properly fix this, use something easy, like ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 049/196] kobject: convert securityfs to use kobje ...
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
security/inode.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/security/inode.c b/security/inode.c
index 9e42f5f..dfc5978 100644
--- a/security/inode.c
+++ b/security/inode.c
@@ -315,20 +315,19 @@ void ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 080/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index ebc3853..018ca1c 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 160/196] Kobject: convert block/ll_rw_blk.c to us ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
block/ll_rw_blk.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 3887b2a..8054b7d 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -1862,9 +1862,7 @@ struct request_queue ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 185/196] UIO: constify function pointer tables
From: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/uio/uio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index 03b66fb..cc246fa 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -39,7 +39,7 @@ struct uio_device {
static int uio_major;
static DEFINE_IDR(uio_idr);
-static struct file_operations ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 132/196] Kobject: convert fs/char_dev.c to use ko ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/char_dev.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/char_dev.c b/fs/char_dev.c
index c3bfa76..b2dd5a0 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -510,9 +510,8 @@ struct cdev *cdev_alloc(void)
{
struct cdev *p = kzalloc(sizeof(struct cdev), ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 109/196] Kobject: change GFS2 to use kobject_init ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/dlm/lockspace.c | 26 ++++----------------------
fs/gfs2/locking/dlm/sysfs.c | 13 +++----------
fs/gfs2/sys.c | 10 +++-------
3 files changed, 10 insertions(+), 39 deletions(-)
diff --git ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 040/196] kobject: add kobject_add_ng function
This is what the kobject_add function is going to become.
Add this to the kernel and then we can convert the tree over to use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 3 ++
lib/kobject.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index bdf4f7c..57eea4c 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 172/196] Kobject: convert drivers/* from kobject_ ...
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 4 ++--
drivers/base/sys.c | 2 +-
drivers/block/pktcdvd.c | 2 +-
drivers/cpufreq/cpufreq.c | 4 +---
drivers/cpuidle/sysfs.c | 4 ++--
...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 061/196] kset: convert drivers/base/class.c to us ...
Dynamically create the kset instead of declaring it statically.
The class_obj subsystem is not yet converted as it is more complex and
should be going away soon with the removal of class_device from the
kernel tree.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/class.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 8ad9892..d8a92c6 ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 098/196] kobject: clean up rpadlpar horrid sysfs abuse
rpadlpar pci hotplug driver was doing some pretty bad stuff with the
sysfs files. This cleans up the logic to be sane and gets rid of the
gratuitous kset that is not needed for a simple directory like this.
Note, this patch is not even build tested, let alone run-time tested.
Someone with access to this hardware and can test would be greatly
appreciated.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: John Rose <johnrose@austin.ibm.com>
Cc: Badari Pulavarty <pbadari@gmail.com>
Cc: Kamalesh ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 193/196] Driver core: fix coding style issues in ...
Finally clean up the odd spaces and other mess in device.h
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/device.h | 283 +++++++++++++++++++++++++-----------------------
1 files changed, 145 insertions(+), 138 deletions(-)
diff --git a/include/linux/device.h b/include/linux/device.h
index cdaf57b..1880208 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -25,7 +25,8 @@
#include <asm/device.h>
#define DEVICE_NAME_SIZE 50
-#define ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 195/196] Kobject: fix coding style issues in kobj ...
Clean up the kobject.c and kobject_uevent.c files to follow the
proper coding style rules.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
lib/kobject.c | 139 +++++++++++++++++++++++---------------------------
lib/kobject_uevent.c | 7 +--
2 files changed, 67 insertions(+), 79 deletions(-)
diff --git a/lib/kobject.c b/lib/kobject.c
index 8dc3245..1d63ead 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -18,58 +18,57 @@
#include <linux/stat.h>
#include ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 191/196] scsi: use class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Convert to use the class iteration api.
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: James Bottomley <James.Bottomley@hansenpartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/scsi/hosts.c | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 24271a8..6325115 100644
--- a/drivers/scsi/hosts.c
+++ ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 187/196] Driver Core: add class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Add the following class iteration functions for driver use:
class_for_each_device
class_find_device
class_for_each_child
class_find_child
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/class.c | 133 ++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/device.h | 9 +++-
2 files changed, 140 ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 192/196] spi: use class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Convert to use the class iteration api.
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/spi/spi.c | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 93e9de4..682a6a4 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -485,6 ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 136/196] Kobject: convert net/bridge/br_if.c to u ...
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
net/bridge/br_if.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index dadec94..298e0f4 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -258,12 +258,6 @@ static ...
| Jan 25, 12:32 am 2008 |
| Greg KH | Re: [GIT PATCH] driver core patches against 2.6.24
No, I don't use any initrd at all.
You should just get a message saying that the version magic doesn't
match, so the initrd modules will not load. That's what happens to me
Ah taking the "g" off the search works, didn't realize that.
And I didn't have any unchecked in files, 'git status' shows no modified
files, but other stuff in the main directory, like patches that
shouldn't matter, but perhaps they do.
But oh well, I'm still building your tree now to try to ...
| Jan 25, 12:16 pm 2008 |
| Greg Kroah-Hartman | [PATCH 066/196] kset: convert /sys/devices/system to use ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/sys.c | 27 +++++++++++----------------
1 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 7693c95..29eadc6 100644
--- a/drivers/base/sys.c
+++ b/drivers/base/sys.c
@@ -126,19 +126,16 @@ void sysdev_class_remove_file(struct sysdev_class *c,
}
...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 121/196] Kobject: change arch/sh/kernel/cpu/sh4/s ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/sh/kernel/cpu/sh4/sq.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/sh/kernel/cpu/sh4/sq.c b/arch/sh/kernel/cpu/sh4/sq.c
index b22a78c..97fd9b9 100644
--- a/arch/sh/kernel/cpu/sh4/sq.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 084/196] kobject: convert s390 ipl.c to kobj_attr ...
This makes the code a bit simpler and and gets us one step closer to
deleting the deprecated subsys_attr code.
NOTE, this needs the next patch in the series in order to work properly.
This will build, but the sysfs files will not properly operate.
Thanks to Cornelia for the build fix on this patch.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Michael Holzheu <holzheu@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Volker Sameske <sameske@de.ibm.com>
Cc: Cornelia Huck ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 022/196] adb: Convert from class_device to device
From: Tony Jones <tonyj@suse.de>
struct class_device is going away, this converts the code to use struct
device instead.
Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Joshua Thompson <funaho@jurai.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/macintosh/adb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/macintosh/adb.c ...
| Jan 25, 12:09 am 2008 |
| Ingo Molnar | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
that "slim" combination is what i use for about 25% of all my bisections
- i build, boot and stress-test randconfig configs.
If i find a problem with a given .config, i do _not_ go around and
change the .config to make a bisection point work. (and the automated
bisection scripts definitely wont do it either.)
so what is a 'weird config' to you is a real testing barrier for others.
And crap like that quickly mounts up. Having a buildable and bootable
kernel at every bisection point is ...
| Jan 25, 3:57 pm 2008 |
| Greg Kroah-Hartman | [PATCH 194/196] Kobject: fix coding style issues in kobject.h
Finally clean up the odd spaces and other mess in kobject.h
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/kobject.h | 67 ++++++++++++++++++++++++-----------------------
1 files changed, 34 insertions(+), 33 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 4adbe1d..caa3f41 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -3,15 +3,14 @@
*
* Copyright (c) 2002-2003 Patrick Mochel
* Copyright (c) 2002-2003 ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 183/196] driver core: fix build with SYSFS=n
From: Randy Dunlap <randy.dunlap@oracle.com>
When SYSFS=n and MODULES=y, build ends with:
linux-2.6.24-rc6-mm1/drivers/base/module.c: In function 'module_add_driver':
linux-2.6.24-rc6-mm1/drivers/base/module.c:49: error: 'module_kset' undeclared (first use in this function)
make[3]: *** [drivers/base/module.o] Error 1
Below is one possible fix.
Build-tested with all 4 config combinations of SYSFS & MODULES.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg ...
| Jan 25, 12:33 am 2008 |
| Stephen Hemminger | Re: [PATCH 108/196] Kobject: change net/bridge to use ko ...
On Thu, 24 Jan 2008 23:32:17 -0800
Okay, but where is the new kobject freed?
--
Stephen Hemminger <stephen.hemminger@vyatta.com>
--
| Jan 25, 9:19 am 2008 |
| Greg KH | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
For most of these issues I do merge them together.
However, for some odd kernel configurations, like this one, I didn't, my
The odds that a "normal" person has sysfs turned off and modules
enabled, trying to bisect things, is pretty slim :)
thanks,
greg k-h
--
| Jan 25, 3:38 pm 2008 |
| Greg Kroah-Hartman | [PATCH 093/196] kset: convert ocfs2 to use kset_create
Dynamically create the kset instead of declaring it statically.
Also use the new kobj_attribute which cleans up this file a _lot_.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ocfs2/cluster/masklog.c | 4 +-
fs/ocfs2/cluster/sys.c | 83 +++++++++++--------------------------------
2 files changed, 23 insertions(+), 64 deletions(-)
diff --git ...
| Jan 25, 12:32 am 2008 |
| Greg KH | Re: [GIT PATCH] driver core patches against 2.6.24
Ah, now I get it, sorry, I'll go check that error path, not exactly a
normal one :)
thanks,
greg k-h
--
| Jan 25, 12:27 pm 2008 |
| Frank Seidel | Re: [PATCH 012/196] nozomi driver
Hi,
thanks for your feedback.
Here i agree with Stefan, especially as this also would only
make a difference for one (struct config_table) of those four structs
Yes, but on the other hand now all those driver specific numbers
are grouped together in the beginning of nozomi.c and it also
could happen there once will appear other cards or models of it
Its just a misleading comment, but i changed it.
Besides that i also removed an error and a warning the current
checkpatch.pl ...
| Jan 25, 5:44 am 2008 |
| Greg Kroah-Hartman | [PATCH 146/196] netiucv: Use device_driver default attri ...
From: Cornelia Huck <cornelia.huck@de.ibm.com>
CC: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/s390/net/netiucv.c | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c
index c7ea938..d6e93f1 100644
--- a/drivers/s390/net/netiucv.c
+++ b/drivers/s390/net/netiucv.c
@@ -2089,6 +2089,11 @@ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 107/196] UIO: fix kobject usage
The uio kobject code is "wierd". This patch should hopefully fix it up
to be sane and not leak memory anymore.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/uio/uio.c | 91 +++++++++++++++++++++++---------------------
include/linux/uio_driver.h | 6 ++-
2 files changed, 52 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 044/196] kset: add kset_create_and_add function
Now ksets can be dynamically created on the fly, no static definitions
are required. Thanks to Miklos for hints on how to make this work
better for the callers.
And thanks to Kay for finding some stupid bugs in my original version
and pointing out that we need to handle the fact that kobject's can have
a kset as a parent and to handle that properly in kobject_add().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Greg Kroah-Hartman ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 164/196] Kobject: rename kobject_add_ng() to kobj ...
Now that the old kobject_add() function is gone, rename kobject_add_ng()
to kobject_add() to clean up the namespace.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
block/elevator.c | 2 +-
block/ll_rw_blk.c | 4 ++--
drivers/base/class.c | 4 ++--
drivers/base/core.c | 6 +++---
drivers/base/driver.c | 2 +-
drivers/md/md.c | 2 +-
drivers/net/iseries_veth.c | 2 +-
...
| Jan 25, 12:33 am 2008 |
| Greg KH | Re: [PATCH 183/196] driver core: fix build with SYSFS=n
Yes, I do agree that this is important, I'll work to not let this happen
again. Especially now that I have your build scripts, I'm working on
setting up something like that myself here.
thanks,
greg k-h
--
| Jan 25, 4:10 pm 2008 |
| Greg Kroah-Hartman | [PATCH 094/196] kset: convert block_subsys to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename block_subsys to block_kset to catch all users of this symbol
with a build error instead of an easy-to-ignore build warning.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
block/genhd.c | 34 ++++++++++++++++------------------
fs/partitions/check.c | 6 +++---
2 files changed, 19 insertions(+), 21 deletions(-)
diff --git a/block/genhd.c ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 082/196] kobject: convert arm/mach-omap1/pm.c to ...
This makes the code a bit simpler and and gets us one step closer to
deleting the deprecated subsys_attr code.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/arm/mach-omap1/pm.c | 22 ++++++++--------------
1 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 402113c..63edafb 100644
--- a/arch/arm/mach-omap1/pm.c
+++ ...
| Jan 25, 12:31 am 2008 |
| Greg KH | Re: [PATCH 148/196] Infiniband: make ipath driver use de ...
Thanks for the fix, and sorry for causing that, it was a complex error
path :)
Although a BUG() for when we try to remove a file that is no longer
there seems pretty harsh, I think I'll change that to a WARN_ON() so
that people just know to fix up their code, not kill the kernel
entirely.
thanks,
greg k-h
--
| Jan 25, 3:23 pm 2008 |
| Greg Kroah-Hartman | [PATCH 067/196] kset: convert slub to use kset_create
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
mm/slub.c | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/mm/slub.c b/mm/slub.c
index 40bdf41..886131c 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3962,7 +3962,7 @@ static struct kset_uevent_ops slab_uevent_ops = {
.filter = uevent_filter,
};
...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 154/196] Driver core: fix race in __device_releas ...
From: Alan Stern <stern@rowland.harvard.edu>
This patch (as1013) was suggested by David Woodhouse; it fixes a race
in the driver core. If a device is unregistered at the same time as
its driver is unloaded, the driver's code pages may be unmapped while
the remove method is still running. The calls to get_driver() and
put_driver() were intended to prevent this, but they don't work if the
driver's module count has already dropped to 0.
Instead, the patch keeps the device on the driver's list ...
| Jan 25, 12:33 am 2008 |
| Heiko Carstens | Re: [PATCH 085/196] kset: convert s390 ipl.c to use kset ...
The odds are very low, as long as not more patch sets come up which
introduce intermediate broken kernels.
What exactly is the advantage of breaking the kernel with patch 1 and
then fix it again with patch 2 instead of doing the straight forward
conversions all with one patch?
--
| Jan 25, 4:11 pm 2008 |
| Greg Kroah-Hartman | [PATCH 116/196] Kobject: change drivers/pci/hotplug/pci_ ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/hotplug/pci_hotplug_core.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c ...
| Jan 25, 12:32 am 2008 |
| Greg KH | Re: [PATCH 108/196] Kobject: change net/bridge to use ko ...
In the call to kobject_unregister(), which has then later in the series
been converted to a call to kobject_put().
thanks,
greg k-h
--
| Jan 25, 10:45 am 2008 |
| Jeremy Fitzhardinge | Re: [GIT PATCH] driver core patches against 2.6.24
initrds generally aren't prepackaged, but generated on install (at least
with Fedora). You can regenerate them with "mkinitrd -f
/boot/initrd-2.6.24.img 2.6.24". Also, I find that "make
modules_install install" does it automatically from a kernel build.
J
--
| Jan 25, 12:56 pm 2008 |
| Greg Kroah-Hartman | [PATCH 188/196] ieee1394: use class iteration api
From: Dave Young <hidave.darkstar@gmail.com>
Convert to use the class iteration api.
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/ieee1394/nodemgr.c | 314 +++++++++++++++++++++++++-------------------
1 files changed, 176 insertions(+), 138 deletions(-)
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index 90dc75b..511e432 100644
--- ...
| Jan 25, 12:33 am 2008 |
| Greg Kroah-Hartman | [PATCH 126/196] Kobject: change arch/x86/kernel/cpu/mche ...
Make this kobject dynamic and convert it to not use kobject_register,
which is going away.
Cc: Jacob Shin <jacob.shin@amd.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/x86/kernel/cpu/mcheck/mce_amd_64.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd_64.c b/arch/x86/kernel/cpu/mcheck/mce_amd_64.c
index 752fb16..2d65311 100644
--- ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 088/196] Driver Core: kill subsys_attribute and d ...
From: Kay Sievers <kay.sievers@vrfy.org>
Remove the no longer needed subsys_attributes, they are all converted to
the more sensical kobj_attributes.
There is no longer a magic fallback in sysfs attribute operations, all
kobjects which create simple attributes need explicitely a ktype
assigned, which tells the core what was intended here.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/file.c | 63 ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 147/196] zfcp: Use device_driver default attribut ...
From: Cornelia Huck <cornelia.huck@de.ibm.com>
CC: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/s390/scsi/zfcp_ccw.c | 14 ++++----------
drivers/s390/scsi/zfcp_ext.h | 3 +--
drivers/s390/scsi/zfcp_sysfs_driver.c | 27 ++++-----------------------
3 files changed, 9 insertions(+), 35 deletions(-)
diff --git a/drivers/s390/scsi/zfcp_ccw.c ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 100/196] kobject: convert efivars to use kobject_create
Using a kset for this simple directory is an overkill.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index d1ad481..7f9f086 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 118/196] Kobject: change arch/x86/kernel/cpu/inte ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/x86/kernel/cpu/intel_cacheinfo.c | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c
index 9f530ff..3509542 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 053/196] kobject: convert main fs kobject to use ...
This also renames fs_subsys to fs_kobj to catch all current users with a
build error instead of a build warning which can easily be missed.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ecryptfs/main.c | 2 +-
fs/fuse/inode.c | 2 +-
fs/gfs2/sys.c | 2 +-
fs/namespace.c | 11 +++++------
include/linux/fs.h | 2 +-
5 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/fs/ecryptfs/main.c ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 080/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index ebc3853..018ca1c 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:31 am 2008 |
| Frank Seidel | Re: [PATCH 012/196 ver2] nozomi driver
Sure :-) This one is rebased on the current state in git.
Thanks,
Frank
---
drivers/char/nozomi.c | 122 ++++++++++++++------------------------------------
1 file changed, 36 insertions(+), 86 deletions(-)
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -2,7 +2,7 @@
* nozomi.c -- HSDPA driver Broadband Wireless Data Card - Globe Trotter
*
* Written by: Ulf Jakobsson,
- * Jan �erfeldt,
+ * Jan Åkerfeldt,
* Stefan Thomasson,
...
| Jan 25, 12:33 pm 2008 |
| Greg Kroah-Hartman | [PATCH 096/196] kobject: convert kernel_kset to be a kobject
kernel_kset does not need to be a kset, but a much simpler kobject now
that we have kobj_attributes.
We also rename kernel_kset to kernel_kobj to catch all users of this
symbol with a build error instead of an easy-to-ignore build warning.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/configfs/mount.c | 2 +-
fs/debugfs/inode.c | 2 +-
fs/dlm/lockspace.c | 2 +-
fs/gfs2/locking/dlm/sysfs.c | 2 +-
...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 115/196] Kobject: change drivers/cpuidle/sysfs.c ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/cpuidle/sysfs.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
index 0f3515e..059db9c 100644
--- a/drivers/cpuidle/sysfs.c
+++ ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 019/196] DMA: Convert from class_device to device ...
From: Tony Jones <tonyj@suse.de>
Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Shannon Nelson <shannon.nelson@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/dma/dmaengine.c | 43 ++++++++++++++++++++++---------------------
include/linux/dmaengine.h | 3 ++-
2 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/drivers/dma/dmaengine.c ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 030/196] driver core: Make the dev_*() family of ...
From: Emil Medve <Emilian.Medve@Freescale.com>
Removed duplicates defined elsewhere
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/i2c/chips/isp1301_omap.c | 6 ------
drivers/isdn/gigaset/gigaset.h | 6 ------
include/linux/device.h | 24 +++++++++++++++---------
3 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/drivers/i2c/chips/isp1301_omap.c ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 140/196] driver core: remove fields from struct b ...
struct bus_type is static everywhere in the kernel. This moves the
kobject in the structure out of it, and a bunch of other private only to
the driver core fields are now moved to a private structure. This lets
us dynamically create the backing kobject properly and gives us the
chance to be able to document to users exactly how to use the struct
bus_type as there are no fields they can improperly access.
Thanks to Kay for the build fixes on this patch.
Cc: Kay Sievers ...
| Jan 25, 12:32 am 2008 |
| Linus Torvalds | Re: [GIT PATCH] driver core patches against 2.6.24
But do you use an initrd that tries to load the same driver too?
I'm too lazy to want to do my own initrd. I just use the prepackaged ones
and rely on the fact that my private kernel will refuse to load modules
That *is* the git version you're running: e374a2bf.
The "-g" is for "git" and the "-dirty" is because you have some
non-checked-in changes in addition.
I works for me:
[torvalds@hp linux]$ git show --abbrev-commit -s --pretty=oneline e374a2bf
e374a2b... Kobject: fix ...
| Jan 25, 12:11 pm 2008 |
| Greg Kroah-Hartman | [PATCH 047/196] kobject: get rid of kobject_kset_add_dir
kobject_kset_add_dir is only called in one place so remove it and use
kobject_create() instead.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 16 ++++++++++++++--
include/linux/kobject.h | 4 +---
lib/kobject.c | 37 +++++--------------------------------
3 files changed, 20 insertions(+), 37 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 992eba3..7762ee8 100644
--- ...
| Jan 25, 12:09 am 2008 |
| Greg Kroah-Hartman | [PATCH 138/196] driver core: add way to get to bus kset
This allows an easier way to get to the kset associated with a struct
bus_type (you have three to choose from...) This will make it easier to
move these fields to be dynamic in a future patch.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 6 ++++++
drivers/pci/hotplug/pci_hotplug_core.c | 5 ++++-
include/linux/device.h | 2 ++
3 files changed, 12 insertions(+), 1 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 074/196] Driver Core: switch all dynamic ksets to ...
From: Kay Sievers <kay.sievers@vrfy.org>
Switch all dynamically created ksets, that export simple attributes,
to kobj_attribute from subsys_attribute. Struct subsys_attribute will
be removed.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/ecryptfs/main.c | 10 ++++++----
kernel/ksysfs.c | 35 ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 097/196] kobject: remove subsystem_(un)register f ...
These functions are no longer used and are the last remants of the old
subsystem crap. So delete them for good.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 6 +++---
drivers/base/class.c | 4 ++--
include/linux/kobject.h | 3 ---
lib/kobject.c | 13 -------------
4 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 6796d3e..871607b ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 105/196] kobject: grab the kset reference in kobj ...
kobject_init should not be grabing any references, but only initializing
the object. This patch fixes this, and makes the lock hold-time shorter
for when a kset is present in the kobject.
The current kernel tree has been audited to verify that this change
should be safe.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
lib/kobject.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/kobject.c ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 083/196] kobject: convert pseries/power.c to kobj ...
This makes the code a bit simpler and and gets us one step closer to
deleting the deprecated subsys_attr code.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/powerpc/platforms/pseries/power.c | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/power.c b/arch/powerpc/platforms/pseries/power.c
index c36febe..90706cf 100644
--- ...
| Jan 25, 12:31 am 2008 |
| Greg Kroah-Hartman | [PATCH 127/196] Kobject: change arch/x86/kernel/cpu/mche ...
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Jacob Shin <jacob.shin@amd.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/x86/kernel/cpu/mcheck/mce_amd_64.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd_64.c b/arch/x86/kernel/cpu/mcheck/mce_amd_64.c
index 2d65311..ef15f35 ...
| Jan 25, 12:32 am 2008 |
| Greg Kroah-Hartman | [PATCH 081/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 22 ++++++++++------------
1 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 018ca1c..e17cd81 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 072/196] kset: convert struct bus_device->drivers ...
Dynamically create the kset instead of declaring it statically.
Having 3 static kobjects in one structure is not only foolish, but ripe
for nasty race conditions if handled improperly. We also rename the
field to catch any potential users of it (not that there should be
outside of the driver core...)
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/bus.c | 15 ++++++++-------
drivers/base/driver.c | 2 +-
...
| Jan 25, 12:10 am 2008 |
| Greg Kroah-Hartman | [PATCH 080/196] kset: convert efivars to use kset_create ...
Dynamically create the kset instead of declaring it statically.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/firmware/efivars.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index ebc3853..018ca1c 100644
--- a/drivers/firmware/efivars.c
+++ ...
| Jan 25, 12:28 am 2008 |
| Shane Huang | RE: [PATCH] PCI: modify SB700 SATA MSI quirk
Right. In fact, I tried to modify some settings before I sent my mail,
but it seems that it does not take effect. I will check it again. Sorry
for that
and thank you for your help~~
Thanks
Shane
--
| Jan 24, 11:52 pm 2008 |
| Tejun Heo | [PATCH] PCI: modify SB700 SATA MSI quirk
From: Shane Huang <shane.huang@amd.com>
SB700 SATA MSI bug will be fixed in SB700 revision A21 at hardware
level, but the SB700 revision older than A21 will also be found in the
market. This patch modify the original quirk commit
bc38b411fe696fad32b261f492cb4afbf1835256 instead of withdrawing it.
The patch also removes quirk to 0x4395 because 0x4395 is SB800 device
ID.
Signed-off-by: Shane Huang <shane.huang@amd.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
---
Okay, here's reformatted ...
| Jan 24, 11:46 pm 2008 |
| Shane Huang | [PATCH] PCI: modify SB700 SATA MSI quirk
SB700 SATA MSI bug will be fixed in SB700 revision A21 at hardware
level,
but the SB700 revision older than A21 will also be found in the market.
This patch modify the original quirk commit
bc38b411fe696fad32b261f492cb4afbf1835256 instead of withdrawing it.
The patch also removes quirk to 0x4395 because 0x4395 is SB800 device
ID.
Signed-off-by: Shane Huang <shane.huang@amd.com>
diff -ruN linux-2.6.24-rc7_org/drivers/pci/quirks.c
linux-2.6.24-rc7_new/drivers/pci/quirks.c
--- ...
| Jan 24, 11:33 pm 2008 |
| Robin Holt | Re: [patch 1/4] mmu_notifier: Core code
Seems to me that is the same argument used for lock_kernel. I am saying
we have a perfectly reasonable way to seperate the protections down to
their smallest. For the things hanging off the mm, mmap_sem, for the
other list, a list specific lock.
Keep in mind that on a 2048p SSI MPI job starting up, we have 2048 ranks
doing this at the same time 6 times withing their address range. That
seems like a lock which could get hot fairly quickly. It may be for a
That will be fine as long as we ...
| Jan 25, 12:35 pm 2008 |
| Christoph Lameter | Re: [patch 1/4] mmu_notifier: Core code
mn will be pointing to the listhead in the mm_struct one after the other.
The lock is only used during register and unregister. Very low level
Add a new invalidate_all() call? Then on exit we do
1. invalidate_all()
2. invalidate_range() for each vma
3. release()
We cannot simply move the call up because there will be future range
callbacks on vma invalidation.
--
| Jan 25, 12:03 pm 2008 |
| Christoph Lameter | Re: [patch 1/4] mmu_notifier: Core code
We need to fix the next define to not use column 81.
Found a couple of more 80 column infractions. Will be fixed in next
Ok. We could switch this to mmap_sem protection for the mm_struct but the
rmap notifier is not associated with an mm_struct. So we would need to
keep it there. Since we already have a spinlock: Just use it for both to
Peter already mentioned that and I have posted patches that address this
The TLB entries are removed by earlier invalidate_range calls. I would ...
| Jan 25, 11:47 am 2008 |
| Robin Holt | Re: [patch 1/4] mmu_notifier: Core code
I meant the structure pointed to by &mn. I assume it is intended that
structure be kmalloc'd as part of a larger structure. The driver is the
What I was asking for is a way to avoid those numerous callouts for
No, EXACTLY what I originally was asking for, either move this call site
up, introduce an additional mmu_notifier op, or place this one in two
locations with a flag indicating which call is being made.
Thanks,
Robin
--
| Jan 25, 11:56 am 2008 |
| Christoph Lameter | Re: [patch 1/4] mmu_notifier: Core code
Diff so far against V1
- Improve RCU support. (There is now a sychronize_rcu in mmu_release which
is bad.)
- Clean compile for !MMU_NOTIFIER
- Use mmap_sem for serializing additions the mmu_notifier list in the
mm_struct (but still global spinlock for mmu_rmap_notifier. The
registration function is called only a couple of times))
-
---
include/linux/list.h | 14 ++++++++++++++
include/linux/mm_types.h | 2 --
include/linux/mmu_notifier.h | 39 ...
| Jan 25, 2:18 pm 2008 |
| Christoph Lameter | Re: [patch 1/4] mmu_notifier: Core code
Ok. I guess we need to have a __register_mmu_notifier that expects the
No you cannot do that because there are still callbacks that come later.
The invalidate_all may lead to invalidate_range() doing nothing for this
mm. The ops notifier and the freeing of the structure has to wait until
That does not sync with the current scheme of the invalidate_range()
hooks. We would have to do a global invalidate early and then place the
other invalidate_range hooks in such a way that none is ...
| Jan 25, 1:10 pm 2008 |
| Christoph Lameter | [patch 1/4] mmu_notifier: Core code
Core code for mmu notifiers.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
---
include/linux/mm_types.h | 8 ++
include/linux/mmu_notifier.h | 152 +++++++++++++++++++++++++++++++++++++++++++
include/linux/page-flags.h | 9 ++
kernel/fork.c | 2
mm/Kconfig | 4 +
mm/Makefile | 1
mm/mmap.c | 2
mm/mmu_notifier.c | 91 ...
| Jan 24, 10:56 pm 2008 |
| Robin Holt | Re: [patch 1/4] mmu_notifier: Core code
> +#define mmu_notifier(function, mm, args...) \
__mn->ops->function(__mn, mm, args); \
I realize it is a minor nit, but since we put the continuation in column
81 in the next define, can we do the same here and make this more
I think the hlist_del needs to be before the function callout so we can free
the structure without a use-after-free issue.
hlist_for_each_entry_rcu(mn, n,
&mm->mmu_notifier.head, hlist) {
hlist_del_rcu(&mn->hlist);
if ...
| Jan 25, 11:39 am 2008 |
| Christoph Lameter | [patch 4/4] MMU notifier: invalidate_page callbacks usin ...
These notifiers here use the Linux rmaps to perform the callbacks.
In order to walk the rmaps locks must be held. Callbacks can therefore
only operate in an atomic context.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
mm/filemap_xip.c | 1 +
mm/fremap.c | 1 +
mm/memory.c | 1 +
mm/mremap.c | 2 ++
mm/rmap.c | 12 +++++++++++-
5 files changed, 16 insertions(+), 1 deletion(-)
Index: ...
| Jan 24, 10:56 pm 2008 |
| Christoph Lameter | [patch 3/4] mmu_notifier: invalidate_page callbacks for ...
Callbacks to remove individual pages if the subsystem has an
rmap capability. The pagelock is held but no spinlocks are held.
The refcount of the page is elevated so that dropping the refcount
in the subsystem will not directly free the page.
The callbacks occur after the Linux rmaps have been walked.
Robin: We do not hold the page lock in __xip_unmap().
I guess we do not need to increase the refcount there since the
page is static and cannot go away?
Signed-off-by: Christoph Lameter ...
| Jan 24, 10:56 pm 2008 |
| Christoph Lameter | [patch 2/4] mmu_notifier: Callbacks to invalidate addres ...
The invalidation of address ranges in a mm_struct needs to be
performed when pages are removed or permissions etc change.
invalidate_range() is generally called with mmap_sem held but
no spinlocks are active.
Exceptions:
We hold i_mmap_lock in __unmap_hugepage_range and
sometimes in zap_page_range. Should we pass a parameter to indicate
the different lock situation?
Comments state that mmap_sem must be held for
remap_pfn_range() but various drivers do not seem to do ...
| Jan 24, 10:56 pm 2008 |
| Benjamin Herrenschmidt | Re: [patch 0/4] [RFC] MMU Notifiers V1
Also, wouldn't there be a problem with something trying to use that
interface to keep in sync a secondary device MMU such as the DRM or
other accelerators, which might need virtual address based
invalidation ?
Ben.
--
| Jan 25, 2:18 pm 2008 |
| Christoph Lameter | [patch 0/4] [RFC] MMU Notifiers V1
This is a patchset implementing MMU notifier callbacks based on Andrea's
earlier work. These are needed if Linux pages are referenced from something
else than tracked by the rmaps of the kernel.
To do:
- Make locking requirements for the callbacks consistent and
document them accurately.
- Insure that the callbacks are complete
- Feedback from uses of the callbacks for KVM, RDMA, XPmem and GRU
Andrea's mmu_notifier #4 -> RFC V1
- Merge subsystem rmap based with Linux rmap based ...
| Jan 24, 10:56 pm 2008 |
| Christoph Lameter | Re: [patch 0/4] [RFC] MMU Notifiers V1
Yes just doing the rmap based solution would have required DRM etc to
maintain their own rmaps. So it looks that we need to go with both
variants. Note that secondary device MMUs that need to run code outside of
atomic context may still need to create their own rmaps.
--
| Jan 25, 2:25 pm 2008 |
| Christoph Lameter | Re: [patch 0/4] [RFC] MMU Notifiers V1
try_to_unmap is called from multiple places. The placement here
also covers f.e. page migration.
We also need to do this in the page_mkclean case because the permissions
on an external pte are restricted there. So we need a refault to update
We actually need both version. We have hardware that has a driver without
rmap that does not sleep. On the other hand XPmem has rmap capability and
Well we still have to review this stuff more and I have a vague feeling
that not all the multiple ...
| Jan 25, 11:31 am 2008 |
| Andrea Arcangeli | Re: [patch 0/4] [RFC] MMU Notifiers V1
I'm glad you're converging on something a bit saner and much much
closer to my code, plus perfectly usable by KVM optimal rmap design
too. It would have preferred if you would have sent me patches like
Peter did for review and merging etc... that would have made review
especially easier. Anyway I'm used to that on lkml so it's ok, I just
need this patch to be included in mainline, everything else is
irrelevant to me.
On a technical merit this still partially makes me sick and I think
it's ...
| Jan 25, 4:42 am 2008 |
| Robin Holt | Re: [patch 0/4] [RFC] MMU Notifiers V1
How does the called process sleep or how does it coordinate async work
with try_to_unmap? We need to sleep.
On a seperate note, I think the page flag needs to be set by the process
when it is acquiring the page for export. But since the same page could
be acquired by multiple export mechanisms, we should not clear it in the
exporting driver, but rather here after all exportors have been called
to invalidate_page.
That lead me to believe we should add a flag to get_user_pages() ...
| Jan 25, 5:43 am 2008 |
| Huang, Ying | [PATCH 5/6] x86: use reboot_type on EFI 32
This patch makes reboot_type of BOOT_EFI is used on i386 too. Because
correpsonding reboot code of i386 and x86_64 is merged.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/kernel/efi.c | 2 --
1 file changed, 2 deletions(-)
--- a/arch/x86/kernel/efi.c
+++ b/arch/x86/kernel/efi.c
@@ -371,11 +371,9 @@ void __init efi_init(void)
printk(KERN_WARNING "Kernel-defined memdesc"
"doesn't match the one from EFI!\n");
-#ifdef CONFIG_X86_64
/* Setup for EFI ...
| Jan 24, 10:55 pm 2008 |
| Ingo Molnar | Re: [PATCH 5/6] x86: use reboot_type on EFI 32
thanks, applied.
Ingo
--
| Jan 25, 2:22 am 2008 |
| Huang, Ying | [PATCH 0/6] x86: some fixes of early_ioremap and EFI run ...
This patchset fixes some bugs about early_ioremap and EFI runtime services.
This patchset is based on latest x86 git tree and has been tested on
EFI 32 and EFI 64 platform.
Best Regards,
Huang Ying
--
| Jan 24, 10:54 pm 2008 |
| Huang, Ying | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
I will do it. But I have some other thing to do now, so I will send it
on next Monday.
Best Regards,
Huang Ying
--
| Jan 25, 2:30 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
On 32-bit non-PAE, _PAGE_NX == 0, so this if() statement should be
sufficient to disable the whole function at compile time without needing
the outer #if defined wrapper.
J
--
| Jan 25, 12:35 am 2008 |
| Ingo Molnar | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
thanks, applied.
you've changed it from nocache-noexec to cached-exec. I suspect that's
what we want - except if an early EFI area can be non-prefetchable
device memory. Can that ever happen? Would you like to have
PAGE_KERNEL_NOCACHE_EXEC perhaps? I implemented that yesterday but did
not commit it yet. (see the patch below)
Ingo
----------------->
Subject: x86: add PAGE_KERNEL_EXEC_NOCACHE
From: Ingo Molnar <mingo@elte.hu>
add PAGE_KERNEL_EXEC_NOCACHE.
Signed-off-by: ...
| Jan 25, 2:16 am 2008 |
| Ingo Molnar | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
good point. The patch fixes bugs and the consolidation it does is very
nice so i've applied it already, but we could indeed further consolidate
it and make it a nice #ifdef-less function. Could one of you send an
add-on patch for this?
Ingo
--
| Jan 25, 2:19 am 2008 |
| Ingo Molnar | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
ok, i fixed that in the patch and reordered the PAGE_KERNEL_NOCACHE_EXEC
you are right in that there is no immediate correctness reason for it.
The reason is to eventually get away from any MTRR dependencies. If some
other OS uses PATs and the BIOS sets up the wrong MTRR, then the other
OS might still having a working EFI, while Linux might crash and burn.
So we try to get both the MTRRs and the pagetable attributes match the
purpose of the area in question. If _both_ levels of ...
| Jan 25, 2:48 am 2008 |
| Huang, Ying | Re: [PATCH 4/6] x86: fix some bugs about EFI runtime cod ...
Yes. EFI area can be non-prefetchable device memory. I should use
PAGE_KERNEL_NOCACHE_EXEC.
A question about this:
The MTRR on x86 should have set the memory area as un-cachable. Why do
we bother to set it in page table?
Best Regards,
Huang Ying
--
| Jan 25, 2:26 am 2008 |
| Huang, Ying | [PATCH 4/6] x86: fix some bugs about EFI runtime code mapping
This patch fixes some bugs of making EFI runtime code executable.
- Use change_page_attr in i386 too. Because the runtime code may be
mapped not through ioremap.
- If there is no _PAGE_NX in __supported_pte_mask, the change_page_attr
is not called.
- Make efi_ioremap map pages as PAGE_KERNEL_EXEC, because EFI runtime
code may be mapped through efi_ioremap.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/kernel/efi.c | 35 ++++++++++++++++++++++++++++++-----
...
| Jan 24, 10:55 pm 2008 |
| Huang, Ying | [PATCH 3/6] x86: early_ioremap_reset fix
This patch fixes a bug of early_ioremap_reset.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/mm/ioremap_32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/mm/ioremap_32.c
+++ b/arch/x86/mm/ioremap_32.c
@@ -285,7 +285,7 @@ void __init early_ioremap_reset(void)
pte_t *pte;
after_paging_init = 1;
- for (idx = FIX_BTMAP_BEGIN; idx <= FIX_BTMAP_END; idx--) {
+ for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) {
addr = ...
| Jan 24, 10:54 pm 2008 |
| Ingo Molnar | Re: [PATCH 3/6] x86: early_ioremap_reset fix
thanks, applied.
Ingo
--
| Jan 25, 2:01 am 2008 |
| Huang, Ying | [PATCH 2/6] x86: make early_ioremap_debug early_param
This patch makes "early_ioremap_debug" a early parameter, because
"early_ioreamp/early_iounmap" is only used during early boot stage.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/mm/ioremap_32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/x86/mm/ioremap_32.c
+++ b/arch/x86/mm/ioremap_32.c
@@ -215,9 +215,9 @@ static int __init early_ioremap_debug_se
{
early_ioremap_debug = 1;
- return 1;
+ return 0;
}
-__setup("early_ioremap_debug", ...
| Jan 24, 10:54 pm 2008 |
| Ingo Molnar | Re: [PATCH 2/6] x86: make early_ioremap_debug early_param
thanks, applied.
Ingo
--
| Jan 25, 1:57 am 2008 |
| Huang, Ying | [PATCH 1/6] x86: fix NX bit handling in change_page_attr
This patch fixes a bug of change_page_attr/change_page_attr_addr on
Intel i386/x86_64 CPUs. After changing page attribute to be
executable with these functions, the page remains un-executable on
Intel i386/x86_64 CPU. Because on Intel i386/x86_64 CPU, only if the
"NX" bits of all three level page tables are cleared (PAE is enabled),
the corresponding page is executable (refer to section 4.13.2 of Intel
64 and IA-32 Architectures Software Developer's Manual). So, the bug
is fixed through ...
| Jan 24, 10:54 pm 2008 |
| Ingo Molnar | Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr
i guess it would be nicer to have the proper accessors to just clear the
NX bit from ref-prot - instead of re-constructing the *kpte from
scratch. But i see no other way to do it right now than to access
pgprot_val() as an lvalue. Jeremy, what would be the best approach here?
Ingo
--
| Jan 25, 3:32 am 2008 |
| Ingo Molnar | Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr
applied it with the following cleanup from Thomas:
static int split_large_page(pte_t *kpte, unsigned long address)
{
- pgprot_t ref_prot = pte_pgprot(pte_clrhuge(*kpte));
+ pgprot_t ref_prot;
...
+ ref_prot = pte_pgprot(pte_mkexec(pte_clrhuge(*kpte)));
i.e. it now goes through all the proper accessors.
Ingo
--
| Jan 25, 1:46 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr
I don't think its a good idea to treat pgprot_val() as an lvalue - it
precludes it from being turned into an inline function. I know there
are numerous other places which do, but we should avoid making it worse.
J
--
| Jan 25, 12:32 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr
The pte_* accessors are really just helpers, so they're not mandatory.
Something like this would be fine:
refprot = __pgprot(pgprot_val(refprot) & ~_PAGE_NX);
This is identical to the lvalue form, but avoids using it as an lvalue.
J
--
| Jan 25, 1:05 pm 2008 |
| huang ying | Re: [PATCH 6/6] x86: fixes some bugs about EFI memory ma ...
Strictly, I should say on 32-bit, EFI runtime service won't work in
kexeced kernel. That is, on EFI 32 platform, it is possible that:
- Boot kernel A with EFI runtime service
- kexec kernel B without EFI runtime service (such as with noefi in
kernel command line)
I suspect this method can be used on 32-bit platform. Because the
fixmap area on 32-bit is more limited than 64-bit. And because
identity map area on 32-bit is too limited, it is possible that all
EFI runtime code, data, IO areas ...
| Jan 25, 6:58 am 2008 |
| Huang, Ying | Re: [PATCH 6/6] x86: fixes some bugs about EFI memory ma ...
To support kexec, I want to map the EFI memory area on same virtual
address on different boot of different version of kernel. Then, the EFI
runtime service will always get the same execution environment. This is
because a weakness of EFI runtime service, it can not reset its
execution environment, except reboot.
Best Regards,
Huang Ying
--
| Jan 25, 2:40 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] x86: fixes some bugs about EFI memory ma ...
so this basically means that on 32-bit kexec wont work right - i.e. only
64-bit has been enhanced this way? What am i missing?
Ingo
--
| Jan 25, 2:50 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] x86: fixes some bugs about EFI memory ma ...
thanks, applied.
btw., it would be nice to consolidate this some more. Why is there a
separate efi_ioremap(), which is mapped to ioremap() on 32-bit, and
which is mapped to a fixmap based special mapper on 64-bit?
To me it appears this wants to be ioremap() on both 64-bit and 32-bit,
and we could remove efi_ioremap() altogether. Hm?
Ingo
--
| Jan 25, 2:31 am 2008 |
| Huang, Ying | [PATCH 6/6] x86: fixes some bugs about EFI memory map handling
This patch fixes some bugs of EFI memory handing code.
- On x86_64, it is possible that EFI memory map can not be mapped via
identity map, so efi_map_memmap is removed, just use early_ioremap.
- On i386, the EFI memory map mapping take effect cross paging_init,
so it is not necessary to use efi_map_memmap.
- EFI memory map is unmapped in efi_enter_virtual_mode to avoid
early_ioremap leak.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
arch/x86/kernel/efi.c | 2 ...
| Jan 24, 10:55 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: ioremap_nocache fix
very interesting! Is this in response to a bug you've triggered?
i believe the scenario you outlne could trigger on 64-bit boxen, if they
and we'd incorrectly fail the ioremap() with -EINVAL, and return a hard
error to the driver - and causing broken boxes, right?
Thomas has unified most of ioremap*.c as well, and we'll make sure this
fix survives the unification. The 64-bit code limped along before by
accident, because the (pre-cleanup) 64-bit __change_page_attr() code
incorrectly ...
| Jan 25, 3:27 am 2008 |
| huang ying | Re: [PATCH] x86: ioremap_nocache fix
Yes. The efifb driver try to ioremap 0x40000000 on my 64-bit box and
it failed because 0x40000000 < (end_pfn_map << PAGE_SHIFT) and it is
Best Regards,
Huang Ying
--
| Jan 25, 6:50 am 2008 |
| Huang, Ying | [PATCH] x86: ioremap_nocache fix
This patch fixes a bug of ioremap_nocache. ioremap_nocache() will call
__ioremap() with flags != 0 to do the real work, which will call
change_page_attr_addr() if phys_addr + size - 1 < (end_pfn_map << PAGE_SHIFT).
But some pages between 0 ~ end_pfn_map << PAGE_SHIFT are not mapped by
identity map, this will make change_page_attr_addr failed.
This patch is based on latest x86 git and has been tested on x86_64 platform.
Signed-off-by: Huang Ying <ying.huang@intel.com>
---
...
| Jan 24, 10:22 pm 2008 |
| Kohei KaiGai | Re: [PATCH 1/3] exporting capability code/name pairs (try 2nd)
Andrew,
Thanks for your comments.
cap_set_flag() and cap_from_text() checks whether required capability
code is in between 0 and __CAP_BITS, or not.
I don't think it works correctly. Is it necessary to obtain this bound
dynamically?
> Further, if anyone ever wants to translate the capabilities into another
> language, it seems like user-space is a much better place for that than
> in the kernel.
Are you intend to translate "cap_net_admin" into native language
representation, for ...
| Jan 25, 4:41 am 2008 |
| Kohei KaiGai | [PATCH 1/3] exporting capability code/name pairs (try 2nd)
We can apply this patch to kernel-2.6.24.
It enables to export code/name pairs of capabilities
at /sys/kernel/capability/, as follows:
--------
[root@saba ~]# ls /sys/kernel/capability/
cap_audit_control cap_kill cap_setgid cap_sys_ptrace
cap_audit_write cap_lease cap_setpcap cap_sys_rawio
cap_chown cap_linux_immutable cap_setuid cap_sys_resource
cap_dac_override cap_mknod cap_sys_admin ...
| Jan 24, 10:18 pm 2008 |
| Andrew G. Morgan | Re: [PATCH 1/3] exporting capability code/name pairs (try 2nd)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
KaiGai,
While this is cute :-), I guess I'm still not all that convinced that
this is needed.
libcap already had some (admittedly not quite working) support for
numeric values of capabilities not currently defined (which I believe is
now fixed in top of trunk):
# ./setcap 35=i ./setcap
# ./getcap ./setcap
./setcap = 35+i
Although, I obviously can't argue that this is as readable as your
approach, it does seem unlikely that the rate of ...
| Jan 25, 12:32 am 2008 |
| Kohei KaiGai | [PATCH 2/3] exporting capability code/name pairs (try 2nd)
We can apply this patch to libcap.
It enables to obtain the list of capabilities running kernel
supported dynamically, from /sys/kernel/capability.
When we use libcap with this patch on the previous kernel,
it apply static list of capabilities instead.
Thanks,
----
Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
diff --git a/libcap/_makenames.c b/libcap/_makenames.c
index 212f0b4..c57e940 100644
--- a/libcap/_makenames.c
+++ b/libcap/_makenames.c
@@ -43,7 +43,7 @@ int main(void)
...
| Jan 24, 10:18 pm 2008 |
| Kohei KaiGai | [PATCH 3/3] exporting capability code/name pairs (try 2nd)
We can apply this patch to libcap.
This patch enables setcap command to print the list
of capabilities running kernel supported, if the kernel
exports capability code/name pairs.
It is useful to confirm the name of capability when setting.
Thanks,
----
Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
diff --git a/progs/setcap.c b/progs/setcap.c
index dc13c06..1b9ed45 100644
--- a/progs/setcap.c
+++ b/progs/setcap.c
@@ -4,6 +4,7 @@
* This sets the capabilities of a given file.
...
| Jan 24, 10:18 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: Remove nx_enabled from fault.c
hm, what's this?
Ingo
--
| Jan 25, 3:14 am 2008 |
| Harvey Harrison | [PATCH] x86: Remove nx_enabled from fault.c
On !PAE 32-bit, _PAGE_NX will be 0, making is_prefetch always
return early. The test is sufficient on PAE as __supported_pte_mask
is updated in the same places as nx_enabled in init_32.c which also
takes disable_nx into account.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/mm/fault.c | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index bdf0282..32755eb 100644
--- ...
| Jan 24, 9:41 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
i think the is 0xffffffff to 0xffffffffUL make the difference.
the cpu mode in KVM/qemu may cpu_has_mtrr, but doesn't really have
return mtrr msr with correct value.
is_cpu(INTEL) already make sure we have mtrr_if got assigned and cpu_has_mtrr.
may need to fix qemu instead...
Can you try post /proc/mtrr for your guest in kvm/qemu?
Thanks
YH
--
| Jan 25, 1:13 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
Thanks, this gets me to usermode under kvm.
J
--
| Jan 25, 12:43 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
yeah, i guess what i've pushed out just now is v3++. Does it work for
you?
Ingo
--
| Jan 25, 12:04 pm 2008 |
| Andi Kleen | Re: x86.git: mtrr trimming removes all memory under kvm
I don't think this makes sense to move outside the AMD workaround
because the normal MTRRs don't have an implicit hidden 4GB semantics.
-Andi
--
| Jan 25, 3:52 am 2008 |
| Yinghai Lu | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
then we could remove that.
YH
--
| Jan 25, 12:50 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
it's available ... 3 .. 2 ... 1 ... NOW! ;-)
Ingo
--
| Jan 25, 12:02 pm 2008 |
| Andi Kleen | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
I agree that would be the correct way to do it.
Later on with PAT that filter could also do PAT related checks
and something like this will likely be needed anyways.
-Andi
--
| Jan 25, 7:57 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
Yes, it does. And for the record:
[root@qemu ~]# cat /proc/mtrr
[root@qemu ~]#
J
--
| Jan 25, 12:27 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
Why the check for < 4 GB? The same thing applies to memory below the 4
GB limit -- in fact, we've had a number of that kind of systems in the past.
-hpa
--
| Jan 24, 10:44 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
great, thanks for checking.
Ingo
--
| Jan 25, 12:30 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
It was empty. But ignore this report; it wasn't against the right
version of x86.git.
J
--
| Jan 25, 12:04 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
no, to be fully generic it would have to be able to 'split' e820 entries
up and punch holes into them - but we dont want to go that far i think.
The most common problem is mismatch at the end of a range.
but what matters more is to have full, generic _detection_ of the
problem - and that's what we dont do right now. (and that's what my
reply outlines)
The _fixup_ which we base on this information can then be anything from
"trivially trim the end" up to a complex "punch holes" ...
| Jan 25, 8:10 am 2008 |
| H. Peter Anvin | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
*And* let's push a fix to Qemu/KVM as appropriate.
Last I checked Qemu never even turns caching on in %cr0, never mind gets
the MTRRs right. If it's advertising MTRRs, this is a problem.
-hpa
--
| Jan 25, 8:47 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
thanks, applied. Shouldnt we put in an exception for when there is MTRR
support, but they dont cover anything. Still emit a warning - but
booting up real slow is still better than losing all of RAM and crashing
...
i also updated the messages, they now go like this:
WARNING: strange, CPU MTRRs all blank?
and:
WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 45MB of RAM.
Ingo
--
| Jan 25, 4:09 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
no ...
lets not do non-sensical trimming of RAM, ok? Emit a warning but never
trim all of RAM and make the system unbootable. Trimmed RAM is something
that users can pester board/BIOS vendors with. Non-booting kernels is
something _we_ get pestered with ;-)
Ingo
--
| Jan 25, 4:12 am 2008 |
| Yinghai Lu | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
so the ram size less 4g is way out for your case.
again, can you post /proc/mtrrs with v2 patch?
Thanks
YH
--
| Jan 25, 12:19 pm 2008 |
| H. Peter Anvin | Re: x86.git: mtrr trimming removes all memory under kvm
Looks like the code doesn't check that the CPU *has* MTRRs...
-hpa
--
| Jan 24, 6:49 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
Though I don't see this form of message; have you pushed your changes
out to the public x86.git#mm tree?
J
--
| Jan 25, 11:59 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
The logic we ideally would like to have is something like this:
find _any_ RAM that is not mapped via any MTRRs (be that special MTRR
extensions like Tom2) and clear that from the e820 maps.
not just 'end of RAM'.
And in that sense the amd_special_default_mtrr() check is wrong, because
it just checks that Tom2 is set and then does no other checking. And the
original MTRR check is wrong too because it just finds the highest
cacheable MTRR-covered address and compares that to the ...
| Jan 25, 7:21 am 2008 |
| Yinghai Lu | Re: x86.git: mtrr trimming removes all memory under kvm
on 32 bit, max_pfn is supposed to be 0?
will look at it.
YH
--
| Jan 24, 7:21 pm 2008 |
| Yinghai Lu | Re: x86.git: mtrr trimming removes all memory under kvm
please try this
[PATCH] x86: trim RAM need to check if mtrr is there
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c
index a1551d0..a0b6f55 100644
--- a/arch/x86/kernel/cpu/mtrr/main.c
+++ b/arch/x86/kernel/cpu/mtrr/main.c
@@ -646,9 +646,6 @@ static __init int amd_special_default_mtrr(unsigned long end_pfn)
{
u32 l, h;
- /* Doesn't apply to memory < 4GB */
- if (end_pfn <= (0xffffffff >> ...
| Jan 24, 7:32 pm 2008 |
| Yinghai Lu | [PATCH] x86: trim ram need to check if mtrr is there v2
so check it mtrr is there, also check if mem less 4G and is AMD as early
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/cpu/mtrr/main.c
+++ linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
@@ -642,13 +642,10 @@ early_param("disable_mtrr_trim", disable
#define Tom2Enabled (1U << 21)
#define Tom2ForceMemTypeWB (1U << 22)
-static __init int ...
| Jan 24, 8:47 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: trim ram need to check if mtrr is there v2
jeremy,
can you try v3 patch?
Thanks
YH
--
| Jan 25, 1:39 am 2008 |
| Yinghai Lu | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
so the boot msg say:
WARNING: strange, CPU MTRRs all blank?
YH
--
| Jan 25, 12:32 pm 2008 |
| Jeremy Fitzhardinge | x86.git: mtrr trimming removes all memory under kvm
When booting a current x86.git kernel under kvm, I get this:
(qemu) Linux version 2.6.24-rc8 (jeremy@ezr) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1928 SMP PREEMPT Thu Jan 24 17:09:04 PST 2008
early_ioremap_init()
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: ...
| Jan 24, 6:44 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
Yes.
WARNING: strange, CPU MTRRs all blank?
------------[ cut here ]------------
WARNING: at /home/jeremy/hg/xen/paravirt/linux/arch/x86/kernel/cpu/mtrr/main.c:710 mtrr_trim_uncached_memory+0xf8/0x17b()
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.24 #1938
[<c012804c>] warn_on_slowpath+0x41/0x51
[<c01285d4>] ? __call_console_drivers+0x4e/0x5a
[<c03c3e85>] ? _spin_unlock_irqrestore+0xf/0x2f
[<c03c3e91>] ? _spin_unlock_irqrestore+0x1b/0x2f
[<c012880c>] ? ...
| Jan 25, 12:39 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
which git head is that? I'm pushing out the queue with v3 included this
very minute, so i doubt you can have tested that already! :-)
Ingo
--
| Jan 25, 11:59 am 2008 |
| Yinghai Lu | [PATCH] x86: trim ram need to check if mtrr is there v3
so more strict check if mtrr is there really.
bail out if mtrr all blank when qemu cpu model is used
and check if is AMD as early
also remove 4G less check, according to hpa.
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/cpu/mtrr/main.c
+++ linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
@@ -642,13 +642,10 @@ early_param("disable_mtrr_trim", ...
| Jan 25, 1:42 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
I was referring to:
commit 6a4544a9c8b54b82893044cb53695502cc386f00
Author: Yinghai Lu <Yinghai.Lu@Sun.COM>
Date: Fri Jan 25 00:15:29 2008 +0100
x86_32: trim memory by updating e820 v3
but you've answered the question...
J
--
| Jan 25, 12:01 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
The problem is re-occuring for me with current x86.git. Looks like v2
did the trick, and v3 is broken...
J
--
| Jan 25, 11:55 am 2008 |
| H. Peter Anvin | Re: [PATCH] x86: trim ram need to check if mtrr is there v3
For what it's worth, I have a set of code to do this, written in order
to canonicalize and modify e820 data structures for memdisk.
The key to it is the observation that the e820-delivered (address, len,
type) tuples isn't actually the data structure you want -- what you want
is an ordered list of (address, type) tuples, where type may includes
undefined (the e820 default type - i.e. unused, available address space).
In addition to the attached code, to do this right, we probably want a ...
| Jan 25, 8:57 am 2008 |
| Roland McGrath | Re: [PATCH x86/mm] x86: i387 fpregs_set convert_to_fxsr
It's true that there was before no way to touch only part of the FPU state
via ptrace. The user_regset interface genericizes access to every regset
to permit partial access, subject to the size and align fields. Access to
some part of the data is certainly of use for some regsets, like the
general registers and TLS, which always have exposed means to touch just
one chunk (e.g. PTRACE_POKEUSR, PTRACE_SET_THREAD_AREA). It's a very
worthwhile thing that we have a uniform interface for all the ...
| Jan 25, 1:38 pm 2008 |
| Ingo Molnar | Re: [patch] x86, i387: use convert_to_fxsr() in fpregs_set()
nice one! I'm wondering, how did you notice this bug? Did something
crash? Did FPU state get corrupted?
(i've applied Roland's followup patch to x86.git)
Ingo
--
| Jan 25, 3:49 am 2008 |
| Siddha, Suresh B | Re: [PATCH x86/mm] x86: i387 fpregs_set convert_to_fxsr
Well, is the generic regset code enforce the need for this now? Can we
disallow the usage cases where the user passes smaller target buffer
size or requests data from in between. We were disallowing such usage
scenarios before, isn't it?
thanks,
suresh
--
| Jan 25, 11:04 am 2008 |
| Roland McGrath | [PATCH x86/mm] x86: i387 fpregs_set convert_to_fxsr
Thanks for catching that, Suresh.
The fix needed a few nits different from your patch.
Thanks,
Roland
---
This fixes the bug introduced recently during the revamp of the code.
fpregs_set() needs to use convert_to_fxsr() rather than copying into the
fxsave struct directly.
Reported-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Roland McGrath <roland@redhat.com>
---
arch/x86/kernel/i387.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff ...
| Jan 24, 6:59 pm 2008 |
| Siddha, Suresh B | [patch] x86, i387: use convert_to_fxsr() in fpregs_set()
Roland, Just happen to notice this bug. Can you please ack the bug fix which
needs to goto x86 mm tree.
thanks.
---
[patch] x86, i387: use convert_to_fxsr() in fpregs_set()
This fixes the bug introduced recently during the revamp of the code.
fpregs_set() need to use convert_to_fxsr() rather than copying into the
fxsave struct directly.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---
diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c
index 7e354a3..93a1706 ...
| Jan 24, 6:40 pm 2008 |
| Matt LaPlante | "Default Linux Capabilities" default in 2.6.24
I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:
---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---
However the help text recommends saying Yes.
---
This enables the "default" Linux capabilities functionality.
If you are unsure how to answer this question, answer Y.
---
Does this seem incongruous? Also, what's the "question"? :)
Thanks,
Matt LaPlante
--
| Jan 24, 6:12 pm 2008 |
| Ingo Molnar | Re: [PATCH 2/2] x86: Further shrink ifdef sections in fault.c
ah, this explains the weird chunk in your other patch.
Ingo
--
| Jan 25, 4:13 am 2008 |
| Harvey Harrison | [PATCH 2/2] x86: Further shrink ifdef sections in fault.c
Move the vmalloc address tests from the if statement into
vmalloc_fault. This allows 32 and 64 bit to share the same
if block.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/mm/fault.c | 24 +++++++-----------------
1 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 95fe8bf..bdf0282 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -468,6 +468,9 @@ static int vmalloc_fault(unsigned long ...
| Jan 24, 6:05 pm 2008 |
| Harvey Harrison | [PATCH 1/2] x86: Shrink some ifdefs in fault.c
The change from current to tsk in do_page_fault is safe as
this is set at the very beginning of the function.
Removes a likely() annotation from the X86_64 version, this
could have instead been added to X86_32.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/x86/mm/fault.c | 43 ++++++++++++++-----------------------------
1 files changed, 14 insertions(+), 29 deletions(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 14a0c6e..95fe8bf 100644
--- ...
| Jan 24, 6:05 pm 2008 |
| Pavel Machek | Re: [PATCH -mm 5/5] b43: Avoid unregistering device obje ...
Maybe we should have global suspend_in_progress (or maybe system_state
== suspending?) and automatically switch to schedule_removal() while
it is set?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 25, 12:47 am 2008 |
| Pavel Machek | Re: [PATCH -mm 1/5] PM: Export device_pm_schedule_removal
ACK.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 25, 12:44 am 2008 |
| Rafael J. Wysocki | [PATCH -mm 0/5] b43: Fix suspend/resume deadlock
Hi,
The following series of patches is intended to fix the suspend/resume deadlock
occuring as a result of unregistering device objects, locked by the PM core,
during suspend/resume cycles by the b43 driver.
In short, the b43 driver is modified to avoid unregistering device objects
during suspend/resume cycles except for the resume code path, in which the
devices are unregistered using the recently introduced suspend-safe method.
For this purpose, it is necessary to introduce the possibility ...
| Jan 24, 5:27 pm 2008 |
| Michael Buesch | Re: [PATCH -mm 5/5] b43: Avoid unregistering device obje ...
That would be great, from my perspective :)
--
Greetings Michael.
--
| Jan 25, 3:13 am 2008 |
| Rafael J. Wysocki | [PATCH -mm 2/5] Misc: Add possibility to remove misc dev ...
From: Rafael J. Wysocki <rjw@sisk.pl>
Make it possible to unregister a misc device object in a safe way
during a suspend/resume cycle.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
drivers/char/misc.c | 13 +++++++++----
include/linux/miscdevice.h | 10 +++++++++-
2 files changed, 18 insertions(+), 5 deletions(-)
Index: linux-2.6.24-rc8-mm1/include/linux/miscdevice.h
===================================================================
--- ...
| Jan 24, 5:31 pm 2008 |
| Rafael J. Wysocki | Re: [PATCH -mm 5/5] b43: Avoid unregistering device obje ...
Let's see how many drivers are going to need that. If there's more than a
couple, it will certainly make sense to have a global variable like this.
Thanks,
Rafael
--
| Jan 25, 4:45 am 2008 |
| Rafael J. Wysocki | [PATCH -mm 5/5] b43: Avoid unregistering device objects ...
From: Rafael J. Wysocki <rjw@sisk.pl>
Modify the b43 driver to avoid deadlocking suspend and resume,
which happens as a result of attempting to unregister device objects
locked by the PM core during suspend/resume cycles. Also, make it
use a suspend-safe method of unregistering device object in the
resume error path.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Michael Buesch <mb@bu3sch.de>
---
drivers/net/wireless/b43/b43.h | 1 +
drivers/net/wireless/b43/leds.c | 5 ...
| Jan 24, 5:37 pm 2008 |
| Rafael J. Wysocki | [PATCH -mm 4/5] Leds: Add possibility to remove leds cla ...
From: Rafael J. Wysocki <rjw@sisk.pl>
Make it possible to unregister a led classdev object in a safe way
during a suspend/resume cycle.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
drivers/leds/led-class.c | 13 +++++++++----
include/linux/leds.h | 10 +++++++++-
2 files changed, 18 insertions(+), 5 deletions(-)
Index: linux-2.6.24-rc8-mm1/drivers/leds/led-class.c
===================================================================
--- ...
| Jan 24, 5:36 pm 2008 |
| Rafael J. Wysocki | [PATCH -mm 3/5] HWRNG: Add possibility to remove hwrng d ...
From: Rafael J. Wysocki <rjw@sisk.pl>
Make it possible to unregister a Hardware Random Number Generator
device object in a safe way during a suspend/resume cycle.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Michael Buesch <mb@bu3sch.de>
---
drivers/char/hw_random/core.c | 10 +++++-----
include/linux/hw_random.h | 10 +++++++++-
2 files changed, 14 insertions(+), 6 deletions(-)
Index: ...
| Jan 24, 5:35 pm 2008 |
| Rafael J. Wysocki | [PATCH -mm 1/5] 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>
---
drivers/base/power/main.c | 1 +
drivers/base/power/power.h | 1 -
include/linux/device.h | 6 ++++++
3 files changed, 7 insertions(+), 1 deletion(-)
Index: ...
| Jan 24, 5:30 pm 2008 |
| Alan Stern | Re: [PATCH -mm 5/5] b43: Avoid unregistering device obje ...
to the mere suggestion of such a global variable!
It's not a bad idea IMO. But if it does get implemented, a global
function would be better than a global variable. It would provide
more encapsulation.
Alan Stern
--
| Jan 25, 7:58 am 2008 |
| Pavel Machek | Re: [PATCH -mm 5/5] b43: Avoid unregistering device obje ...
Agreed.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 25, 2:16 pm 2008 |
| Ingo Molnar | [x86.git] new CPA implementation
FYI, we've unified and streamlined them in latest x86.git. There's now a
single arch/x86/mm/pagattr.c implementation of the c_p_a() APIs that is
used by both the 32-bit and by the 64-bit x86 kernel.
It's a significantly cleaner and simpler c_p_a() implementation, and
it's also structured in a way to make it easy for gbpages (and clflush)
to be added as well.
One of the big simplifications was to remove largepage reassembly. (We
could perhaps still add that back in the future, if ...
| Jan 24, 5:24 pm 2008 |
| Andi Kleen | Re: [x86.git] new CPA implementation
Let's call it a deoptimization, but ok. I suspect you'll hear about
it again at some point in the future in form of performance regressions.
I'm a little surprised you chose this to simply way though. My feeling was always
that the primary way to simply cpa would have been to get rid of the
separate flushing step (which in hindsight was probably not a useful
optimization and it caused fairly tricky code)
Also Linus used to have pretty strong opinions in the past about using
What fast ...
| Jan 25, 1:01 am 2008 |
| Andi Kleen | Re: [x86.git] new CPA implementation
kernel_map_pages does its own thing for flushes. I must admit I always
considered that abuse because it gives a somewhat fragile special case
where c_p_a() is not allowed to set up any state for g_f_t() for some
I don't really see any attempt to stop the
allocation -> kernel_map_pages -> split -> allocation -> kernel_map_pages ->
other split -> allocation -> ....
recursion. Ok perhaps it is bounded in most cases, still looks
quite risky to me. For gbpages it will be even more likely a ...
| Jan 25, 7:51 am 2008 |
| Ingo Molnar | Re: [x86.git] new CPA implementation
that's a point you are still missing badly in all these discussions
about unification and sound design practices: code reuse and a clean,
layered design. PAGEALLOC now uses change_page_attr() again and that
approach is working really well.
You made PAGEALLOC use a special-purpose remapping function but that
would make c_p_a() unrobust indirectly - simply because it would be used
much less.
So i've removed that change and have fixed c_p_a() instead to both be
fast and scalable ...
| Jan 25, 6:30 am 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.24
Absolutely.
I whish there would be more time for testing things during merge windows.
Greetings,
Rafael
--
| Jan 25, 4:58 am 2008 |
| Philipp Matthias Hahn | [PATCH] linux-2.6.24/drivers/hid/hid-input.c
In hidinput_configure_usage(device), IS_CHICONY_TACTICAL_PAD(devic) gets
passed the 'device' parameter. But that macro still references its
parameter by 'device' instead of by its local name 'x'.
Signed-off-by: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
--- linux/drivers/hid/hid-input.c 2008-01-25 09:57:17.000000000 +0100
+++ linux/drivers/hid/hid-input.c 2008-01-25 10:56:35.835871529 +0100
@@ -87,7 +87,7 @@
#define map_key_clear(c) do { map_key(c); clear_bit(c, bit); } while (0)
/* ...
| Jan 25, 3:11 am 2008 |
| Jiri Kosina | Re: [PATCH] linux-2.6.24/drivers/hid/hid-input.c
Hi Philipp,
thanks a lot for spotting this. I have however rewritten the ugly handling
of hid-input mapping quirks code, so this bug is not present anymore
(please see hid-input-quirks branch of my git tree, if interested).
Thanks,
--
Jiri Kosina
SUSE Labs
--
| Jan 25, 3:30 am 2008 |
| Giacomo A. Catenazzi | Re: Linux 2.6.24
My point was about "obvious" errors, and I really think that one
or two configuration will found most of these, doing in an
automatic way, and without delay the process.
Anyway more test are surely better.
BTW, IIRC there are already few "testing farms" which tests
automatically a lot of environment and configuration (IIRC,
few hours, but a lot of changeset will broke bisect (few doc tell
us how to continue bisecting on compile errors).
As usual, "One level more indirections" ;-) . Along ...
| Jan 25, 5:34 am 2008 |
| Ingo Molnar | Re: Linux 2.6.24
i think this heavily varies per subsystem.
v2.6.24-rc was pretty bad due to the sglist design bug that crept in and
that kept most of the IO hackers busy for a few weeks, while testsystems
kept crashing and no progress was made on _other_ bugs. v2.6.24 early
rc's were also marred by half-cooked networking patches messing up
bisectability. I've seen a number of testers give up on that alone.
There was an unusually high flux of networking fixes throughout v2.6.24,
up to the very last ...
| Jan 25, 4:35 am 2008 |
| Giacomo A. Catenazzi | Re: Linux 2.6.24
As a tester, I'm not so happy.
The last few merge windows were a nightmare for us (the tester).
It remember me the 2.1.x times, but with few differences:
- more changes, so bugs are unnoticed/ignored in the first weeks or
- or people are pushing more patches possible, so they delay
bug corrections to later times (after merge windows).
If it continues so, I should stop testing the kernel on the
merge windows (but it seems that other testers already give up
the early merge phase).
As a ...
| Jan 25, 2:10 am 2008 |
| Stefan Richter | Re: Linux 2.6.24
How often is "bisectability" being broken already before merge in
subsystem trees, and how often only in the context of the merge result?
(Probably impossible to answer because nobody has the data.)
Much of the former type of breakage (if we really have such breakage)
could probably be found in mostly automated ways and by volunteer
testers, by regularly testing the subsystem trees.
--
Stefan Richter
-=====-==--- ---= ==-=-
http://arcgraph.de/sr/
--
| Jan 25, 4:50 pm 2008 |
| Valdis.Kletnieks | Re: Linux 2.6.24
An amazing amount of stuff gets caught when it's tested in Andrew Morton's -mm
tree. You think -rc1's are bad now, consider that much of what will be
25-rc1 already got tried as 24-rc6-mm1 and 24-rc8-mm1. Without those, the
It's true that a compile on x86 and a compile on PowerPC should flush out
most of the truly stupid mistakes, but those are usually found and fixed
literally within hours. Anyhow, the proper time for test compiles is *before*
it goes into the git trees at all - it should ...
| Jan 25, 2:58 am 2008 |
| Kyle Moffett | Re: [PATCH 5/9] bfs: move function prototype to the prop ...
The "extern" keyword on functions is *completely* redundant.
For C variables:
Declaration: extern int foo;
Definition: int foo;
File-scoped: static int foo;
For C functions:
Declaration: void foo(int x);
Definition: void foo(int x) { /*...body...*/ }
File-scoped: static void foo(int x) { /*...body...*/ }
The compiler will *allow* you to use "extern" on the function
prototype, but the presence or absence of a function body is
sufficiently obvious for it ...
| Jan 24, 6:55 pm 2008 |
| Dmitri Vorobiev | Re: [PATCH 0/9] bfs: assorted cleanups
Adrian, please drop this version of the patches. I'll send you a new
one addressing the feedback and indicating the ack I received from the
driver maintainer in a private email.
Thanks,
Dmitri
--
| Jan 25, 3:25 am 2008 |
| Dmitri Vorobiev | Re: [PATCH 5/9] bfs: move function prototype to the prop ...
Adrian, thanks for the feedback.
The next version of this patch series will not have the extern keyword
for this helper. I'll try to have the second version sent to trivial
by tomorrow.
Dmitri
--
| Jan 25, 4:12 am 2008 |
| Adrian Bunk | Re: [PATCH 5/9] bfs: move function prototype to the prop ...
fs/bfs/bfs.h is not visible to the rest of the kernel, it's the right
place for bfs-internal code.
Whether there's an "extern" written is just a syntax thing with zero
semantical implications. We tend to not write the "extern" in the
kernel, but that's nothing cast in stone.
But prototypes really belong into header files - bugs in this area are
rare, but when they occur they can cause nasty hard-to-debug bugs
(e.g. depending on the calling convention on the architecture calling
the ...
| Jan 25, 3:42 am 2008 |
| Andreas Dilger | Re: [RFC] ext3: per-process soft-syncing data=ordered mode
If fsync performance is an issue for you, run the filesystem in data=journal
mode, put the journal on a separate disk and make it big enough that you
don't block on it to flush the data to the filesystem (but not so big that
it is consuming all of your RAM).
That keeps your data guarantees without hurting performance.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
| Jan 24, 11:47 pm 2008 |
| Chris Snook | Re: [RFC] ext3: per-process soft-syncing data=ordered mode
This is basically a kernel workaround for stupid app behavior. It wouldn't be
the first time we've provided such an option, but we shouldn't do it without a
very good justification. At the very least, we need a test case that
demonstrates the problem and benchmark results that prove that this approach
actually fixes it. I suspect we can find a cleaner fix for the problem.
-- Chris
--
| Jan 24, 6:19 pm 2008 |
| Jan Kara | Re: [RFC] ext3: per-process soft-syncing data=ordered mode
I guess disabling fsync() was already commented on enough. Regarding
switching to writeback mode on per-process basis - not easily possible
because sometimes data is not written out by the process which stored
them (think of mmaped file). And in case of DB, they use direct-io
anyway most of the time so they don't care about journaling mode anyway.
But as Diego wrote, there is definitely some room for improvement in
current data=ordered mode so the difference shouldn't be as big in ...
| Jan 25, 8:36 am 2008 |
| david | Re: [RFC] ext3: per-process soft-syncing data=ordered mode
my understanding is that the journal is limited to 128M or so. This
prevents you from making it big enough to avoid all problems.
--
| Jan 25, 2:57 pm 2008 |
| Mathieu Desnoyers | Re: [patch 07/26] Add INIT_ARRAY() to kernel.h
heh, yup, I guess we should drop this patch. As you point out, it makes
no sense.
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
| Jan 25, 6:14 am 2008 |
| Jan Engelhardt | Re: [patch 07/26] Add INIT_ARRAY() to kernel.h
Then we'd also have to fix dcache.h:
#define DCACHE_NFSFS_RENAMED 0x0002 /* this dentry has been "silly
* renamed" and has to be
* deleted on the last dput()
*/
by adding \ at the end of the comments, to unbreak cooledit and mc.
(The problem is not the comment, but the seemingly stray " in the 2nd line)
--
| Jan 25, 1:03 am 2008 |
| Miklos Szeredi | Re: [patch 26/26] mount options: fix usbfs
Please take it, it should be independent of the other changes.
Thanks,
Miklos
--
| Jan 25, 2:54 am 2008 |
| Cyrill Gorcunov | Re: [patch 25/26] mount options: fix udf
Miklos,
I'll check this today evening (a bit busy now).
- Cyrill -
--
| Jan 25, 3:57 am 2008 |
| Miklos Szeredi | Re: [patch 25/26] mount options: fix udf
But in that case, would the value of the anchor= option matter?
This is actually a somewhat philosophical question about what the
mount options in /proc/mounts mean:
1) Options _given_ by the user for the mount
2) Options which are _effective_ for the mount
If we take interpretation 2) and there was no anchor (whatever that
means), then the anchor=N option wasn't effective, and not giving it
would have had the same effect.
This could be confusing to the user, ...
| Jan 25, 8:50 am 2008 |
| Jan Kara | Re: [patch 25/26] mount options: fix udf
Yes, it's going to be removed so don't use it. Actually, basing this
patch on top of -mm is a good idea because there are quite some changes
As Cyrill wrote, it could be zeroed out in case there is no anchor in
the specified block. So I guess you have to store the passed value
somewhere else..
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Jan 25, 8:27 am 2008 |
| Miklos Szeredi | Re: [patch 25/26] mount options: fix udf
I think UDF_SB_ANCHOR macro was removed by some patch in -mm.
I'm more interested if the second element of the s_anchor array really
does always have the value of the 'anchor=N' mount option. I haven't
been able to verify that fully. Do you have some insight into that?
Thanks,
Miklos
--
| Jan 25, 2:29 am 2008 |
| Miklos Szeredi | Re: [patch 25/26] mount options: fix udf
OK. Cyrill, Jan, thanks for the reviews.
Miklos
--
| Jan 25, 9:10 am 2008 |
| Jan Kara | Re: [patch 25/26] mount options: fix udf
Please use just 'int' for 'remount' option. We are slowly trying to
get rid of these strange things in UDF code so adding new ones isn't
Otherwise (apart from comments I wrote in the other email) the patch
is fine.
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Jan 25, 8:30 am 2008 |
| Jan Kara | Re: [patch 25/26] mount options: fix udf
Hmm, given that options are modified by remount for some filesystems,
it's probably the best to display the effective state. So your code should
display the right thing as it is.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Jan 25, 9:07 am 2008 |
| Jan Kara | Re: [patch 25/26] mount options: fix udf
It's not so confusing but one really isn't used to it ;) But OK, I don't
mind that much...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Jan 25, 9:04 am 2008 |
| Cyrill Gorcunov | Re: [patch 25/26] mount options: fix udf
[Miklos Szeredi - Fri, Jan 25, 2008 at 10:29:21AM +0100]
| > | + /* is this correct? */
| > | + if (sbi->s_anchor[2] != 0)
| > | + seq_printf(seq, ",anchor=%u", sbi->s_anchor[2]);
| >
| > you know, I would prefer to use form UDF_SB_ANCHOR(sb)[2]
| > in sake of style unification but we should wait for Jan's
| > decision (i'm not the expert in this area ;)
|
| I think UDF_SB_ANCHOR macro was removed by some patch in -mm.
|
| I'm more interested if the second element of the s_anchor array ...
| Jan 25, 6:41 am 2008 |
| Miklos Szeredi | Re: [patch 25/26] mount options: fix udf
What's wrong with bool?
I'm not advocating mass replacements, but all new code _should_ use
it, because it's a very useful and good type.
We are just not very much used to it yet, but don't tell me it's
confusing to see a type like this ;)
Miklos
--
| Jan 25, 8:56 am 2008 |
| Cyrill Gorcunov | Re: [patch 25/26] mount options: fix udf
[Miklos Szeredi - Fri, Jan 25, 2008 at 04:50:15PM +0100]
| > > > | + /* is this correct? */
| > > > | + if (sbi->s_anchor[2] != 0)
| > > > | + seq_printf(seq, ",anchor=%u", sbi->s_anchor[2]);
| > > >
| > > > you know, I would prefer to use form UDF_SB_ANCHOR(sb)[2]
| > > > in sake of style unification but we should wait for Jan's
| > > > decision (i'm not the expert in this area ;)
| > >
| > > I think UDF_SB_ANCHOR macro was removed by some patch in -mm.
| > Yes, it's going to be removed ...
| Jan 25, 8:57 am 2008 |
| Miklos Szeredi | Re: [patch 21/26] mount options: partially fix nfs
OK, I usually add the condition for (value != default_value) to avoid
unnecessary clutter. But sure, there's no problem with showing the
OK.
Thanks,
Miklos
--
| Jan 25, 2:43 am 2008 |
| Chuck Lever | Re: [patch 21/26] mount options: partially fix nfs
Ah, OK.
I'm happy to implement logic to display the all missing options. I
should have updated nfs_show_mount_options() when I wrote the NFS
mount option parser.
For NFS, umount also needs to read some of the options in order to
determine how mountd is to connect to the server for the unmount.
(That's why we have addr= in the first place).
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
| Jan 25, 10:19 am 2008 |
| Miklos Szeredi | Re: [patch 21/26] mount options: partially fix nfs
All mount options should be shown, which are needed to reconstruct a
previous mount.
For example, if you copy options out from /proc/mount, umount the
filesystem, and then create a new mount with the copied options, you
should get the same mount.
So not only those options are interesting which are useful for
understanding steady state behavior.
The only options, which should not be shown, are those which have a
permanent effect at mount time, like journal creation, etc. And ...
| Jan 25, 2:39 am 2008 |
| Jan Kara | Re: [patch 18/26] mount options: fix isofs
Looks, fine.
Acked-by: Jan Kara <jack@suse.cz>
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Jan 25, 7:42 am 2008 |
| David Chinner | Re: [patch 01/26] mount options: add documentation
XFS has already been updated. The fix is in the XFs git tree that
Andrew picks up for -mm releases and will be merged in the 2.6.25-rc1
window. Commit is here:
http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=commit;h=8c33fb6ca99aa17373b...
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
--
| Jan 25, 12:56 am 2008 |
| Erez Zadok | Re: [patch 01/26] mount options: add documentation
Hi Miklos,
Where did you check for the existence of a ->show_options method for
unionfs? Unionfs does implement ->show_options and supports all of the
mount/remount options. See:
<http://git.kernel.org/?p=linux/kernel/git/ezk/unionfs.git;a=blob;f=fs/unionfs/super.c;h=986c980261a5b171147d66ac05bf08423e2fd6b6;hb=HEAD#l963>
The unionfs ->remount code supports branch-management options which can
add/del/change a branch, but we don't show those directly in ->show_options;
it makes more sense ...
| Jan 24, 5:24 pm 2008 |
| Miklos Szeredi | Re: [patch 01/26] mount options: add documentation
Sure. Sorry about that, I did actually look at unionfs, and it was
It is probably better not to use save_mount_options(). Especially,
since unionfs implemets a remount, that changes the tree only
partially AFAICS.
Miklos
--
| Jan 25, 3:02 am 2008 |
| Mingming Cao | Re: [patch 12/26] mount options: fix ext4
Added to ext4 patch queue. Thanks!
http://repo.or.cz/w/ext4-patch-queue.git
Mingming
--
| Jan 25, 10:35 am 2008 |
| Jan Kara | Re: [patch 12/26] mount options: fix ext4
I think this should go via ext4 patch queue... Besides that the patch
is fine. Mingming, will you pickup the patch?
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Jan 25, 7:37 am 2008 |
| Andreas Dilger | Re: [patch 12/26] mount options: fix ext4
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
| Jan 24, 11:41 pm 2008 |
| Miklos Szeredi | Re: [patch 10/26] mount options: fix devpts
Yeah, it's a matter of taste. I'll update the patch.
Actually, a lot of filesystems share the options 'uid=X', 'gid=X',
'mode=X' (or 'umask=X'). This could be handled by the VFS, saving
some code, and making things more consistent. One day maybe...
Thanks,
Miklos
--
| Jan 25, 2:24 am 2008 |
| Jan Kara | Re: [patch 11/26] mount options: fix ext2
Looks fine. Acked-by: Jan Kara <jack@suse.cz>
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
| Jan 25, 7:34 am 2008 |
| Karsten Keil | Re: [patch 09/26] mount options: fix capifs
--
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
| Jan 25, 3:18 am 2008 |
| Ian Kent | Re: [patch 06/26] mount options: fix autofs4
Acked-by Ian Kent <raven@themaw.net>
I haven't tested this yet but it is fairly straight forward.
I will check it out as soon as I get back to some work that I'm doing on
--
| Jan 24, 10:13 pm 2008 |
| Andreas Dilger | Re: [RFC] Parallelize IO for e2fsck
Having the notification be via poll() is a very restrictive processing
model. Having the notification be via a signal means that any kind of
process (and not just those that are event loop driven) can register
a callback at some arbitrary point in the code and be notified. I
don't object to the poll() interface, but it would be good to have a
signal mechanism also.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
| Jan 25, 4:09 am 2008 |
| Zan Lynx | Re: [RFC] Parallelize IO for e2fsck
Have y'all been following the /dev/mem_notify patches?
http://article.gmane.org/gmane.linux.kernel/628653
--=20
Zan Lynx <zlynx@acm.org>
| Jan 24, 5:25 pm 2008 |
| Kumar Gala | Re: [PATCHv3 7/7] [POWERPC] Move definition of buffer de ...
applied.
- k
--
| Jan 25, 8:56 am 2008 |
| Kumar Gala | Re: [PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and ...
Also, CC jgarizk since we will be touching netdev drivers. We've been
pushing such updates via the powerpc tree's but its good that Jeff's
aware.
- k
--
| Jan 25, 2:00 am 2008 |
| Jochen Friedrich | Re: [PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and ...
Yes. Here I just removed dead code (commented out using #ifdef on coldfire). Apparently the driver was
Oops, that one slipped through :-/.
Thanks,
Jochen
--
| Jan 25, 3:27 am 2008 |
| Kumar Gala | Re: [PATCHv3 0/7] [POWERPC] 8xx cleanups
I'm a bit concerned this patch is touching too many files.. or ones that
I'm assmuing this patch depends on the previous one.
- k
--
| Jan 25, 1:50 am 2008 |
| Aggrwal Poonam | RE: [PATCH UCC TDM 1/3 Updated] Platform changes for UCC ...
Hello Anton/Tabi
I am not sure which is the best place to configure the pins. Because
some drivers do it in one way and some in the other.
I actually tried to make the driver similar to ucc_geth because it is a
QE driver. The driver has no platform code in the platform files similar
to ucc_geth. It is probed along with all the QE devices thorugh
of_platform_bus_probe.
And the pins are configured for all the QE devices using par_io_init.
I thought this to be the most consistent way at that ...
| Jan 24, 9:09 pm 2008 |
| Willy Tarreau | Re: [PATCH] 2.4: fix memory corruption from misinterpret ...
OK, that doesn't matter that much. At least the patch makes sense and
your example shows why original code is wrong, so I will merge it. If
anybody had a problem with it, the code would be easily bisectable
(there are so few patches in 2.4) and it's easy to revert it.
Thanks to you both, Eric and Dann !
Willy
--
| Jan 24, 9:53 pm 2008 |
| Aggrwal Poonam | RE: [PATCH UCC TDM 3/3 ] Modified Documentation to expla ...
Hi Scott
The device tree already has a brg-frequency property in qe node which
is the value of BRGCLK. The function get_brg_clk uses this property to
find the value of BRGCLK.
In case this value is 0(some older u-boots populate bus-frequency
property of qe and not the brg-frequency), get_brg_clk uses
bus-frequency/2 as BRGCLK.
With Regards
Poonam
-----Original Message-----
From: Wood Scott
Sent: Friday, January 25, 2008 1:42 AM
To: Aggrwal Poonam
Cc: Gala Kumar; ...
| Jan 24, 8:58 pm 2008 |
| Scott Wood | Re: [PATCH UCC TDM 3/3 ] Modified Documentation to expla ...
Yes, I'm saying it belongs as brg/clock-frequency. :-)
CPM1/2 already do this.
-Scott
--
| Jan 25, 11:13 am 2008 |
| KOSAKI Motohiro | Re: [RFC][PATCH 3/8] mem_notify v5: introduce /dev/mem_n ...
Oh, that is very interesting issue.
tank you good point out.
after deep thinking, I understand my current implementation is fully stupid.
current, worst case is below.
1. low end
- many process of used only a bit memory(sh, cp etc..) exist.
- 1 memory eater process exist(may be, it is fat browser)
and it watching /dev/mem_notify.
2. high end
- many process of used only a bit memory(sh, cp etc..) exist.
- 1 memory eater process exist(may be, it is DB)
...
| Jan 24, 8:33 pm 2008 |
| Dave Young | Re: bluetooth : lockdep warning on rfcomm
Answer to myself, the reason is that lockdep think this as a lock order problem.
in rfcomm_device_add the lock order is :
rfcomm_dev_lock --> dlc lock
but in __rfcomm_dlc_close is :
--
| Jan 24, 10:37 pm 2008 |
| Roman Zippel | Re: [PATCH] correct inconsistent ntp interval/tick_lengt ...
Hi,
Let's look at why the correction is done in first place. The update steps
don't add up precisely to 1sec (LATCH*HZ != CLOCK_TICK_RATE), so a small
addjustment is used to make up for it. The problem here is that if the
update frequency changes, the addjustment isn't correct anymore.
The simple fix is to just omit the addjustment in these cases in ntp.c:
#if NTP_INTERVAL_FREQ == HZ
...
#else
#define CLOCK_TICK_ADJUST 0
#endif
bye, Roman
--
| Jan 25, 7:07 am 2008 |
| David Fries | Re: [PATCH] W1: w1_therm.c standardize units to millidegrees C
They aren't typically found on motherboards. With their long cable
length they are more commonly used for personal weather stations. The
guidelines list 750 meters as the longest distance signal wise, and
one example listed example 100 meters and 100 iButton devices as
possible.
The same one wire sensors are part of the OpenBSD equivalent sysctl
command to get hardware information and sensor data. I added support
for the ds18b20 sensor to OpenBSD. Interestingly they also had a bug
when ...
| Jan 24, 6:49 pm 2008 |
| Valdis.Kletnieks | Re: [resolved] kernel bug report 2.6.24-rc8 on core2quad ...
It's been quite some time since I've gone the "run memtest for 24 hours" route.
However, I still recommend that for odd cases, you let memtest make *one* cycle
through its tests - that's only an hour-ish, and if it hits something, then
you *know* you have some hardware issues to deal with.
| Jan 25, 10:20 am 2008 |
| Lennart Sorensen | Re: [resolved] kernel bug report 2.6.24-rc8 on core2quad ...
Often removing half the ram, running a kernel compile, see if it
segfaults, then repeat with the other half of ram is much faster and
more reliable than memtest. memtest just doesn't have the same random
accesses while keeping the cpu underload as a kernel compile does.
Personally I just don't bother with memtest anymore. The only thing it
tells you is that you have errors or that you might have errors but it
didn't find them. It never tells you that you do not have errors and it
often ...
| Jan 25, 7:25 am 2008 |
| Tobias Winter | Re: [resolved] kernel bug report 2.6.24-rc8 on core2quad ...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Did so. After quite some time memtest found errors. Switching the
module in question resolved the issue. Thanks for the great feedback :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmbcyZhAcjSIb10ERCr6tAJ0WHLhkWo3ECzU3bTAc7s12AFCMAACfeBJA
edFGWUEOx6cGyA6JzUBzKjE=
=o91U
-----END PGP SIGNATURE-----
--
| Jan 25, 3:17 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH UPDATE] x86: ignore spurious faults
The usermode fault handler already effectively does this; this patch
just does it for kernel mode as well. I don't know if mprotect takes
Not valgrind (it doesn't rely on mmap protections), but electric fence
perhaps.
J
--
| Jan 25, 8:54 am 2008 |
| Ingo Molnar | Re: [PATCH UPDATE] x86: ignore spurious faults
thanks, applied.
it would be nice to expose this ability of the architecture to the core
Linux kernel mprotect code as well, and let it skip on a TLB flush when
doing a RO->RW transition. It could speed up valgrind and the other
mprotect() users i guess? [and UML too perhaps]
Ingo
--
| Jan 25, 8:30 am 2008 |
| Andi Kleen | Re: [PATCH UPDATE] x86: ignore spurious faults
How do you define dynamically-allocated data?
-Andi
--
| Jan 25, 3:19 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH UPDATE] x86: ignore spurious faults
Well, I guess this isn't really specific to x86; we could always
legitimately not do a tlb flush after increasing permissions and leave
the fault handler to clean up the mess where needed. But I don't think
that's necessarily much of a win; it's cheaper to just do the tlb flush
rather than take a spurious fault, unless the faults are very rare. If
someone is doing an mprotect on a piece of memory (esp to make it
writable), my guess is that they're going to touch that memory in the
very ...
| Jan 25, 11:39 am 2008 |
| Andi Kleen | Re: [PATCH UPDATE] x86: ignore spurious faults
NMI is blocked by the hardware until IRET and when a page fault happens inside
the NMI handler the early IRET unblocks it and then NMIs can nest, which
will lead to stack corruption.
-Andi
--
| Jan 25, 2:11 am 2008 |
| Andi Kleen | Re: [PATCH UPDATE] x86: ignore spurious faults
For PV kernels it would probably be better to just implement a truly
nesting NMI trigger method instead of the one bit state of the real hardware.
Actually I'm not sure NMIs are really that useful for guests. Most things
done traditionally by NMIs are probably better done outside the guest
in a virtualized environment.
-Andi
--
| Jan 25, 2:51 am 2008 |
| Ingo Molnar | Re: [PATCH UPDATE] x86: ignore spurious faults
spurious faults happen all the time on SMP, in the native kernel.
And what i mean is that Linux mprotect currently does not take advantage
of x86's ability to just change the ptes, because there's no structured
way to tell mm/mprotect.c that "it's safe to skip the TLB flush here".
The flush happens in mm/mprotect.c's change_protection() function:
flush_tlb_range(vma, start, end);
and that is unnecessary when we increase the protection rights, such as
in a RO->RW change. ...
| Jan 25, 11:08 am 2008 |
| Keir Fraser | Re: [PATCH UPDATE] x86: ignore spurious faults
Yes, write access with a r/o TLB entry causes the TLB entry to be flushed
and an immediate #PF with no page walk. This is a hardware optimisation for
copy-on-write demand faults. Both Intel and AMD implement it.
-- Keir
--
| Jan 25, 12:36 am 2008 |
| Jan Beulich | Re: [PATCH UPDATE] x86: ignore spurious faults
Actually, another thought: permitting (and handling) spurious faults for
kernel mappings conflicts with NMI handling, i.e. great care would be
needed to ensure the NMI path cannot touch any such mapping. So
even the present Xen/Linux Dom0 implementation may have some
(perhaps unlikely) problems here, and it would get worse if we added
e.g. a virtual watchdog NMI (something I am considering, which would
then extend the problem to DomU-s).
Jan
--
| Jan 25, 1:15 am 2008 |
| Keir Fraser | Re: [PATCH UPDATE] x86: ignore spurious faults
Whether this a problem in light of Xen spurious faults depends on whether
NMI handlers touch dynamically-allocated data. And if they do, it still
depends on the exact scenario. If it is likely to be a problem, a Xen pv_op
can flush the TLB on NMI entry, or we could have Xen do that implicitly
before invoking the guest NMI handler.
Currently Xen guests do not use NMI for watchdog or oprofile, so that rather
limits the scope for problems.
-- Keir
--
| Jan 25, 2:18 am 2008 |
| Jan Beulich | Re: [PATCH UPDATE] x86: ignore spurious faults
In the same way as vmalloc faults do (which is why vmalloc_sync_all()
got introduced): a page fault nested inside an NMI will, by virtue of
executing IRET, prematurely tell the processor that NMI handling is
done (and specifically unmask further NMIs).
Jan
--
| Jan 25, 2:18 am 2008 |
| Nick Piggin | Re: [PATCH UPDATE] x86: ignore spurious faults
Can you explain how they conflict?
Thanks,
Nick
--
| Jan 25, 1:38 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH UPDATE] x86: ignore spurious faults
My understanding is that it will fault immediately if there's a TLB
entry, and rewalk the tables on return from the fault before restarting
the instruction, so there's no need for an explicit TLB flush. The TLB
doesn't have a notion of negative cache entries, so any entry represents
a present page of some variety.
J
--
| Jan 24, 5:26 pm 2008 |
| Keir Fraser | Re: [PATCH UPDATE] x86: ignore spurious faults
Anything that could have been a read-only pte or ldt page in a previous life
with no intervening TLB flush. So get_free_page(), kmalloc(), vmalloc(), ...
Actually I think we are fine, now I think about it some more, because we
only clear the software NMI-in-flight flag if the guest executes IRET via
the hypervisor. Most Xen Linux guests only do IRET via the hypervisor when
the current context is an NMI handler (additionally x86_64 also does so when
returning to ring 3). Most importantly for ...
| Jan 25, 6:17 am 2008 |
| Erez Zadok | Re: [PATCH] Fix procfs task exe symlink
Unionfs resolved this by fully implementing the address_space ops, as well
as ->mmap (i.e., one cannot "cheat" and inherit the lower address_space).
Erez.
--
| Jan 24, 5:09 pm 2008 |
| Mark Fasheh | Re: [PATCH RESEND] Handle i_size > s_maxbytes correctly
This reply comes a bit late, sorry about that.
Yeah, as you noted, there's problems with that approach. The first is that
we don't control when a 32 bit node mounts the file system. Communicating it
over the network wouldn't help because information communicated over the
network is transient and will be lost when all nodes unmount, whereas
maximun i_size for a volume is the type of thing which needs to be
permanent. Putting a "max i_size" field in the superblock is one way to
ensure that we ...
| Jan 25, 4:39 pm 2008 |
| Jan Kara | Re: [PATCH RESEND] Minimal fix for private_list handling races
OK, I'll believe you ;) I was never completely sure what all can happen
Yes, that was actually the reason why I changed the checks from
list_empty() to b_assoc_map testing. Well, so I'll add the barrier and
maybe also change these list_empty() checks to b_assoc_map tests...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Jan 25, 11:16 am 2008 |
| Nick Piggin | Re: [PATCH RESEND] Minimal fix for private_list handling races
Yeah, that's fair enough I suppose. I wasn't thinking you'd have a
huge newly dirtied file, but it could happen. I don't want to cause
Sure, I think there is still a data race though, but if there is one
it's already been there for a long time and nobody cares too much about
In existing code:
mark_buffer_dirty_inode(): fsync_buffers_list():
test_set_buffer_dirty(bh); list_del_init(&bh->b_assoc_buffers);
if (list_empty(&bh->b_assoc_buffers)) if ...
| Jan 25, 1:34 am 2008 |
| YAMAMOTO Takashi | Re: [dm-devel] [PATCH 0/2] dm-band: The I/O bandwidth co ...
the current implementation of memory subsystem associates pages to
cgroups directly, rather than via tasks. so it isn't straightforward to
use the information for other classification mechanisms like yours which
might not share the view of "hierarchy" with the memory subsystem.
--
| Jan 24, 11:26 pm 2008 |
| Ryo Tsuruta | dm-band: The I/O bandwidth controller: Performance Report
Hi,
Now I report the result of dm-band bandwidth control test I did yesterday.
I've got really good results that dm-band works as I expected. I made
several band-groups on several disk partitions and gave them heavy I/O loads.
Hardware Spec.
==============
DELL Dimention E521:
Linux kappa.local.valinux.co.jp 2.6.23.14 #1 SMP
Thu Jan 24 17:24:59 JST 2008 i686 athlon i386 GNU/Linux
Detected 2004.217 MHz processor.
CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping ...
| Jan 25, 12:07 am 2008 |
| Christoph Lameter | Re: [RFC] some page can't be migrated
So this is an abandoned page with a refcount that only exists because of
fs private data? Truncate race?
--
| Jan 24, 8:12 pm 2008 |
| Christoph Lameter | Re: [RFC] some page can't be migrated
Acked-by: Christoph Lameter <clameter@sgi.com>
Nick? Ok with you too?
--
| Jan 24, 9:01 pm 2008 |
| Nick Piggin | Re: [RFC] some page can't be migrated
Yeah, for memory hot remove that makes sense. A comment
might be in order, at least a reference to the orphaned
page code in vmscan.c.
Otherwise, it is OK by me.
Acked-by: Nick Piggin <npiggin@suse.de>
--
| Jan 24, 9:17 pm 2008 |
| Christoph Lameter | Re: [RFC] some page can't be migrated
Is this maybe related to memory unplug or some such project?
--
| Jan 24, 8:09 pm 2008 |
| Shaohua Li | Re: [RFC] some page can't be migrated
truncate_complete_page could fail to remove fs private data, this is the
comments say.
Thanks,
Shaohua
--
| Jan 24, 8:18 pm 2008 |
| Nick Piggin | Re: [RFC] some page can't be migrated
Ah, I see. I think we should use orphaned (or anything except
anonymous) to describe these pages.
--
| Jan 24, 10:20 pm 2008 |
| Shaohua Li | Re: [RFC] some page can't be migrated
yes, maybe, but the comments in truncate_complete_page called the page
the page is still in lru list. Memory hot remove will try to migrate the
page.
Thanks,
--
| Jan 24, 8:09 pm 2008 |
| Shaohua Li | Re: [RFC] some page can't be migrated
Orphaned page might have fs-private metadata, the page is truncated. As
the page hasn't mapping, page migration refuse to migrate the page. It
appears the page is only freed in page reclaim and if zone watermark is
low, the page is never freed, as a result migration always fail. I
thought we could free the metadata so such page can be freed in
migration and make migration more reliable.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Acked-by: ...
| Jan 24, 11:03 pm 2008 |
| Shaohua Li | Re: [RFC] some page can't be migrated
Ok, changed.
Orphaned page might have fs-private metadata, the page is truncated. As
the page hasn't mapping, page migration refuse to migrate the page. It
appears the page is only freed in page reclaim and if zone watermark is
low, the page is never freed, as a result migration always fail. I
thought we could free the metadata so such page can be freed in
migration and make migration more reliable.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
diff --git a/mm/migrate.c ...
| Jan 24, 8:59 pm 2008 |
| Christoph Lameter | Re: [RFC] some page can't be migrated
Right. The surrounding comments in mm/migrate.c also need to be made
consistent. The comment before is now slightly off. Could you do another
patch Shaohua with better comments?
--
| Jan 24, 9:42 pm 2008 |
| Nick Piggin | Re: [RFC] some page can't be migrated
Anonymous pages should not have fs-private metadata.
Orphaned pages I guess you mean? They should not be accessable via
the pagecache or the page tables, so how do they keep tangling up
--
| Jan 24, 8:03 pm 2008 |
| Christoph Lameter | Re: [RFC] some page can't be migrated
Well maybe you should change the comment to refer to an orphaned page.
That is what Nick used. Also change the comment in truncate_complete_page.
Anonymous page is confusing here because you check that it is *not* an
Could you move that into the corner case handling that follows?
So it would be something like
if (!page->mapping) {
if (!PageAnon(page) && PagePrivate(page))
try_to_relase_page(page, GFP_KERNEL);
goto rcu_unlock;
}
?
--
| Jan 24, 8:37 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 0/3] percpu: Optimize percpu accesses
I can reproduce under qemu, which means you can attach gdb to it. I'll
see if it happens to a Xen guest too.
J
--
| Jan 24, 6:18 pm 2008 |
| Ingo Molnar | Re: [PATCH 0/3] percpu: Optimize percpu accesses
no, that build error was in patch #2, and your later patch made it
possible for me to bisect down to that point. #1 failed differently.
(and not in module.c - dont remember the details - let me know if you
cannot reproduce - the hang in #2 was the more significant bug.) The
hang gave no messages on the earlyprintk serial console.
Ingo
--
| Jan 24, 5:25 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH 0/3] percpu: Optimize percpu accesses
Hm, on the other hand, maybe I'm not reproducing this - looks more like
a problem with mtrr trimming...
J
--
| Jan 24, 6:46 pm 2008 |
| Mike Travis | Re: [PATCH 0/3] percpu: Optimize percpu accesses
I may need them then. I updated to your latest available git tree
and applied the patchset I sent and I got this build error:
kernel/module.c:345: error: expected identifier or '(' before 'char'
kernel/module.c:345: error: expected ')' before numeric constant
With the fixup patch, all my test configs (and your config) build cleanly.
The hang though, I'm getting as well and am debugging it now (alibi
slowly since it's happening so early. Too bad grub doesn't have kdb
in it... ...
| Jan 24, 5:58 pm 2008 |
| Mike Travis | Re: [PATCH 0/3] percpu: Optimize percpu accesses
The build error was fixed with the note I sent to you yesterday with a
"fixup" patch for changes in -mm but not in x86.git (attached).
I'll try out your config next.
Thanks,
Mike
| Jan 24, 5:17 pm 2008 |
| Randy Dunlap | Re: [PATCH -v8 4/4] The design document for memory-mappe ...
Hi Anton,
Thanks for the design document.
---
~Randy
--
| Jan 25, 9:27 am 2008 |
| Anton Salikhmetov | Jan 25, 9:40 am 2008 | |
| WANG Cong | Re: Incorrect filename comments in arch/x86/boot
Hmm, arch/i386/boot/ is an empty dir. Why not remove it?
Only used to put bzImage? Why not choose another dir?
Maybe arch/x86/boot/, I think. ;)
--
| Jan 25, 3:04 am 2008 |
| Oliver Neukum | Re: [PATCH] Missing usb_find_device symbol from usb.c
All looks sane.
Regards
Oliver
--
| Jan 25, 1:58 am 2008 |
| Jan Engelhardt | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
Forceloading should be reserved for developers who know
when a symversion change is safe (which is rare in itself,
but still).
--
| Jan 25, 9:01 am 2008 |
| Rusty Russell | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
My attitude to this is simple: who cares about proprietary modules?
The current test is wrong, it should be checking for forced module loads
(which may not have marker information and may well crash the kernel). Of
course, all forced module loads can crash the kernel, but this is pretty
certain and it's simply to avoid.
We should just flat-out refuse to load a module with a module section too
small. That will cover the majority of this case anyway (*and* the
non-kallsysms case), and ...
| Jan 24, 6:27 pm 2008 |
| Jan Engelhardt | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
Tackling this from a different angle:
I do not think there is a real reason to forceload a module, even
those with proprietary origin (vmware) or that are of
partially-closed nature (nvidia). vmware source is fully available,
so can be compiled with proper modinfo/vermagic/markers; nvidia uses
a build system trick to include an .o blob, but eventually its .ko
also ends up with a correct modinfo/vermagic.
Forceload is for people which like to trade an unstable system for
So what is ...
| Jan 25, 12:56 am 2008 |
| Valdis.Kletnieks | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
The person who solves the "even if in X" problem will probably be nominated
for sainthood by the Linux community. "It just hung with flashing LED's" is
just too common an event....
| Jan 25, 1:03 am 2008 |
| Alan Cox | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
On Fri, 25 Jan 2008 03:03:03 -0500
I've been poking at it a bit but it will need X server help, or
eventually the kernel mode switch code.
Alan
--
| Jan 25, 9:32 am 2008 |
| Jon Masters | Re: [PATCH] Linux Kernel Markers Support for Proprierary ...
The former is actually trivially doable with the module->taints bits. We
could have the equivalent of a neon flashing "blame this module" sign.
I also agree, we should stop force loading. Incompatible struct module,
etc. are really bad things to have mapped into a running kernel.
Jon.
--
| Jan 25, 8:31 am 2008 |
| Junio C Hamano | Re: [PATCH] Convert ext4_ioctl to an unlocked_ioctl
Wasn't the purpose of this whole exercise to eventually allow
them to be outside BKL? IOW, don't you want to drop this
comment for the .unlocked_ioctl member of this struct?
--
| Jan 24, 11:35 pm 2008 |
| Dave Young | Jan 24, 6:27 pm 2008 | |
| Dave Young | Jan 24, 6:30 pm 2008 | |
| Matthias Wolle | Re: LowFree/LowMem problem
The kernel from 17th Jan 2008 didn't have CONFIG_HIGHPTE enabled. Yesterday we
checked a 2.6.23.14 kernel with CONFIG_HIGHPTE enabled. The 4GB test machine
showed the same fast low memory reducing effect. LowFree stopped at 400MB
like without CONFIG_HIGHPTE. A 2GB machine had a limit of 690MB LowFree. The
difference of LowTotal and LowFree is shown as used memory. In case of the
4GB machine, this means I have 400MB used memory which is not related to any
process.
I hope this helps. I ...
| Jan 24, 6:45 pm 2008 |
| Eric W. Biederman | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
[Empty message]
| Jan 24, 7:56 pm 2008 |
| Pavel Machek | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
ACK... and BTW ack for that deferred device removal series.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 25, 3:11 pm 2008 |
| H. Peter Anvin | Jan 24, 6:08 pm 2008 | |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Yeah, I'm aware of this particular piece of Xen braindamage, and
although I had some very unkind words to say about it, it mirrors what
we have to do for the !PAE case anyway, so it can be sort of glossed over.
-hpa
--
| Jan 24, 5:02 pm 2008 |
| Eric W. Biederman | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Good. Then this case gets easy.
We just need a pgd that has pgd entries that duplicate the kernel pgd entries
at both address 0 and at the normal kernel address.
In 64bit mode we make this part of the trampoline because we need a pgt below
4G so that we can point a 32bit %cr3 value at it. We can either use that
technique for the 32bit kernel (and be consistent) or we can have a single
trampoline/wakeup pgd that we use. As all pgd entries must be below 4G in
32bit mode.
Although if we ...
| Jan 25, 4:07 am 2008 |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
No, if Xen wasn't an issue there wouldn't be anything to do for the PAE
case at all (since the PGD is trivial.)
Copying PMDs is more or less an analogous case of the !PAE case, once
the allocation is already done. The allocation should be trivial
As much as I'd rather see Xen fixing this than having it continue to
impact the kernel, I presume it will take some time to flush the broken
hypervisors out?
-hpa
--
| Jan 24, 5:15 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
So the background to this... we need an identity map to trampoline at
early boot, obviously, but we'd like it to not stick around more than
necessary. We have zap_low_mappings() now but it's not really sufficient.
Secondary SMP processors need these mappings during trampolining --
presumably including CPU hotplug -- and I'm suspecting it might simply
make sense to use a separate set of page tables (with both the identity
and the kernel map) for trampolining and just keep them around. ...
| Jan 24, 5:27 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Oh, that makes that option much more viable and probably preferrable.
-hpa
--
| Jan 24, 5:37 pm 2008 |
| Rafael J. Wysocki | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Speaking of cleanups, the following one is applicable IMO.
Greetings,
Rafael
---
arch/x86/mm/init_32.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6/arch/x86/mm/init_32.c
===================================================================
--- linux-2.6.orig/arch/x86/mm/init_32.c
+++ linux-2.6/arch/x86/mm/init_32.c
@@ -444,23 +444,23 @@ static void __init pagetable_init (void)
paravirt_pagetable_setup_done(pgd_base);
}
-#if ...
| Jan 25, 3:02 pm 2008 |
| Eric W. Biederman | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
We already do this on the 64bit side. We reuse the kernel and the
identity parts from the core kernel page tables but it is actually
a distinct page table.
x86_64 has not had the identity mappings mapped in any of the
normal page tables since the relocatable kernel support was merged
a while ago.
Only on the 32bit side does this still remain an issue. I don't know
if what we can do optimization wise there. Emulating the 64bit code
and having a dedicated top level pgd (as part of the ...
| Jan 24, 7:16 pm 2008 |
| Rafael J. Wysocki | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
For clarity, are you referring to the code in arch/x86/kernel/acpi ?
Rafael
--
| Jan 24, 5:46 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
I think we're in vehement agreement here. In either case, its just a
matter of something like:
memcpy(pgd, &pgd[USER_PTRS_PER_PGD], sizeof(pgd_t) * KERNEL_PTRS_PER_PGD);
Sorry, I was unclear. I meant in the purely Xen-specific parts of the
kernel (arch/x86/xen). It wouldn't require a hypervisor change.
J
--
| Jan 24, 5:31 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Sort of. If Xen weren't an issue, then both cases are a matter of
copying a set of entries from one place in the pgd to another.
It would be easy enough to add some code on xen side to look for pmd
aliases when using/pinning a pagetable, and allocate'n'copy a new pmd
page as needed. That way the core code can ignore the issue.
J
--
| Jan 24, 5:11 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
That's pretty much what I figure. The one issue is that on non-PAE
32-bit (or if we actually have to deal with unsharable PMDs on PAE
kernels) then the PGD (PMD) kernel mappings at least formally should
really be put in sync. This could be done either by the same code which
keeps the PGDs of various processes in sync already or on demand; I
believe my personal preference would be to have all that in the same
place, since we have to do it anyway, and this is nothing different
except for ...
| Jan 24, 7:25 pm 2008 |
| Pavel Machek | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
That would enable some cleanups, yes.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 25, 12:49 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Indeed. The alias mapping can be set up in
Quite so.
J
--
| Jan 24, 9:41 pm 2008 |
| Pavel Machek | Re: [PATCH] x86: Construct 32 bit boot time page tables ...
Yes, I think so, I believe we do it on both 32 and 64 bit now.
(It is early here. And I almost got the .c wakeup code to work... it
already sets the mode).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 24, 5:20 pm 2008 |
| David Newall | Re: [PATCH for mm] Remove iBCS support
Pavel is trolling. He is using an emotional attack in an attempt to
thwart discussion. I take his advice. I feed him not.
--
| Jan 24, 7:17 pm 2008 |
| Alan Cox | Re: [PATCH for mm] Remove iBCS support
And whoever does the work can put the code back. It's not a big deal. So
- get it sorted, polished and as I said before - send patches -. The
amount of time you've spent making mailing list noise should have been
sufficient to do the code instead.
--
| Jan 25, 9:40 am 2008 |
| Ingo Molnar | Re: [PATCH for mm] Remove iBCS support
thanks Andi, i have applied your cleanup patch to x86.git a couple of
days ago and it (no surprise) caused no testing problems so far. (I dont
think we need to backport this cleanup to v2.6.24.1, as iBCS2 support
was never present in any upstream Linux kernel anyway)
Ingo
--
| Jan 25, 5:17 am 2008 |
| Valdis.Kletnieks | Re: [PATCH for mm] Remove iBCS support
Well, if the 2.4 version hasn't been ported by 2.6.24, maybe we'll check
back in *another* 4 years when we're up to 2.6.48. There's a limit to
how much "eventually" we should drag along.
We (especially Adrian) remove stuff from the kernel *all the time* with the
notation "If anybody wants to get this hook back, it's easy enough to re-add it
when an actual user shows up". I don't see why iBCS should be treated any
differently.
| Jan 24, 10:12 pm 2008 |
| David Newall | Re: [PATCH for mm] Remove iBCS support
They are when in a tight loop, but are trivial in this case. I'll go
further and say that unless the system is constantly execing, there will
always be a cache miss, and that removing this code will not improve
that at all.
--
| Jan 24, 7:16 pm 2008 |
| David Newall | Re: [PATCH for mm] Remove iBCS support
The benefit is not zero. Repeating myself: While the code is there, it
encourages either removal or repair. If the option to remove is taken
You want to remove the code so you attack me. Sadly for you, your
personal taste is irrelevant to the benefit that I bring. What kind of
a person considers robust debate to be a waste of time? A bit
I'm comfortable with that. I'm also comfortable that consensus might go
Are you claiming that it never did? Is that even important? Clearly
there ...
| Jan 24, 7:14 pm 2008 |
| Li, Shaohua | RE: [PATCH]PCIE ASPM support - takes 3
Haven't accurate number, but in one device, it declaims L0s latency is <
128ns, L1 latency is < 64us.
Thanks,
Shaohua
--
| Jan 25, 1:01 am 2008 |
| gregkh | patch pci-pcie-aspm-support.patch added to gregkh-2.6 tree
This is a note to let you know that I've just added the patch titled
Subject: PCI: PCIE ASPM support
to my gregkh-2.6 tree. Its filename is
pci-pcie-aspm-support.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
From shaohua.li@intel.com Fri Jan 25 10:10:52 2008
From: Shaohua Li <shaohua.li@intel.com>
Date: Thu, 24 Jan 2008 10:21:57 +0800
Subject: PCI: PCIE ASPM support
To: Greg KH <greg@kroah.com>
Cc: lkml ...
| Jan 25, 3:41 pm 2008 |
| Ralf Baechle | Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspe ...
The main linux-mips git tree is derived of Linus' kernel.org tree and
I usually update it daily. Patch scheduled for the next kernel release or
later go into a special tree from which akpm pulls. For significant
patch submissions that means patches should be generated either against
the linux-queue tree from linux-mips.org (which only contains the MIPS
specific stuff) or possibly akpm's -mm tree.
Ralf
--
| Jan 25, 9:09 am 2008 |
| Kamalesh Babulal | Re: 2.6.24 Kernel oops will running kernbench regression ...
Hi Paul,
This kernel oops in seen in 2.6.24-rc8-git(2,3,4,5,7,8) and the 2.6.24.
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=32 NUMA pSeries
Modules linked in:
NIP: 0000000000004570 LR: 000000001030e594 CTR: 000000001012ddd0
REGS: c000000771f9f8c0 TRAP: 0300 Not tainted (2.6.24-autotest)
MSR: 8000000000001000 <ME> CR: 28000482 XER: 20000000
DAR: c000000771f9fce0, DSISR: 000000000a000000
TASK = c00000077b9c6000[19197] 'cc1' THREAD: c000000771f9c000 CPU: 2
GPR00: ...
| Jan 24, 11:05 pm 2008 |
| Takashi Iwai | Re: 2.6.24-rc8-mm1: old sparc64 bug
At Fri, 25 Jan 2008 01:04:34 +0100,
This looks similar like a bug I fixed ago. Damn, it's still there.
Could you build with CONFIG_SND_DEBUG=y ? It addas some sanity checks
and might catch the fatal condition.
thanks,
Takashi
--
| Jan 25, 10:11 am 2008 |
| Mariusz Kozlowski | Re: 2.6.24-rc8-mm1: old sparc64 bug
Hello,
I was digging through the gentoo bugzilla and found this:
http://bugs.gentoo.org/show_bug.cgi?id=141823
As you see this bug is present since at least 2.6.17. I can reproduce
that here on my hardware with 2.6.24-rc8-mm1. All you need to do is install
mp3blaster on sparc64, run:
$ mp3blaster some_mp3_file.mp3
and stop it by pressing ctrl-c. It oopses when you stop it. It doesn't happen
every time but it'll oops in a few tries.
This is my trace:
Unable to handle kernel ...
| Jan 24, 5:04 pm 2008 |
| Mariusz Kozlowski | Re: 2.6.24-rc8-mm1: old sparc64 bug
Done. I don't think it changed much though :-/ If you have any other ideas please
let me know.
Unable to handle kernel paging request at virtual address 0000000100024000
tsk->{mm,active_mm}->context = 0000000000000dac
tsk->{mm,active_mm}->pgd = fffff800bdb64000
\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/
mp3blaster(3201): Oops [#1]
TSTATE: 0000000080009600 TPC: 000000000056a294 TNPC: 000000000056a298 Y: 00000000 Not ...
| Jan 25, 11:34 am 2008 |
| Torsten Kaiser | Re: 2.6.24-rc8-mm1
I'm still seeing my mystery-crash that I had since 2.6.24-rc3-mm2.
The crashed kernel was 2.6.24-rc8-mm1 with the following patches:
* personal fix for the "do_md_run returned -22"-problem
I'm just moving the analyze_sbs(mddev); above the test.
* git-sched-fix-bug_on.patch
* hotfix-libata-scsi-corruption.patch
The crash (captured via serial console):
Jan 25 21:40:01 treogen cron[6553]: (root) CMD (test -x
/usr/sbin/run-crons && /usr/sbin/run-crons )
Jan 25 20:40:44 treogen ...
| Jan 25, 2:59 pm 2008 |
| Zhang Rui | Re: [PATCH 9/10] introduce intel_menlow platform specifi ...
Yes, please review the refreshed patches.
From: Thomas Sujith <sujith.thomas@intel.com>
Intel menlow platform specific driver for thermal management extension.
Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/misc/Kconfig | 9
drivers/misc/Makefile | 1
drivers/misc/intel_menlow.c | 526 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 536 insertions(+)
Index: ...
| Jan 24, 8:45 pm 2008 |
| Avi Kivity | Re: [kvm-devel] [PATCH] export notifier #1
The reason the new field is needed is because the Linux mm does not
understand the secondary pte format and zapping protocol. Locating the
secondary ptes is just a part of the problem.
--
Any sufficiently difficult bug is indistinguishable from a feature.
--
| Jan 24, 11:35 pm 2008 |
| Nathan Lynch | Re: [2.6.24-rc6-mm1]Build failure in drivers/net/ehea/eh ...
This is now broken in mainline...
drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_add':
drivers/net/ehea/ehea_main.c:2812: error: 'struct device_driver' has
no member named 'kobj'
drivers/net/ehea/ehea_main.c:2815: error: 'struct device_driver' has
no member named 'kobj'
drivers/net/ehea/ehea_main.c:2818: error: 'struct device_driver' has
no member named 'kobj'
drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_remove':
drivers/net/ehea/ehea_main.c:2830: error: ...
| Jan 25, 12:10 pm 2008 |
| Alex Dubov | [PATCH] [MEMSTICK] Updates for the memstick driver
* Mark shared inline functions as static
* Use member-at-a-time assignment for protocol structures
* Comments for publicly exported functions
* Use end_queued_request to end unhandled block layer requests
* Use sysfs attribute group to export MSPro attributes
* Fix includes
* Use scnprintf instead of snprintf where string length matters
* Remove spurious get_device/put_device in probe method
diff --git a/drivers/memstick/core/memstick.c b/drivers/memstick/core/memstick.c
index ...
| Jan 25, 12:58 am 2008 |
| Chris Snook | Re: [PATCH 09/26] atl1: refactor tx processing
This satisfies me.
--
| Jan 24, 6:08 pm 2008 |
| Jeff Garzik | Re: [PATCH 09/26] atl1: refactor tx processing
Yep, better.
Jeff
--
| Jan 24, 8:01 pm 2008 |
| Jay Cliburn | Re: [PATCH 09/26] atl1: refactor tx processing
On Tue, 22 Jan 2008 18:31:09 -0600
Is this one any better?
From df475e2eea401f9dc18ca23dab538b99fb9e710c Mon Sep 17 00:00:00 2001
From: Jay Cliburn <jacliburn@bellsouth.net>
Date: Wed, 23 Jan 2008 21:36:36 -0600
Subject: [PATCH] atl1: simplify tx packet descriptor
The transmit packet descriptor consists of four 32-bit words, with word 3
upper bits overloaded depending upon the condition of its bits 3 and 4.
The driver currently duplicates all word 2 and some word 3 register ...
| Jan 24, 6:00 pm 2008 |
| Jan Kara | Re: lockdep warning with LTP dio test (v2.6.24-rc6-125-g ...
Hmm, I've looked at it and I don't think so - look at the rationale in
the patch below... That patch should fix the lock-inversion problem (at
least I see no lockdep warnings on my test machine).
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
---
We cannot start transaction in ext3_direct_IO() and just let it last during the
whole write because dio_get_page() acquires mmap_sem which ranks above
transaction start (e.g. because we have dependency ...
| Jan 25, 9:09 am 2008 |
| Chris Mason | Re: lockdep warning with LTP dio test (v2.6.24-rc6-125-g ...
Ah ok, when I was looking at this I was allowing holes to get filled without
falling back to buffered. But, with the orphan inode entry protecting things
I see how you're safe with this patch.
-chris
--
| Jan 25, 9:16 am 2008 |
| Torsten Kaiser | Re: 2.6.24-rc6-mm1
Sorry for the *really* late answer, but I did not have any time to do
linux things the last weeks. :-(
Until my last mail from 7. Jan this was true, that I was not able to
crash 2.6.24-rc6-mm1 with above patch.
But after testing 2.6.24-rc7 with only the IOMMU changes applied it
did crash once again.
After looking at the patch that seems rather expected as it only
touches powerpc code.
(I only looked at its diffstat after testing it, so I was not aware of
The resulting 2.6.24-rc7 ...
| Jan 25, 2:06 pm 2008 |
| James Bottomley | Re: INITIO scsi driver fails to work properly
Actually, I suspect your issues should be fixed by this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e2d435ea40...
Could you download 2.6.24 and try it out to see if they are?
Thanks,
James
--
| Jan 25, 9:49 am 2008 |
| Filippos Papadopoulos | Re: INITIO scsi driver fails to work properly
Well, 2.6.24 fixes the problem.
Thanks to all of you!
--
| Jan 25, 2:04 pm 2008 |
| Zhenyu Wang | Re: [agp-mm][PATCH 1/4][intel_iommu] explicit export cur ...
Mark, sorry for missing this for long time...
This is used for our graphics driver module to know if we have to
do dma remapping in iommu case, both in kernel config and kernel
boot time param config.
The simplest case is that DMAR_GFX_WA is on, which no dma mapping
will act in intel_agp.
If no DMAR_GFX_WA, we still have boot param to turn off whole intel
iommu (intel_iommu=off), just turn off graphics remap engine
(intel_iommu=igfx_off). So this exported interface is used to ...
| Jan 24, 8:02 pm 2008 |
| mark gross | Re: [agp-mm][PATCH 1/4][intel_iommu] explicit export cur ...
oops, I missed that how about something like
if (swiotlb || no_iommu || iommu_detected || dmar_disabled) {
dmar_disabled = 1;
return;
}
send me your current patch and eta for the graphics module patches so I
can better coordinate with you.
--mgross
--
| Jan 25, 11:08 am 2008 |
| Udo van den Heuvel | Re: enable dual rng on VIA C7
Works for me.
Did anyone else have a look?
--
| Jan 25, 12:03 pm 2008 |
| Stefan Richter | Re: [PATCH 4/4 update] firewire: fw-core: react on bus r ...
Thanks. I already pushed to linux1394-2.6.git but I will add your
sign-off before I ask Linus to pull.
--
Stefan Richter
-=====-==--- ---= ==--=
http://arcgraph.de/sr/
--
| Jan 25, 10:21 am 2008 |
| Stefan Richter | Re: [PATCH 3/4] firewire: enforce access order between g ...
Also forgot to #include <asm/system.h> in some of the files. Here is
the final product, for the record.
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
Subject: firewire: enforce access order between generation and node ID, fix "giving up on config rom"
fw_device.node_id and fw_device.generation are accessed without mutexes.
We have to ensure that all readers will get to see node_id updates
before generation updates.
Fixes an inability to recognize devices after "giving up on config ...
| Jan 25, 10:57 am 2008 |
| Stefan Richter | Re: [PATCH 3/4] firewire: enforce access order between g ...
I'm going to commit it with a whitespace adjustment and a comment typo
fixed. Jarod, thanks for the rigorous testing; Nick, thanks for
helping in making this a solid improvement over the initial submission.
--
Stefan Richter
-=====-==--- ---= ==--=
http://arcgraph.de/sr/
--
| Jan 25, 9:35 am 2008 |
| Jarod Wilson | Re: [PATCH 4/4 update] firewire: fw-core: react on bus r ...
This is essentially what I've been beating on locally, and I've yet to hit
another config rom read failure with it.
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
--
Jarod Wilson
jwilson@redhat.com
--
| Jan 25, 10:16 am 2008 |
| Stefan Richter | [PATCH 4/4 update] firewire: fw-core: react on bus reset ...
read_rom() obtained a fresh new fw_device.generation for each read
transaction. Hence it was able to continue reading in the middle of the
ROM even if a bus reset happened. However the device may have modified
the ROM during the reset. We would end up with a corrupt fetched ROM
image then.
Although all of this is quite unlikely, it is not impossible.
Therefore we now restart reading the ROM if the bus generation changed.
Note, the memory barrier in read_rom() is still necessary according ...
| Jan 25, 9:53 am 2008 |
| Shane Huang | RE: [patch] PCI: modify SB700 SATA MSI quirk
OK, I'll have to submit another update patch later.
Thanks
Shane
--
| Jan 24, 8:48 pm 2008 |
| Shane Huang | RE: [patch] PCI: disable the MSI of AMD RS690
quirk_disable_msi() can not fix the issue in my debug,
quirk_msi_intx_disable_bug() which can fix SB700 SATA MSI bug does not
work either.
quirk_disable_all_msi is the only workaround I found.
If there is any other guy who also has one SB600+RS690 board, and can
help
to verify this RS690 MSI disablement patch with a new kernel version
such as
2.6.24-rc7, that's great.
BTW:
RS690 MSI disablement should NOT affect SB700 MSI, because as I know,
there will not be the combination of ...
| Jan 25, 3:39 am 2008 |
| Greg KH | Re: [patch] PCI: modify SB700 SATA MSI quirk
I recommend running the scripts/checkpatch.pl script on any proposed
patches like this before you send them. It will find a lot of these
problems for you :)
thanks,
greg k-h
--
| Jan 24, 9:33 pm 2008 |
| Shane Huang | RE: [patch] PCI: modify SB700 SATA MSI quirk
I did some modification to this patch and send it again, Please check
it.
The quirk to 0x4395 has been removed because 0x4395 only belongs to
SB800.
Thanks
diff -ruN linux-2.6.24-rc7_org/drivers/pci/quirks.c
linux-2.6.24-rc7_new/drivers/pci/quirks.c
--- linux-2.6.24-rc7_org/drivers/pci/quirks.c 2008-01-23
14:44:53.000000000 +0800
+++ linux-2.6.24-rc7_new/drivers/pci/quirks.c 2008-01-25
10:55:21.000000000 +0800
@@ -1709,6 +1709,24 @@
{
dev->dev_flags |=3D ...
| Jan 24, 8:26 pm 2008 |
| Tejun Heo | Re: [patch] PCI: modify SB700 SATA MSI quirk
Can you please get a decent email client? Thunderbird + toggle word
It would be nice if things stay under 80col limit although we don't
--
tejun
--
| Jan 24, 5:19 pm 2008 |
| Tejun Heo | Re: [patch] PCI: modify SB700 SATA MSI quirk
After S-O-B, you can put --- and between it and the patch body, you can
say things which you wanna mention but don't think should be included in
Hmm... So, if there's no SMBUS device the quirk applies. Is this
intended? If that can't happen, just do if (!p) return;
You tested this, right?
--
tejun
--
| Jan 24, 8:35 pm 2008 |
| previous day | today | next day |
|---|---|---|
| January 24, 2008 | January 25, 2008 | January 26, 2008 |
