linux-kernel mailing list

FromSubjectsort iconDate
Igor M. Liplianin
[PATCH 09/18] stv0367: Fix potential divide error
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> --- drivers/media/dvb/frontends/stv0367.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c index 0575741..e6bee7f 100644 --- a/drivers/media/dvb/frontends/stv0367.c +++ b/drivers/media/dvb/frontends/stv0367.c @@ -3275,12 +3275,14 @@ static int stv0367cab_read_snr(struct dvb_frontend *fe, u16 *snr) power = 1; break; } + for ...
Aug 27, 3:43 am 2010
Igor M. Liplianin
[PATCH 10/18] cx23885: remove duplicate set interrupt mask
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> --- drivers/media/video/cx23885/cx23885-core.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 307eaf4..3a09dd2 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c @@ -904,12 +904,6 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) dev->pci_bus = ...
Aug 27, 4:47 pm 2010
Andrew Morton
Re: mmotm 2010-08-27-15-43 uploaded
On Fri, 27 Aug 2010 15:43:34 -0700 This kernel generates a lockdep splat [ 90.709824] [ INFO: possible irq lock inversion dependency detected ] [ 90.709824] 2.6.36-rc2-mm1 #9 [ 90.709824] --------------------------------------------------------- [ 90.709824] kworker/0:1/0 just changed the state of lock: [ 90.709824] (&(&sighand->siglock)->rlock){-.....}, at: [<ffffffff81042deb>] lock_task_sighand+0x9a/0xda [ 90.709824] but this lock took another, HARDIRQ-unsafe lock in the ...
Aug 27, 4:18 pm 2010
akpm
mmotm 2010-08-27-15-43 uploaded
The mm-of-the-moment snapshot 2010-08-27-15-43 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://zen-kernel.org/kernel/mmotm.git It contains the following patches against ...
Aug 27, 3:43 pm 2010
Eric Paris
selinux vs devtmpfs (vs udev)
I've got 2 bugs now: https://bugzilla.redhat.com/show_bug.cgi?id=566332 https://bugzilla.redhat.com/show_bug.cgi?id=627710 Where (I'm assuming) devtmpfs and SELinux are fighting. In the old old days we used to have a script that would, after having created everything in /dev, set the proper SELinux labels on those files. This was done so early in boot that races didn't exist yet. In the new days udev would create nodes in there, but udev is SELinux aware. udev will determine what the ...
Aug 27, 4:00 pm 2010
Mike Frysinger
[PATCH 0/2] Blackfin fixes for 2.6.36-rc2
Now that the drivers have caught up, we can push out the Blackfin arch changes. This fixes some issues David pointed out. Only failures left are the NOMMU FB fix which David has already pushed, the linker script issue Sam sent out, and a new bug that has hit the NAND tree. I'll research & fix that in a bit. Barry Song (1): Blackfin: bf52x/bf54x boards: drop unused nand page size Mike Frysinger (1): Blackfin: punt duplicate SPORT MMR defines arch/blackfin/include/asm/bfin_sport.h ...
Aug 27, 4:08 pm 2010
Mike Frysinger
[PATCH 1/2] Blackfin: punt duplicate SPORT MMR defines
The common bfin_sport.h header now has unified definitions of these, so stop polluting the global namespace. Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/include/asm/bfin_sport.h | 6 - .../mach-bf518/include/mach/defBF51x_base.h | 82 --------------- .../mach-bf527/include/mach/defBF52x_base.h | 82 --------------- arch/blackfin/mach-bf533/include/mach/defBF532.h | 92 ----------------- ...
Aug 27, 4:08 pm 2010
Mike Frysinger
[PATCH 2/2] Blackfin: bf52x/bf54x boards: drop unused na ...
From: Barry Song <barry.song@analog.com> Now that the driver for the Blackfin on-chip NFC no longer uses/respects the page_size from the platform resources (figures out the needs on the fly), drop it from the platform resources. This fixes some build errors since the defines no longer exists. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/mach-bf527/boards/cm_bf527.c | 1 - arch/blackfin/mach-bf527/boards/ezbrd.c ...
Aug 27, 4:08 pm 2010
rklein Aug 27, 3:50 pm 2010
Someone Something
LDD examples
I downloaded the LDD examples (http://examples.oreilly.com/9780596005900/), and I unzipped the file and just tried building it with make just to see if it built properly and here are the errors I get: setlevel.c:30: error: expected declaration specifiers or '...' before 'type' setlevel.c:30: error: expected declaration specifiers or '...' before 'bufp' setlevel.c:30: error: expected declaration specifiers or '...' before 'len' setlevel.c:30: warning: data definition has no type or storage ...
Aug 27, 3:32 pm 2010
Neil Leeder
[PATCH 0/1] input: keyboard: add qci keyboard driver
This is an update of the keyboard driver which Quanta previously posted to linux-input. Like the touchpad driver, I'm taking over maintenance for code aurora forum. The keyboard is attached to an embedded controller which is accessed through I2C. It has a dedicated I2C address and its own interrupt line, so it is not treated as an mfd. Although a PS/2 command, 0xF4, is used to initialize the keyboard, the EC does not respond to other PS/2 commands. I have tried a serio driver on the port ...
Aug 27, 3:14 pm 2010
Neil Leeder
[PATCH 1/1] input: keyboard: add qci keyboard driver
This driver is for the QCI i2c keyboard used on Quanta smartbooks. Signed-off-by: Horace Fu <horace.fu@quantatw.com> [nleeder@codeaurora.org: cleanup to latest kernel standards] Signed-off-by: Neil Leeder <nleeder@codeaurora.org> --- drivers/input/keyboard/Kconfig | 12 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/qci_gkbd.c | 258 ++++++++++++++++++++++++++++++++++++ include/linux/input/qci_keyboard.h | 25 ++++ 4 files changed, 296 insertions(+), 0 ...
Aug 27, 3:18 pm 2010
Dmitry Torokhov
Re: [PATCH 0/1] input: keyboard: add qci keyboard driver
No, this is crazy... This is a twin-brother of the touchpad driver and I really do not understand why chip claiming to have PS/2 interface (3 ports if I were to believe the diagram) would not allow us talk to the devices... -- Dmitry --
Aug 27, 3:33 pm 2010
Michael Shigorin
fs hang in 2.6.27.y | Fwd: [Bug 15658] New: [PATCH] x86 ...
Hello, I was told that lkml is still highly preferred over bugzilla, so reposting the bugreport here. The problem first manifested as "ext3 hang" in 2.6.27 based kernel; the cause appeared to be somewhat more involved, see the analysis below. hpa@ confirmed he's seen similar problems elsewhere. This has been worked around in mainline since but our folks consider the fix potentially broken and propose the real one (this seems to have not been fixed for -stable, not sure; the patch is for ...
Aug 27, 2:36 pm 2010
Kees Cook
[PATCH] exec argument expansion can inappropriately trig ...
Brad Spengler published a local memory-allocation DoS that evades the OOM-killer (though not the virtual memory RLIMIT): http://www.grsecurity.net/~spender/64bit_dos.c The recent changes to create a stack guard page helps slightly to discourage this attack, but it is not sufficient. Compiling it statically moves the libraries out of the way, allowing the stack VMA to fill the entire TASK_SIZE. There are two issues: 1) the OOM killer doesn't notice this argv memory explosion 2) the argv ...
Aug 27, 3:02 pm 2010
Mark Brown
[PATCH] regulator: Update e-mail address for Liam Girdwood
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- Documentation/power/regulator/overview.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/power/regulator/overview.txt b/Documentation/power/regulator/overview.txt index 9363e05..8ed1758 100644 --- a/Documentation/power/regulator/overview.txt +++ b/Documentation/power/regulator/overview.txt @@ -13,7 +13,7 @@ regulators (where voltage output is controllable) and current sinks (where ...
Aug 27, 2:33 pm 2010
Kees Cook
[PATCH] drm, video: fix use-before-NULL-check
Fix potential crashes due to use-before-NULL situations. Signed-off-by: Kees Cook <kees.cook@canonical.com> --- drivers/gpu/drm/drm_fb_helper.c | 3 ++- drivers/media/video/em28xx/em28xx-video.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index de82e20..8dd7e6f 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -94,10 +94,11 @@ static bool ...
Aug 27, 2:07 pm 2010
Joe Perches
[rfc PATCH] vsprintf.c: use default pointer field size f ...
It might be nicer to align the output. For instance, ACPI messages sometimes have "(null)" pointers. $ dmesg | grep "(null)" -A 1 -B 1 [ 0.198733] ACPI: Dynamic OEM Table Load: [ 0.198745] ACPI: SSDT (null) 00239 (v02 PmRef Cpu0Ist 00003000 INTL 20051117) [ 0.199294] ACPI: SSDT 7f596e10 001C7 (v02 PmRef Cpu0Cst 00003001 INTL 20051117) [ 0.200708] ACPI: Dynamic OEM Table Load: [ 0.200721] ACPI: SSDT (null) 001C7 (v02 PmRef Cpu0Cst 00003001 INTL 20051117) [ 0.201950] ...
Aug 27, 2:05 pm 2010
Jean Tourrilhes
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
Did you tried your patch for real ? With large scan request ? I ask because at first glance, it looks incorrect, asI believe I believe this patch would make the situation worse. Would you mind validating the following patch ? I've just verified that it compiles and I believe it does what you are asking in a much more predictable way. Regards, Jean Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> diff -u -p wext.j2.c wext.c --- wext.j2.c 2010-08-27 14:17:26.000000000 ...
Aug 27, 2:22 pm 2010
Kees Cook
[PATCH] wireless: fix 64K kernel heap content leak via ioctl
This problem was originally tracked down by Brad Spengler. When calling wireless ioctls, if a driver does not correctly validate/shrink iwp->length, the resulting copy_to_user can leak up to 64K of kernel heap contents. It seems that this is triggerable[1] in 2.6.32 at least on ath5k, but I was not able to track down how. The twisty maze of ioctl handlers stumped me. :) Other drivers I checked did not appear to have any problems, but the potential remains. I'm not sure if this patch is the ...
Aug 27, 2:02 pm 2010
Jean Tourrilhes
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
Ha ! I see. It would be for regular iwpoint queries, not for extended NOMAX queries (scan is a extended NOMAX query). Note that I don't like the idea of reducing the mallocated size, especially with regular queries, as I know that some driver may expect a fixed size in extra and may memcpy to it without double Regards, Jean --
Aug 27, 2:53 pm 2010
Kees Cook
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
Hi Jean, I did not, no. Since I couldn't reproduce the original problem (I lacked the hardware to test ath5k, and all the other drivers correctly managed The comment should probably be clarified -- it's the caller's iwp->length that may be causing problems (when combined with a driver that forgets to adjusted iwp->length downward). Regardless, the above patch would appear to limit the copy_to_user to only the kzalloced region. Thanks! -Kees -- Kees Cook Ubuntu Security Team --
Aug 27, 2:43 pm 2010
Luis R. Rodriguez
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
Jean, can you submit in a new thread and right before the SOB add in the commit log Cc: stable@kernel.org [2.6.32+] Luis --
Aug 27, 3:35 pm 2010
Luis R. Rodriguez
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
Got it, ah so it would be Cc: stable@kernel.org [2.6.27+]. To get this trickled in we first need it for wireless-testing.git, and provide links / patches to the backport of the patch for each kernel. Once it gets merged into Linus' tree the stable team can apply the respective backported patches. Luis --
Aug 27, 3:51 pm 2010
Jean Tourrilhes
Re: [PATCH] wireless: fix 64K kernel heap content leak v ...
The current patch was made for 2.6.27 and was only compiled. Someone would need to verify it works for 2.6.32. I could Regards, Jean --
Aug 27, 3:39 pm 2010
Julia Lawall
[PATCH 2/2] arch/ia64/kernel: Move up iounmap
By moving the iounmap up above the test, it takes place whether the test succeeds or fails. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ local idexpression x; expression E,E1; identifier l; statement S; @@ *x = ioremap_nocache(...); ... if (x == NULL) S ... when != iounmap(x) when != if (...) { ... iounmap(x); ... } when != E = x if (...) { ... when != iounmap(x) when != if (...) { ... iounmap(x); ... ...
Aug 27, 2:01 pm 2010
Julia Lawall
[PATCH 1/2] drivers/clocksource/cyclone.c: Move up iounmap
By moving the iounmap up above the test, it takes place whether the test succeeds or fails. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ local idexpression x; expression E,E1; identifier l; statement S; @@ *x = ioremap_nocache(...); ... if (x == NULL) S ... when != iounmap(x) when != if (...) { ... iounmap(x); ... } when != E = x if (...) { ... when != iounmap(x) when != if (...) { ... iounmap(x); ... ...
Aug 27, 2:01 pm 2010
ael
bugzilla.kernel.org - site down ?
Sorry if this is the wrong place to ask. https://bugzilla.kernel.org/ seems not to be responding. In fact I got the login page after waiting many minutes, but get no response after waiting of the order of 30 minutes when attempting to login. ael --
Aug 27, 1:38 pm 2010
Arno Schuring
i386 WARNING: at kernel/softirq.c:143 _local_bh_enable_i ...
Hello list, [ if this is the wrong place, please redirect. Kerneloops and bugzilla seem down atm, only other reference I found is this thread from February: http://lkml.org/lkml/2010/2/25/454 ] Testing current -git on my old desktop machine yields the following warning: [ 12.437090] WARNING: at kernel/softirq.c:143 _local_bh_enable_ip+0x2f/0x7e() [ 12.437094] Hardware name: [ 12.437097] Modules linked in: xfs exportfs w83627hf_wdt w83627hf hwmon_vid dm_crypt dm_mod usbhid 8250_pnp ...
Aug 27, 1:04 pm 2010
Julia Lawall
[PATCH] net/ipv4: Eliminate kstrdup memory leak
The string clone is only used as a temporary copy of the argument val within the while loop, and so it should be freed before leaving the function. The call to strsep, however, modifies clone, so a pointer to the front of the string is kept in saved_clone, to make it possible to free it. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ local idexpression x; expression E; identifier l; statement S; @@ *x= ...
Aug 27, 12:47 pm 2010
Tyler Hicks
[GIT PULL] eCryptfs fixes for 2.6.36-rc3
Hi Linus, The following changes since commit 76be97c1fc945db08aae1f1b746012662d643e97: Linux 2.6.36-rc2 (2010-08-22 17:43:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6.git for-linus Jerome Marchand (1): ecryptfs: properly mark init functions Julia Lawall (1): fs/ecryptfs: Return -ENOMEM on memory allocation failure Tyler Hicks (1): eCryptfs: Fix encrypted file name lookup regression ...
Aug 27, 12:31 pm 2010
Kyle Moffett
[RFC] Support for unidirectional ethernet links
Hello, I'm in the process of dusting off some old unidirectional fiber link patches as part of support for a new custom hardware chassis. Specifically, a critical piece of the hardware is unidirectional fiber connections between independent computers, with data transmission performed using UDP to a static ARP entry. These first 2 RFC patches provide support for off-the-shelf gigabit sky2 boards. I also have another fairly trivial patch to "ethtool" which enables it to configure the new ...
Aug 27, 12:42 pm 2010
Stephen Hemminger
Re: [PATCH 2/2] sky2: Add unidirectional fiber link support
On Fri, 27 Aug 2010 15:42:18 -0400 Won't this cause a renegotiation causing up to 2 second delay? -- --
Aug 27, 1:38 pm 2010
Stephen Hemminger
Re: [PATCH 2/2] sky2: Add unidirectional fiber link support
On Fri, 27 Aug 2010 15:51:58 -0500 No that is fine, but the FIB doesn't really understand RX only links so I expect users will do stupid things. --
Aug 27, 2:22 pm 2010
Kyle Moffett
[PATCH 2/2] sky2: Add unidirectional fiber link support
Some sky2 fiber hardware seems to support configuring unidirectional fiber links (using the phy bit PHY_M_FIB_FORCE_LNK). There are three parts to enabling this hardware support: (1) Allow DUPLEX_TXONLY/DUPLEX_RXONLY to be passed in via ethtool (2) Correctly configure the PHY using the new duplex values (3) Make sure the initial PHY link-up interrupt does not get lost It may be possible to use the special DUPLEX_RXONLY operation mode to disable the fiber transmitter entirely, but in ...
Aug 27, 12:42 pm 2010
Moffett, Kyle D
Re: [PATCH 2/2] sky2: Add unidirectional fiber link support
Well, I suppose that's possible, but we've only just reset and enabled the PHY moments before, so I don't see where you could get an *extra* 2-second delay. On the other hand, I suppose it would be much nicer if there was an easy way to fake an extra interrupt there instead of reinitializing the whole PHY. I'm not all that comfortable with my understanding of the interrupt logic in the sky2 driver, so I figured I would just reuse all the necessary locking from sky2_phy_reinit(). Do you have any ...
Aug 27, 1:51 pm 2010
Kyle Moffett
[PATCH 1/2] ethtool.h: Add #defines for unidirectional e ...
A large variety of fiber ethernet PHYs and some copper ethernet PHYs support forced "unidirectional link" modes. Some signalling modes are designed for last-mile ethernet plants while others are designed for strict security isolation (fiber with no return-path). In order to configure those kinds of forced modes from userspace, we need to add additional options to the "ethtool" interface. As such "unidirectional" ethernet modes most closely resemble ethernet "duplex", we add two additional ...
Aug 27, 12:42 pm 2010
Kyle Moffett
[PATCH] e1000e: Intel 82571EB: Don't wait for MNG cycle ...
The Intel 82571EB chipset can be used in an unmanaged configuration as a fast dual-port Gig-E controller. Unfortunately a board constructed that way would fail to correctly come up because the driver polls for the completion of a management cycle that will never occur. To resolve this problem, we disable the poll and error return on chips whose EEPROMs indicate no management. As a protection against misconfigured chipsets, we still delay for the entire management ...
Aug 27, 12:10 pm 2010
Kyle Moffett
[PATCH] powerpc/kvm/e500_tlb: Fix a minor copy-paste tra ...
The kvmppc_e500_stlbe_invalidate() function was trying to pass too many parameters to trace_kvm_stlb_inval(). This appears to be a bad copy-paste from a call to trace_kvm_stlb_write(). Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com> --- arch/powerpc/kvm/e500_tlb.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c index 21011e1..1261a21 100644 --- a/arch/powerpc/kvm/e500_tlb.c +++ ...
Aug 27, 12:06 pm 2010
Grant Likely
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver t ...
[cc'ing Thomas Gleixner and David Woodhouse since this driver needs to get some data about the platform (to know what spi_devices are present) and I don't know how that is handled for x86 SoCs.] Hi Ohtak-san, Comments below. This shouldn't be a separate driver. The SoC platform setup code should take care of registering the devices which will be on the spi Hmmm. I think I misunderstood the purpose of this symbol in your initial posting. This isn't the number of busses (as I ...
Aug 27, 11:33 am 2010
Thomas Gleixner
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver t ...
power management and configuration of SoCs with a lot of configurable pins and peripherals are two different beasts. power management will probably not change much between two boards, but the peripherals and pin configuration makes the big difference and I don't wont to pull out that information from ACPI. Especially not when we talk about device drivers which can be shared with other architectures. Also you dont want to burden BSP developers with getting those ACPI tables ...
Aug 27, 12:06 pm 2010
Arjan van de Ven
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver t ...
I tentatively agree, but this has to coexist with ACPI, which most of these platforms will also have, for power management if nothing else. --
Aug 27, 11:54 am 2010
Thomas Gleixner
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver t ...
The best way to do all this platform specific configuration is to use device tree. I really don't want to have x86/mach-xyz/board[A-Z] horror, which is unavoidable when we don't get a sensible way to configure the boards. SFI was meant to provide a lightweight ACPI, but now that device tree is generic and more platforms are using it, I really want to standartize on that and forget SFI. That makes even more sense, as all these AMBA peripherals which are duct-taped to a x86 core can be found in ...
Aug 27, 11:53 am 2010
Grant Likely
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver t ...
I knew you were going to say that! :-) Ohtak-san, for this patch I'd like you to drop the separate driver that only registers the spi_devices and just submit the core driver. (You can of course keep the spi_device registration in your own tree for debug purposes). I'll expect that the device will get instantiated using a device tree to determine which spi_devices are present. The parsing of spi device tree data will be moving into the core spi subsystem code in the next merge window most ...
Aug 27, 12:20 pm 2010
Suresh Siddha
[patch 1/3] x86, intr-remap: set redirection hint in the IRTE
Currently the redirection hint in the interrupt-remapping table entry is set to 0, which means the remapped interrupt is directed to the processors listed in the destination. So in logical flat mode in the presence of intr-remapping, this results in a single interrupt multi-casted to multiple cpu's as specified by the destination bit mask. But what we really want is to send that interrupt to one of the cpus based on the lowest priority delivery mode. Set the redirection hint in the IRTE to '1' ...
Aug 27, 11:09 am 2010
Suresh Siddha
[patch 3/3] x86, x2apic: simplify apic init in SMP and U ...
Move enable_IR_x2apic() inside the default_setup_apic_routing() And for smp platforms, move the default_setup_apic_routing() after smp_sanity_check(). This cleans up the code that tries to avoid multiple calls to default_setup_apic_routing() when smp_sanity_check() fails (which goes through the APIC_init_uniprocessor() path) Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> --- arch/x86/kernel/apic/apic.c | 3 --- arch/x86/kernel/apic/probe_64.c | 3 +++ ...
Aug 27, 11:09 am 2010
Suresh Siddha
[patch 2/3] x86, intr-remap: remove IRTE setup duplicate code
Remove IRTE setup duplicate code with prepare_irte() Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> --- arch/x86/include/asm/irq_remapping.h | 27 +++++++++++++++++++++++++++ arch/x86/kernel/apic/io_apic.c | 27 ++------------------------- 2 files changed, 29 insertions(+), 25 deletions(-) Index: tree/arch/x86/kernel/apic/io_apic.c =================================================================== --- tree.orig/arch/x86/kernel/apic/io_apic.c +++ ...
Aug 27, 11:09 am 2010
Matteo Croce
AMD Geode NOPL emulation for kernel 2.6.36-rc2
Hi, I have received many mails asking to refresh the patch so I decided to post them on the public mailing list In this version such feature is configurable via a kernel config option Signed-off-by: Matteo Croce <matteo@openwrt.org> --- a/arch/x86/kernel/Makefile 2010-08-27 00:27:50.101261000 +0200 +++ b/arch/x86/kernel/Makefile 2010-08-27 00:31:11.391261002 +0200 @@ -88,6 +88,8 @@ obj-$(CONFIG_APB_TIMER) += apb_timer.o obj-$(CONFIG_K8_NB) += k8.o +obj-$(CONFIG_GEODE_NOPL) += ...
Aug 27, 11:07 am 2010
H. Peter Anvin
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
No. You need to deliver a page fault to the application in this case. The *real* test for this kind of crap is correct page fault behavior, and so forth. Also, at the very least you need to check for: - CS == USER_CS - IP in the proper range for user space Your patch in its current form is one big security hole. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --
Aug 27, 4:07 pm 2010
Thomas Backlund
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
Same line added twice... -- Thomas --
Aug 27, 1:49 pm 2010
Matteo Croce
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
Here with get_user. I CC Natale which is my beta tester, he have some Alix boards running 24/24 with my patch --- a/arch/x86/kernel/Makefile 2010-08-27 19:42:01.795858001 +0200 +++ b/arch/x86/kernel/Makefile 2010-08-27 19:42:12.525858001 +0200 @@ -88,6 +88,8 @@ obj-$(CONFIG_APB_TIMER) += apb_timer.o obj-$(CONFIG_K8_NB) += k8.o +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o obj-$(CONFIG_DEBUG_RODATA_TEST) += test_rodata.o ...
Aug 27, 1:15 pm 2010
H. Peter Anvin
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
You're doing user-space references without get_user(). -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --
Aug 27, 11:48 am 2010
Matteo Croce
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
Here is with proper checks --- a/arch/x86/kernel/Makefile 2010-08-27 19:42:01.795858001 +0200 +++ b/arch/x86/kernel/Makefile 2010-08-27 19:42:12.525858001 +0200 @@ -88,6 +88,8 @@ obj-$(CONFIG_APB_TIMER) += apb_timer.o obj-$(CONFIG_K8_NB) += k8.o +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o obj-$(CONFIG_DEBUG_RODATA_TEST) += test_rodata.o obj-$(CONFIG_DEBUG_NX_TEST) += test_nx.o --- a/arch/x86/kernel/cpu/amd.c 2010-08-27 19:42:01.855858001 ...
Aug 27, 3:16 pm 2010
Matteo Croce
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
Sorry still left the duplicated line --- a/arch/x86/kernel/Makefile 2010-08-27 19:42:01.795858001 +0200 +++ b/arch/x86/kernel/Makefile 2010-08-28 00:16:53.607507000 +0200 @@ -88,6 +88,7 @@ obj-$(CONFIG_APB_TIMER) += apb_timer.o obj-$(CONFIG_K8_NB) += k8.o +obj-$(CONFIG_GEODE_NOPL) += nopl_emu.o obj-$(CONFIG_DEBUG_RODATA_TEST) += test_rodata.o obj-$(CONFIG_DEBUG_NX_TEST) += test_nx.o --- a/arch/x86/kernel/cpu/amd.c 2010-08-27 19:42:01.855858001 +0200 +++ ...
Aug 27, 3:19 pm 2010
H. Peter Anvin
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
You actually have to check the get_user return, or use exception brackets.... -- Sent from my mobile phone. Please pardon any lack of formatting. --
Aug 27, 1:54 pm 2010
Matteo Croce
Re: AMD Geode NOPL emulation for kernel 2.6.36-rc2
can I ignore the return value when I expect val to be non zero? the doc says: "On error, the variable @x is set to zero." -- Matteo Croce OpenWrt developer   _______                     ________        __  |       |.-----.-----.-----.|  |  |  |.----.|  |_  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|  |_______||   __|_____|__|__||________||__|  |____|           |__| W I R E L E S S   F R E E D O M  KAMIKAZE (bleeding edge) ------------------   * 10 oz Vodka       Shake well ...
Aug 27, 2:32 pm 2010
Tejun Heo Aug 27, 10:15 am 2010
Tejun Heo
Re: [PATCH 2/4] dm: implement REQ_FLUSH/FUA support
Hello, Nope, REQ_FUA will be interpreted by queues lower in the stack. Heh... I probably should set up a simple dm-mpath and test it. I'll Sure, that's a rather silly wrapper at this point. Thanks. -- tejun --
Aug 27, 4:28 pm 2010
Tejun Heo
[PATCH 2/4] dm: implement REQ_FLUSH/FUA support
This patch converts dm to support REQ_FLUSH/FUA instead of now deprecated REQ_HARDBARRIER. For common parts, * Barrier -EOPNOTSUPP handling is dropped from dm-io. This doesn't modify the usual retry on error logic. Note that retrying FLUSHes which are failed by device can be dangerous as sometimes they imply that data is already lost. FIXME comment added. * Empty WRITE_BARRIERs are replaced with WRITE_FLUSHes. * It's now guaranteed that all FLUSH bio's which are passed onto dm ...
Aug 27, 10:10 am 2010
Tejun Heo
[PATCHSET 2.6.36-rc2] block, dm: finish REQ_FLUSH/FUA co ...
Hello, This patchset converts dm to REQ_FLUSH/FUA, which was the last remaining one. I've put patches on top of the previous patches for easier review. The series can be trivially reordered so that the order is more logical. Jens, please let me know if you want it to be reordered. The dm conversion is _lightly_ tested. Please proceed with caution. In particular, I haven't tested dm implementation at all. So, it probably is best to hold off merging these bits until dm people can verify ...
Aug 27, 10:10 am 2010
Mike Snitzer
Re: [PATCH 2/4] dm: implement REQ_FLUSH/FUA support
On Fri, Aug 27 2010 at 1:10pm -0400, You're doing blk_queue_flush(md->queue, REQ_FLUSH | REQ_FUA); in 2 places: 1) generic dm_init_md_queue -- used for bio-based and request-based 2) request-based specific dm_init_request_based_queue. Interestingly, we never used the old blk_queue_ordered() method for bio-based DM yet it is now using blk_queue_flush(). But how can we blindly assume/advertise REQ_FUA? Should we be taking more care to check each block device that DM consumes to see if ...
Aug 27, 1:24 pm 2010
Tejun Heo
[PATCH 3/4] dm: relax ordering of bio-based flush implem ...
Unlike REQ_HARDBARRIER, REQ_FLUSH/FUA doesn't mandate any ordering against other bio's. This patch relaxes ordering around flushes. * A flush bio is no longer deferred to workqueue directly. It's processed like other bio's but __split_and_process_bio() uses md->flush_bio as the clone source. md->flush_bio is initialized to empty flush during md initialization and shared for all flushes. * When dec_pending() detects that a flush has completed, it checks whether the original bio has ...
Aug 27, 10:10 am 2010
Mike Snitzer
Re: [PATCH 1/4] block: make __blk_rq_prep_clone() copy m ...
On Fri, Aug 27 2010 at 1:10pm -0400, Looks great. Acked-by: Mike Snitzer <snitzer@redhat.com> --
Aug 27, 10:57 am 2010
Tejun Heo
[PATCH 1/4] block: make __blk_rq_prep_clone() copy most ...
Currently __blk_rq_prep_clone() copies only REQ_WRITE and REQ_DISCARD. There's no reason to omit other command flags and REQ_FUA needs to be copied to implement FUA support in request-based dm. REQ_COMMON_MASK which specifies flags to be copied from bio to request already identifies all the command flags. Define REQ_CLONE_MASK to be the same as REQ_COMMON_MASK for clarity and make __blk_rq_prep_clone() copy all flags in the mask. Signed-off-by: Tejun Heo <tj@kernel.org> --- ...
Aug 27, 10:10 am 2010
Tejun Heo
[PATCH 4/4] block: remove the WRITE_BARRIER flag
From: Christoph Hellwig <hch@infradead.org> It's unused now. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org> --- include/linux/fs.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 32703a9..6b0f6e9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -135,7 +135,6 @@ struct inodes_stat_t { * immediately after submission. The write equivalent * of READ_SYNC. ...
Aug 27, 10:11 am 2010
Daniel Walker
Re: [PATCH 1/5 v3] msm: add gpiomux api for gpio multipl ...
Is this right? I got a built failure before 7x00 isn't in the list.. Daniel -- Sent by an consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. --
Aug 27, 1:30 pm 2010
Gregory Bean
[PATCH 1/5 v3] msm: add gpiomux api for gpio multiplex & ...
Add the 'gpiomux' api, which addresses the following shortcomings of existing tlmm api: - gpio power-collapse, which is managed by a peripheral processor on other targets, must be managed by the application processor on the 8x60. - The enable/disable flag of the legacy gpio_tlmm_config api is not applicable on the 8x60, and causes confusion. - The gpio 'direction' bits are meaningless for all func_sel configurations except for generic-gpio mode (func_sel 0), in which case the ...
Aug 27, 9:19 am 2010
Gregory Bean
[PATCH 5/5 v3] msm: gpio: Remove tlmm routines obsoleted ...
Now that all supported gpio_tlmm_config-using boards are using gpiomux, remove the deprecated code. Signed-off-by: Gregory Bean <gbean@codeaurora.org> --- arch/arm/mach-msm/Makefile | 1 - arch/arm/mach-msm/gpio.c | 85 ----------------------- arch/arm/mach-msm/include/mach/gpio.h | 123 --------------------------------- 3 files changed, 0 insertions(+), 209 deletions(-) delete mode 100644 arch/arm/mach-msm/gpio.c diff --git a/arch/arm/mach-msm/Makefile ...
Aug 27, 9:19 am 2010
Gregory Bean
[PATCH 3/5 v3] msm: convert 8x50 to gpiomux.
Change the gpio-init code from deprecated gpio_tlmm_config to the new gpiomux api. Signed-off-by: Gregory Bean <gbean@codeaurora.org> --- arch/arm/mach-msm/board-qsd8x50.c | 12 ------------ arch/arm/mach-msm/gpiomux-8x50.c | 11 ++++++++++- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c index e3cc807..fb0fe67 100644 --- a/arch/arm/mach-msm/board-qsd8x50.c +++ ...
Aug 27, 9:19 am 2010
Gregory Bean
[PATCH 4/5 v3] msm: convert 7x30 to gpiomux.
Change deprecated gpio_tlmm_config calls to gpiomux calls. Signed-off-by: Gregory Bean <gbean@codeaurora.org> --- arch/arm/mach-msm/board-msm7x30.c | 20 -------------------- arch/arm/mach-msm/gpiomux-7x30.c | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index e329819..74abb74 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c @@ ...
Aug 27, 9:19 am 2010
Gregory Bean
[PATCH 2/5 v3] msm: documentation: add gpiomux documentation.
Signed-off-by: Gregory Bean <gbean@codeaurora.org> --- Documentation/arm/00-INDEX | 2 + Documentation/arm/msm/gpiomux.txt | 179 +++++++++++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+), 0 deletions(-) create mode 100644 Documentation/arm/msm/gpiomux.txt diff --git a/Documentation/arm/00-INDEX b/Documentation/arm/00-INDEX index 7f5fc3b..ecf7d04 100644 --- a/Documentation/arm/00-INDEX +++ b/Documentation/arm/00-INDEX @@ -6,6 +6,8 @@ Interrupts - ARM Interrupt ...
Aug 27, 9:19 am 2010
Neil Leeder
[PATCH v3 0/1] input: mouse: add qci touchpad driver
v2: http://lkml.indiana.edu/hypermail/linux/kernel/1008.1/01838.html Changes since v2: use #define for wait length during init, as suggested by Shubhrajyoti Datta add error check from gpio_direction_input move struct i2c_device_id closer to its use in i2c_driver, for clarity -- Neil -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. --
Aug 27, 9:06 am 2010
Neil Leeder
[PATCH v3 1/1] input: mouse: add qci touchpad driver
This driver is for the QCI trackpad used on Quanta smartbooks Signed-off-by: Horace Fu <horace.fu@quantatw.com> Signed-off-by: Mandeep Singh Baines <msb@chromium.org> [nleeder@codeaurora.org: cleanup i2c calls, address review comments etc] Signed-off-by: Neil Leeder <nleeder@codeaurora.org> --- drivers/input/mouse/Kconfig | 12 ++ drivers/input/mouse/Makefile | 1 + drivers/input/mouse/qci_touchpad.c | 273 ++++++++++++++++++++++++++++++++++++ ...
Aug 27, 9:10 am 2010
Yuri Ershov
[PATCH 0/2] Accelerometer driver unload
Hello, I2C part of lis3 accelerometer driver can be unloaded while in use which may cause kernel oops. These patches allow to change /dev/freefall file ops owner to prevent driver unloading while device in use. Please review. Best regards, Yuri Yuri Kululin (2): lis3: Add device owner lis3: Set device owner drivers/hwmon/lis3lv02d.c | 8 ++++++-- drivers/hwmon/lis3lv02d.h | 2 ++ drivers/hwmon/lis3lv02d_i2c.c | 2 ++ 3 files changed, 10 insertions(+), 2 ...
Aug 27, 7:33 am 2010
Yuri Ershov
[PATCH 1/2] lis3: Add device owner
Add device owner and change /dev/freefall file operations owner according to the used driver Signed-off-by: Yuri Kululin <ext-yuri.kululin@nokia.com> --- drivers/hwmon/lis3lv02d.c | 8 ++++++-- drivers/hwmon/lis3lv02d.h | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/lis3lv02d.c b/drivers/hwmon/lis3lv02d.c index e278f0e..0f1bd36 100644 --- a/drivers/hwmon/lis3lv02d.c +++ b/drivers/hwmon/lis3lv02d.c @@ -591,8 +591,7 @@ static int ...
Aug 27, 7:33 am 2010
Yuri Ershov
[PATCH 2/2] lis3: Set device owner
Set device owner for i2c part. Signed-off-by: Yuri Kululin <ext-yuri.kululin@nokia.com> --- drivers/hwmon/lis3lv02d_i2c.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/hwmon/lis3lv02d_i2c.c b/drivers/hwmon/lis3lv02d_i2c.c index b2f8bae..1a55bb3 100644 --- a/drivers/hwmon/lis3lv02d_i2c.c +++ b/drivers/hwmon/lis3lv02d_i2c.c @@ -129,6 +129,7 @@ static int __devinit lis3lv02d_i2c_probe(struct i2c_client *client, lis3_dev.reg_ctrl = lis3_reg_ctrl; ...
Aug 27, 7:33 am 2010
Jan Beulich
[PATCH] fix use of REQ_WRITE in blk_rq_map_kern()
REQ_WRITE clearly isn't meant to be used as a shift count, other than BIO_RW was. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- block/blk-map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.36-rc2/block/blk-map.c 2010-08-24 15:57:04.000000000 +0200 +++ 2.6.36-rc2-blk-map-REQ_WRITE/block/blk-map.c 2010-08-27 12:57:08.000000000 +0200 @@ -307,7 +307,7 @@ int blk_rq_map_kern(struct request_queue return PTR_ERR(bio); if (rq_data_dir(rq) == ...
Aug 27, 7:33 am 2010
Webmail Upgrade Team
Upgrade Your Email Account
ATTENTION: WEBMAIL SUBSCRIBER: This mail is to inform all our {WEBMAIL} users that we will be upgrading our site in a couple of days from now. So you as a Subscriber of our site you are required to send us your Email account details so as to enable us know if you are still making use of your mail box. Further informed that we will be deleting all mail account that is not functioning so as to create more space for new user. so you are to send us your mail account details which are as ...
Aug 27, 4:00 am 2010
Webmail Upgrade Team
Upgrade Your Email Account
ATTENTION: WEBMAIL SUBSCRIBER: This mail is to inform all our {WEBMAIL} users that we will be upgrading our site in a couple of days from now. So you as a Subscriber of our site you are required to send us your Email account details so as to enable us know if you are still making use of your mail box. Further informed that we will be deleting all mail account that is not functioning so as to create more space for new user. so you are to send us your mail account details which are as ...
Aug 27, 4:01 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
I have another crash dump which recorded the same values in the debug fault handler, but the resulting crash dump contains 0x1 (not 0x0) in the spinlock. R15 was still 0x1 (even though it should contain the original value, not the incremented one, shouldn't it?). Petr Tesarik --
Aug 27, 12:40 pm 2010
Hedi Berriche
Re: Serious problem with ticket spinlocks on ia64
On Fri, Aug 27, 2010 at 14:38 Petr Tesarik wrote: | Hi everybody, | | SGI has recently experienced failures with the new ticket spinlock | implementation. Hedi Berriche sent me a simple test case that can | trigger the failure on the siglock. One more fact, the problem was introduced by commit commit 9d40ee200a527ce08ab8c793ba8ae3e242edbb0e Author: Tony Luck <tony.luck@intel.com> Date: Wed Oct 7 10:54:19 2009 -0700 [IA64] Squeeze ticket locks back into 4 ...
Aug 27, 6:48 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
OTOH the counter is only 15-bit, so it also wraps around at 0xfffe7fff, but I have never seen it fail there. It always fails after the wrap-around from 0xfffeffff. Petr Tesarik --
Aug 27, 3:13 pm 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
Well, I wasn't originally sure if it only happens at wrap-around. OTOH I've now modified my tests, so that they would also catch any other badness, and I still only got another two failures after wrap-around. From looking at the traces, I'm afraid this smells like another Itanium erratum. I'm now trying to write a minimal test case... Petr Tesarik --
Aug 27, 1:41 pm 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
Here it is. I don't have a system with the old 64-bit ticket spinlocks at hand, so this is completely untested, but it should work fine. Adjust if needed. Petr
Aug 27, 9:37 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
One more idea. The wrap-around case is the only one when the high word is modified. This is in fact the only case when the fetchadd.acq competes with the st2.rel about the actual contents of that location. I don't know if it matters... Petr Tesarik --
Aug 27, 2:03 pm 2010
Hedi Berriche
Re: Serious problem with ticket spinlocks on ia64
On Fri, Aug 27, 2010 at 18:16 Petr Tesarik wrote: | On Friday 27 of August 2010 18:08:03 Luck, Tony wrote: | > > Hedi Berriche sent me a simple test case that can | > > trigger the failure on the siglock. | > | > Can you post the test case please. How long does it typically take | > to reproduce the problem? | | I let Hedi send it. It's really easy to reproduce. In fact, I can reproduce it | within 5 minutes on an 8-CPU system. Test case provided via private email. Cheers, Hedi. -- ...
Aug 27, 11:20 am 2010
Hedi Berriche
Re: Serious problem with ticket spinlocks on ia64
On Fri, Aug 27, 2010 at 15:09 Petr Tesarik wrote: | On Friday 27 of August 2010 15:48:02 Hedi Berriche wrote: | | > One more fact, the problem was introduced by commit | > | > commit 9d40ee200a527ce08ab8c793ba8ae3e242edbb0e | > Author: Tony Luck <tony.luck@intel.com> | > Date: Wed Oct 7 10:54:19 2009 -0700 | > | > [IA64] Squeeze ticket locks back into 4 bytes. | > | > Reverting the patch makes the problem go away. | > | > IOW, and as far as testing shows, the first ...
Aug 27, 7:31 am 2010
Petr Tesarik
Serious problem with ticket spinlocks on ia64
Hi everybody, SGI has recently experienced failures with the new ticket spinlock implementation. Hedi Berriche sent me a simple test case that can trigger the failure on the siglock. To debug the issue, I wrote a small module that watches writes to current->sighand->siglock and records the values. I observed that the __ticket_spin_lock() primitive fails when the tail wraps around to zero. I reconstructed the following: CPU 7 holds the spinlock CPU 5 wants to acquire the spinlock Spinlock ...
Aug 27, 6:37 am 2010
Hedi Berriche
Re: Serious problem with ticket spinlocks on ia64
On Fri, Aug 27, 2010 at 15:40 Petr Tesarik wrote: | On Friday 27 of August 2010 16:31:35 Hedi Berriche wrote: | | > That said, I'm letting my already over 36 hours run carry on chewing CPU | > time, and see if it will eventually trip the same problem seen with 4-byte | > ticket locks. | | Hm, this doesn't sound like a viable approach. Since the siglock gets | initialized to 0 when a new process is started, it may never actually wrap | around. | | I would rather attach a SystemTap probe ...
Aug 27, 7:52 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
I let Hedi send it. It's really easy to reproduce. In fact, I can reproduce it Right. I also realized I was reading the spinlock value with a plain "ld4". When I changed it to "ld4.acq", this is what happens: 1. We're in _spin_lock_irq, which starts like this: 0xa0000001008ea000 <_spin_lock_irq>: [MMI] rsm 0x4000;; 0xa0000001008ea001 <_spin_lock_irq+1>: fetchadd4.acq r15=[r32],1 0xa0000001008ea002 <_spin_lock_irq+2>: nop.i 0x0;; AFAICS the spinlock ...
Aug 27, 10:16 am 2010
Luck, Tony
RE: Serious problem with ticket spinlocks on ia64
> this fails so catastrophically Interesting ... getting rid of some of the fancy asm bits (replacing both the ld4.c.nc and the ld2.bias with simple "serve = *p" and "tmp = *p") makes this run a lot better. -Tony --
Aug 27, 4:55 pm 2010
Luck, Tony
RE: Serious problem with ticket spinlocks on ia64
I think I take this back ... if it were a memory ordering problem, then it could show up any time - not just at wrap-around. -Tony --
Aug 27, 1:29 pm 2010
Luck, Tony
RE: Serious problem with ticket spinlocks on ia64
I pondered that for a while - but I have difficulty believing that fetchadd looks at which bits changed and only writes back the bytes that did. -Tony --
Aug 27, 2:11 pm 2010
Luck, Tony
RE: Serious problem with ticket spinlocks on ia64
Can you post the test case please. How long does it typically take What is the duplicate ticket number that CPUs 5 & 7 get at this point? Is the fault handler using "ld.acq" to look at the spinlock value? If not, then this might be a red herring. [Though clearly something What cpu model are you running on? What is the topological connection between CPU 4, 5 and 7 - are any of them hyper-threaded siblings? Cores on same socket? N.B. topology may change from boot to boot, so you may need to ...
Aug 27, 9:08 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
Hm, this doesn't sound like a viable approach. Since the siglock gets initialized to 0 when a new process is started, it may never actually wrap around. I would rather attach a SystemTap probe somewhere during process fork and add a bias to the siglock. That should work fine. Let me knock up the SystemTap script... Petr --
Aug 27, 7:40 am 2010
Petr Tesarik
Re: Serious problem with ticket spinlocks on ia64
I wouldn't be so sure about it. Given that I have only observed the problem when the spinlock value wraps around, then an 8-byte spinlock might only need much more time to trigger the bug. Just my two cents, Petr Tesarik L3 International Novell, Inc. --
Aug 27, 7:09 am 2010
Luck, Tony
RE: Serious problem with ticket spinlocks on ia64
Debugging this in the kernel seemed hard ... so I tried to construct a user level test using the same code from the kernel. See attached. But this fails so catastrophically with any number of threads greater than one, that I suspect I made some mistake cut & pasting the relevant bits of kernel infrastructure. The goal of the program is to have several child processes pounding on a lock while the parent looks in every 5 seconds to see if they are making progress. -Tony
Aug 27, 4:26 pm 2010
Justin Piszcz
3w-9xxx: scsi0: WARNING: (0x06:0x0037): Character ioctl ...
Hello, I sometimes see this on one of my two 3ware cards in my system. I have opened a case previously with LSI/3ware and they are not sure what is going on, all disks are good, etc. I notice this sometimes occurs when there is high I/O & network activity, but I am not able to reproduce it at will. I do remember it happening before though just running a postmap on some files and rsyncing a few configuration files around. Originally I thought it might be something to do with having ...
Aug 27, 6:12 am 2010
adam radford
Re: 3w-9xxx: scsi0: WARNING: (0x06:0x0037): Character io ...
Justin, This just means the firmware didn't complete an ioctl in 60 seconds. Can try changing this define in 3w-9xxx.h: #define TW_IOCTL_CHRDEV_TIMEOUT 60 /* 60 seconds */ to 90 or 120 seconds to see if that fixes your issue? Thanks, -Adam --
Aug 27, 9:29 am 2010
Justin Piszcz
Re: 3w-9xxx: scsi0: WARNING: (0x06:0x0037): Character io ...
Hi Adam, Thanks for responding! LSI just got back to me on a second case, their latest beta firmware: http://www.lsi.com/DistributionSystem/AssetDocument/readme.txt SCR 2196: Unexpected controller soft resets Fixed an issue with regards to deferral of write and read commands to help eliminate unexpected soft resets. Well well! Plan of action: 1. See if the error recurs without 'nobarrier' - only because there are some threads about problems when this is enabled on 3ware ...
Aug 27, 10:10 am 2010
CAI Qian
kdump regression compared to v2.6.35
Just a head-up, the kdump kernel is stuck here. Bisect indicated that cc41f5cede3c63836d1c0958204630b07f5b5ee7 was also good. Kernel command line: ro root=/dev/mapper/vg_intels3e3601-lv_root rd_LVM_LV=vg_intels3e3601/lv_root rd_LVM_LV=vg_intels3e3601/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=ttyS0,115200 irqpoll maxcpus=1 reset_devices cgroup_disable=memory memmap=exactmap memmap=640K@0K memmap=130412K@49792K ...
Aug 27, 5:35 am 2010
Samu Onkalo
[PATCH 0/3] ak8974 / ami305 magnetometer driver
Patch set provides driver for ak8974 and ami305 3 axis magnetometer driver. Data is provided via misc character device as a structure of data. Driver supports regulator framework and has PM support. Short documentation is also provided. Data format and sysfs interface is shortly described in the documentation. Provided data is raw magnetic field density for 3 axis. For compass purposes data requires further processing. Samu Onkalo (3): drivers: misc: ak8974 / ami305 magnetometer ...
Aug 27, 4:54 am 2010
Samu Onkalo
[PATCH 1/3] drivers: misc: ak8974 / ami305 magnetometer driver
Patch provides support for ak8974 / ami305 3-axis magnetometer chip. Results are provided via misc character device. Driver supports multiple instaces of the chip. Driver has PM and regulator framework support. Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> --- drivers/misc/ak8974.c | 703 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/i2c/ak8974.h | 50 ++++ 2 files changed, 753 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/ak8974.c create mode ...
Aug 27, 4:54 am 2010
Alan Cox
Re: [PATCH 1/3] drivers: misc: ak8974 / ami305 magnetome ...
So we have a different API to the ak8975 just posted and to the other existing devices. This needs sorting out across the devices before there is a complete disaster. Right now we have a mix of submissions pending which variously use misc + sysfs sysfs input (reporting X Y Z etc axes) What happens if you have two readers - is it fine they get copies of the Pedantically if data is consumed and a partial copy occurs you should Other devices make all of this sysfs or use input. We ...
Aug 27, 5:31 am 2010
Onkalo Samu
Re: [PATCH 1/3] drivers: misc: ak8974 / ami305 magnetome ...
Alan, Thank you for the comments. Dmitry, there is one question for you. -Samu If the regulator frame work is not configured, this code does nothing. I have understood (hopefully correctly) that if the frame work is in use drivers could support that directly assuming that regulators are configured for that platform. If that is not the case, this should be About year ago I send driver for the same chip with input-device interface. During that time I asked from Dmitry Torokhov that is that ...
Aug 27, 9:59 am 2010
Mark Brown
Re: [PATCH 1/3] drivers: misc: ak8974 / ami305 magnetome ...
Your understanding is correct - the regulator API provides separation between the driver and the platform so that the driver code can work with any platform. The driver requests supplies in terms of the physical supplies the chip has (using the struct device and the supply names from the datasheet). The regulator API them matches this with actual regulators on a given system using data provied separately by the code specific to that machine so that the regulator and the consumer using it ...
Aug 27, 11:53 am 2010
Samu Onkalo
[PATCH 3/3] Documentation: Documentation for ak8974 magn ...
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> --- Documentation/misc-devices/ak8974 | 66 +++++++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 Documentation/misc-devices/ak8974 diff --git a/Documentation/misc-devices/ak8974 b/Documentation/misc-devices/ak8974 new file mode 100644 index 0000000..c771f1e --- /dev/null +++ b/Documentation/misc-devices/ak8974 @@ -0,0 +1,66 @@ +Kernel driver ...
Aug 27, 4:54 am 2010
Dmitry Torokhov
Re: [PATCH 1/3] drivers: misc: ak8974 / ami305 magnetome ...
This is really hard question and I am going back and forth myself. When considering using input subsystem try answering the following question - is the device's main purpose is indeed to be a human interface device or do you want to use input subystem because evdev interface is convenient? If the answer is former- then it should be in input (or available through input - let's say IIO-to-input bridge module). If the answer is latter then input is not the right place for the device. Lately I ...
Aug 27, 11:08 am 2010
Samu Onkalo
[PATCH 2/3] drivers: misc: ak8974 support to Kconfig and ...
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> --- drivers/misc/Kconfig | 11 +++++++++++ drivers/misc/Makefile | 1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0b591b6..65615a8 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -314,6 +314,17 @@ config SENSORS_BH1780 This driver can also be built as a module. If so, the module will be called bh1780gli. +config AK8974 + ...
Aug 27, 4:54 am 2010
Martin Knoblauch
Two problems running 2.6.35.4 on CentOS-5.5 (x86_64) userspace
Hi, (please keep me on CC) in order to improve IO behavior on my brand new DELL Presision M4500 notebook, I have decided to try out a newer kernel compared to the 2.6.18-xxx CentOS one. Installing 2.6.35.4 went pretty well and besides small problems with two external/proprietary modules (my fault, I know ...) I only see two issues: a) accessing the HW clock does not work [root@lbwjxqm1 ~]# hwclock Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of ...
Aug 27, 4:45 am 2010
Masami Hiramatsu
[PATCH -tip 0/5] Perf and tracing/kprobe fixes
Hi, This series of patches fixes a memory leak and perf probe bugs. It also adds a check of invalid argument name for special characters which will cause a fail on perf-trace event format parsing, and assigns "argN" name for no-name arguments. Thank you, --- Masami Hiramatsu (5): tracing/kprobe: Check invalid argument name tracing/kprobes: Set a name for each argument automatically perf probe: Don't make argument names from raw parameters perf probe: Fix return ...
Aug 27, 4:38 am 2010
Masami Hiramatsu
[PATCH -tip 5/5] tracing/kprobe: Check invalid argument name
Check the argument name whether it is invalid (not C-like symbol name). This makes event format simple. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Reported-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: linux-kernel@vger.kernel.org --- kernel/trace/trace_kprobe.c | 20 ...
Aug 27, 4:39 am 2010
Masami Hiramatsu
[PATCH -tip 2/5] perf probe: Fix return probe support
Fix a bug to support %return probe syntax again. Previous commit 4235b04 has a bug which disables the %return syntax on perf probe. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: linux-kernel@vger.kernel.org --- tools/perf/util/probe-event.c | 1 + ...
Aug 27, 4:38 am 2010
Masami Hiramatsu
[PATCH -tip 3/5] perf probe: Don't make argument names f ...
Don't make argument names from raw parameters (means the parameters are written in kprobe-tracer syntax), because the argument syntax may include special characters. Just leave it, then kprobe-tracer gives a new name. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Reported-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arnaldo Carvalho de Melo ...
Aug 27, 4:38 am 2010
Masami Hiramatsu
[PATCH -tip 1/5] tracing/kprobe: Fix a memory leak in e ...
Fix a memory leak which happens when a field name conflicts with others. In error case, free_trace_probe() will free all arguments until nr_args, so this increments nr_args the begining of the loop instead of the end. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: ...
Aug 27, 4:38 am 2010
Masami Hiramatsu
[PATCH -tip 4/5] tracing/kprobes: Set a name for each ar ...
Set "argN" name for each argument automatically if it has no specified name. Since dynamic trace event(kprobe_events) accepts special characters for its argument, its format can show those special characters (e.g. '$', '%', '+'). However, perf can't parse those format because of the character (especially '%') mess up the format. This sets "argX" name for those arguments if user omitted the argument names. E.g. # echo 'p do_fork %ax IP=%ip $stack' > tracing/kprobe_events # cat ...
Aug 27, 4:39 am 2010
Aneesh Kumar K.V
[PATCH -V19 10/15] x86: Add new syscalls for x86_32
This patch adds new syscalls to x86_32 Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- arch/x86/include/asm/unistd_32.h | 14 +++++++++++++- arch/x86/kernel/syscall_table_32.S | 11 +++++++++++ 2 files changed, 24 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h index b766a5e..75c26e7 100644 --- a/arch/x86/include/asm/unistd_32.h +++ b/arch/x86/include/asm/unistd_32.h @@ -346,10 +346,22 @@ #define ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 01/15] exportfs: Return the minimum required ...
The exportfs encode handle function should return the minimum required handle size. This helps user to find out the handle size by passing 0 handle size in the first step and then redoing to the call again with the returned handle size value. Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/btrfs/export.c | 8 ++++++-- fs/exportfs/expfs.c | 9 +++++++-- fs/fat/inode.c | 4 +++- ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 02/15] vfs: Add name to file handle conversi ...
The syscall also return mount id which can be used to lookup file system specific information such as uuid in /proc/<pid>/mountinfo Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/open.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++ include/linux/exportfs.h | 3 + include/linux/fs.h | 8 +++ include/linux/syscalls.h | 5 ++- 4 files changed, 144 insertions(+), 1 deletions(-) diff --git a/fs/open.c b/fs/open.c index ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 03/15] vfs: Add open by file handle support
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/compat.c | 11 +++ fs/exportfs/expfs.c | 2 + fs/namei.c | 223 +++++++++++++++++++++++++++++++++++++++++++--- fs/open.c | 32 ++++++- include/linux/fs.h | 10 ++- include/linux/namei.h | 1 + include/linux/syscalls.h | 3 + 7 files changed, 263 insertions(+), 19 deletions(-) diff --git a/fs/compat.c b/fs/compat.c index 718c706..c4037fd ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 14/15] ext3: Copy fs UUID to superblock.
File system UUID is made available to application via /proc/<pid>/mountinfo Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/ext3/super.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 5dbf4db..6dda322 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -1918,6 +1918,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent) sb->s_qcop = &ext3_qctl_operations; sb->dq_op ...
Aug 27, 4:03 am 2010
Aneesh Kumar K.V
[PATCH -V19 07/15] vfs: Add handle based chown syscall
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/open.c | 20 ++++++++++++++++++++ include/linux/syscalls.h | 2 ++ 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/fs/open.c b/fs/open.c index 7abdcba..5e06c12 100644 --- a/fs/open.c +++ b/fs/open.c @@ -623,6 +623,26 @@ out: return error; } +SYSCALL_DEFINE4(handle_chown, int, mountdirfd, struct file_handle __user *, ufh, + uid_t, user, gid_t, group) +{ + struct path ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 12/15] unistd.h: Add new syscalls numbers to ...
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- include/asm-generic/unistd.h | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index b969770..3efb463 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -646,9 +646,32 @@ __SYSCALL(__NR_prlimit64, sys_prlimit64) __SYSCALL(__NR_fanotify_init, sys_fanotify_init) #define __NR_fanotify_mark ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 09/15] vfs: Add file access and modification ...
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/compat.c | 20 ++++++++++++++++++ fs/utimes.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++ include/linux/syscalls.h | 3 ++ include/linux/time.h | 3 ++ 4 files changed, 75 insertions(+), 0 deletions(-) diff --git a/fs/compat.c b/fs/compat.c index c4037fd..29c4cb4 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -131,6 +131,26 @@ asmlinkage long compat_sys_utimes(const char ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 06/15] vfs: Add handle based link syscall
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/namei.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ include/linux/syscalls.h | 2 ++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 4718802..304b187 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2706,6 +2706,51 @@ SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname return sys_linkat(AT_FDCWD, oldname, AT_FDCWD, ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 15/15] ext4: Copy fs UUID to superblock
File system UUID is made available to application via /proc/<pid>/mountinfo Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/ext4/super.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 2614774..b46a78c 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2941,6 +2941,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) sb->s_qcop = &ext4_qctl_operations; sb->dq_op ...
Aug 27, 4:03 am 2010
Aneesh Kumar K.V
[PATCH -V19 05/15] vfs: Add handle based stat syscall
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- arch/x86/ia32/sys_ia32.c | 13 +++++++++++++ fs/stat.c | 42 ++++++++++++++++++++++++++++++++++++++++++ include/linux/fs.h | 3 +++ include/linux/syscalls.h | 9 +++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index 849813f..7f679e4 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c @@ -138,6 ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 04/15] vfs: Add handle based readlink syscall
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/stat.c | 28 ++++++++++++++++++++++++++++ include/linux/syscalls.h | 3 +++ 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/fs/stat.c b/fs/stat.c index 12e90e2..29052eb 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -319,6 +319,34 @@ SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf, return sys_readlinkat(AT_FDCWD, path, buf, bufsiz); } ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 08/15] vfs: Add handle based xattr syscalls
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/xattr.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++ include/linux/syscalls.h | 15 ++++++++++ 2 files changed, 85 insertions(+), 0 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 01bb813..1d236c9 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -335,6 +335,26 @@ SYSCALL_DEFINE5(fsetxattr, int, fd, const char __user *, name, return error; } +SYSCALL_DEFINE6(handle_setxattr, int, ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 11/15] x86: Add new syscalls for x86_64
This patch add new syscalls to x86_64 Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- arch/x86/ia32/ia32entry.S | 11 +++++++++++ arch/x86/include/asm/unistd_64.h | 24 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 0 deletions(-) diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index b86feab..7b6c67d 100644 --- a/arch/x86/ia32/ia32entry.S +++ b/arch/x86/ia32/ia32entry.S @@ -845,4 +845,15 @@ ia32_sys_call_table: .quad ...
Aug 27, 4:02 am 2010
Aneesh Kumar K.V
[PATCH -V19 13/15] vfs: Export file system uuid via /pro ...
We add a per superblock uuid field. File systems should update the uuid in the fill_super callback Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- fs/namespace.c | 16 ++++++++++++++++ include/linux/fs.h | 1 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 2e10cb1..041645a 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -837,6 +837,18 @@ const struct seq_operations mounts_op = { .show = ...
Aug 27, 4:03 am 2010
Aneesh Kumar K.V
[PATCH -V19 00/15] Generic name to handle and open by ha ...
Hi, The below set of patches implement open by handle support using exportfs operations. This allows user space application to map a file name to file handle and later open the file using handle. This should be usable for userspace NFS [1] and 9P server [2]. XFS already support this with the ioctls XFS_IOC_PATH_TO_HANDLE and XFS_IOC_OPEN_BY_HANDLE. [1] http://nfs-ganesha.sourceforge.net/ [2] http://thread.gmane.org/gmane.comp.emulators.qemu/68992 git repo for the patchset ...
Aug 27, 4:02 am 2010
"潘卫平(Peter Pan)"
Re: [PATCH 01/28] daily commit
????????????? -- 潘卫平 Peter Pan Red Flag Software Co.,Ltd --
Aug 27, 3:56 am 2010
Peter Zijlstra Aug 27, 3:39 am 2010
Wu Fengguang
[PATCH] writeback: remove the internal 5% low bound on d ...
The dirty_ratio was siliently limited in global_dirty_limits() to >= 5%. This is not a user expected behavior. And it's inconsistent with calc_period_shift(), which uses the plain vm_dirty_ratio value. Let's rip the internal bound. At the same time, fix balance_dirty_pages() to work with the dirty_thresh=0 case. This allows applications to proceed when dirty+writeback pages are all cleaned. And ">" fits with the name "exceeded" better than ">=" does. Neil think it is an aesthetic ...
Aug 27, 3:36 am 2010
Rik van Riel
Re: [PATCH] writeback: remove the internal 5% low bound ...
Reviewed-by: Rik van Riel <riel@redhat.com> -- All rights reversed --
Aug 27, 6:47 am 2010
Andi Kleen
Re: [PATCH] bitops: Provide generic sign_extend function ...
If it only handles 32bit please call it sign_extend32 -Andi -- ak@linux.intel.com -- Speaking for myself only. --
Aug 27, 3:27 am 2010
Andreas Herrmann
[PATCH] bitops: Provide generic sign_extend function (mo ...
From: Andreas Herrmann <andreas.herrmann3@amd.com> Provide a common function to sign extend a value. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- drivers/net/wireless/ath/ath5k/phy.c | 6 ------ drivers/net/wireless/ath/ath9k/hw.h | 6 ------ drivers/net/wireless/iwlwifi/iwl-4965.c | 16 ---------------- include/linux/bitops.h | 11 +++++++++++ 4 files changed, 11 insertions(+), 28 deletions(-) Recently I needed to sign extend some ...
Aug 27, 3:16 am 2010
Luis R. Rodriguez
Re: [PATCH] bitops: Provide generic sign_extend function ...
Think its reasonable. Adding linux-wireless. --
Aug 27, 12:28 pm 2010
Bob Copeland
Re: [PATCH] bitops: Provide generic sign_extend function ...
On Fri, Aug 27, 2010 at 6:16 AM, Andreas Herrmann Note these two are specified slightly differently, so return different values with the same arguments. The ath[59]k version takes the number of bits (1-based) while the other one takes the position of the high order bit (0-based). I think the former is a little more natural but it's a matter of taste. Anyway I personally have no problem with merging them once the above is fixed. I wrote a similar patch when I wrote the ath5k version, ...
Aug 27, 3:09 pm 2010
Kukjin Kim
[GIT PULL] Samsung fixes for 2.6.36-rc3
Hi Linus, Please pull Samsung fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git s5p-fixes-for-linus These things are for bug fix on 2.6.36-rc3. If any problems, please let me know. Thanks. Best regards, Kgene. -- Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. The following changes since commit 76be97c1fc945db08aae1f1b746012662d643e97: Linux 2.6.36-rc2 (2010-08-22 17:43:29 ...
Aug 27, 2:48 am 2010
David Howells
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
The problem with using a non-upstream commit ID like this is that it likely The patch being part of the series is probably sufficient, though a note of A summary of the changes being made is good: ptrace: Fix up the arguments arch_ptrace() in arch FRV Fix up the arguments to arch_ptrace() to take account of the fact that addr and data are now unsigned long rather than long as of a preceding patch in this series. Signed-off-by: ... Note, however, that if the earlier patch ...
Aug 27, 5:12 am 2010
Namhyung Kim
[RFC PATCH 03/43] ptrace: change signature of arch_ptrace()
change type of @addr and @data into unsigned long. NOTE: This patch might break build if applied alone so should be used with your arch counterpart. Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- include/linux/ptrace.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 67a4cd7..092a04f 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -100,7 +100,8 @@ #include <linux/sched.h> /* For ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 07/43] ptrace, arm: change signature of arch_ ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> --- arch/arm/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index f99d489..87ca2c7 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c @@ -847,7 +847,8 @@ static ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 33/43] ptrace, s390: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> --- arch/s390/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index 83339d3..019bb71 100644 --- a/arch/s390/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
David Howells
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
That description means nothing. Commit f76671df26ef06321480e702770f88f61272be29 is not upstream. David --
Aug 27, 4:01 am 2010
Namhyung Kim
[RFC PATCH 19/43] ptrace, m32r: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Hirokazu Takata <takata@linux-m32r.org> --- arch/m32r/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c index e555091..69bbf7a 100644 --- a/arch/m32r/kernel/ptrace.c +++ b/arch/m32r/kernel/ptrace.c @@ -621,7 +621,8 @@ ...
Aug 27, 2:42 am 2010
Arnd Bergmann
Re: [RFC PATCH 02/43] ptrace: cleanup ptrace_request()
If you introduce two pointers, 'siginfo_t __user *usiginfo' and 'unsigned long __user *datap' instead of just 'datap', you can use get_user/put_user everywhere, which would make the code better readable and faster. Otherwise this change looks good. Arnd --
Aug 27, 7:23 am 2010
Namhyung Kim
Re: [RFC PATCH 01/43] ptrace: change signature of sys_pt ...
Thank you. Will add it. -- Regards, Namhyung Kim --
Aug 27, 8:55 am 2010
Namhyung Kim
[RFC PATCH 18/43] ptrace, ia64: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> --- arch/ia64/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c index 7c7909f..8848f43 100644 --- a/arch/ia64/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 02/43] ptrace: cleanup ptrace_request()
use new local variable to remove unnecesary casting, but it requires put_user() to be changed to copy_to_user(). Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- kernel/ptrace.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c index f838afe..1084bef 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -563,6 +563,7 @@ int ptrace_request(struct task_struct *child, long request, { int ret = -EIO; siginfo_t ...
Aug 27, 2:41 am 2010
Namhyung Kim
Re: [RFC PATCH 03/43] ptrace: change signature of arch_p ...
OK. Will combine those. BTW, one thing I wonder is it will have huge CC list of arch maintainers in commit message, so is it usual? or is there other way? -- Regards, Namhyung Kim --
Aug 27, 9:20 am 2010
Namhyung Kim
[RFC PATCH 20/43] ptrace, m32r: cleanup arch_ptrace()
use new 'datap' variable in order to remove duplicated castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Hirokazu Takata <takata@linux-m32r.org> --- arch/m32r/kernel/ptrace.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c index 69bbf7a..fc93e8d 100644 --- a/arch/m32r/kernel/ptrace.c +++ b/arch/m32r/kernel/ptrace.c @@ -625,6 +625,7 @@ arch_ptrace(struct task_struct *child, long request, ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 09/43] ptrace, avr32: change signature of arc ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Haavard Skinnemoen <hskinnemoen@atmel.com> --- arch/avr32/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c index 5e73c25..ecea9b6 100644 --- a/arch/avr32/kernel/ptrace.c +++ b/arch/avr32/kernel/ptrace.c @@ -146,7 +146,8 ...
Aug 27, 2:41 am 2010
Arnd Bergmann
Re: [RFC PATCH 03/43] ptrace: change signature of arch_p ...
Would it be possible to rearrange your patches so that you don't break anything in the middle? I think merging all the trivial 'change signature' patches into one would also make reviewing easier. Nobody in their right mind is looking through a full series of 43 patches, especially if they do not make sense on their own, but one patch that changes a function signature tree-wide would be looked at by many people and can be applied standalone. It does make sense to keep the 'foo: clean up ...
Aug 27, 7:28 am 2010
Namhyung Kim
Re: [RFC PATCH 02/43] ptrace: cleanup ptrace_request()
Despite I don't know how much it can run faster, I just want to keep it as is unless it would be a serious mistake. :-) -- Regards, Namhyung Kim --
Aug 27, 9:13 am 2010
Arnd Bergmann
Re: [RFC PATCH 01/43] ptrace: change signature of sys_pt ...
Looks good to me. It may be worth mentioning in the changelog that 'unsigned long' is typically used in other places in the kernel as an opaque data type and that using this helps cleaning up a lot of warnings from sparse. Acked-by: Arnd Bergmann <arnd@arndb.de> --
Aug 27, 6:21 am 2010
Namhyung Kim
[RFC PATCH 01/43] ptrace: change signature of sys_ptrace ...
Since user space API of ptrace syscall defines @addr and @data as void pointers, it would be more appropriate to define them as unsigned long in kernel. Therefore related functions are changed also. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- include/linux/ptrace.h | 9 ++++++--- include/linux/syscalls.h | 3 ++- kernel/ptrace.c | 16 ++++++++++------ 3 files changed, 18 insertions(+), 10 deletions(-) diff --git ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 21/43] ptrace, m68k: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> --- arch/m68k/kernel/ptrace.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/m68k/kernel/ptrace.c b/arch/m68k/kernel/ptrace.c index 616e597..583f59f 100644 --- a/arch/m68k/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 28/43] ptrace, mn10300: change signature of a ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> --- arch/mn10300/kernel/ptrace.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/mn10300/kernel/ptrace.c b/arch/mn10300/kernel/ptrace.c index cf847da..4261810 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
OK. I'll combine those patches into one on next round. Thanks. -- Regards, Namhyung Kim --
Aug 27, 8:53 am 2010
Namhyung Kim
[RFC PATCH 42/43] ptrace, xtensa: change signature of ar ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Chris Zankel <chris@zankel.net> --- arch/xtensa/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/xtensa/kernel/ptrace.c b/arch/xtensa/kernel/ptrace.c index 9d4e1ce..af9ba80 100644 --- a/arch/xtensa/kernel/ptrace.c +++ b/arch/xtensa/kernel/ptrace.c @@ -256,7 +256,8 @@ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 29/43] ptrace, mn10300: cleanup arch_ptrace()
use new 'datap' variable in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> --- arch/mn10300/kernel/ptrace.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/mn10300/kernel/ptrace.c b/arch/mn10300/kernel/ptrace.c index 4261810..5c0b07e 100644 --- a/arch/mn10300/kernel/ptrace.c +++ b/arch/mn10300/kernel/ptrace.c @@ ...
Aug 27, 2:42 am 2010
Mike Frysinger
Re: [RFC PATCH 00/43] ptrace cleanups
sounds like these changes should be squashed into one then -mike --
Aug 27, 9:30 am 2010
Namhyung Kim
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
Hi, Thank you for noticing. My bad. I just wanted to let you know it depends on that. What is the proper way to handle this? -- Regards, Namhyung Kim --
Aug 27, 4:15 am 2010
Namhyung Kim
[RFC PATCH 39/43] ptrace, tile: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Chris Metcalf <cmetcalf@tilera.com> --- arch/tile/kernel/ptrace.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/tile/kernel/ptrace.c b/arch/tile/kernel/ptrace.c index 7161bd0..704bf11 100644 --- a/arch/tile/kernel/ptrace.c +++ b/arch/tile/kernel/ptrace.c @@ -64,7 +64,8 @@ ...
Aug 27, 2:42 am 2010
Namhyung Kim
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
In this series, 3/43 changes the prototype of arch_ptrace() in include/linux/ptrace.h and the following patches change it for each arch in arch/xxx/kernel/ptrace.c. Do you mean all of arch change patches should be combinded into a patch? -- Regards, Namhyung Kim --
Aug 27, 5:58 am 2010
Namhyung Kim
[RFC PATCH 34/43] ptrace, score: change signature of arc ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] And removes unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Chen Liqin <liqin.chen@sunplusct.com> Cc: Lennox Wu <lennox.wu@gmail.com> --- arch/score/kernel/ptrace.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/score/kernel/ptrace.c b/arch/score/kernel/ptrace.c index 174c642..5583618 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 41/43] ptrace, um: cleanup arch_ptrace()
remove unnecessary castings using void pointer and fix copy_to_user() return value. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Jeff Dike <jdike@addtoit.com> --- arch/um/kernel/ptrace.c | 23 +++++++++++------------ arch/um/sys-x86_64/ptrace.c | 7 +++---- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/um/kernel/ptrace.c b/arch/um/kernel/ptrace.c index 963d82b..137a1bc 100644 --- a/arch/um/kernel/ptrace.c +++ b/arch/um/kernel/ptrace.c @@ -46,7 ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 23/43] ptrace, m68knommu: change signature of ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Greg Ungerer <gerg@uclinux.org> --- arch/m68knommu/kernel/ptrace.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/m68knommu/kernel/ptrace.c b/arch/m68knommu/kernel/ptrace.c index f6be124..835a3ed 100644 --- a/arch/m68knommu/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 13/43] ptrace, cris-v32: change signature of ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> --- arch/cris/arch-v32/kernel/ptrace.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/ptrace.c index f4ebd1e..b50da61 100644 --- ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 40/43] ptrace, um: change signature of arch_p ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Jeff Dike <jdike@addtoit.com> --- arch/um/kernel/ptrace.c | 5 +++-- arch/um/sys-i386/ptrace.c | 4 ++-- arch/um/sys-x86_64/ptrace.c | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/um/kernel/ptrace.c b/arch/um/kernel/ptrace.c index e051049..963d82b 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 43/43] ptrace, xtensa: cleanup arch_ptrace()
use new 'datap' variable in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Chris Zankel <chris@zankel.net> --- arch/xtensa/kernel/ptrace.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/xtensa/kernel/ptrace.c b/arch/xtensa/kernel/ptrace.c index af9ba80..c72c947 100644 --- a/arch/xtensa/kernel/ptrace.c +++ b/arch/xtensa/kernel/ptrace.c @@ -260,6 +260,7 @@ long arch_ptrace(struct task_struct *child, long ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 16/43] ptrace, h8300: change signature of arc ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> --- arch/h8300/kernel/ptrace.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/h8300/kernel/ptrace.c b/arch/h8300/kernel/ptrace.c index df11412..23a95f84 100644 --- a/arch/h8300/kernel/ptrace.c +++ b/arch/h8300/kernel/ptrace.c @@ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 04/43] ptrace, x86: change signature of arch_ ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> --- arch/x86/kernel/ptrace.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 70c4872..ea7766a 100644 --- ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 05/43] ptrace, x86: cleanup arch_ptrace()
change type of 'datap' variable into void pointer in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> --- arch/x86/kernel/ptrace.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index ea7766a..29c17610 100644 --- a/arch/x86/kernel/ptrace.c +++ ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 36/43] ptrace, sh: cleanup arch_ptrace()
remove unnecessary castings, get rid of dummy pointer in favour of offsetof() macro and use temporary variables in order to improve readability. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mundt <lethal@linux-sh.org> --- arch/sh/kernel/ptrace_32.c | 38 +++++++++++++++++++++----------------- arch/sh/kernel/ptrace_64.c | 17 ++++++++++------- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 12/43] ptrace, cris-v10: change signature of ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Also fix misc bug on datap. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> --- arch/cris/arch-v10/kernel/ptrace.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/cris/arch-v10/kernel/ptrace.c b/arch/cris/arch-v10/kernel/ptrace.c index ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 25/43] ptrace, microblaze: change signature o ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Michal Simek <monstr@monstr.eu> --- arch/microblaze/kernel/ptrace.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c index dc03ffc..2d6b4cf 100644 --- a/arch/microblaze/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 37/43] ptrace, sparc: change signature of arc ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> --- arch/sparc/kernel/ptrace_32.c | 3 ++- arch/sparc/kernel/ptrace_64.c | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/sparc/kernel/ptrace_32.c b/arch/sparc/kernel/ptrace_32.c index e608f39..e08ba4a 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 24/43] ptrace, m68knommu: cleanup arch_ptrace()
use new regno, datap variables in order to remove duplicated expressions and unnecessary castings. Also some coding style fixes are included. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Greg Ungerer <gerg@uclinux.org> --- arch/m68knommu/kernel/ptrace.c | 59 +++++++++++++++++++++------------------- 1 files changed, 31 insertions(+), 28 deletions(-) diff --git a/arch/m68knommu/kernel/ptrace.c b/arch/m68knommu/kernel/ptrace.c index 835a3ed..7f23775 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 26/43] ptrace, mips: change signature of arch ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> --- arch/mips/kernel/ptrace.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index c51b95f..26c29dd 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c @@ -255,7 +255,8 @@ int ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 30/43] ptrace, parisc: change signature of ar ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> --- arch/parisc/kernel/ptrace.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index c4f49e4..2905b1f ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 10/43] ptrace, avr32: cleanup arch_ptrace()
use new 'datap' variable type of void pointer in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> --- arch/avr32/kernel/ptrace.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c index ecea9b6..4aedcab 100644 --- a/arch/avr32/kernel/ptrace.c +++ b/arch/avr32/kernel/ptrace.c @@ -150,6 +150,7 @@ long arch_ptrace(struct ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 11/43] ptrace, blackfin: change signature of ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] {get,put}_reg() also be changed because they are used only in arch_ptrace() and this can make one of argument checking unnecessary. And castings to void pointer can be removed by make use of datap. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/kernel/ptrace.c | 16 +++++++++------- 1 files changed, 9 ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 38/43] ptrace, sparc: cleanup arch_ptrace()
factor out struct fps and remove redundant castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> --- arch/sparc/kernel/ptrace_32.c | 54 +++++++++++++++------------------------- arch/sparc/kernel/ptrace_64.c | 8 +++--- 2 files changed, 24 insertions(+), 38 deletions(-) diff --git a/arch/sparc/kernel/ptrace_32.c b/arch/sparc/kernel/ptrace_32.c index e08ba4a..27b9e93 100644 --- a/arch/sparc/kernel/ptrace_32.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 17/43] ptrace, h8300: cleanup arch_ptrace()
use new regno, datap variables in order to remove duplicated expressions and unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> --- arch/h8300/kernel/ptrace.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/h8300/kernel/ptrace.c b/arch/h8300/kernel/ptrace.c index 23a95f84..00ddc9c 100644 --- a/arch/h8300/kernel/ptrace.c +++ b/arch/h8300/kernel/ptrace.c @@ -54,6 ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 32/43] ptrace, powerpc: cleanup arch_ptrace()
use new 'datap' variable in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> --- arch/powerpc/kernel/ptrace.c | 55 +++++++++++++++++++++++------------------- 1 files changed, 30 insertions(+), 25 deletions(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index e4b6d75..0047bf9 100644 --- a/arch/powerpc/kernel/ptrace.c +++ ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 14/43] ptrace, frv: change signature of arch_ ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: David Howells <dhowells@redhat.com> --- arch/frv/kernel/ptrace.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/frv/kernel/ptrace.c b/arch/frv/kernel/ptrace.c index fac0289..3d87d1c 100644 --- a/arch/frv/kernel/ptrace.c +++ b/arch/frv/kernel/ptrace.c @@ -254,7 +254,8 @@ void ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 27/43] ptrace, mips: cleanup arch_ptrace()
use new 'addrp' and 'datap' variables type of void pointer in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> --- arch/mips/kernel/ptrace.c | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 26c29dd..c0ab9d2 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c @@ -259,6 +259,8 @@ long ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 31/43] ptrace, powerpc: change signature of a ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> --- arch/powerpc/kernel/ptrace.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 11f3cd9..e4b6d75 100644 --- ...
Aug 27, 2:42 am 2010
David Howells
Re: [RFC PATCH 14/43] ptrace, frv: change signature of a ...
If patch 3 breaks all architectures, such that none of them then compile, this is bad. The fixes should be combined into that patch. If it breaks them such that there are warnings, but they still compile, we can probably live with that, but it's still icky. David --
Aug 27, 6:23 am 2010
Namhyung Kim
[RFC PATCH 15/43] ptrace, frv: cleanup arch_ptrace()
use new regno, datap variables in order to remove duplicated expressions and unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: David Howells <dhowells@redhat.com> --- arch/frv/kernel/ptrace.c | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/arch/frv/kernel/ptrace.c b/arch/frv/kernel/ptrace.c index 3d87d1c..9d68f7f 100644 --- a/arch/frv/kernel/ptrace.c +++ b/arch/frv/kernel/ptrace.c @@ -259,6 +259,8 @@ long ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 00/43] ptrace cleanups
Hello, This patchset tries to cleanup architecture independent/dependent part of ptrace syscall. Specifically it changes prototype of sys_ptrace() to have its arguments @addr and @data to be unsigned long. Since user space API of ptrace() declares them as void pointers, and most of archs consider them unsigned already in their arch_ptrace(), it would be no harmful to change them from (signed) long into unsigned long, IMHO. ptrace() code accesses user area using above arguments frequently, ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 08/43] ptrace, arm: cleanup arch_ptrace()
use new 'datap' variable type of void pointer in order to remove unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> --- arch/arm/kernel/ptrace.c | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index 87ca2c7..4be8a58 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c @@ -851,10 +851,11 @@ long ...
Aug 27, 2:41 am 2010
Arnd Bergmann
Re: [RFC PATCH 02/43] ptrace: cleanup ptrace_request()
No, not a mistake, your code is fine as it is and not performance critical at all. However, in general using get_user/put_user is preferred over copy_from_user/copy_to_user for scalar values. Arnd --
Aug 27, 12:26 pm 2010
Namhyung Kim
[RFC PATCH 35/43] ptrace, sh: change signature of arch_p ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mundt <lethal@linux-sh.org> --- arch/sh/kernel/ptrace_32.c | 31 +++++++++++++++---------------- arch/sh/kernel/ptrace_64.c | 10 ++++++---- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index 6c4bbba..c81a6b9 100644 --- ...
Aug 27, 2:42 am 2010
Namhyung Kim
[RFC PATCH 06/43] ptrace, alpha: change signature of arc ...
change type of @addr and @data into unsigned long according to commit f76671df26ef06321480e702770f88f61272be29 [PATCH 03/43] Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> --- arch/alpha/kernel/ptrace.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/alpha/kernel/ptrace.c b/arch/alpha/kernel/ptrace.c index baa9036..e2af5eb ...
Aug 27, 2:41 am 2010
Namhyung Kim
[RFC PATCH 22/43] ptrace, m68k: cleanup arch_ptrace()
use new regno, datap variables in order to remove duplicated expressions and unnecessary castings. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> --- arch/m68k/kernel/ptrace.c | 46 ++++++++++++++++++++++---------------------- 1 files changed, 23 insertions(+), 23 deletions(-) diff --git a/arch/m68k/kernel/ptrace.c b/arch/m68k/kernel/ptrace.c index 583f59f..0b25268 100644 --- ...
Aug 27, 2:42 am 2010
jiang.adam
[PATCH V2] mips: irq: add stackoverflow detection
From: Adam Jiang <jiang.adam@gmail.com> Add stackoverflow detection to mips arch Signed-off-by: Adam Jiang <jiang.adam@gmail.com> --- arch/mips/Kconfig.debug | 9 +++++++++ arch/mips/kernel/irq.c | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 43dc279..f437cd1 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug @@ -67,6 +67,15 @@ config CMDLINE_OVERRIDE ...
Aug 27, 2:32 am 2010
jiang.adam
[[PATCH V2]] mips: irq: add stackoverflow detection
From: Adam Jiang <jiang.adam@gmail.com> Add stackoverflow detection to mips arch Signed-off-by: Adam Jiang <jiang.adam@gmail.com> --- arch/mips/Kconfig.debug | 9 +++++++++ arch/mips/kernel/irq.c | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 43dc279..f437cd1 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug @@ -67,6 +67,15 @@ config CMDLINE_OVERRIDE ...
Aug 27, 2:29 am 2010
Jan Sembera
[PATCH] binfmt_misc: Fix binfmt_misc priority
This is resend of a patch that was sent couple of days ago, but I got no response to it. No changes from previous version. --- binfmt_misc: Fix binfmt_misc priority Commit 74641f584da introduced a regression - binfmt_misc is now consulted after binfmt_elf, which will unfortunately break ia32el. ia32 ELF binaries on ia64 used to be matched using binfmt_misc and executed using wrapper. As 32bit binaries are now matched by binfmt_elf before bindmt_misc kicks in, the wrapper is ignored. The ...
Aug 27, 2:14 am 2010
Guenter Roeck
[PATCH v2] hwmon: Add tempX_emergency attribute to sysfs ABI
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> --- v2: Re-phrased attribute description Documentation/hwmon/sysfs-interface | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index ff45d1f..101300b 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface @@ -310,6 +310,13 @@ temp[1-*]_crit_hyst from the critical value. RW ...
Aug 27, 2:11 am 2010
Jean Delvare Aug 27, 4:58 am 2010
Andreas Herrmann
[PATCH] x86, mcheck: Avoid duplicate sysfs links/files f ...
From: Andreas Herrmann <andreas.herrmann3@amd.com> kobject_add_internal failed for threshold_bank2 with -EEXIST, don't try to register things with the same name in the same directory. Pid: 1, comm: swapper Tainted: G W 2.6.31 #1 Call Trace: [<ffffffff81161b07>] ? kobject_add_internal+0x156/0x180 [<ffffffff81161cc0>] ? kobject_add+0x66/0x6b [<ffffffff81161793>] ? kobject_init+0x42/0x82 [<ffffffff81161cf9>] ? kobject_create_and_add+0x34/0x63 [<ffffffff81393963>] ? ...
Aug 27, 2:20 am 2010
Wen Congyang
[Patch] ext4: avoid null dereference
ac->inode is set to null in function ext4_mb_release_group_pa(), and then trace_ext4_mballoc_discard(ac) is called, the kernel will panic. BUG: unable to handle kernel NULL pointer dereference at 000000a4 IP: [<f87e1714>] ftrace_raw_event_ext4__mballoc+0x54/0xc0 [ext4] *pdpt = 0000000000abd001 *pde = 0000000000000000 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/system/cpu/cpu1/cache/index1/shared_cpu_map Modules linked in: autofs4 sunrpc p4_clockmod ip6t_REJECT nf_conntrack_ipv6 ...
Aug 27, 1:49 am 2010
Mark Brown
Re: [PATCH] regulator: set max8998->dev to &pdev->dev.
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --
Aug 27, 2:30 am 2010
Liam Girdwood
Re: [PATCH] regulator: set max8998->dev to &pdev->dev.
Applied. Thanks Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk --
Aug 27, 6:04 am 2010
Axel Lin
[PATCH] regulator: set max8998->dev to &pdev->dev.
max8998->dev is NULL in current implementation, set it to &pdev->dev. regulator_register() still return success if max8998->dev is NULL, but rdev->dev.parent will be set to NULL which is incorrect. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/regulator/max8998.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 8b9bfdf..a1baf1f 100644 --- a/drivers/regulator/max8998.c +++ ...
Aug 27, 1:37 am 2010
Sergey Senozhatsky
BUG: scheduling while atomic
Hello, .36-rc2-git4 [ 51.940707] snapshot_ioctl: ioctl '80083307' is deprecated and will be removed soon, update your suspend-to-disk utilities [ 51.940719] Syncing filesystems ... acpi_ds_exec_end_op+0x9b/0x578 [ 54.494374] [<ffffffff81244e5d>] acpi_ps_parse_loop+0x88a/0xa55 [ 54.494380] [ ?arn+0xi_p.4 <f81c>th+00fx2>[493fpiva0x ] 34i_ct [ 54.494492] [<ffffffff810e993d>] sys_ioctl+0x51/0x74 [ 54.494498] [<ffffffff81002002>] system_call_fastpath+0x16/0x1b [ 54.494892] ...
Aug 27, 12:59 am 2010
Rafael J. Wysocki
Re: BUG: scheduling while atomic
Well, that looks like an ACPI battery driver issue. Thanks, Rafael --
Aug 27, 12:02 pm 2010
H. Peter Anvin
Re: [PATCH] x86, k8-gart: Decouple handling of garts and ...
From just looking at it: isn't this patch going to break compiling with CONFIG_K8_NB=n? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --
Aug 27, 10:09 am 2010
Andreas Herrmann
[PATCH] x86, k8-gart: Decouple handling of garts and nor ...
From: Andreas Herrmann <andreas.herrmann3@amd.com> So far we only provide num_k8_northbridges. This is required in different areas (e.g. L3 cache index disable, GART). But not all AMD CPUs provide a GART. Thus it is useful to split off the GART handling from the generic caching of AMD northbridge misc devices. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- arch/x86/include/asm/k8.h | 13 +++++--- arch/x86/kernel/cpu/intel_cacheinfo.c | 4 +- ...
Aug 27, 12:59 am 2010
Andrew Morton Aug 27, 12:24 am 2010
Jean Delvare
Re: [PATCH 1/1] drivers/misc/akm8975: Add compass sensor ...
Hi Andrew, Please note: lkml@vger.kernel.org doesn't exist. Here's my review, as a complement to Andrew's. CONFIG_COMPASS_AK8975 would be a better name IMHO, in anticipation of a This tracing can probably go away once this driver is considered good Missing error handling. i2c_smbus_read_byte_data can return an error, which you want to pass to user-space as a proper error code, not a Using the same buffer for writing and reading is unsupported. I think What's the ...
Aug 27, 12:16 am 2010
Neil Brown
Re: [PATCH 0/5] hybrid union filesystem prototype
On Thu, 26 Aug 2010 20:33:40 +0200 Hi Miklos, My first problem with this that there isn't nearly enough documentation. So I offer the following to fix this problem. Please correct anything that I got glaringly wrong. I don't claim it is at all complete, but touches on the things that I thought were interesting. NeilBrown Hybrid Union Filesystem ======================= This document describes a prototype for a new approach to providing union-filesystem functionality in ...
Aug 27, 12:05 am 2010
Miklos Szeredi
Re: [PATCH 0/5] hybrid union filesystem prototype
Hi Neil, Whoa, thank you very much. I'll add it to the patchset with some Hmm, that's a bug. Directories actually come from the union itself for various reasons, and it does report the correct st_ino but not Almost. Xattr namespace issues currently prevent that, but with For now I refuse to even think about what happens in this case. The easiest way out of this mess might simply be to enforce exclusive modification to the underlying filesystems on a local level, same as the ...
Aug 27, 1:47 am 2010
Neil Brown
Re: [PATCH 0/5] hybrid union filesystem prototype
On Fri, 27 Aug 2010 10:47:39 +0200 I was wondering why you even bothered to fiddle st_ino. Given that lots of other things come from one fs or the other, having the merged directories appear to be from the upper filesystem doesn't seem like a problem. I don't But you never access the xattrs for the lower directory so that shouldn't matter. Have a union for the upper fs would certainly be sufficiently 'interesting' I actually think that your approach can work quite will with either ...
Aug 27, 4:35 am 2010
Miklos Szeredi
Re: [PATCH 0/5] hybrid union filesystem prototype
Ah, right. Another small issue is that currently unionfs accesses inode->i_* from the underlying filesystems instead of calling ->getattr(), which will break if the underlying fs is a union with its I think it's best to leave that stuff until someone actually cares. The "people might find it useful" argument is not strong enough to put I'm not fond of relying on inode->i_* members directly as unionfs itself doesn't play by those rules. But maybe it's OK here as anything wanting to be ...
Aug 27, 9:53 am 2010
Julia Lawall
[PATCH 2/3] drivers/dma: Remove potential NULL dereference
In each case, it appears that the NULL test is not necessary. In the first case, the function pl08x_fill_llis_for_desc is only called in a case where its argument is computed using container_of. In the second case, the function pl08x_tasklet is only used as the second argument of tasklet_init, from which its argument should be the third argument of tasklet_init. But that value is not NULL at the point of calling tasklet_init, in pl08x_dma_init_virtual_channels. The sematic patch that fixes ...
Aug 26, 10:57 pm 2010
Julia Lawall
[PATCH 0/3] Remove potential NULL dereference
These patches find a case where there is a dereference before a NULL test and either move the dereference after the NULL test, or eliminate the NULL test if it seems unnnecessary. --
Aug 26, 10:57 pm 2010
Julia Lawall
[PATCH 3/3] drivers/staging/tm6000: Remove potential NUL ...
If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fld; + T i; ... when != E when != i if (E == NULL) S + i = E->fld; // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> --- drivers/staging/tm6000/tm6000-alsa.c | 3 ...
Aug 26, 10:57 pm 2010
Julia Lawall
[PATCH 1/3] drivers/media/video/em28xx: Remove potential ...
If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fld; + T i; ... when != E when != i if (E == NULL) S + i = E->fld; // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> --- drivers/media/video/em28xx/em28xx-video.c | ...
Aug 26, 10:57 pm 2010
Dave Chinner
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
That, I think, is an invalid assumption. congestion_wait is used in some places as a backoff mechanism that waits for some IO work to be done, with congestion disappearing being a indication that progress has been made and so we can retry sooner than the entire timeout. For example, if _xfs_buf_lookup_pages() fails to allocate page cache pages for a buffer, it will kick the xfsbufd to writeback dirty buffers (so they can be freed) and immediately enter congestion_wait(). If there isn't ...
Aug 26, 10:13 pm 2010
Mel Gorman
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
As it's write IO rather than some IO, I wonder if that's really the right thing to do. However, I accept your (and others) point that I'm added a wait_iff_congested() and updated a few of the VM callers. I changed a fairly minimum number of what appeared to be the obvious ones to change. Thanks -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab --
Aug 27, 2:33 am 2010
Nicholas A. Bellinger
[PATCH 4/4] tcm/fileio: Add WriteCache and Forced Unit A ...
From: Nicholas Bellinger <nab@linux-iscsi.org> This patch adds support for WriteCache emulation using a struct file backend. It also adds support for Forced Unit Access WRITE emulation, and using the TCM callers, can be configured independently via ConfigFS using generic device attributes added in commit ab60b29471. For the WriteCache bit, the fd_do_sync_cache() and fd_do_sync_cache_range() callers for SYNCHRONIZE_CACHE* ops have been added, which are called ...
Aug 26, 9:33 pm 2010
Nicholas A. Bellinger
[PATCH 3/4] tcm: Add WriteCache and DPOFUA emulation bit ...
From: Nicholas Bellinger <nab@linux-iscsi.org> This patch updates transport_generic_emulate_modesense() and it's local mode page callers to report WriteCacheEnabled=1 and DPOFUA=1 for TYPE_DISK with a supporting capable struct se_device and TCM struct se_subsystem_api structure. Note that this patch will return DPOFUA=1 bit capable in the TYPE_DISK specific area when emulate_write_cache=1 and emulate_fua_write=1 device configfs attributes have been set. Signed-off-by: Nicholas A. Bellinger ...
Aug 26, 9:33 pm 2010
Nicholas A. Bellinger
[PATCH 2/4] tcm: Add SYNCHRONIZE_CACHE* CDB infrastructu ...
From: Nicholas Bellinger <nab@linux-iscsi.org> This patch adds support for SYNCHRONIZE_CACHE and SYNCHRONIZE_CACHE_16 CDB emulation using a 32-bit and 64-bit Logical Block Address (LBA) and Number of Blocks Range (converted to bytes by TCM) on a per struct se_cmd + single struct se_task context basis into struct se_subsystem_api backstores based on the received LBA + Range using ->do_sync_cache() and ->do_sync_cache_range() API callers. It adds the the new ...
Aug 26, 9:33 pm 2010
Nicholas A. Bellinger
[PATCH 1/4] tcm: Add WriteCache and FUADPO infrastructur ...
From: Nicholas Bellinger <nab@linux-iscsi.org> This patch adds six new struct se_subsystem_api releated to WriteCache emulation support, FUA Write, FUA READ and DPO. The main two for the SYNCHRONIZE_CACHE* op path callers are: /* * Notify subsystem backstore when a SYNCHRONIZE_CACHE has been * received with WriteCache=1 */ void (*do_sync_cache)(struct se_cmd *); /* * do_sync_cache_range(): * * Notify subsystem backstore when a SYNCHRONIZE_CACHE w/ explict * LBA + Range ...
Aug 26, 9:32 pm 2010
Nicholas A. Bellinger
[PATCH 0/4] tcm: Add WriteCache + FUA Write support to T ...
From: Nicholas Bellinger <nab@linux-iscsi.org> Greetings hch, tejun and Co, This patch series adds WriteCache + FUA Write emulation support into TCM v4 Core and ConfigFS generic code at lio-core-2.6.git/lio-4.0. The series changes the TCM subsystem plugin API at include/target/target_core_transport.h:struct se_subsystem_api that allows SYNCHRONIZE_CACHE emulation to be shared amoungst multiple TCM subsystem plugins (eg: FILEIO, IBLOCK, RAMDISK). This series includes initial support ...
Aug 26, 9:32 pm 2010
Saravana Kannan
Re: Add system bus performance parameter
Looks like the --compose option in git doesn't send email to all the recipients of the patch sets. Adding others who might have missed my cover letter. Sorry about the mix up. -Saravana -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. --
Aug 26, 9:19 pm 2010
朱文佳
msgrcv() errno 514 ERESTARTNOHAND
Hello List:  I have a problem with msgrcv(). I have used msgrcv() in my source to receive messages in a while(1). But it returned an error in errno 514(ERESTARTNOHAND). I search this error in net, and it seems to be should not happen in user program. But it happened in my program, and once only. I didn’t see it happens after that once. My question is how can I make this error happen again? And how can I fix it? I saw RedHat has fixed the problem, but no ...
Aug 26, 10:46 pm 2010
Saravana Kannan
Add system bus performance parameter
Maintainers, I'm adding this parameter since it would be useful to some of the drivers of devices present in the ARM MSM chipsets. Without the PM QoS parameter, there appears to be no clean way (in my opinion) to get requests from multiple drivers to increase the system bus performance (which is possible in MSM chipsets). Adding this parameter would also allow me to delete some code in the Android specific implementation of arch/arm/mach-msm/clock.c that's unnecessarily mach-msm specific ...
Aug 26, 9:13 pm 2010
Pei Lin
Re: msgrcv() errno 514 ERESTARTNOHAND
http://rhn.redhat.com/errata/RHSA-2008-0612.html the website had list the src rpm name. kernel-2.6.18-92.1.10.el5.src.rpm -- Best Regards Lin --
Aug 27, 1:31 am 2010
Peter Zijlstra
Re: [PATCH] pm_qos: Add system bus performance parameter
Like Mark said, unit-less constraints are impossible to use correctly. What if a driver moves from one platform to another? Also, the KHz thing you propose simply doesn't make sense, given a fixed bus width, KBs and KHz have a fixed ratio, and thus you get the exact same problem you initially had and refused to fix. --
Aug 27, 3:17 am 2010
mark gross
Re: [PATCH] pm_qos: Add system bus performance parameter
nack. Change the name to system_bus_throughput_pm_qos assuming KBS units and I'll ok it. It needs to be portable and without units I think drivers will start using magic numbers that will break when you go from a devices with 16 to 32 bus with the same clock. We had an email thread about this last year http://lkml.org/lkml/2009/12/31/143 I don't recall solution ever coming out of it. I think you guys didn't like the idea of using units. Further I did post a patch adding something ...
Aug 26, 11:41 pm 2010
Saravana Kannan
[PATCH] pm_qos: Add system bus performance parameter
Some drivers/devices might need some minimum system bus performance to provide acceptable service. Provide a PM QoS parameter to send these requests to. The new parameter is named "system bus performance" since it is generic enough for the unit of the request to be frequency, bandwidth or something else that might be appropriate. It's up to each implementation of the QoS provider to define what the unit of the request would be. Signed-off-by: Saravana Kannan <skannan@codeaurora.org> --- ...
Aug 26, 9:13 pm 2010
Bryan Huntsman
Re: [PATCH] pm_qos: Add system bus performance parameter
Yeah, I'm planning on rounding up some MSM folks for LPC this year. Power is a big concern for us so it would be good to join the discussion. Initially, I was very keen on the per-device QoS contraints but I've since cooled on it. For our HW, there's not a generic unit that can convey enough data for us to act on. At least not w/o lookup tables, etc., at which point the unit loses it's value and becomes a generic handle. I'm looking forward to a good group discussion on this topic. ...
Aug 27, 11:33 am 2010
skannan
Re: [PATCH] pm_qos: Add system bus performance parameter
Ignoring other details for now, the biggest problem with throughput/KBps units is that PM QoS can't handle it well in its current state. For KBps the requests should be added together before it's "enforced". Just picking the maximum won't work optimally. Another problem with using KBps is that the available throughput is going to vary depending on the CPU frequency since the CPU running at a higher freq is going to use more bandwidth/throughput than the same CPU running at a lower freq. A ...
Aug 27, 1:10 am 2010
Kevin Hilman
Re: [PATCH] pm_qos: Add system bus performance parameter
With this current design, only one system-wide bus would be managed. What if a platform has more than one independently scalable bus? I think the only scalable way to handle this kind of thing is to have per-device QoS constraints that can then be combined/aggregated by parent devices/busses. At LPC this year, I've proposed per-device QoS constraints[1] as a topic for the PM mini-conf. I hope some folks from the MSM camp can be there for these discussions. Kevin --
Aug 27, 7:31 am 2010
Colin Cross
[GIT PULL] tegra fixes for 2.6.36
Hi Linus, Please pull tegra fixes from: git://android.git.kernel.org/kernel/tegra.git for-linus Thanks, Colin The following changes since commit d4348c678977c7093438bbbf2067c49396ae941b: Linus Torvalds (1): Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip are available in the git repository at: git://android.git.kernel.org/kernel/tegra.git for-linus Olof Johansson (2): arm: tegra: fix compilation of board-harmony.c arm: ...
Aug 26, 8:40 pm 2010
Dave Airlie
[git pull] drm fixes.
Hi Linus, Some regression fixes, a couple around the BKL removal, and one in the drm_mm code that was causing SIGBUS errors for some radeon users. Dave. The following changes since commit d03330383c9255cdb184dd33594e89c3542f191b: Merge remote branch 'nouveau/for-airlied' of /ssd/git/drm-nouveau-next into drm-core-next (2010-08-23 08:34:59 +1000) are available in the git repository at: ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes Adam Jackson ...
Aug 26, 8:36 pm 2010
Axel Lin
[PATCH] ASoC: soc-core: fix debugfs_pop_time file permissions
I think this is a typo, debugfs_pop_time should not be executable. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- sound/soc/soc-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 65352c7..42542e0 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -249,7 +249,7 @@ static void soc_init_codec_debugfs(struct snd_soc_codec *codec) printk(KERN_WARNING "ASoC: Failed to create codec ...
Aug 26, 7:34 pm 2010
Mark Brown Aug 27, 12:01 pm 2010
Liam Girdwood
Re: [PATCH] ASoC: soc-core: fix debugfs_pop_time file pe ...
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk --
Aug 27, 5:25 am 2010
Stephen Rothwell
linux-next: Tree for August 27
Hi all, Changes since 20100826: The ceph tree lost its conflict. The jdelvare-hwmon tree lost its conflict. The net tree lost its build failure but gained another so I used the version from next-20100826 with the 2 commits reverted still. The drivers-x86 tree lost its conflict. A added a patch for a boot failure on PowerPC. ---------------------------------------------------------------------------- I have created today's linux-next tree ...
Aug 26, 7:12 pm 2010
Dmitry Torokhov
Re: linux-next: build warning after merge of the drivers ...
Yeah, I think I am innocent here. My patch was adding "select INPUT_SPARCEKMAP" which is a library module and which I ensure to be selectable as long as INPUT is enabled. I do not want to switch it around into "depends on" since it is implementation detail and user should not care. Thanks. -- Dmitry --
Aug 27, 12:40 am 2010
Matthew Garrett
Re: linux-next: build warning after merge of the drivers ...
Oh Lordy. I should stop merging anything that contains "select". I'll take a look at this tomorrow, but I'm about to head away for a week - if anyone has a fix, feel free to find a way to get it merged. (Dmitry, there was a Kconfig issue when I merged your patch, so it's entirely plausible that you're a completely innocent bystander here) -- Matthew Garrett | mjg59@srcf.ucam.org --
Aug 26, 7:51 pm 2010
Stephen Rothwell
linux-next: build warning after merge of the drivers-x86 tree
Hi Matthew, After merging the drivers-x86 tree, today's linux-next build (powerpc ppc64_defconfig and x86_64 allmodconfig) produced this warning: drivers/video/backlight/Kconfig:117:error: recursive dependency detected! drivers/video/backlight/Kconfig:117: symbol BACKLIGHT_CLASS_DEVICE is selected by ACPI_TOSHIBA drivers/platform/x86/Kconfig:490: symbol ACPI_TOSHIBA depends on LEDS_CLASS drivers/leds/Kconfig:12: symbol LEDS_CLASS is selected by ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 11/22] SH: Add missing consts to sys_execve() dec ...
Add missing consts to the sys_execve() declaration which result in the following error: arch/sh/kernel/process_32.c:303: error: conflicting types for 'sys_execve' /warthog/nfs/linux-2.6-fscache/arch/sh/include/asm/syscalls_32.h:24: error: previous declaration of 'sys_execve' was here Signed-off-by: David Howells <dhowells@redhat.com> --- arch/sh/include/asm/syscalls_32.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/sh/include/asm/syscalls_32.h ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 09/22] h8300: Fix die()
Fix h8300's die() to take care of a number of problems: CC arch/h8300/kernel/traps.o In file included from /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/bitops.h:10, from include/linux/bitops.h:22, from include/linux/kernel.h:17, from include/linux/sched.h:54, from arch/h8300/kernel/traps.c:18: /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/system.h:136: warning: 'struct pt_regs' declared inside parameter ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 15/22] Fix H8300 arch
--- arch/h8300/include/asm/irqflags.h | 43 +++++++++++++++++++++++++++++++++++++ arch/h8300/include/asm/system.h | 24 +-------------------- 2 files changed, 44 insertions(+), 23 deletions(-) create mode 100644 arch/h8300/include/asm/irqflags.h diff --git a/arch/h8300/include/asm/irqflags.h b/arch/h8300/include/asm/irqflags.h new file mode 100644 index 0000000..9617cd5 --- /dev/null +++ b/arch/h8300/include/asm/irqflags.h @@ -0,0 +1,43 @@ +#ifndef _H8300_IRQFLAGS_H +#define ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 10/22] h8300: Fix missing consts in kernel_execve()
Fix missing consts in h8300's kernel_execve(): arch/h8300/kernel/sys_h8300.c: In function 'kernel_execve': arch/h8300/kernel/sys_h8300.c:59: warning: initialization from incompatible pointer type arch/h8300/kernel/sys_h8300.c:60: warning: initialization from incompatible pointer type Signed-off-by: David Howells <dhowells@redhat.com> --- arch/h8300/kernel/sys_h8300.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/h8300/kernel/sys_h8300.c ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 19/22] Fix PA-RISC irqflags
--- arch/parisc/include/asm/irqflags.h | 46 ++++++++++++++++++++++++++++++++++++ arch/parisc/include/asm/system.h | 19 +-------------- 2 files changed, 47 insertions(+), 18 deletions(-) create mode 100644 arch/parisc/include/asm/irqflags.h diff --git a/arch/parisc/include/asm/irqflags.h b/arch/parisc/include/asm/irqflags.h new file mode 100644 index 0000000..40442a1 --- /dev/null +++ b/arch/parisc/include/asm/irqflags.h @@ -0,0 +1,46 @@ +#ifndef __PARISC_IRQFLAGS_H +#define ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 14/22] Fix Alpha irqflags
--- arch/alpha/include/asm/irqflags.h | 65 +++++++++++++++++++++++++++++++++++++ arch/alpha/include/asm/system.h | 28 ---------------- 2 files changed, 65 insertions(+), 28 deletions(-) create mode 100644 arch/alpha/include/asm/irqflags.h diff --git a/arch/alpha/include/asm/irqflags.h b/arch/alpha/include/asm/irqflags.h new file mode 100644 index 0000000..75dfe395 --- /dev/null +++ b/arch/alpha/include/asm/irqflags.h @@ -0,0 +1,65 @@ +#ifndef __ALPHA_IRQFLAGS_H +#define ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 13/22] MIPS: Fix IRQ flags handling
--- arch/mips/include/asm/irqflags.h | 53 +++++++++++++++++++++----------------- 1 files changed, 29 insertions(+), 24 deletions(-) diff --git a/arch/mips/include/asm/irqflags.h b/arch/mips/include/asm/irqflags.h index 701ec0b..9ef3b0d 100644 --- a/arch/mips/include/asm/irqflags.h +++ b/arch/mips/include/asm/irqflags.h @@ -17,7 +17,7 @@ #include <asm/hazards.h> __asm__( - " .macro raw_local_irq_enable \n" + " .macro arch_local_irq_enable \n" " .set push \n" ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 08/22] h8300: IRQ flags should be stored in an un ...
Fix h8300's asm/atomic.h to store the IRQ flags in an unsigned long to deal with warnings of the following type: /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h: In function 'atomic_add_return': /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h:22: warning: comparison of distinct pointer types lacks a cast /warthog/nfs/linux-2.6-fscache/arch/h8300/include/asm/atomic.h:24: warning: comparison of distinct pointer types lacks a cast Signed-off-by: David Howells ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 21/22] Fix SH irqflags
--- arch/sh/kernel/irq_32.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/sh/kernel/irq_32.c b/arch/sh/kernel/irq_32.c index e33ab15..14d2477 100644 --- a/arch/sh/kernel/irq_32.c +++ b/arch/sh/kernel/irq_32.c @@ -10,7 +10,7 @@ #include <linux/irqflags.h> #include <linux/module.h> -void notrace raw_local_irq_restore(unsigned long flags) +void notrace arch_local_irq_restore(unsigned long flags) { unsigned long __dummy0, __dummy1; @@ ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 00/22] Name the irq flag handling functions sanely
[Note that this patch alters all arches except AVR32, Cris, Microblaze, Score, Tile and Xtensa as I don't have usable compilers for those. Not all the other arches compiled successfully, but as far as I can tell, those problems are not due to my patches]. A patch ("Fix IRQ flag handling naming") in the middle of the series makes the naming of the general irq flag functions sane. That is followed by a bunch of patches for individual arches that aren't included yet in the main patch, ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 02/22] Blackfin: Split PLL code from mach-specifi ...
Split the PLL control code from the Blackfin machine-specific cdef headers so that the irqflags functions can be renamed without incurring a header loop. Signed-off-by: David Howells <dhowells@redhat.com> --- .../mach-bf518/include/mach/cdefBF51x_base.h | 50 -------------- arch/blackfin/mach-bf518/include/mach/pll.h | 63 ++++++++++++++++++ .../mach-bf527/include/mach/cdefBF52x_base.h | 50 -------------- arch/blackfin/mach-bf527/include/mach/pll.h | 63 ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 03/22] Blackfin: Don't redefine blackfin serial p ...
Various Blackfin machine-specific headers override Blackfin serial port symbols from the <asm/bfin_sport.h> header file with exactly the same values. Remove the duplicates in favour of the master header. Signed-off-by: David Howells <dhowells@redhat.com> --- arch/blackfin/include/asm/bfin_sport.h | 16 +++++ arch/blackfin/mach-bf533/include/mach/defBF532.h | 27 --------- .../mach-bf548/include/mach/defBF54x_base.h | 59 +------------------- ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 05/22] Blackfin: Rename DES PC2() symbol to avoid ...
Rename the PC2() symbol in the generic DES crypto module to be prefixed with DES_ to avoid collision with arch code (Blackfin in this case). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- crypto/des_generic.c | 130 +++++++++++++++++++++++++------------------------- 1 files changed, 65 insertions(+), 65 deletions(-) diff --git a/crypto/des_generic.c b/crypto/des_generic.c index 249f903..873818d 100644 --- ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 07/22] Blackfin: Rename IRQ flags handling functions
Rename h/w IRQ flags handling functions to be in line with what is expected for the irq renaming patch. This renames local_*_hw() to hard_local_*() using the following perl command: perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"` and then fixing up asm/irqflags.h manually. Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 12/22] Fix IRQ flag handling naming
Fix the IRQ flag handling naming. In linux/irqflags.h under one configuration, it maps: local_irq_enable() -> raw_local_irq_enable() local_irq_disable() -> raw_local_irq_disable() local_irq_save() -> raw_local_irq_save() ... and under the other configuration, it maps: raw_local_irq_enable() -> local_irq_enable() raw_local_irq_disable() -> local_irq_disable() raw_local_irq_save() -> local_irq_save() ... This is quite confusing. There should be one set of names expected of ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 18/22] Fix M68K irqflags
--- arch/m68k/include/asm/irqflags.h | 5 ++ arch/m68k/include/asm/irqflags_mm.h | 57 +++++++++++++++++++++++ arch/m68k/include/asm/irqflags_no.h | 86 +++++++++++++++++++++++++++++++++++ arch/m68k/include/asm/system_mm.h | 25 ---------- arch/m68k/include/asm/system_no.h | 49 -------------------- 5 files changed, 150 insertions(+), 72 deletions(-) create mode 100644 arch/m68k/include/asm/irqflags.h create mode 100644 arch/m68k/include/asm/irqflags_mm.h create mode ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 06/22] Blackfin: Add missing dep to asm/irqflags.h
Add a missing dependency (mach/blackfin.h) to asm/irqflags.h so that bfin_read_IMASK() can be used by inline functions. Signed-off-by: David Howells <dhowells@redhat.com> --- arch/blackfin/include/asm/irqflags.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/include/asm/irqflags.h b/arch/blackfin/include/asm/irqflags.h index 813a1af..f3ed931 100644 --- a/arch/blackfin/include/asm/irqflags.h +++ b/arch/blackfin/include/asm/irqflags.h @@ -8,6 ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 01/22] Alpha: Fix a missing comma in sys_osf_statfs()
Fix a comma that got accidentally deleted from sys_osf_statfs() leading to the following warning: arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_statfs': arch/alpha/kernel/osf_sys.c:255: error: syntax error before 'buffer' Signed-off-by: David Howells <dhowells@redhat.com> --- arch/alpha/kernel/osf_sys.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index fb58150..5d1e6d6 100644 --- ...
Aug 26, 6:59 pm 2010
David Howells
[PATCH 16/22] Fix IA64 irqflags
--- arch/ia64/include/asm/irqflags.h | 94 ++++++++++++++++++++++++++++++++++++++ arch/ia64/include/asm/system.h | 76 ------------------------------- 2 files changed, 94 insertions(+), 76 deletions(-) create mode 100644 arch/ia64/include/asm/irqflags.h diff --git a/arch/ia64/include/asm/irqflags.h b/arch/ia64/include/asm/irqflags.h new file mode 100644 index 0000000..f82d6be --- /dev/null +++ b/arch/ia64/include/asm/irqflags.h @@ -0,0 +1,94 @@ +/* + * IRQ flags defines. + ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 22/22] Fix Sparc irqflags
--- arch/sparc/include/asm/irqflags_32.h | 35 ++++++++++++++++++++-------------- arch/sparc/include/asm/irqflags_64.h | 29 +++++++++------------------- arch/sparc/kernel/irq_32.c | 12 ++++++------ 3 files changed, 36 insertions(+), 40 deletions(-) diff --git a/arch/sparc/include/asm/irqflags_32.h b/arch/sparc/include/asm/irqflags_32.h index 0fca9d9..081d130 100644 --- a/arch/sparc/include/asm/irqflags_32.h +++ b/arch/sparc/include/asm/irqflags_32.h @@ -5,33 +5,40 @@ ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 20/22] Fix powerpc irqflags
--- arch/powerpc/include/asm/hw_irq.h | 115 +++++++++++++++++++--------------- arch/powerpc/include/asm/irqflags.h | 2 - arch/powerpc/kernel/exceptions-64s.S | 4 + arch/powerpc/kernel/irq.c | 4 + 4 files changed, 69 insertions(+), 56 deletions(-) diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h index bd100fc..4255de6 100644 --- a/arch/powerpc/include/asm/hw_irq.h +++ b/arch/powerpc/include/asm/hw_irq.h @@ -16,42 +16,57 @@ ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 17/22] Fix m32r irqflags
--- arch/m32r/include/asm/irqflags.h | 105 ++++++++++++++++++++++++++++++++++++++ arch/m32r/include/asm/system.h | 66 ------------------------ 2 files changed, 106 insertions(+), 65 deletions(-) create mode 100644 arch/m32r/include/asm/irqflags.h diff --git a/arch/m32r/include/asm/irqflags.h b/arch/m32r/include/asm/irqflags.h new file mode 100644 index 0000000..e465339 --- /dev/null +++ b/arch/m32r/include/asm/irqflags.h @@ -0,0 +1,105 @@ +/* + * This file is subject to the ...
Aug 26, 7:00 pm 2010
David Howells
[PATCH 04/22] Blackfin: Split the BF532 BFIN_*_FIO_FLAG( ...
Split the BF532 machine type BFIN_*_FIO_FLAG() functions to their own header file to avoid circular #include problems as these functions require IRQ flag handling, which requires asm/blackfin.h, which otherwise requires the header file that defines these functions. For good measure, also get rid of the inclusion of asm/blackfin.h from mach/cdefBF532.h (which is circular) and defBF532.h (which is included by asm/blackfin.h before including this header). Signed-off-by: David Howells ...
Aug 26, 6:59 pm 2010
Miles Lane
2.6.36-rc2-git4 - INFO: possible circular locking depend ...
[ INFO: possible circular locking dependency detected ] 2.6.36-rc2-git4 #12 ------------------------------------------------------- kworker/0:3/3630 is trying to acquire lock: (rtnl_mutex){+.+.+.}, at: [<ffffffff813396c7>] rtnl_lock+0x12/0x14 but task is already holding lock: (rfkill_global_mutex){+.+.+.}, at: [<ffffffffa014b129>] rfkill_switch_all+0x24/0x49 [rfkill] which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 ...
Aug 26, 6:56 pm 2010
Johannes Berg
Re: 2.6.36-rc2-git4 - INFO: possible circular locking de ...
This is due to commit 5a652052fedbd7869572c757dd2ffc2ed420c69d Author: Maxime Bizon <mbizon@freebox.fr> Date: Wed Jul 21 17:21:38 2010 +0200 cfg80211: fix race between sysfs and cfg80211 The rfkill registration needs to be done after dropping all locks in wiphy_register(). Maxime, can you please look at fixing this? [full lockdep report preserved below] johannes --
Aug 27, 1:19 am 2010
David Miller
Re: linux-next: build failure after merge of the net tree
From: Stephen Rothwell <sfr@canb.auug.org.au> Strange, it built on sparc64 for whatever reason :-) I've just pushed the following fix to net-next-2.6, thanks. -------------------- stmmac: Make time functionality depend upon RTC_HCTOSYS_DEVICE Based upon a report by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net> --- drivers/net/stmmac/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/stmmac/Kconfig ...
Aug 26, 8:32 pm 2010
Stephen Rothwell
linux-next: build failure after merge of the net tree
Hi all, After merging the nert tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/stmmac/stmmac_timer.c: In function 'stmmac_open_ext_timer': drivers/net/stmmac/stmmac_timer.c:60: error: 'CONFIG_RTC_HCTOSYS_DEVICE' undeclared (first use in this function) Maybe exposed by commit ac75791aa943c7953521cb4fa7728bf51f9abd2d ("stmmac: remove dead option in the driver's Kconfig") since presumably we used to not build this driver. I have used the net tree from ...
Aug 26, 6:14 pm 2010
Takashi Iwai
Re: [PATCH] hp_accel: Add HP Mini 510x family support
At Fri, 27 Aug 2010 09:21:43 +0900, [Cc'ed to Andrew] Acked-by: Takashi Iwai <tiwai@suse.de> thanks, --
Aug 27, 10:25 am 2010
Masanari Iida
[PATCH] hp_accel: Add HP Mini 510x family support
This patch is an enhanced version of Takashi Iwai's [PATCH] hp_accel: Add quirks for HP ProBook 532x and HP Mini 5102 My HP Mini 5101 works fine with this patch. Confirmed with Tux Racer. Signed-off by: Masanari Iida <standby24x7@gmail.com> diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c index 36e9575..c5cd3db 100644 --- a/drivers/hwmon/hp_accel.c +++ b/drivers/hwmon/hp_accel.c @@ -222,7 +222,7 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = { ...
Aug 26, 5:21 pm 2010
Minchan Kim
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages.
Hello. Hmm.. AFAIR, we discussed it at that time but we concluded it's not good. That's because nr_swap_pages < 0 means both "NO SWAP" and "NOT enough swap space now". If we have a swap device or file but not enough space now, we need to aging anon pages to make inactive list enough size. Otherwise, working set pages would be swapped out more fast before promotion. That aging is done by kswapd so I think it's not big harmful in the system. But if you want to remove aging completely in ...
Aug 26, 6:03 pm 2010
Minchan Kim
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages.
True. I also wanted it but we have to care swap configured but non-enabling still yet system as well as non-swap configured system at that time. If your system is no swap configured, how about this? (It's a not formal proper patch but just quick patch to show the concept). diff --git a/mm/vmscan.c b/mm/vmscan.c index 3109ff7..641c6a6 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1580,6 +1580,11 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone, ...
Aug 26, 10:00 pm 2010
Ying Han
[PATCH] vmscan: fix missing place to check nr_swap_pages.
Fix a missed place where checks nr_swap_pages to do shrink_active_list. Make the change that moves the check to common function inactive_anon_is_low. Signed-off-by: Ying Han <yinghan@google.com> --- mm/vmscan.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 3109ff7..c7923e7 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1605,6 +1605,9 @@ static int inactive_anon_is_low(struct zone *zone, struct scan_control *sc) { int ...
Aug 26, 5:11 pm 2010
Ying Han
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages.
We found the problem on one of our workloads where more TLB flush happens without the change. Kswapd seems to be calling shrink_active_list() which eventually clears access bit of those ptes and does TLB flush with ptep_clear_flush_young(). This system does not have swap configured, and why aging the anon lru in that Lots of TLB flush hurts the performance especially on large smp system. So does it make sense if change it to: + if (nr_swap_pages == 0) + return 0; --
Aug 26, 8:31 pm 2010
Ying Han
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages.
Agree.  In our case, we cares about the case where swap is not enabled In our system, we do have swap configured. In vmscan.c, there are couple of places where we skip scanning and shrinking anon lru while the condition if(nr_swap_pages <= 0)  is true. It still make sense to me to add it to the shrink_active() condition as the initial patch. Also, we found it is quite often to hit the condition inactive_anon_is_low on machine with small numa node size, since the zone->inactive_ratio is set ...
Aug 27, 9:35 am 2010
Greg KH
Re: Linux 2.6.34.6
diff --git a/Makefile b/Makefile index 10c5a85..e821f72 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 34 -EXTRAVERSION = .5 +EXTRAVERSION = .6 NAME = Sheep on Meth # *DOCUMENTATION* diff --git a/arch/arm/include/asm/ptrace.h b/arch/arm/include/asm/ptrace.h index 9dcb11e..bf62c44 100644 --- a/arch/arm/include/asm/ptrace.h +++ b/arch/arm/include/asm/ptrace.h @@ -158,15 +158,24 @@ struct pt_regs { */ static inline int ...
Aug 26, 5:00 pm 2010
Greg KH
Re: Linux 2.6.32.21
diff --git a/Makefile b/Makefile index ad4d191..3e7196f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 32 -EXTRAVERSION = .20 +EXTRAVERSION = .21 NAME = Man-Eating Seals of Antiquity # *DOCUMENTATION* diff --git a/arch/arm/include/asm/ptrace.h b/arch/arm/include/asm/ptrace.h index bbecccd..1df6457 100644 --- a/arch/arm/include/asm/ptrace.h +++ b/arch/arm/include/asm/ptrace.h @@ -150,15 +150,24 @@ struct pt_regs { */ static inline ...
Aug 26, 5:00 pm 2010
Greg KH
Re: Linux 2.6.35.4
diff --git a/Makefile b/Makefile index 554683d..73ab033 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 35 -EXTRAVERSION = .3 +EXTRAVERSION = .4 NAME = Sheep on Meth # *DOCUMENTATION* diff --git a/arch/arm/include/asm/ptrace.h b/arch/arm/include/asm/ptrace.h index 9dcb11e..bf62c44 100644 --- a/arch/arm/include/asm/ptrace.h +++ b/arch/arm/include/asm/ptrace.h @@ -158,15 +158,24 @@ struct pt_regs { */ static inline int ...
Aug 26, 5:00 pm 2010
Willy Tarreau
Re: Og dreams of kernels
[ removing Linus and Andrew not to pollute their mailboxes ] Hi Og, My villagers are nicer, only two have kindly asked if they would get their bi-yearly lunch this week. I'll have to recall the recipe and prepare the I certainly understand as I am one of them. The reason is precisely the one that made you start this silly project : everyone has different expectations on reliability. You don't put the same kernel on your desktop, on a SOHO server, on an enterprise server, on an appliance ...
Aug 27, 1:51 pm 2010
Cesar Eduardo Barros
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
How can I know if this laptop is broken or not? According to Jesse's reply, the BIOS lowered the limit, which could explain why it hits the limit more often: intel ips 0000:00:1f.6: Warning: CPU TDP doesn't match expected value (found 25, expected 35) The thermal throttling seems to be also managed by the BIOS (and there are no settings about it on the BIOS setup that I remember): CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 mce: CPU supports 9 MCE banks CPU0: Thermal ...
Aug 26, 5:11 pm 2010
Cesar Eduardo Barros
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
Running with it right now. Unless I missed one, the messages do happen exactly every five seconds. Here are the first few lines of the dmesg (grepping for 'intel ips'), and it does seem a bit strange: $ dmesg | fgrep intel\ ips intel ips 0000:00:1f.6: Warning: CPU TDP doesn't match expected value (found 25, expected 35) intel ips 0000:00:1f.6: PCI INT C -> GSI 18 (level, low) -> IRQ 18 intel ips 0000:00:1f.6: IPS driver initialized, MCP temp limit 65535 intel ips 0000:00:1f.6: MCP power ...
Aug 26, 6:38 pm 2010
Joe Perches
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
Perhaps you might try this patch and get a bit more information. It seems a sensible patch and perhaps should be applied anyway. Signed-off-by: Joe Perches <joe@perches.com> --- drivers/platform/x86/intel_ips.c | 58 +++++++++++++++++++++++++++++-------- 1 files changed, 45 insertions(+), 13 deletions(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 9024480..73f9ad1 100644 --- a/drivers/platform/x86/intel_ips.c +++ ...
Aug 26, 5:41 pm 2010
Joe Perches
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
I added a logging message whenever the turbo limits change and logging messages for power/temp on MCH for completeness. Maybe this will show something useful like when/how CPU power limit gets set to 0. drivers/platform/x86/intel_ips.c | 105 +++++++++++++++++++++++++++++++------- 1 files changed, 87 insertions(+), 18 deletions(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 9024480..9c65e66 100644 --- a/drivers/platform/x86/intel_ips.c +++ ...
Aug 27, 12:39 am 2010
Cesar Eduardo Barros
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
Running with it right now, did not help much: $ dmesg | fgrep 'intel ips' intel ips 0000:00:1f.6: Warning: CPU TDP doesn't match expected value (found 25, expected 35) intel ips 0000:00:1f.6: PCI INT C -> GSI 18 (level, low) -> IRQ 18 intel ips 0000:00:1f.6: IPS driver initialized, MCP temp limit 65535 intel ips 0000:00:1f.6: MCP power limit 65535 exceeded: cpu:8058 + mch:23392829 intel ips 0000:00:1f.6: CPU power limit 0 exceeded: 5675 intel ips 0000:00:1f.6: CPU power limit 0 exceeded: ...
Aug 27, 4:12 pm 2010
Alan Cox
Re: [PATCH] gpio: Add generic driver for simple memory m ...
On Thu, 26 Aug 2010 15:58:51 -0700 (PDT) I don't think its assumptions. In this case it's a case of actually looking at what these devices are in the real world. Hence 'reality check'. Sure there are plenty of 're-usable' components that appear everywhere - Designware etch turns up in everything but this isn't one of them. --
Aug 26, 5:15 pm 2010
Anton Vorontsov
[PATCH v3] gpio: Add driver for basic memory-mapped GPIO ...
The basic GPIO controllers may be found in various on-board FPGA and ASIC solutions that are used to control board's switches, LEDs, chip-selects, Ethernet/USB PHY power, etc. Usually these controllers do not privide any means of pin setup (in/out/open drain). The driver provides: - Support for 8/16/32/64 bits registers; - Support for GPIO controllers with clear/set registers; - Support for GPIO controllers with a single "data" register; - Support for big endian bits/GPIOs ordering (mostly ...
Aug 27, 8:57 am 2010
Matthew Wilcox
Re: [PATCH] VFS: Sanity check mount flags passed to chan ...
Hrm. I think we can do this a bit more pithily. /* Only one propagation flag should be set, and no others */ if (hweight32(type) != 1 && (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) return 0; Too clever? -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Aug 26, 6:14 pm 2010
Karel Zak
Re: [PATCH] VFS: Sanity check mount flags passed to chan ...
Fixed, thanks for your bug report. Karel -- Karel Zak <kzak@redhat.com> http://karelzak.blogspot.com --
Aug 27, 3:36 am 2010
Valerie Aurora
Re: [PATCH] VFS: Sanity check mount flags passed to chan ...
I was hoping someone would go find the best bitop for me, thanks. :) hweight32() is an awkward name but the comment makes it clear. I'm happy with either. Thanks for the help, -VAL --
Aug 27, 10:43 am 2010
Valerie Aurora
Re: [PATCH] VFS: Sanity check mount flags passed to chan ...
Yes, thanks! I'll run the test program again before resubmitting. :) -VAL --
Aug 27, 11:12 am 2010
Bob Copeland
Re: [PATCH] VFS: Sanity check mount flags passed to chan ...
Didn't read surrounding code, but is that supposed to be '||'? Otherwise the case where only a single non-propagation flag is set no longer returns 0... -- Bob Copeland %% www.bobcopeland.com --
Aug 27, 10:51 am 2010
Robert Richter
Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend
Could we split this patch in 2 for better review? One that only moves the code and a 2nd that changes it. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 5:59 am 2010
Will Deacon
Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend
Hi Matt, I'm still not happy with the init/exit alloc/free code: On Thu, 2010-08-26 at 20:09 +0100, Matt Fleming wrote: So here, if the perf_events allocation fails for a cpu, we free the stuff we've already allocated [including counter_config] and return -ENOMEM. Looking at drivers/oprofile/oprof.c: static int __init oprofile_init(void) { int err; err = oprofile_arch_init(&oprofile_ops); if (err < 0 || timer) { printk(KERN_INFO "oprofile: using timer interrupt.\n"); err = ...
Aug 27, 3:41 am 2010
Robert Richter
Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend
We need empty function stubs for all this functions for the !CONFIG_PERF_EVENTS case returning -ENODEV or so. Otherwise compliation will fail for it. For arm this does not happen because of #ifdefs, but for sh. Again, please first change the code and then move it without functional changes, one patch each. Thanks, -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 7:31 am 2010
Matt Fleming
Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend
*facepalm* I dunno how I forgot to fix up that patch. Sorry. You're completely right, I forgot to role your changes from patch 1/4 into 3/4 when I Excellent news. Thanks for testing! I'll get the next version of patch 3/4 out tonight. --
Aug 27, 5:44 am 2010
Robert Richter
Re: [PATCH V2 4/4] sh: Use the perf-events backend for o ...
Initialization should simply fail with a printk message for this case, implement function stubs for the !CONFIG_PERF_EVENTS case instead in I don't see a reason why this must be included here. It's only for sh_pmu_name() and sh_pmu_num_events(), so the interface looks wrong here. It should be in oprofile_perf.c. The functions With that implementation we always have to touch the code for new cpus. Maybe we derive it from the perf name, e.g. making all lowercase Instead of exporting all ...
Aug 27, 7:59 am 2010
Matt Fleming
Re: [PATCH V2 4/4] sh: Use the perf-events backend for o ...
I didn't do this because I was hoping that eventually we'd make CONFIG_OPROFILE select PERF_EVENTS. Would you be OK making that change instead? Runtime failure is best avoided where possible, especially when These functions are inherently architecture-specific. See my reply to Is this code really that bad that we need to start playing string Well, the reason that I left it this way is so that architectures can choose to implement wrappers around the oprofile_perf_* functions. I don't ...
Aug 27, 1:19 pm 2010
Robert Richter
Re: [PATCH 2/4] sh: Accessor functions for the sh_pmu state
This probably needs EXPORT_SYMBOLS*(), but not really sure. Have you compiled oprofile as module? This accessor functions should be generic for all architectures. -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 6:43 am 2010
Matt Fleming
Re: [PATCH 2/4] sh: Accessor functions for the sh_pmu state
Ah, no, I haven't compiled this as a module. I'll add some This isn't going to work. ARM uses an integer ID whereas SH uses a string name. This is specific to an architecture and making it generic would probably involve some abstraction layer. --
Aug 27, 12:17 pm 2010
Will Deacon
Re: [PATCH 1/4] oprofile: Handle initialisation failure ...
Hi Robert, I took a look through all of the oprofile_arch_{init,exit} functions and it looks like only ARM needs fixing. Nobody else does any allocation How about something like this? This removes the exit call from the init code and sets pointers to NULL after they have been freed. We still have to do some checking so that we don't try to release a NULL perf event: diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 0691176..12253eb 100644 --- ...
Aug 27, 8:15 am 2010
Robert Richter
Re: [PATCH 1/4] oprofile: Handle initialisation failure ...
I am not sure if it is worth the memory handling code, we could alternativly implement fixed size arrays with MAX_COUNTERS. This would eas it a lot. But, this code will become generic, so we can stick with this implementation. This check is obsolete here as we do not call oprofile_arch_exit() on If we shutdown all this in reverse order, this should be after the if (event) A 'return err;' here would remove the goto. I would preffer this. Thanks, -- Advanced Micro ...
Aug 27, 9:38 am 2010
Robert Richter
Re: [PATCH 1/4] oprofile: Handle initialisation failure ...
The root cause that makes this check necessary is that oprofile_arch_exit() is called though oprofile_arch_init() failed. We should better fix this instead. I have to admit we will then have to We should not return from oprofile_arch_init() with allocated resources if the function fails. To fix duplicate kfrees, we should free it here and then set counter_config to NULL. It should also be freed if for_each_possible_cpu() or op_name_from_perf_id() fails. Also, the pointer should be NULLed ...
Aug 27, 5:43 am 2010
Will Deacon
Re: [PATCH 1/4] oprofile: Handle initialisation failure ...
Hi Robert, Thanks for taking the time to look at this. Sorry, I was being braindead and thought oprofile_arch_exit might be called via oprofile_exit. As it happens, this is only called because of module_exit so we know that initialisation will have completed. In light of this and your comments, I've simplified the code. Once people are happy with it, I'll post it as a couple of patches: diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 0691176..c2c4a2e ...
Aug 27, 11:06 am 2010
Robert Richter
Re: [PATCH 1/4] oprofile: Handle initialisation failure ...
Looks good to me know, the code is a lot easier. Please send me a final version. I'm going to apply it on Monday. Thanks Will, -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 12:47 pm 2010
Neil Brown
Re: [PATCH 2/5] vfs: make i_op->permission take a dentry ...
On Thu, 26 Aug 2010 16:24:02 -0400 union_permission needs the dentry to get access to d_fsdata, which caches the upperpath and lowerpath which were found at lookup time. Is that what you missed? NeilBrown --
Aug 26, 9:11 pm 2010
Valerie Aurora
Re: [PATCH 2/5] vfs: make i_op->permission take a dentry ...
For reference, union mounts needs something like this. The current patch set creates a inode_permission() variant for use in the VFS in cases where we may copy up. The superblock of the target is read-only and we have to ignore that - if the topmost parent directory is unioned. Here's the patch, which I suspect needs to be rewritten: commit 72a84672ccf2a923bac120e3ac75ac106d36b4ae Author: Valerie Aurora <vaurora@redhat.com> Date: Sat Mar 20 17:34:53 2010 -0700 VFS: Split ...
Aug 27, 12:21 pm 2010
David P. Quigley
Re: [PATCH 2/5] vfs: make i_op->permission take a dentry ...
It seems that your reply to [0/5] has the description that I was asking for in my last response. --
Aug 27, 11:31 am 2010
David P. Quigley
Re: [PATCH 2/5] vfs: make i_op->permission take a dentry ...
You're correct I missed the line where that was being pulled out of the dentry. The better question for me would be why do it this way as opposed to what the union file systems are doing. If neither UnionFS or AUFS are having to make this change so I'd like a much better explination for this change. I'm not seeing enough information in the form of why he designed the prototype this way to justify a change that the other implementations don't seem to need. Dave --
Aug 27, 11:13 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
I'm curious: which workload was showing this kind of problem exactly ? Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Aug 27, 11:38 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
The problem with allowing concurrency is that the moment you want to do that you get the spawner context and error propagation problems. Thus we're limited to spawning a single thread at timer_create() and handling expirations in there. At that point you have to specify what happens to an expiration while the handler is running, will it queue handlers or will you have to carefully craft your handler using timer_getoverrun(). But I really don't understand why POSIX would provide this ...
Aug 27, 10:27 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Simply don't use SIGEV_THREAD and spawn you own thread and use SIGEV_THREAD_ID yourself, the programmer knows the semantics and knows if he cares about overlapping timers etc. --
Aug 27, 12:37 am 2010
Thomas Gleixner
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Why should a single timer fork many threads? Just because a previous thread did not complete before the timer fires again? That's braindamage as all threads call the same function which then needs to be serialized anyway. We really do not need a function which creates tons of threads which get all stuck on the same resource. Thanks, tglx --
Aug 27, 1:43 am 2010
Paul E. McKenney
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Why couldn't the timer_create() call record the start time, and then compute the sleeps from that time? So if timer_create() executed at time t=100 and the period is 5, upon awakening and completing the first invocation of the function in question, the thread does a sleep calculated to wake at t=110. Thanx, Paul --
Aug 26, 5:09 pm 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
The risk is that you end up with always using next-buddy, and we tried that a while back and that didn't work well for some, Mike might remember. Also, when you use timers things like time-outs you really couldn't care less if its handled sooner rather than later. Disk is usually so slow you really don't want to consider it interactive, but then sometimes you might,.. its a really hard problem. The only clear situation is the direct input, that's a direct link between the user and our ...
Aug 27, 12:42 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Why try and fix a broken thing, just let the app spawn threads and use SIGEV_THREAD_ID itself, it knows its requirements and can do what suits the situation best. No need to try and patch up braindead posix stuff. --
Aug 27, 12:38 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
It could make sense if the workload is mostly CPU-bound and there is only a very short critical section shared between the threads. But I agree that in many cases this will generate an utter contention mess. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Aug 27, 8:50 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Let's focus on the userspace thread execution, right between the samping of the current time and the call to sleep: Thread A current_time = read current time(); sleep(period_end - current_time); If the thread is preempted between these two operations, then we end up sleeping for longer than what is needed. This kind of imprecision will add up over time, so that after e.g. one day, instead of having the expected number of timer executions, we'll have less than that. This kind of ...
Aug 27, 8:18 am 2010
Mike Galbraith
Re: [RFC PATCH 00/11] sched: CFS low-latency features
I turned it off because it was ripping spread apart badly, and last Yeah, directly linked wakeups using next could be a good thing, but the trouble with using any linkage to the user is that you have to pass it on to reap benefit.. so when do you disconnect? -Mike --
Aug 27, 1:19 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
It's RFC, features are nice to test things and see if/how they work. Features are not a user option, so you don't have to worry about them. Also, 'better' is a very hard thing to quantify. Some people like throughput, some like latency, and others like raw context switch performance. Hopefully we'll soon have a non privileged sporadic task scheduler for all our srt media needs. --
Aug 27, 3:58 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Maybe with the dyn min_vruntime feature proposed in this patchset we should Maybe we could have a timer delay threshold under which we consider the wakeup to be "short" or "long". e.g. a timer firing every ms is very likely to need its wakups to proceed quickly, but if the timer fires every hours, we could not care What we do here is that we pass it on across wakeups, but not across wakups of new threads (so it's not passed across forks). However, AFAIU, this only generates a bias that will ...
Aug 27, 8:43 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Simply do not _ever_ use SIGEV_THREAD, there really is no reason to. --
Aug 27, 8:41 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Besides pthread_attr_t, thinking of the scheduler/cgroups/etc stuff, I'd think it might be expected to inherit the state of the thread which calls timer_create(). But this is not what glibc does right now, and it is not spelled Why should it ? It seems valid for a workload to result in spawning many threads bound to more than a single core on a multi-core system. So concurrency Setting a thread stack and generating the signal more than once is taken into account in the standard. It leads ...
Aug 27, 9:09 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
The standard is broken too, what context will the new thread inherit? The pthread_attr_t stuff tries to cover some of that, but pthread_attr_t doesn't cover all inherited task attributes, and allows for some very 'interesting' bugs [1]. The specification also doesn't cover the case where the handler takes more time to execute than the timer interval. [1] - consider the case where pthread_attr_t includes the stack and we use a spawn thread on expire policy and then run into the ...
Aug 27, 8:41 am 2010
Indan Zupancic
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Hello, Please don't hide scheduler improvements behind obscure CONFIG_SCHED_DEBUG options. If it doesn't make the scheduler better just don't merge it. If it does then it should be enabled by default. Thank you, Indan P.S. Tony Luck seems to be chopped of the CC list. --
Aug 27, 3:47 am 2010
Thomas Gleixner
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Nonsense, that's why we provide clock_nanosleep(ABSTIME) Thanks, tglx --
Aug 27, 8:20 am 2010
Peter Zijlstra
Re: [RFC PATCH 00/11] sched: CFS low-latency features
That would be a massive resource waste for the normal case where the interval > handler runtime. --
Aug 27, 12:23 pm 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
As I dig through the code and learn more about the posix standard, my understanding is that the _implementation_ is broken. The standard just leaves enough rope for the implementation to either do the right thing or to hang itself. Sadly glibc seems to have chosen the second option. Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Aug 27, 8:23 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
From man timer_create: SIGEV_THREAD Upon timer expiration, invoke sigev_notify_function as if it were the start function of a new thread. (Among the implementa‐ tion possibilities here are that each timer notification could result in the creation of a new thread, or that a single thread is created to receive all notifications.) The function is invoked with sigev_value as its ...
Aug 27, 8:21 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
Not if the application can configure this value. So the "normal" case could be set to 1 single thread. Only resource-intensive apps would set this differently, e.g. to the detected number of cpus. Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Aug 27, 12:57 pm 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
These are problems you get only when you allow spawning any number of threads. If, instead, you create a thread pool at timer creation, then you can allow With my statement above in mind, it's true that we'd have to handle what happens when the thread pool is exhausted. But couldn't we simply increment an overrun counter from userland ? (It might be a different counter than kernel space kept Higher abstraction API vs low-level control. A long running battle. ;) Thanks, Mathieu -- ...
Aug 27, 11:32 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 00/11] sched: CFS low-latency features
If we're using CLOCK_MONOTONIC, you're right, this could work. I was only thinking of relative delays. So do you think Paul's ideal would be a good candidate for the timer_create SIGEV_THREAD glibc implementation then ? Thanks, -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Aug 27, 8:30 am 2010
Thomas Gleixner
Re: [RFC PATCH 09/11] sched: timer-driven next buddy (update)
That does not change my opinion on that much. As I said before I strongly object to implement special handling for a particular wakeup scenario as this will open a can of worms for all other special cases and workloads. Thanks, tglx --
Aug 27, 11:14 am 2010
Mathieu Desnoyers
Re: [RFC PATCH 09/11] sched: timer-driven next buddy (update)
Sorry, I forgot that I based this patchset on top of my LTTng tree all along, so this new patch version is needed for reject-less application of the patchset on a vanilla 2.6.35.2 tree. Thanks, Mathieu Subject: sched: timer-driven next buddy [ Impact: implement TIMER feature to diminish the latencies induced by wakeups performed by timer callbacks ] Ensure that timer callbacks triggering wakeups get served ASAP by giving timer-driven wakeups next-buddy affinity. My test ...
Aug 27, 11:02 am 2010
Sam Ravnborg Aug 27, 7:40 am 2010
Konrad Rzeszutek Wilk
[PATCH] x86: Adding comments about .iommu_table and its ...
Updating the linker section with comments about .iommu_table and some other ones that I know of. CC: Sam Ravnborg <sam@ravnborg.org> CC: H. Peter Anvin <hpa@zytor.com> CC: Fujita Tomonori <fujita.tomonori@lab.ntt.co.jp> CC: Thomas Gleixner <tglx@linutronix.de> CC: Ingo Molnar <mingo@redhat.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> --- arch/x86/kernel/vmlinux.lds.S | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git ...
Aug 27, 11:19 am 2010
Konrad Rzeszutek Wilk
Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iom ...
Sure. Will provide one and also explain the other sections that I am familiar with. Thanks for your feedback! --
Aug 27, 7:38 am 2010
Mel Gorman
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
For these cases, would it make sense for wait_iff_congested() to compare nr_writeback to nr_inactive and decide to wait on congestion if more I don't think this is a very strong arguement because cond_reched() is being called. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab --
Aug 27, 2:37 am 2010
Wu Fengguang
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
Yeah the stupid sleeping feels wrong. However there are ~20 congestion_wait() callers spread randomly in VM, FS and block drivers. Many of them may be added by rule of thumb, however what if some of them happen to depend on the old stupid sleeping behavior? Obviously you've done extensive tests on the page reclaim paths, however that's far from enough to cover the wider changes made by this patch. We may have to do the conversions case by case. Converting to congestion_wait_check() (see ...
Aug 26, 6:11 pm 2010
Wu Fengguang
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
congestion_wait() is tightly related with pageout() and writeback, however it may have some intention for the no-IO case as well. - if write congested, maybe we are doing too much pageout(), so wait. it might also reduce some get_request_wait() stalls (the normal way is to explicitly check for congestion before doing write out). - if any write completes, it may free some PG_reclaim pages, so proceed. (when not congested) - if no IO at all, the 100ms sleep might still prevent a page ...
Aug 26, 6:42 pm 2010
Mel Gorman
Re: [PATCH 3/3] writeback: Do not congestion sleep when ...
I am taking this direction now. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab --
Aug 27, 2:34 am 2010
Minchan Kim
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
Hi, Wu. You means following as? while (unlikely(too_many_isolated(zone, file, sc))) { congestion_wait_check(BLK_RW_ASYNC, HZ/10); /* We are about to die and free our memory. Return now. */ if (fatal_signal_pending(current)) return SWAP_CLUSTER_MAX; -- Kind regards, Minchan Kim --
Aug 26, 6:41 pm 2010
Wu Fengguang
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
No, I mean do not change the too_many_isolated() related code at all :) And to use congestion_wait_check() in other places that we can prove there is a problem that can be rightly fixed by changing to Thanks, Fengguang --
Aug 26, 6:50 pm 2010
Wu Fengguang
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
Minchan, It's much cleaner to keep the unchanged congestion_wait() and add a congestion_wait_check() for converting problematic wait sites. The too_many_isolated() wait is merely a protective mechanism, I won't bother to improve it at the cost of more code. Thanks, --
Aug 26, 6:21 pm 2010
Minchan Kim
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
I always suffer from understanding your comment. Apparently, my eyes have a problem. ;( This patch is dependent of Mel's series. With changing congestion_wait with just return when no congestion, it would have CPU hogging in too_many_isolated. I think it would apply in Li's congestion_wait_check, too. If no change is current congestion_wait, we doesn't need this patch. Still, maybe I can't understand your comment. Sorry. -- Kind regards, Minchan Kim --
Aug 26, 7:02 pm 2010
Wu Fengguang
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
Sorry! The confusion must come from the modified congestion_wait() by Mel. My proposal is to _not_ modify congestion_wait(), but add another congestion_wait_check() which won't sleep 100ms when no IO. In this way, the following chunks become unnecessary. --- a/mm/compaction.c +++ b/mm/compaction.c @@ -253,7 +253,11 @@ static unsigned long isolate_migratepages(struct zone *zone, * delay for some time until fewer pages are isolated */ while ...
Aug 26, 9:34 pm 2010
Mel Gorman
Re: [RFC PATCH 0/3] Do not wait the full timeout on cong ...
This is what I've done. I dropped the patch again and am using wait_iff_congested(). I left the too_many_isolated() callers as congestion_wait(). -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab --
Aug 27, 2:38 am 2010
Jeffrey Carlyle
Re: [PATCH] scatterlist: prevent invalid free when alloc fails
On Fri, Aug 27, 2010 at 2:45 PM, Jeffrey Carlyle Actually, please disregard the comment about trying to free NULL. I don't think we need to add the "&& sgl" under any circumstances. --
Aug 27, 1:15 pm 2010
Tejun Heo
Re: [PATCH] scatterlist: prevent invalid free when alloc fails
Hello, But we have sg_mark_end(&sgl[nents-1]) in sg_init_table(). I think explicit end marking in __sg_alloc_table() is redundant. Thanks. -- tejun --
Aug 27, 4:32 pm 2010
Tejun Heo
Re: [PATCH] scatterlist: prevent invalid free when alloc fails
Hello, First of all, the patch is line-wrapped. Please check your email settings. prv[alloc_size - 1] is already marked as end by sg_init_table() during the previous iteration. Also, prv can be NULL at this point. AFAICS, the only thing necessary would be "if (prv) table->nents++", no? Thanks. -- tejun --
Aug 27, 3:18 am 2010
Jeffrey Carlyle
Re: [PATCH] scatterlist: prevent invalid free when alloc fails
Well the problem we were seeing manifested itself when we called free_fn on a NULL value. This was a naive attempt at avoiding that. If the logic in __sg_alloc_table is corrected, I agree that we shouldn't You are right about prv possibly being NULL here. Sorry for not catching that earlier; however, I don't think prv will be marked as an end in the previous iteration. According to my read it will only get marked if left is equal to 0, in which case the while loop exits. Perhaps something ...
Aug 27, 12:45 pm 2010
KAMEZAWA Hiroyuki
Re: cgroup: rmdir() does not complete
On Fri, 27 Aug 2010 14:42:25 +0900 Sorry, my test just hangs on -mm + (other patches) no troubles on 2.6.34 and 2.6.36-rc1. Where can I see 2.6.33.6(Fedora) kernel ? Thanks, -Kame --
Aug 26, 11:29 pm 2010
Daisuke Nishimura
Re: cgroup: rmdir() does not complete
On Fri, 27 Aug 2010 11:35:06 +0900 Thank you very much for your information. Some questions. Is "tmpfile" created on a normal filesystem(e.g. ext3) or tmpfs ? And, how long does it likely to take to cause this problem ? I've run it on RHEL6-based kernel/ext3 for about one hour, but I cannot reproduce it yet. Thanks, Daisuke Nishimura. --
Aug 26, 8:39 pm 2010
Balbir Singh
Re: cgroup: rmdir() does not complete
On Fri, Aug 27, 2010 at 6:26 AM, Daisuke Nishimura It would also be nice to see what your mounted cgroup (filesystem perspective) looks like and what /proc/cgroups looks like when the problem occurs. Balbir --
Aug 26, 6:20 pm 2010
KAMEZAWA Hiroyuki
Re: cgroup: rmdir() does not complete
On Fri, 27 Aug 2010 12:39:48 +0900 Hmm...I'll dig more. Maybe I need to use stock kernel rather than -mm... Thanks, -Kame --
Aug 26, 10:42 pm 2010
KAMEZAWA Hiroyuki
Re: cgroup: rmdir() does not complete
On Thu, 26 Aug 2010 16:51:55 +0100 (BST) please show how-to-reproduce in your way. Hmm. I'm not sure fedora-kernel has other (its own) featrues than stock kernel. At the first look, above mutex is the mutex in do_rmdir(), not kernel/cgroup.c Then, rmdir doesn't seem to reach cgroup code... Do you do another operation on the directory while rmdir is called ? Thanks, -Kame --
Aug 26, 6:25 pm 2010
Daisuke Nishimura
Re: cgroup: rmdir() does not complete
Hi. On Thu, 26 Aug 2010 16:51:55 +0100 (BST) The commit had caused a bug about rmdir, but it was fixed by the commit 88703267. What cgroup subsystem did you mount where the directory existed you tried to rmdir() first ? If you mounted several subsystems on the same hierarchy, can you mount them separately to narrow down the cause ? Thanks, Daisuke Nishimura. --
Aug 26, 5:56 pm 2010
KAMEZAWA Hiroyuki
Re: cgroup: rmdir() does not complete
On Fri, 27 Aug 2010 09:56:39 +0900 It seems I can reproduce the issue on mmotm-0811, too. try this. Here, memory cgroup is mounted at /cgroups. == #!/bin/bash -x while sleep 1; do date mkdir /cgroups/test echo 0 > /cgroups/test/tasks echo 300M > /cgroups/test/memory.limit_in_bytes cat /proc/self/cgroup dd if=/dev/zero of=./tmpfile bs=4096 count=100000 echo 0 > /cgroups/tasks cat /proc/self/cgroup rmdir ...
Aug 26, 7:35 pm 2010
Henrique de Moraes H ...
Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to s ...
Much better, thank you. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Aug 26, 8:45 pm 2010
Jean Delvare
Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver
Hi Guenter, ... this. I think this check should be relaxed a bit, cascaded error checking is done in many drivers and I don't think this is anything to worry about. No need to resend, I've just dropped the two chunks I don't like, and -- Jean Delvare --
Aug 27, 4:45 am 2010
Jean Delvare
Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver
Hi Guenter, So far, most hwmon driver authors decided to ignore such errors, or limited their handling to logging the issue, mainly because the caching mechanism makes handling of such errors tough. Now I admit that the approach you took in the jc42 driver is interesting. I never considered having a single error value being returned by the update function the way you did. This has the obvious drawback that transient I/O errors cause _all_ sensor values to be unavailable, which is ...
Aug 27, 8:24 am 2010
Guenter Roeck
Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver
On Fri, Aug 27, 2010 at 11:24:03AM -0400, Jean Delvare wrote: On the plus side, though, a transient failure only causes a single read operation to fail, since I don't update the timestamp nor the valid flag in the error case. As a result, the next read will again try to update all values. So it isn't really that bad. Only real drawback of my approach is that a transient read failure on one sensor register will likely be reported while trying to read data for another sensor. Of course, you are ...
Aug 27, 9:48 am 2010
Jean Delvare
Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver
Good point, I had missed this implementation detail. But this cuts both ways: if there are too many transient errors (like the W83L785TS-S had) the update function may keep failing forever, even though each value In all honesty, I can't remember any such device. In general, failing sensors are reported through data flags, not low-level errors. The only two drivers I know which needed special error handling are w83l785ts and thinkpad_acpi - the latter isn't I2C-based so there's no register I ...
Aug 27, 10:07 am 2010
Guenter Roeck
Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver
Great, thanks. Next question: lm90_update_device() currently does not return any errors. In recent drivers, we pass i2c read errors up to userland. Before I introduce the max6696 changes, does it make sense to add error checking/return into the driver, similar to what I have done in the smm665 and jc42 drivers ? Guenter --
Aug 27, 6:49 am 2010
Avi Kivity
Re: [Ksummit-2010-discuss] [PATCH] MAINTAINERS: add U: f ...
cat /sys/kernel/todo cat /sys/module/*/todo -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. --
Aug 27, 2:19 am 2010
John W. Linville
Re: [rfc] MAINTAINERS: Remove broken URLs
I'll queue-up a patch to redirect this appropriately. John -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready. --
Aug 27, 6:46 am 2010
Shaohua Li
Re: [PATCH 2/3] writeback: Record if the congestion was ...
If this is the case, we already have queue congested. removing congestion_wait() might cause regression but either your change or the congestion_wait_check() should not have the regression, as we do check if the bdi is congested. Thanks, Shaohua --
Aug 26, 7:12 pm 2010
Johannes Weiner
Re: [PATCH 2/3] writeback: Record if the congestion was ...
The workload was accessing a large sparse-file through mmap, so there wasn't much IO in the first place. And I experimented on the latest -mmotm where direct reclaim wouldn't Oh, I am in full agreement here! Removing those congestion_wait() as described above showed a reduction in peak latency. The dilemma is only that it increased the overall walltime of the load. And the scanning behaviour deteriorated, as in having increased scanning pressure on other zones than the unpatched kernel ...
Aug 27, 1:16 am 2010
Mel Gorman
Re: [PATCH 2/3] writeback: Record if the congestion was ...
Then waiting on congestion was the totally wrong thing to do. We were effectively calling sleep(HZ/10) and magically this was helping in some undefined manner. Do you know *which* called of congestion_wait() was What were the results? I'm preparing a full series incorporating a Do you know why because leaving in random sleeps() hardly seems to be Probably because it was scanning more but not finding what it needed. There is a condition other than congestion it is having trouble with. ...
Aug 27, 2:24 am 2010
Mel Gorman
Re: [PATCH 2/3] writeback: Record if the congestion was ...
Not necessarily. The fact that with the full series we sometimes call cond_sched() indicating that there was no congestion when congestion_wait() was called proves that. We might have some IO on the queue but it's not congested. Also, there is no guarantee that the congested queue is one we care about. If we are reclaiming main memory and the congested queue is a What congestion_wait_check()? If there is no congestion and no writes, congestion is the wrong event to sleep on. -- Mel ...
Aug 27, 2:20 am 2010
Mike Frysinger Aug 26, 7:11 pm 2010
David Howells
Re: [Uclinux-dist-devel] [PATCH 2/7] Blackfin: Don't red ...
Cool. Replaced my patch with that. Any chance I can get you to test my patches? At least the ones applicable to Blackfin... David --
Aug 27, 5:39 am 2010
DDD
Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
hello Peter, Thanks for your patch, but I still could reproduce the problem with your patch. Thanks, --
Aug 27, 5:21 am 2010
Peter Zijlstra
Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
Frederic, any clue as to what makes hw breakpoints go funny and have --
Aug 27, 5:50 am 2010
DDD
Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
Hi Peter, Thanks for you take care of it, I have got the root cause of it now. It is the kgdb using hw_breakpoint_layer's API problem, and I have a RFC patch for it.(maybe it is not correctly), I will contact with Jason to fix this problem. Thank you very much, --
Aug 27, 6:19 am 2010
Frederic Weisbecker
Re: [PATCH] perf: fix possible divide-by-zero in perf_sw ...
Thanks! We are waiting for your patch then. --
Aug 27, 6:37 am 2010
Tony Breeds
Re: Power machines fail to boot after build being successful
You say you're booting -git4 but you're running kernel is Linux next from Aug. 26th Can you confirm you see this boot failure with Linus's tree NOT linux next? Adding linux-ppc and linux-next lists. Yours Tony --
Aug 26, 5:46 pm 2010
Stephen Rothwell
Re: Power machines fail to boot after build being successful
Hi Mikey, I have seen something similar in my linux-next boot tests, so I will add this patch to linux-next for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Aug 26, 7:01 pm 2010
Michael Neuling
Re: Power machines fail to boot after build being successful
This will fix your problem: http://patchwork.ozlabs.org/patch/62757/ Please CC linuxppc-dev@ozlabs.org for pwoerpc bug reports. ) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP Thu .2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP Thu Aug 26 10:55:01 I --
Aug 26, 6:15 pm 2010
liubo
Re: [2.6.35.3] BUG: unable to handle kernel NULL pointer ...
Hi, Carlos, Did you hit this bug under heavy memory stress? And, could you reproduce the bug? or show some reproduce steps for us? After digging into extent_range_uptodate(), IMO, this NULL pointer bug that issued page can barely be hit. Maybe, due to heavy memory stress, a page of the extent_buffer has been freed before, which leads that it is missing in page_cache and return NULL. thanks, --
Aug 27, 2:38 am 2010
Carlos R. Mafra
Re: [2.6.35.3] BUG: unable to handle kernel NULL pointer ...
Not at all! My laptop had been recently booted (see the timings in the dmesg) and it was basically idle: just a couple xterms and WindowMaker running, Could it be that the memory card had some bad block and btrfs could not recover from the failure? --
Aug 27, 11:03 am 2010
Tino Keitel
Re: 2.6.36-rc2 regression: Wrong screen resolution (1024 ...
There is no TV connected, and it was correctly reported as "disconnected" with 2.6.35. The Mac mini has some special EDID handling, as the EDID data comes from the analog EDID channel IIRC, if that helps. Regards, Tino --
Aug 27, 6:42 am 2010
Andrea Arcangeli
Re: [PATCH] mm: fix hang on anon_vma->root->lock
That's exactly correct, I thought it prevented reuse of the slab entry, not only of the whole slab... SLAB_DESTROY_BY_RCU is a lot more tricky to use than I though... However at the light of this, I think page_lock_anon_vma could have returned a freed and reused anon_vma well before the anon-vma changes. The anon_vma could have been freed after the first page_mapped check succeed but before taking the spinlock. I think, it worked fine because the rmap walks are robust enough just not to ...
Aug 27, 2:55 am 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
Nothing ensures that the root pointer was not changed after the ACCESS_ONCE, that's exactly why we use ACCESS_ONCE there: once we've got the lock and realize that what we've locked may not be what we wanted (or may change from what we were wanting at any moment, the page no longer being mapped there - but in that case we no longer want it), we have to be sure to unlock the one we locked, rather than the one which anon_vma->root might subsequently point to. (Umm, maybe I'm not the clearest of ...
Aug 27, 1:14 pm 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
No. Between rcu_read_lock and rcu_read_unlock, once we've done the first (original) page_mapped test to make sure that this isn't just a long-stale page->mapping left over in there, SLAB_DESTROY_BY_RCU ensures that the slab page on which this "struct anon_vma" resides cannot be freed and reused for some other purpose e.g. a page of user data. But that piece of slab holding this "struct anon_vma" is liable to be freed and reused for another struct anon_vma at any point, until Yes, but RCU is ...
Aug 26, 6:43 pm 2010
Christoph Lameter
Re: [PATCH] mm: fix hang on anon_vma->root->lock
Most people dealing with this for the first time get through a discovery period. The network guys had similar problems when they first tried to use Right. We need to verify that the object we have reached is the correct one. The basic problem with SLAB_DESTROY_BY_RCU is that you get a reference to an object that is guaranteed only to have the same type (the instance may fluctuate and be replaced from under you unless other measures are taken). Typically one must take a lock within the ...
Aug 27, 10:13 am 2010
Andrea Arcangeli
Re: [PATCH] mm: fix hang on anon_vma->root->lock
rmap_walk_anon isn't stable without the anon_vma->root->lock. This is because it only locks the local anon_vma and but the "vma" can be still modified under it in vma_adjust, so vma_address can fail and migration will crash. swapping is not issue as it's ok to miss a pte once in a while if the vma is under vma_adjust by the time the VM tries to unmap the page. See the anon_vma_lock added as well to vma_adjust (without it, it'd be just an useless exercise, but instead it's really plugging a ...
Aug 26, 5:19 pm 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
What you say there is all exactly right, except for "I guess it wasn't too intentional": it was intentional, and known that it all worked out okay in the rare case when a reused anon_vma got fed into the loops - the anon_vma, after all, is nothing more than a list of places where you may find the page mapped, it has never asserted that a page will be found everywhere that the anon_vma lists. I would have liked to say "well known" above, but perhaps well known only to me: you're certainly not ...
Aug 27, 9:43 am 2010
Christoph Lameter
Re: [PATCH] mm: fix hang on anon_vma->root->lock
I do not see any check after we have taken the lock to verify that we You then are using an object from the anon_vma (the pointer) without a lock! This is unstable therefore unless there are other constraints. The anon_vma->lock must be taken before derefencing that pointer. The page may have been unmapped and mapped again between the two checks. Unlikely but I do not see a second check (*after* taking the lock) in the patch and the way the lock is taken can be a problem in itself. --
Aug 27, 1:56 pm 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
Sorry, I seem to have hit some key which sent the mail off too soon, a tab perhaps: finishing up... if (page_mapped(page)) No, that's what we rely upon SLAB_DESTROY_BY_RCU for. Hugh --
Aug 27, 2:33 pm 2010
Christoph Lameter
Re: [PATCH] mm: fix hang on anon_vma->root->lock
Argh. Right. Looked like a global to me. Did not see the earlier local def. If you still use a pointer then what does insure that the root pointer was not changed after the ACCESS_ONCE? The free semantics of an anon_vma? Since there is no lock taken before the mapped check none of the earlier reads from the anon vma structure nor the page mapped check necessarily reflect a single state of the anon_vma. --
Aug 27, 12:29 pm 2010
Christoph Lameter
Re: [PATCH] mm: fix hang on anon_vma->root->lock
As far as I can tell you would have to recheck the mapping pointer and the pointer to the root too after taking the lock because only taking the lock stabilitzes the object. Any other data you may have obtained before SLAB_DESTROY_BY_RCU does not guarantee that the object stays the same nor does it prevent any fields from changing. Going through a pointer with only SLAB_DESTROY_BY_RCU means that you can only rely on the atomicity guarantee for pointer updates. You get a valid pointer but ...
Aug 27, 4:06 pm 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
No second version of the patch, no. As I said already, it's that second page_mapped check which gives the guarantee that the anon_vma Yes, unlikely but possible. (Well, actually, is it possible? It can be unmapped on exit without any lock, but unmapping for pageout would require the page lock, would insert a swp_entry_t, and mapping again would go to do_swap_page which would again require the page lock. But never mind that, let's assume there is a way it can be unmapped and mapped ...
Aug 27, 2:28 pm 2010
Hugh Dickins
Re: [PATCH] mm: fix hang on anon_vma->root->lock
(I wouldn't describe that as a "problem with SLAB_DESTROY_BY_RCU": it's precisely the nature of SLAB_DESTROY_BY_RCU, what makes it useful Eh? My solution was a second page_mapped(page) test i.e. testing an atomic. Hugh --
Aug 27, 10:55 am 2010
Henrik Rydberg
Re: [PATCH 3/4] identify firmware version
The version field of the input_id struct is a 16-bit number that can be used to code device-specific version information, and is retrievable via EVIOCGID. Perhaps one could code the firmware version in there. Henrik --
Aug 27, 5:01 am 2010
Henrik Rydberg
Re: [PATCH 1/4] Adding documention
On 08/26/2010 06:54 AM, Rafi Rubin wrote: Without contact tracking, it is hard to imagine activation filtering to work properly. I would advocate to remove this functionality from the driver, and add it in userspace instead. Henrik --
Aug 27, 5:06 am 2010
Henrik Rydberg
Re: [PATCH 4/4] firmware sysfs node
If this sysfs node should really be added (see EVIO), it is probably better if it returns the same format for all devices. If all numbers are zero, that is Henrik --
Aug 27, 5:09 am 2010
Dmitry Torokhov
Re: [PATCH 4/4] firmware sysfs node
Yes, I think we should stick it into input_id and be done with it. Note that input_id is not only available via EVIOCGID ioctl but also already exported in sysfs. -- Dmitry --
Aug 27, 9:34 am 2010
Jean Delvare
Re: [lm-sensors] [Patch-next] therm_throt.c: fix missing ...
This is incomplete. Error handling in this function is totally broken. -- Jean Delvare --
Aug 27, 6:20 am 2010
Venkatesh Pallipadi
Re: divide by zero bug in find_busiest_group
Chetan, For the purpose of this bug (assuming you can run a modified kernel in your environment), you can add above change and/or add some printk's, WARN_ON_ONCE() to see whether power is going negative-zero at any point. That will give some more clue on what may be happening here. Thanks, Venki --
Aug 27, 10:39 am 2010
Peter Zijlstra Aug 27, 1:13 am 2010
Peter Zijlstra
Re: divide by zero bug in find_busiest_group
struct sched_group { ... unsigned int cpu_power, cpu_power_orig; ... } we assume that things are naturally aligned and reads/writes to word sized entities are 'atomic' -- lots of kernel code makes this assumption. So the worst thing that can happen with the unsynchronized update of cpu_power is that a reader sees the old value, no problem, we don't care its all statistics anyway. Racing writers (could happen between regular and nohz load-balance) we don't care about either, ...
Aug 27, 1:08 am 2010
Peter Zijlstra
Re: divide by zero bug in find_busiest_group
No the groups are used for increasingly larger accumulations of cpus, the first group is the singleton group which contains on the one cpu in question, after that we start following the machine topology, hyper-threads, multi-core, package, node etc. until the last group spans the whole machine. The dynamic cpu_power computation comes from RT tasks, when we load-balance SCHED_OTHER tasks, we want each cpu to have an equal amount of pending work, however when one CPU is say 50% busy with RT ...
Aug 27, 12:51 am 2010
Nick Piggin
Re: [PATCH] lglock: make lg_lock_global() actually lock ...
I would much prefer the rules to be simpler and easier for all other kernel code, and keep complexity and overheads in cpu plug/unplug. I don't see what is so nice about stop_machine()less cpu plug/unplug or module unload. Module load definitely is nice because you can have a lot of modules and on demand loading from non-privileged operations. --
Aug 26, 10:51 pm 2010
Peter Zijlstra
Re: [PATCH] lglock: make lg_lock_global() actually lock ...
There's a large three lettered company that's promoting cpu hotplug use for power management, they hotplug at an astonishing rate. I've been saying hotplug isn't for that, and its a terrible slow path and disrupts your whole machine etc.. they don't seem to care much. The trouble seems to be that some smaller chips are now also wanting to use hotplug for PM because they want to safe silicon and not make their chips symmetric or crap like that... Its all really sad, and I'd prefer to keep ...
Aug 27, 12:57 am 2010
Peter Zijlstra
Re: [PATCH] lglock: make lg_lock_global() actually lock ...
Oh, and the virt community seems to want (or is) doing the same silly thing. --
Aug 27, 12:59 am 2010
Lin Ming
Re: [PATCH -tip] perf, x86, Pentium4: Add RAW events ver ...
I have tested this patch on a 16cpus Netburst server. The predefined hardware/cache events work well. Thanks, --
Aug 26, 10:21 pm 2010
Cyrill Gorcunov Aug 27, 6:53 am 2010
Jan Kara
Re: [PATCH 26/30] ext4: do not send discards as barriers
An update: I've set up an ext4 barrier testing in KVM - run fsstress, kill KVM at some random moment and check that the filesystem is consistent (kvm is run in cache=writeback mode to simulate disk cache). About 70 runs without journal_async_commit passed fine, now I'm running some tests with the option enabled and the first few rounds passed OK as well. Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Aug 27, 10:31 am 2010
Masami Hiramatsu
Re: [PATCHv11 2.6.36-rc2-tip 10/15] 10: tracing: config ...
Yeah, I'm OK to have a common knob, but I just don't like to set KPROBE_EVENT unselected by default. I think there is no reason to change default selecting (currently, KPROBE_EVENT=y by default.) So, I think we should have below selecting list; --- Tracers ... [*] Enable dynamic events [ ] Enable user-space dynamic events (EXPERIMENTAL) ... What would you think about this ? :) Thank you, -- Masami HIRAMATSU 2nd Dept. Linux Technology Center Hitachi, Ltd., Systems ...
Aug 27, 4:04 am 2010
Srikar Dronamraju
[PATCHv11a 2.6.36-rc2-tip 12/15] 12: perf: show possible ...
Introduces -S/--show_functions option for perf-probe. This lists function names in a File. If no file is specified, then lists functions in the current running kernel. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> --- Changelog from V11: accomodate name change dso_fprintf_symbols_by_name. Changelog from V10: As suggested by Arnaldo, filtering is now based on sym.binding. Changelog from V9: Filter labels, weak, and local binding functions from listing as suggested by ...
Aug 27, 7:21 am 2010
Srikar Dronamraju
[PATCHv11a 2.6.36-rc2-tip 10/15] 10: tracing: config opt ...
Selecting CONFIG_PROBE_EVENTS enables both kprobe-based and uprobes-based dynamic events. However kprobe-tracer or uprobe-tracer can still be individually selected or disabled. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Suggested-by: Frederic Weisbecker <fweisbec@gmail.com> --- Changelog from V10: Fixed few erroneous changes: missing s at eol. reported by Masami Hiramatsu. kernel/trace/Kconfig | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 ...
Aug 27, 7:10 am 2010
Srikar Dronamraju
Re: [PATCHv11 2.6.36-rc2-tip 10/15] 10: tracing: config ...
Wouldnt it negate the purpose of common knob? Because people would still have go and select UPROBE_EVENTS, I think when Frederic asked for a common knob, he was looking at enabling both or disabling both and an option to selectively select one of the tracers. -- Thanks and Regards Srikar --
Aug 27, 5:17 am 2010
Srikar Dronamraju
Re: [PATCHv11 2.6.36-rc2-tip 10/15] 10: tracing: config ...
Okay will correct them. This is based on what we discussed here http://lkml.org/lkml/2010/8/2/86. To recollect, Frederic wanted that there should be one option to select both UPROBE_EVENT and KPROBE_EVENT. However if we make PROBE_EVENTS (which is the option to enable both events) default "Y", then both UPROBE_EVENT and KPROBE_EVENT will be selected. Also if we look at http://lkml.org/lkml/2010/6/21/160, Steven Rostedt didnt want UPROBE_EVENT to selected by default. I agree ...
Aug 27, 2:31 am 2010
Masami Hiramatsu
Re: [PATCHv11 2.6.36-rc2-tip 10/15] 10: tracing: config ...
Hmm, I think this just seems an enhancement of dynamic events, and also you can enable it by default on some point. I mean, eventually, there will be only "Enable dynamic events" Yeah, but I'd like to ask Frederic that he expected disabling KPROBE_EVENT by default too, even though it changes current default config. Thank you, --
Aug 27, 8:37 am 2010
Shérab Aug 27, 10:35 am 2010
H. Peter Anvin
Re: [PATCH] x86: EuroBraille/Iris power off
Hello... -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --
Aug 27, 11:49 am 2010
Shérab
Re: [PATCH] x86: EuroBraille/Iris power off
Hi, I couldn't compile the kernel with APM support. I'm on master, APM depends on PM_SLEEP which I couldn't find in any Kconfig file. So I added it by hand in.config and ran make menuconfig again. This time the APM stuff was visible, so I could activate it, but then compiling the kernel failed. I'm sure I'm missing something and I'm sorry about that, if someone could help that would be very appreciated. Thanks, Shérab. --
Aug 27, 3:27 pm 2010
Uwe Kleine-König
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enfor ...
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | --
Aug 26, 11:11 pm 2010
Daniel Walker
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
I'm not sure I follow you.. Are you saying there are other cpu's that This whole thing was something Russell specifically asked for (and practically wrote for me). Daniel -- Sent by an consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. --
Aug 27, 8:29 am 2010
Catalin Marinas
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
It may be better to move the generic __v7_setup here and have a specific entry for ARM Ltd cores (mask 0xff0f0000 and value 0x410f0000). In general, I would have liked a different way (still ID-based) of handling such issues without duplicating the whole structure. But I see this becoming the standard as proc-v6.S follows it as well. -- Catalin --
Aug 27, 6:54 am 2010
Daniel Walker
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
So your saying it makes more sense to change the msm entry into the default entry, and make the current default into the ARM11MPCore/Cortex-A9 entry? There's 4 or 5 other cpu's that have SMP but none have had to jump over those bits AFAIK .. Daniel -- Sent by an consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. --
Aug 27, 9:33 am 2010
Catalin Marinas
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
So my opinion is to not add any specific msm code but make the __v7_setup skip the ACTLR bit setting. Then add an entry for Cortex-A9 Maybe they don't do anything with those bits and writing to them is harmless. They'll complain if their code stops working but it is usually unlikely that people implementing their own v7MP would use the same bits in ACTLR as Cortex-A9. I'm not sure whether someone licensing and manufacturing a Cortex-A9 would use the same manufacturer id (TI folks would know ...
Aug 27, 9:49 am 2010
Daniel Walker
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
how about this? Naming is of course flexible .. ScorpionMP does not have the SMP/nAMP and TLB ops broadcasting bits in ACTLR. These bits are only used on ARM11MPCore and Cortex-A9 from arm. This patch just makes it so no other arm core ends up getting these bits set. Signed-off-by: Daniel Walker <dwalker@codeaurora.org> --- arch/arm/mm/proc-v7.S | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/arch/arm/mm/proc-v7.S ...
Aug 27, 12:53 pm 2010
Catalin Marinas
Re: [PATCH 03/24] arm: mm: add proc info for ScorpionMP
The SMP/nAMP bit is something specific to the ARM11MPCore and Cortex-A9 processors produced by ARM. If you core doesn't need this, it should use a default __v7_setup without any additional bits being set. I'm not aware of other MP ARM processors produced by other companies Yes, I know and I'm not saying that you should change it in this patch. It's just that I would have liked to only duplicate the setup function rather than the whole procinfo structure. -- Catalin --
Aug 27, 9:04 am 2010
Matthew Garrett
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
I agree that something like this is needed, but I'm happy to defer to Jesse in terms of the implementation (he has the specs, I don't...). I'm also about to head offline for a week, so feel free to push the patch once you've got a solution and if I disagree with it I'll write whiny emails once I get back. -- Matthew Garrett | mjg59@srcf.ucam.org --
Aug 26, 6:42 pm 2010
Alan Cox
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
On Thu, 26 Aug 2010 20:29:01 -0300 It's not the kind of thing you want to quieten since in most cases it is Probably better to ratelimit it. Being told it occurs is important, being told every five seconds is indeed excessive. Alan --
Aug 26, 5:18 pm 2010
Cesar Eduardo Barros
Re: [PATCH] intel_ips: quieten "power or thermal limit e ...
Isn't it a normal thing, however? If I understand it correctly, this driver allows you to use a bit more power but throttles back if you are using too much or it gets too hot. Thus, there should be nothing wrong Agreed. Even if it does not happen when idle, it should happen a lot while playing a CPU-heavy and GPU-heavy 3D game. -- Cesar Eduardo Barros cesarb@cesarb.net cesar.barros@gmail.com --
Aug 26, 5:22 pm 2010
Eric Paris
Re: [PATCH -v2] fanotify: drops the packed attribute fro ...
I liked this version until I realized that userspace doesn't have aligned_u64 as a valid type. I'm feeling more like my old version of the patch. Anyone have thoughts or comments? -Eric --
Aug 27, 4:51 pm 2010
Tyler Hicks
Re: regression: ecryptfs broken on 2.6.36-rc2 (x86_64)
A fix for this regression should be merged by 2.6.36-rc3. Until then, you can get the patch from: http://git.kernel.org/?p=linux/kernel/git/ecryptfs/ecryptfs-2.6.git;a=commit;h=93c3fe4... For those interested, the bug report linked above has a description of the problem. In general, you shouldn't use eCryptfs in 2.6.36-rc{1,2} if you have file name encryption enabled. Tyler --
Aug 27, 1:22 pm 2010
Pavel Machek
Re: [PATCH 1/5] msm: add gpiomux api for gpio multiplex ...
GPL, please... and spread the news to the codeaurora people so we don't get this over and over and over again. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 26, 10:41 pm 2010
Eric Valette
Re: Please add generic support for root=UUID= at kernel ...
binary duplication is a waste of space (SSD are'nt cheap) and time. Plus, you have a real duplication for the fs-search in grub/lilo/add I know. But It could do just a bit more find creating the /dev/disk/by-uuid/foo where foo is the one given ib root=UUID=foo --eric --
Aug 27, 12:09 pm 2010
Eric Valette
Re: Please add generic support for root=UUID= at kernel ...
This is a rather bizarre argument as because of this situation 1) the code is duplicated between the initramfs and the real disk 2) the initramfs has to be rebuild each time a new kernel is done 3) The tmpdevfs is also a dupplicate somehow Never mind. -- eric --
Aug 27, 4:59 am 2010
Matthias Schniedermeyer
Re: Please add generic support for root=UUID= at kernel ...
I don't really get what you mean. But binary duplication isn't the issue, source-code duplication is. I'd count an initramfs to the binary category. It is "compiled" more or Only when you use kernel-modules, otherwise you should be fine for "some No. devtmpfs uses tmpfs or ramfs as backing-store. And it doesn't really duplicate udev either, as it only does the bare minimum needed to get the computer to the point where udev can do the rest. Like when you have a root filesystem with ...
Aug 27, 9:37 am 2010
David Miller
Re: RFC: MTU for serving NFS on Infiniband
From: Stephen Hemminger <shemminger@vyatta.com> Agreed, this problem is in the infiniband layer and should be fixed there. But I fear there is a real potential blocker for this, if the infiniband layer can't checksum transmit packets in hardware we cannot legitimately add SG support. Paged SKBs can have references to page cache pages and similar. These can be updated asynchronously to the transmit, there is no locking at all to freeze the contents, and therefore full checksum offload ...
Aug 26, 5:06 pm 2010
Roland Dreier
Re: RFC: MTU for serving NFS on Infiniband
By the way, for the original poster: is using NFS/RDMA a possibility? That might give even better performance than any config of IPoIB if you have an InfiniBand fabric anyway. - R. --
Aug 27, 10:16 am 2010
Roland Dreier
Re: RFC: MTU for serving NFS on Infiniband
> Infiniband device driver needs to be fixed to do SG and checksum offload. > Otherwise it is insane to try and run large MTU over it. I even wonder if > the dev_change_mtu() function should reject > PAGESIZE mtu for devices > that don't do scatter/gather or at least a raise a warning. It's not possible to "fix" the driver to do checksum offload, since the underlying hardware does not support it. Theoretically we could handle SG but of course there's no point in that without checksum ...
Aug 27, 9:20 am 2010
Marc Aurele La France
Re: RFC: MTU for serving NFS on Infiniband
Yes, NFS/RDMA is a possibility I need to look at as well. Thanks. Marc. +----------------------------------+----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and | fax: 1-780-492-1729 | | Communications Technologies | email: tsi@ualberta.ca | | 352 General Services Building +----------------------------------+ | University of Alberta | ...
Aug 27, 10:53 am 2010
Matti J. Aaltonen
Re: [PATCH RFC 1/1] MISC: Broadcom BCM4751 GPS driver
MEIF is a Nokia proprietary protocol. The link above points to a page, which describes how you can get hold of the MEIF specification. Regards, --
Aug 27, 12:17 am 2010
Richard Cochran
Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
Would the new syscall need to take a struct timex? If so, I think it not worth the effort of adding a syscall. Instead, You could adjust the frequency of either one. As a side effect, the other clock would also be adjusted. You can only change the time offset on CLOCK_REALTIME, and that would If I understand correctly, MONOTONIC_RAW is just access to the Don't think so. Thanks, Richard --
Aug 27, 4:24 am 2010
John Stultz
Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
Personally I'd add the new clock_adjtime interface, since it parallels the gettimeofday/clock_gettime() interface levels. Trying to multiplex This in most ways makes the most sense to me, since if CLOCK_REALTIME is But yes, this is another possibly valid interpretation. I don't prefer this one, but that doesn't make it invalid. And so with the new interface, and the possibility of multiple non-synced clocks, there are Not exactly. Its abstracted out a step. MONOTONIC_RAW was added as ...
Aug 27, 1:48 pm 2010
Dmitry Torokhov
Re: [PATCH] kernel: time: use ARRAY_SIZE macro in timeco ...
Ah, I see. Ignore me then. Thanks. -- Dmitry --
Aug 27, 12:37 am 2010
Liam Girdwood
RE: [PATCH 2/2] regulator: tps6586x-regulator - fix bit_ ...
Applied. Thanks Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk --
Aug 27, 6:03 am 2010
Frederic Weisbecker
Re: [PATCH] workqueue: Add basic tracepoints to track wo ...
Yeah but the ftrace API that handles statistics is a very basic thing. It works well for measuring entities that won't be freed, like for branch and function profiling for example. But once you deal with entities that can disappear (like workqueue threads), you need to handle all the locking by yourself. You can have a look at kernel/trace/trace_workqueue.c. It's broken as we have removed some workqueue tracepoints, so I planned to remove it. It's a basic thing but perhaps you can restart ...
Aug 27, 6:14 am 2010
Tejun Heo
[PATCH] workqueue: Add a workqueue chapter to the tracep ...
From: Jason Baron <jbaron@redhat.com> Add a workqueue chapter to the traceopint docbook. Current book is at: http://www.kernel.org/doc/htmldocs/tracepoint/ Signed-off-by: Jason Baron <jbaron@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org> --- Applied w/ patch description update. Thanks. Documentation/DocBook/tracepoint.tmpl | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/DocBook/tracepoint.tmpl ...
Aug 27, 3:29 am 2010
Gwendal Grignou
Re: possible esata regression in 2.6.35
I can reproduce the problem on uptsream-linux using a PC with Marvell 7042 controller and Sil3726 PMP. Without the SIl3726, it works fine. What I can see on the SATA analyzer [I will send clean trace tomorrow] is the disk send the DATA FIS back to the PMP, but the PMP does not manage to have the data accepted by the host. Non data commands work fine. In dmesg: [10058.404047] ata29: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [10058.404742] ata29.15: Port Multiplier 1.1, 0x1095:0x3726 ...
Aug 27, 1:19 am 2010
Gwendal Grignou
Re: possible esata regression in 2.6.35
I found the problem: in ata_sff_pio_stack: struct ata_queued_cmd *qc = ap->port_task_data; has been replaced by: /* qc can be NULL if timeout occurred */ qc = ata_qc_from_tag(ap, ap->link.active_tag); if (!qc) return; That does not work in case of port multipler, because the link to look at is not ap->link. ap->link.active_tag is ATA_POISON. I will submit a patch where I re-introduce port_task_data, this time containing the link to to look at. Gwendal. --
Aug 27, 3:56 pm 2010
jean-philippe francois
Re: System time drifts when processor idle.
Hi, My Timekeeping bug is still present, here is an updated script and log. I am willing to make test, but I don't know what kind of debugging info is needed. I am all eyes to any advice that could help solve this BUG. Thank you, Jean-Philippe François
Aug 27, 7:12 am 2010
john stultz
Re: System time drifts when processor idle.
Huh. hpet was not what I would have expected. So first, two experiments: 1) Does booting with "clock=acpi_pm" cause the issue to disappear? 2) Does booting with "nohz=off" cause the issue to disappear? Venkatesh: You have any experience with HPETs that halt in idle? thanks -john --
Aug 27, 11:11 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
So this should also happen if only one counter is running? Back-to-back nmis actually only occur then 2 different counters What about the erratum mentioned in this thread before? We might identify affected cpus and return handled=2 for them. This solution will be still better than before. And, all other cpu models have the nmi detection fixed. In a next step we could try to use a timer for detection. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 8:48 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Yes, this would be the best workaround for cpus where the detection logic does not work properly. But I think Don found a solution already. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 1:31 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Yes, not immediately ack'ing the status was suspect to me too. Though it must then be the same counter that retriggers. Or, it is a cpu bug. You could add a debug print of the status register for the case the loop is reentered, would be interesting... Thank for fixing this. -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 12:51 am 2010
Don Zickus
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
It seems to be the same counter. I wonder if the act of processing it 'intel_save_and_restart' cleared the status bit on the perfselX bit but not in the global status register. Thus it triggered again and we accidentally cleared it when we ack'd later in the code. Cheers, Don --
Aug 27, 6:39 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
I would slightly change the patch: There is no need for the ack variable anymore, you could directly work with the status. I would call intel_pmu_ack_status() as close as possible after the intel_pmu_get_status(), which is after 'again:'. -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 1:10 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Yes, this just throws away all unknown nmis after a perf nmi. It disables unknown nmi detection on this cpu type. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 12:57 am 2010
Peter Zijlstra
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Wouldn't returning 2 be more sensible, then it would only eat a few unknowns after each pmi? (Still assuming you return 0 when there really was nothing to do) --
Aug 27, 1:11 am 2010
Don Zickus
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
The status masks seem to be identical, 0x1 (and when I forced pmc0 Heh. Not sure why it isn't working then. Then again you shouldn't need It would be a nice to have that way we wouldn't have to 'eat' all these extra nmis. But I guess it isn't working correctly. Cheers, Don --
Aug 27, 8:05 am 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Yes, this could be the case, but only for handled counters. So it would be interesting to see for this case the status mask of the The nmi might be queued be the cpu regardless of of the overflow state. I am wondering why this happens at all, because events are disabled by wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, 0). Hmm, maybe this is exactly the reason because the nmi could fire again after reenabling the counters. Is there a reason for disabling all counters? -- Advanced Micro Devices, ...
Aug 27, 7:05 am 2010
Don Zickus
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Yeah, I can do that. The other patch was just a proof of concept to see what others thought. What is funny is that this problem was masked by the perf_event_nmi_handler swallowing all the nmis. I wonder if we were losing events as a result of this bug too because if you think about it, we processed the first event, a second event came in and we accidentally ack'd it, thus dropping it on the floor. Now I wonder how the event was ever reloaded, unless it was by accident because of how the ...
Aug 27, 6:44 am 2010
Don Zickus
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Here is another version of the patch, which uses Robert's suggestion of removing the ack variable Cheers, Don -- From: Don Zickus <dzickus@redhat.com> Date: Fri, 27 Aug 2010 14:43:03 -0400 Subject: [PATCH] [x86] perf: fix accidentally ack'ing a second event on intel perf counter During testing of a patch to stop having the perf subsytem swallow nmis, it was uncovered that Nehalem boxes were randomly getting unknown nmis when using the perf tool. Moving the ack'ing of the PMI ...
Aug 27, 11:57 am 2010
Yinghai Lu
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Can you resend all three updated patches? Thanks Yinghai --
Aug 27, 12:00 pm 2010
Robert Richter
Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Looks good to me. Thanks Don. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 27, 12:33 pm 2010
Michał Nazarewicz
Re: [PATCH/RFCv4 2/6] mm: cma: Contiguous Memory Allocat ...
I'm not sure what you mean by "natural alignment". If 1M alignment of a 64K buffer is natural then yes, presented API requires alignment to be natural. In short, alignment must be a power of two and is never less then a PAGE_SIZE but can be more Yes. I hope to came up with a CMA version that will allow reserved spec to be reused by the rest of memory management code. For now, I won't respond to your suggestions regarding the use of page allocator but I hope to write something later today ...
Aug 26, 7:09 pm 2010
Michał Nazarewicz
Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
And that's exactly where I'm headed. I've created API that seems to be usable and meat mine and others requirements (not that I'm not saying it cannot be improved -- I'm always happy to hear comments) and now I'm starting to concentrate on the reusing of the grabbed memory. At first I wasn't sure how this can be managed but thanks to many comments (including yours, thanks!) I have an idea of how the thing should work and what I should do from now. -- Best regards, ...
Aug 26, 7:41 pm 2010
Peter Zijlstra
Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
The side effect of increasing MAX_ORDER is that page allocations get more expensive since the buddy tree gets larger, yielding more Right, once we can explicitly free the pages we want, crossing MAX_ORDER isn't too hard like you say, we can simply continue with freeing the next in order page. --
Aug 27, 1:37 am 2010
KAMEZAWA Hiroyuki
Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
On Thu, 26 Aug 2010 18:36:24 +0900 Hm...need to check hard coded MAX_ORDER usages...I don't think side-effect is big. Hmm. But I think enlarging MAX_ORDER isn't an important thing. A code which strips contiguous chunks of pages from buddy allocator is a necessaty thing, as.. What I can think of at 1st is... == int steal_pages(unsigned long start_pfn, unsigned long end_pfn) { /* Be careful mutal execution with memory hotplug, because reusing code */ split [start_pfn, end_pfn) to ...
Aug 27, 1:16 am 2010
Zachary Amsden
Re: [KVM timekeeping 17/35] Implement getnsboottime kernel API
Yes, we should probably change the name before making this an actual kernel API, John made some better suggestions. For kvm-kmod, the following conversion should work: static inline u64 get_kernel_ns(void) { struct timespec ts; WARN_ON(preemptible()); ktime_get_ts(&ts); monotonic_to_bootbased(&ts); return timespec_to_ns(&ts); } The only real point to getnsboottime is to stop the unnecessary conversions, but looking at it now, it doesn't appear to actually ...
Aug 27, 4:48 pm 2010
Jan Kiszka
Re: [KVM timekeeping 17/35] Implement getnsboottime kernel API
This thing is not returning anything in some ts variable. And I also had a hard time spotting the key difference to getboottime - the name is really confusing. Besides this, if you have good suggestion how to provide a compat version for older kernels, I'm all ears. Please also have a careful look at kvm-kmod's kvm_getboottime again, right now I'm a bit confused about what it is supposed to return and what it actually does (note that kvm-kmod cannot account for time spent in suspend ...
Aug 27, 11:05 am 2010
Zachary Amsden
Re: [KVM timekeeping 13/35] Perform hardware_enable in C ...
Prior to the x86_64 / i386 merge, CPU_STARTING didn't work the same way / exist in the x86_64 code... most of this is historical guesswork. At some point, the 32/64 versions of the code in smpboot.c got merged and now it does. Binary searching around my tree shows this timeframe: 2.6.11? - 2.6.23 : silver age ; i386 and x86_64 merge underway | 2.6.24 : bronze age ; i386 and x86_64 deprecated | 2.6.26 : iron age; smpboot_32.c / smpboot_64.c merge \ 2.6.28 : ...
Aug 27, 4:43 pm 2010
Jan Kiszka
Re: [KVM timekeeping 13/35] Perform hardware_enable in C ...
What bugs are you referring to, or since which kernel version is CPU_STARTING usable for KVM? I need to encode this into kvm-kmod. Thanks, -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux --
Aug 27, 9:32 am 2010
Eric Paris
Re: [PATCH] audit: speedup for syscalls when auditing is ...
It just dawned on me where we are going to have problems. We have things other than syscall filter rules that can cause us to want the collected audit info. Namely SELinux (or other LSM) denials. Crap. So the change in audit_alloc() should probably be conditionalized on more than just audit_n_rules(). Not exactly sure what that is though. It might also make our syscall entry/exit speedups not as great of an idea as I thought. I need to look for other audit users to see how these ...
Aug 27, 10:49 am 2010
FUJITA Tomonori
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 26 Aug 2010 18:54:40 +0100 I didn't say the commit is technically wrong. I simply meant that the commit broke some of working systems (so some complain, I guess). As I wrote, the related DMA API wasn't changed in 2.6.36-rc1. It's not related with the regression at all. As long as nobody tries to extend the API wrongly after rc2, I have no complaint. btw, Marin Mitov said that these drivers don't need coherent memory, they just want contiguous memory. Telling the page allocater ...
Aug 26, 5:26 pm 2010
Uwe Kleine-König
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hello, So you suggest to revert 309caa9cc6ff39d261264ec4ff10e29489afc8f8 or at least restrict it to ARMv6+ and fix the problem during the next merge window? Russell? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | --
Aug 26, 11:13 pm 2010
Marin Mitov Aug 27, 12:02 am 2010
Uwe Kleine-König
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hello, In my case the machine in question is an ARMv5, the hardware restriction is on ARMv6+ only. You could argue that so the breaking patch for arm should only break ARMv6, but I don't think this is sensible from a maintainers POV. We need an API that works independant of the machine that runs the code. And it's good to let developers that don't have the full range of machines supported by the kernel at hand notice when they introduce an incompatibility. Best regards Uwe -- ...
Aug 26, 9:41 pm 2010
FUJITA Tomonori
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Fri, 27 Aug 2010 06:41:42 +0200 Agreed. But insisting that the DMA API needs to be extended wrongly after rc2 to fix the regression is not sensible too. The related DMA API wasn't changed in 2.6.36-rc1. The API isn't responsible for the regression at all. --
Aug 26, 10:00 pm 2010
Uwe Kleine-König
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hey, I think this isn't about "responsiblity". Someone in arm-land found that the way dma memory allocation worked for some time doesn't work anymore on new generation chips. As pointing out this problem was expected to find some matches it was merged in the merge window. One such match is the current usage of the DMA API that doesn't currently offer a way to do it right, so it needs a patch, no? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König ...
Aug 26, 10:19 pm 2010
FUJITA Tomonori
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Fri, 27 Aug 2010 07:19:07 +0200 No, I don't think so. We are talking about a regression, right? On new generation chips, something often doesn't work (which have worked on old chips for some time). It's not a regresiion. I don't think that it's sensible to make large change (especially after rc1) to fix such issue. If you say that the DMA API doesn't work on new chips and proposes a patch for the next merge window, it's sensible, I suppose. Btw, the patch isn't a fix for the DMA API. It ...
Aug 26, 10:57 pm 2010
Marin Mitov
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
To "break the current code" is simply not possible. Sorry to oppose. As you have written it "extend the DMA API", so if you do not use the new API (and no current code is using it) you cannot "break the current code". Thanks, --
Aug 26, 11:23 pm 2010
FUJITA Tomonori
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Fri, 27 Aug 2010 09:23:21 +0300 Looks like that the patch adds the new API that touches the exisitng code. It means the existing code could break. So the exsising API could break too. http://thread.gmane.org/gmane.linux.ports.sh.devel/8595 --
Aug 26, 11:32 pm 2010
Uwe Kleine-König
Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Hello, I'm still trying to find out what you actually suggest we should do now. Maybe this is a request for a minimal "fix" without the cleanups Guennadi did? That is only patches 2(?), 4 and 5 of the series? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | --
Aug 26, 11:38 pm 2010
Alok Kataria
Re: [PATCH] x86, apic: Add apic calibration hook.
Hi Thomas, How does this patch look ? Thanks, Alok -- Add apic calibration hook. From: Alok N Kataria <akataria@vmware.com> Add a new function ptr calibrate_apic to x86_init_ops structure. On native this does the usual apic calibration. On VMware's platform we override it with a routine which gets that information from the hypervisor. Signed-off-by: Alok N Kataria <akataria@vmware.com> Cc: H. Peter Anvin <hpa@zytor.com> --- arch/x86/include/asm/apic.h | 6 +++ ...
Aug 27, 2:28 pm 2010
Greg Ungerer
Re: [uClinux-dev] [PATCH] m68k{nommu} : Remove unused DE ...
Hi Philippe, I have no problem with the m68knommu part. I can push that into the m68knommu git tree. Or if the m68k guys are happy I can put the whole thing there? Regards -- ------------------------------------------------------------------------ Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close FAX: +61 7 3217 5323 Milton, QLD, 4064, ...
Aug 26, 11:08 pm 2010
Geert Uytterhoeven
Re: [uClinux-dev] [PATCH] m68k{nommu} : Remove unused DE ...
The m68k part is fine, too. 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.                                 -- Linus Torvalds --
Aug 27, 12:42 am 2010
Arnd Bergmann
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
My suggestion was actually to have a new syscall with the existing structure, and pass a clockid_t value to it, similar to your Yes, that's exactly what the padding is for. Instead of timespec, you can probably have a extra values for replacing the existing ppm values with ppb values. Arnd --
Aug 27, 5:03 am 2010
john stultz
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Wait.. I thought we weren't using PTP to steer the clock? But now we're using the pps signal from it to do so? Do I misunderstand you? Or did I assume here you mean PTPd is steering the PTP clock according to the system time (which is NTP/GPS/whatever sourced)? And then the PTP clock So first of all, thanks for the extra explanation and context here! I really appreciate it, as I'm not familiar with all the hardware details and possible use cases, but I'm trying to learn. So in the two ...
Aug 26, 6:57 pm 2010
Alan Cox
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Multiple PLLs, at least with containers and certain classes of system you want different containers in different timespaces, especially when doing high precision stuff where you need your system tracking say a local master clock for syncing musical instruments and sound events while Put the clock type in the new fields. It becomes u16 clock_type; [clock type specific data] saves having to guess. Alan --
Aug 27, 5:45 am 2010
Richard Cochran
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
The master node in a PTP network probably takes its time from a precise external time source, like GPS. The GPS provides a 1 PPS directly to the PTP clock hardware, which latches the PTP hardware clock time on the PPS edge. This provides one sample as input to a clock servo (in the PTPd) that, in turn, regulates the PTP clock Yes, but in this case, "system time" has nothing to do with the Linux system time. For a PTP master clock, it really doesn't matter whether the Linux time is correct, or ...
Aug 27, 12:57 am 2010
M. Warner Losh
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
In message: <20100827140205.GA3293@riccoc20.at.omicron.at> Except for leap seconds, this is true. However, Unix time isn't UTC either. Unix time is UTC that pretends leap seconds just don't exist. POSIX enshrined this long ago, and nobody is going to change that any time soon. I don't believe IEEEv2 propagates leap seconds, does it? Warner --
Aug 27, 8:35 am 2010
Richard Cochran
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
We need to able to specify that the call is for a PTP clock. We could add that to the modes flag, like this: /*timex.h*/ #define ADJ_PTP_0 0x10000 #define ADJ_PTP_1 0x20000 #define ADJ_PTP_2 0x30000 #define ADJ_PTP_3 0x40000 Yes, but we would also need to add a struct timespec to the struct timex, in order to get nanosecond resolution. I think it would be We can use it for PTP, with the modifications suggested above. Or we For the proposed clock_adjime, what else is needed to ...
Aug 27, 4:08 am 2010
Richard Cochran
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
The amount of time a thread has been granted by the kernel is really not connected to the real passage of time, at least not in a direct This one comes from commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68 and is surely a special case, unrelated to the other clock ids. The commit message mentions that this was added to help the btime.sf.net project. That project does not seem to have had any activity since 2007. If we can justify adding a clock id in this case, surely we can These were ...
Aug 27, 5:38 am 2010
Alan Cox
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
But PTP isn't really a clock - its a time sync protocol. You can (and may need to) have multiple clocks of this form on the same host because it's PTP is not a clock, it's many clocks so a clock id doesn't really work. You could assume a single time domain and add a CLOCK_TAI plus then use PTP to track it I guess ? The question then is who would consume it and how ? Generic applications want POSIX time, which is managed by NTP but could in userspace also be slewed via the existing API ...
Aug 27, 6:38 am 2010
Alan Cox
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
In this case I don't think you can. Their divergence is rather difficult to handle unless you have a GPS to hand. But all this talk of "PTP this" and "PTP that" is not helpful. Any interface for additional time sources should be generic with PTP being one use case. Alan --
Aug 27, 5:41 am 2010
Richard Cochran
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
But TAI and UTC progress at the same rate, and UTC differs from TAI by a constant offset. In fact, the needed conversion is provided by the protocol, so it is not hard to take a 1 PPS from GPS and set the PTP To tell the truth, my original motivation for the patch set was to support PTP clocks and applications. I don't think that is such a bad idea. After all, the adjtimex interface was added just to support NTP. At the same time, I can understand the desire to have a generic hardware clock ...
Aug 27, 7:02 am 2010
Alan Cox
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Which seems fine to me too - its an implementation detail of that time Not only that but consumers of different time synchronizations will need to be able to describe which time source they want to talk about from a Something like /sys/class/timesource/<name>/... at which point we don't have to enumerate them all, add special system calls and then fret about the fact you can't access them from things like shell scripts. The fact SYS5.4 Unix and SuS got obsessed with numbering ...
Aug 27, 8:06 am 2010
Patrick Loschmidt
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Hi! I'd like to add my two cents about the discussion. Just to shortly introduce myself: I'm working with PTP since version 2002 (now 2008 or PTPv2) and I'm developing matching network cards, drivers, and also sometimes a bit of the stack. I always had the problem of different HW implementations (even my own) and how to access the clocks there. So reading this thread, I strongly support the idea to provide a driver class, which allows the userspace to run certain standard operations ...
Aug 27, 8:21 am 2010
Richard Cochran
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Okay, I really meant "for PTP hardware clocks". In general the discussion is about supporting a kind of hardware and not about the PTP network protocol. In fact, the hardware clocks and clock servo loops are not at all part of the IEEE 1588 standard. Sorry for causing confusion, but please understand "a hardware clock with timestamping capabilities than can be used for PTP support" whenever I wrote "PTP" or "PTP clock." Well, what I just said is not entirely true. In fact, most of the ...
Aug 27, 7:34 am 2010
Alan Cox
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
For a new syscall you could equally make it If you only have one clock that you are calling 'the PTP clock' - but is that a good assumption ? I agree with your fundamental arguments as I understand them - That it's another clock or clocks possibly not synchronized with the system clock - That there should be a sensible API for doing slews and steps on other clocks but the systen clock. I'm concerned about the assumption that there is a single magic PTP clock, and calling it ...
Aug 27, 7:50 am 2010
John Stultz
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
I'm not opposed to adding a clock id, I just want it to be generic enough to make sense. So while MONOTONIC_RAW it was spurred into being from btime, it isn't a CLOCK_BTIME interface. I've also been pushing the RADClock folks to use it since it avoids the ugly raw hardware access they want to get access to a constant freq counter. In addition, I've used it to monitor freq adjustments done by Right, but what they represent and how its different from CLOCK_REALTIME Right. So ...
Aug 27, 3:30 pm 2010
John Stultz
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Right, although the ppm/ppb issue shouldn't be a problem as the timex allows for much finer then ppb resolution changes. The only adjustment to the adjtimex/timex interface that may be needed is the ability to set the time by an offset (ie: ADJ_SETOFFSET), rather then slewing the offset in (ADJ_OFFSET, or ADJ_OFFSET_SINGLESHOT). This avoids the calc offset, gettime(&now), settime(now+offset) method where any latency between the gettime and settime adds to the ...
Aug 27, 1:56 pm 2010
John Stultz
Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
I wasn't suggesting adding the clock multiplexing to the timex, just using the timex to specify the adjustments in the clock_adjtime call. So I was asking why a timex was not suitable instead of using just the The existing struct timeval in the timex can be also used as a timespec. Again, I think you misunderstood my suggestion. I was suggesting I think using the timex struct covers most of the existing knowledge of what is needed. thanks -john --
Aug 27, 1:14 pm 2010
Sascha Hauer
Re: [PATCH 3/3 v3] dmaengine: Add Freescale i.MX SDMA support
This patch adds support for the Freescale i.MX SDMA engine. The SDMA engine is a scatter/gather DMA engine which is implemented as a seperate coprocessor. SDMA needs its own firmware which is requested using the standard request_firmware mechanism. The firmware has different entry points for each peripheral type, so drivers have to pass the peripheral type to the DMA engine which in turn picks the correct firmware entry point from a table contained in the firmware image itself. The original ...
Aug 27, 5:22 am 2010
Masayuki Ohtake
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35
----- Original Message ----- From: "Grant Likely" <grant.likely@secretlab.ca> To: "Masayuki Ohtak" <masa-korg@dsn.okisemi.com> Cc: <meego-dev@meego.com>; "LKML" <linux-kernel@vger.kernel.org>; "David Brownell" <dbrownell@users.sourceforge.net>; <spi-devel-general@lists.sourceforge.net>; <qi.wang@intel.com>; <yong.y.wang@intel.com>; <andrew.chih.howe.khor@intel.com>; <arjan@linux.intel.com>; <gregkh@suse.de> Sent: Saturday, August 14, 2010 3:49 PM How can the driver detect ...
Aug 27, 6:30 am 2010
Grant Likely
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35
Hi Ohtake-san, Thanks for the reply. Some more comments below. On Fri, Aug 27, 2010 at 7:30 AM, Masayuki Ohtake You know the hardware better than I. Is there a configuration or identification register that will tell you how many spi bus instances there are? Regardless, then number of instances the driver can support should not be hard coded into the kernel config. If it is hard coded, then the driver will not support running a single kernel I'm not sure what you mean. It sounds like ...
Aug 27, 10:15 am 2010
Kiyoshi Ueda
Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hi Mike, Do we have any proof to wipe that fear? If retrying on flush failure is safe on all storages used with multipath (e.g. SCSI, CCISS, DASD, etc), then current dm-mpath should be fine in the real world. But I'm afraid if there is a storage where something like below can happen: - a flush command is returned as error to mpath because a part of cache has physically broken at the time or so, then that part of data loses and the size of the cache is shrunk by the ...
Aug 27, 2:47 am 2010
Mike Snitzer
Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
On Fri, Aug 27 2010 at 5:47am -0400, That does seem like a valid concern. But I'm not seeing why its unique to SYNCHRONIZE CACHE. Any IO that fails on the target side should be passed up once the error gets to DM. Mike --
Aug 27, 6:49 am 2010
FUJITA Tomonori
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
On Thu, 26 Aug 2010 18:02:46 +0200 As I wrote, the DMA API simply wasn't designed in that way (let architectures to clip the mask), I guess. If it was, dma_set_coherent_mask might return the actual mask. --
Aug 26, 5:26 pm 2010
FUJITA Tomonori
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
On Thu, 26 Aug 2010 18:57:19 +0100 I didn't insist such (I wrote, "it's not a real proble"). As I wrote in another mail, we could make every architecutre have the own dma_set_coherent_mask(). It's fine by me. I simply wanted to know your opinions: Looks like that the DMA API doesn't expect architectures to clip the mask. It might be better to add the new API to set the dma mask in the long term? (i.e. calling dma_set_mask twice is the best interface?) It's better to forget it since it's ...
Aug 26, 11:54 pm 2010
Andrew Morton
Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a singl ...
On Mon, 9 Aug 2010 07:33:57 -0700 (PDT) Actually you can do mount -o remount /dev/whatever The changelog forgot to tell us why this is a useful thing to add. `mount -o remount' is surely a Linux-specific side-effect and there's really no guarantee that Linux will always retain that side-effect. OTOH FS_IOC_SYNCFS is linux-specific. If we're going to add something like this then it will need to be documented in manpages. Supposedly, a cc to linux-api@vger.kernel.org will help ...
Aug 26, 5:01 pm 2010
Dan Williams
Re: [PATCH 00/14] DMAENGINE: ste_dma40: bugfixes and enh ...
On Wed, Aug 25, 2010 at 10:19 AM, Linus Walleij Yes, consider them acked-by and on their way to -next. I've been preparing for the birth of my daughter who finally arrived on Wednesday! So expect intermittent attention to drivers/dma/ through the middle of September. I do plan to get this pushed before then, and catch up on the i.mx sdma discussion. Thanks for your review, and patience, Regards, Dan --
Aug 27, 3:02 pm 2010
Andrew Morton
Re: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
Patches which don't have any changelog. This patch was sent with no As I indicated. The title tells us what the patch does but didn't tell us *why* it does it. Apparently it is preparatory work for some other Recently, I assume - it wasn't in this morning's linux-next. --
Aug 26, 11:14 pm 2010
Marek Vasut
Re: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
I have this one in my tree and I sent it to Eric as a part of larger patchset. I just wanted to add your Ack eventually. Cheers --
Aug 26, 10:50 pm 2010
Marek Vasut
Re: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
Ah, stupid me, I see, just checked the patch. The point is, some time ago (about one year ago ... but certainly after the ucb1400 was split into multiple chunks and ucb1400-gpio was added), there was no way to pass platform data to devices attached to ac97 bus. That's why there was that function "ucb1400_gpio_set_data()". That's not true anymore, we can just pass the pdata through the ac97 bus to the mfd part of ucb1400 driver (ucb1400-core), which then registers the gpio part of ...
Aug 26, 11:17 pm 2010
Tejun Heo
Re: [PATCH] percpu: fix a memory leak in pcpu_extend_are ...
Hello, It has been in percpu#for-linus. Given the way percpu allocator is currently used, the bug isn't likely to cause any real leakage, so I was waiting a bit before pushing it out. I'll push it today. Thanks. -- tejun --
Aug 27, 2:32 am 2010
Randy Dunlap
Re: linux-next: Tree for August 7 (IR)
Hi Mauro, Have you merged these 2 patches? I'm seeing very similar build errors in linux-next 20100827: ERROR: "get_rc_map" [drivers/media/video/saa7134/saa7134.ko] undefined! ERROR: "ir_input_unregister" [drivers/media/video/saa7134/saa7134.ko] undefined! ERROR: "ir_raw_event_store_edge" [drivers/media/video/saa7134/saa7134.ko] undefined! ERROR: "__ir_input_register" [drivers/media/video/saa7134/saa7134.ko] undefined! ERROR: "ir_raw_event_handle" [drivers/media/video/saa7134/saa7134.ko] ...
Aug 27, 9:45 am 2010
Chris Ball
[PATCH RESEND] drivers/mmc/host: Adjust confusing if ind ...
Hi Andrew, doesn't look like anyone else has taken this yet. From: Julia Lawall <julia@diku.dk> Date: Thu, 5 Aug 2010 22:19:52 +0200 (CEST) Move the second if (reg & ...) test into the branch indicated by its indentation. The test was previously always executed after the if containing that branch, but it was always false unless the if branch was taken. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position ...
Aug 27, 2:08 pm 2010
Neil Horman Aug 27, 5:39 am 2010
Neil Horman
Re: [RFC PATCH v4 1/5] irq: add tracepoint to softirq_raise
Sorry its taken me awhile to get back to these, I've been on PTO --
Aug 27, 5:37 am 2010
Neil Horman Aug 27, 5:38 am 2010
Neil Horman Aug 27, 5:37 am 2010
Neil Horman Aug 27, 5:38 am 2010
Chris Ball
[PATCH RESEND] MMC:mmc_spi: Recover from CRC error for S ...
Hi, There were no comments about this patch -- Andrew, please take it if there are no objections. From: Sonic Zhang <sonic.zhang@analog.com> Date: Mon, 12 Jul 2010 15:50:56 +0800 Subject: [PATCH] mmc_spi: Recover from CRC error for SD read/write operation over SPI. SPI bus is not reliable on all platforms when doing large data transfer. Current mmc spi driver fails SD read/write command immediately, if occasional CRC error is reported by SD device. This patch makes the operation recover ...
Aug 27, 1:36 pm 2010
Rafael J. Wysocki
Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
I reproduced the problem with the Tejun's patch applied, so I'm now quite sure the problem is related to the suspend of controller ports (which is done by scheduling SCSI error handling on the controller). Anyway, below is a new version of my patch that plays a bit nicer with the resume code. Can you please check if it still fixes the problem for you? Thanks, Rafael --- From: Rafael J. Wysocki <rjw@sisk.pl> Subject: SATA / AHCI: Do not play with the link PM during suspend to RAM ...
Aug 27, 4:35 pm 2010
Chris Ball
[PATCH RESEND] initialise DMA engine before MMC
Hi, Andrew, mind taking this one? From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Date: Mon, 7 Jun 2010 13:16:36 +0200 (CEST) To use DMA engine based DMA with MMC in a non-modular build, the DMA engine has to initialise before MMC. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Dan Williams <dan.j.williams@intel.com> --- diff --git a/drivers/Makefile b/drivers/Makefile index 91874e0..b713e75 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -92,6 ...
Aug 27, 12:49 pm 2010
Andrew Morton
Re: [PATCH RESEND] initialise DMA engine before MMC
On Fri, 27 Aug 2010 20:49:39 +0100 erk, doing this via link ordering isn't nice. It would be better to express this dependency via initcall levels - core_initcall() or something. --
Aug 27, 1:02 pm 2010
Hiroshi DOYU
Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias
Hi Catalin, From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Subject: Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias Date: Tue, 10 Aug 2010 18:49:03 +0300 (EEST) It would be nice if you could have some time to take a look at this --
Aug 26, 11:12 pm 2010
Chris Ball
Re: [PATCH 1/7] mmc: at91_mci: fix pointer errors
Might be related to Dan Carpenter's suggestion that the spacing for that line should change to: kunmap_atomic(((void *)sgbuffer) - sg->offset, KM_BIO_SRC_IRQ); -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child --
Aug 27, 12:34 pm 2010
Chris Ball
Re: [PATCH 1/7] mmc: at91_mci: fix pointer errors
Hi Andrew, Nicolas, Looks like only the first half of this patch was applied? The kunmap_atomic() line is still present as before in Linus' tree. -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child --
Aug 27, 12:33 pm 2010
Chris Ball
Re: [PATCH] mmc: move regulator handling to core
Hi Daniel, Looks like this patch got dropped because of the missing modifications to arch/arm/mach-omap2/mmc-twl4030.c. Are we still interested in the patch otherwise, and can anyone help with that? -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child --
Aug 27, 12:03 pm 2010
Chris Ball
Re: [PATCH v3] mmc: Make ID freq configurable
Hi, This looks like the best of the min_freq patches I've seen, and is implementing a suggestion of Pierre's. Should we take it? - Chris. -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child --
Aug 27, 1:44 pm 2010
previous daytodaynext day
August 26, 2010August 27, 2010August 28, 2010