Re: [ 146/184] softirq: reduce latencies

2013-11-16 Thread Willy Tarreau
Hi Li, I just found your mail unread in my box by pure luck, I'm sorry. On Fri, Aug 02, 2013 at 04:14:13PM +0800, Li Zefan wrote: > Cc: Ben Greear > Cc: Tejun > > Hi Willy, > > This patch introduced a bug, which was then fixed by commit 34376a50fb1f > ("Fix lockup related to stop_machine being

[PATCH] devtmpfs: Calling delete_path() only when necessary

2013-11-16 Thread Axel Lin
The deleted variable is always 1 in current code. Initialize deleted variable to be 0, so delete_path() will be called only when necessary. Signed-off-by: Axel Lin --- drivers/base/devtmpfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/devtmpfs.c b/drivers/ba

[GIT PULL] ARM: SoC fixes for 3.13 merge window

2013-11-16 Thread Olof Johansson
Hi Linus, The following changes since commit 10d0c9705e80bbd3d587c5fad24599aabaca6688: Merge tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux (2013-11-12 16:52:17 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kerne

Re: [PATCH 3/3] misc: bmp085: Add missing platform data.

2013-11-16 Thread Dr. H. Nikolaus Schaller
Am 15.11.2013 um 14:58 schrieb Arnd Bergmann: > On Thursday 14 November 2013, Marek Belisko wrote: >> DT bindings contains more parameters to set so add them to platform data also >> to have possibility to use on arch where DT isn't available yet. >> >> Signed-off-by: Marek Belisko > > Can you

[PATCH v5 0/3] add wildcard support for dynamic debug

2013-11-16 Thread Du, Changbin
From: "Du, Changbin" These patches are to make it easier to filter kernel debug logs which we want. Whith wildcard support, below command can enable all usb debug logs: #echo "file drivers/usb/* +p" > /dynamic_debug/control This patch only enables two wildcard: '*' - matches zero or more

[PATCH v5 1/3] lib/parser.c: add match_wildcard function

2013-11-16 Thread Du, Changbin
From: "Du, Changbin" match_wildcard function is a simple implementation of wildcard matching algorithm. It only supports two usual wildcardes: '*' - matches zero or more characters '?' - matches one character This algorithm is safe since it's of non-recursion. Signed-off-by: Du, Changbin

[PATCH v5 2/3] dynamic_debug: add wildcard support to filter files/functions/modules

2013-11-16 Thread Du, Changbin
From: "Du, Changbin" Add wildcard '*'(matches zero or more characters) and '?' (matches one character) support when qurying debug flags. Now we can open debug messages using keywords. eg: 1. open debug logs in all usb drivers echo "file drivers/usb/* +p" > /dynamic_debug/control 2. open deb

[PATCH v5 3/3] dynamic-debug-howto.txt: update since new wildcard support

2013-11-16 Thread Du, Changbin
From: "Du, Changbin" Add the usage of using new feature wildcard support. Signed-off-by: Du, Changbin --- Documentation/dynamic-debug-howto.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/dynamic-debug-howto.txt b/Documentation/dynamic-debug-howto.txt index 1bbd

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-16 Thread Stefan Kristiansson
On Fri, Nov 15, 2013 at 10:50:18AM +0100, Jonas Bonn wrote: > >+ > >+i2c0: ocores@a000 { > >+#address-cells = <1>; > >+#size-cells = <0>; > >+compatible = "opencores,i2c-ocores"; > > Version number needed. OpenCores wanted "projectname-rtlsvn###" > wher

Re: [PATCH v3 0/4] Add request_firmware_direct() for microcode loader

2013-11-16 Thread Takashi Iwai
At Sat, 16 Nov 2013 06:24:55 +0900, Greg Kroah-Hartman wrote: > > On Fri, Nov 15, 2013 at 04:34:09PM +0100, Takashi Iwai wrote: > > At Tue, 12 Nov 2013 13:02:12 +0100, > > Takashi Iwai wrote: > > > > > > Hi, > > > > > > this is a revised patch series to introduce request_firmware_direct() > > >

Re: Black screen with GMA500 driver on Atom E680 (invalid VBT signature)

2013-11-16 Thread Andreas Werner
On Thu, Nov 14, 2013 at 08:57:58PM +, One Thousand Gnomes wrote: > > but if you checkout the PCI table in the driver, there is the device > > and vendor ID mentioned, that means for me that the driver supports > > the Graphic core in E680. > > And after loading the driver, it will parse for $VB

Re: [PATCHv5] dmaengine: Add support for BCM2835

2013-11-16 Thread Andy Shevchenko
> On Fri, Nov 15, 2013 at 7:51 PM, Russell King - ARM Linux > wrote: >> >> On Fri, Nov 15, 2013 at 05:43:45PM +, Shevchenko, Andriy wrote: >> >> > > +module_platform_driver(bcm2835_dma_driver); >> > >> > Is it possible to get driver initialized after that one that uses it? >> >> Doesn't quite

Re: [PATCH 1/2] init/Kconfig: add option to disable kernel compression

2013-11-16 Thread Vineet Gupta
On 11/15/2013 10:27 PM, Christian Ruppert wrote: > On Thu, Nov 14, 2013 at 03:51:22PM +0530, Vineet Gupta wrote: >> +CC Sam for Kconfig wisdom >> >> On 11/14/2013 02:08 PM, Christian Ruppert wrote: >>> Some ARC users say they can boot faster with without kernel compression. >>> This probably depend

Re: [PATCH] [FIX] init/Kconfig: fix option to disable kernel compression

2013-11-16 Thread Vineet Gupta
On 11/15/2013 10:21 PM, Christian Ruppert wrote: > Some architectures with self-decompressing kernel images did not compile > with commit 69f0554ec261fd686ac7fa1c598cc9eb27b83a80 because they don't > provide a non-decompression mechanism for uncompressed kernels. > > Rectify this problem by allowi

Re: [GIT PULL] A minor amd64_edac fix for 3.13

2013-11-16 Thread Borislav Petkov
On Fri, Nov 15, 2013 at 06:02:59PM -0800, Linus Torvalds wrote: > [ This was in my spam collection. I don't quite know why, but it might > signify problems with your email setup. Quite often, when gmail is > unhappy about kernel developer emails, it's been because their email > provider ends up doi

Re: [RFC 13/23] spi: omap2-mcspi: raw read and write endian fix

2013-11-16 Thread Mark Brown
On Sat, Nov 16, 2013 at 02:01:16AM +0200, Taras Kondratiuk wrote: > From: Victor Kamensky > > All OMAP IP blocks expect LE data, but CPU may operate in BE mode. > Need to use endian neutral functions to read/write h/w registers. > I.e instead of __raw_read[lw] and __raw_write[lw] functions code >

Re: [GIT PULL] A minor amd64_edac fix for 3.13

2013-11-16 Thread Borislav Petkov
And just to test whether you're getting emails from me, I'll send this one again from my other mail address to try to maximize the probability of some version actually reaching you :-) On Fri, Nov 15, 2013 at 06:02:59PM -0800, Linus Torvalds wrote: > [ This was in my spam collection. I don't quite

Re: [PATCH 04/40] staging/lustre/llite: Access to released file trigs a restore

2013-11-16 Thread Dilger, Andreas
On 2013/11/14 9:09 PM, "Greg Kroah-Hartman" wrote: >On Fri, Nov 15, 2013 at 12:13:06AM +0800, Peng Tao wrote: >> From: JC Lafoucriere >> >> When a client accesses data in a released file, >> or truncate it, client must trig a restore request. >> During this restore, the client must not glimpse a

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-16 Thread Olof Kindgren
2013/11/16 Stefan Kristiansson > > On Fri, Nov 15, 2013 at 10:50:18AM +0100, Jonas Bonn wrote: > > >+ > > >+i2c0: ocores@a000 { > > >+#address-cells = <1>; > > >+#size-cells = <0>; > > >+compatible = "opencores,i2c-ocores"; > > > > Version number needed.

Re: [GIT PULL] A minor amd64_edac fix for 3.13

2013-11-16 Thread Borislav Petkov
On Sat, Nov 16, 2013 at 02:50:49AM -0800, Linus Torvalds wrote: > As far as I can tell, only that one email had gotten caught by the > spam filter. So it may be something in the body of the email itself, > although I don't really see what that could be either.. Right. > It happens occasionally, a

Re: [alsa-devel] [RFCv2] ASoC: Add support for BCM2835

2013-11-16 Thread Lars-Peter Clausen
On 11/12/2013 07:41 PM, Florian Meier wrote: > This driver adds support for digital audio (I2S) > for the BCM2835 SoC that is used by the > Raspberry Pi. External audio codecs can be > connected to the Raspberry Pi via P5 header. > > It relies on cyclic DMA engine support for BCM2835. > > Signed-

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-16 Thread Dilger, Andreas
On 2013/11/14 9:13 PM, "Greg Kroah-Hartman" wrote: >On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: >> From: "John L. Hammond" >> >> Add a const void *h_owner member to struct portals_handle. Add a const >> void *owner parameter to class_handle2object() which must be matched >> by the

[V13-prerc]: REGRESSION: "*ERROR* Timed out waiting for forcewake old ack to clear"

2013-11-16 Thread Jörg Otte
On startup I get the following error display on the console: "*ERROR* Timed out waiting for forcewake old ack to clear" I already reported this error a year ago at the time of v3.7 ( see https://lkml.org/lkml/2012/11/27/355) which was fixed later on. Now this error is back again. Kernel 3.12.0-0

Re: [PATCHv5] dmaengine: Add support for BCM2835

2013-11-16 Thread Mark Brown
On Sat, Nov 16, 2013 at 11:37:54AM +0200, Andy Shevchenko wrote: > The reason why I was asking about I'm just wondering what we have to do > with existing drivers. Shall we convert them to be initialized as normal > platform drivers instead of subsys_initcall? We should in general be moving in th

Re: [PATCH 3/4] printk: Defer printing to irq work when we printed too much

2013-11-16 Thread Pavel Machek
Hi! > > > > > Reviewed-by: Steven Rostedt > > > > > Signed-off-by: Jan Kara > > > > > > > > When a message takes tens of seconds to be printed, it usually means > > > > we are in trouble somehow :) > > > > I wonder what printk source can trigger such a high volume. > > > Machines with tens of

Re: [PATCHv5] dmaengine: Add support for BCM2835

2013-11-16 Thread Russell King - ARM Linux
On Sat, Nov 16, 2013 at 11:27:54AM +, Mark Brown wrote: > On Sat, Nov 16, 2013 at 11:37:54AM +0200, Andy Shevchenko wrote: > > > The reason why I was asking about I'm just wondering what we have to do > > with existing drivers. Shall we convert them to be initialized as normal > > platform dri

Re: perf tip: fails to convert comm

2013-11-16 Thread Namhyung Kim
Hi Frederic, 2013-11-16 (토), 02:02 +0100, Frederic Weisbecker: > On Fri, Nov 15, 2013 at 09:29:51AM -0700, David Ahern wrote: > > HI Frederic: > > > > On 11/13/13, 11:03 AM, Frederic Weisbecker wrote: > > > > > >I see. I can reproduce, I'll check and see what happens. It would be nice > > >if >

[GIT PULL] pwm: Changes for v3.13-rc1

2013-11-16 Thread Thierry Reding
Hi Linus, The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-3.13-rc1 for you to fetch chang

Re: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release

2013-11-16 Thread David Howells
Paul E. McKenney wrote: > - /* read index before reading contents at that index */ > - smp_mb(); /* finish reading descriptor before incrementing tail > */ I'd rather you didn't remove these comments (assuming they're correct) as they're pointing out the point of the ex

Re: [V13-prerc]: REGRESSION: "*ERROR* Timed out waiting for forcewake old ack to clear"

2013-11-16 Thread Daniel Vetter
On Sat, Nov 16, 2013 at 12:28 PM, Jörg Otte wrote: > On startup I get the following error display on the console: > "*ERROR* Timed out waiting for forcewake old ack to clear" > > I already reported this error a year ago at the time of v3.7 > ( see https://lkml.org/lkml/2012/11/27/355) > which was

Re: [PATCH 5/5] OF: Introduce utility helper functions

2013-11-16 Thread Pantelis Antoniou
Hi Grant, On Nov 15, 2013, at 8:27 AM, Grant Likely wrote: > On Thu, 14 Nov 2013 10:51:05 +0100, Pantelis Antoniou > wrote: >> Hi Grant, >> >> On Nov 14, 2013, at 2:44 AM, Grant Likely wrote: >> >>> On Wed, 13 Nov 2013 10:03:37 +0100, Pantelis Antoniou >>> wrote: On Nov 13, 2013, at 2:

Re: [PATCHv5] dmaengine: Add support for BCM2835

2013-11-16 Thread Mark Brown
On Sat, Nov 16, 2013 at 11:41:34AM +, Russell King - ARM Linux wrote: > On Sat, Nov 16, 2013 at 11:27:54AM +, Mark Brown wrote: > > We should in general be moving in that direction however it does need a > > bit of care to make sure that there aren't any dependencies which do > > things li

Re: [PATCH v2] of: make of_get_phy_mode parse 'phy-connection-type'

2013-11-16 Thread Grant Likely
On Fri, 15 Nov 2013 06:23:32 +, Florian Fainelli wrote: > Per the ePAPR v1.1 specification, 'phy-connection-type' is the canonical > property name for describing an Ethernet to PHY connection type. Make > sure that of_get_phy_mode() also attempts to parse that property and > update the commen

[PATCH] gpiolib: fix find_chip_by_name()

2013-11-16 Thread Alexandre Courbot
find_chip_by_name() was incorrectly implemented by using gpio_lookup_list instead of gpiod_chips to iterate through all the registered GPIO controllers. This patch reimplements it by using gpiochip_find() with a custom search function, which simplifies the code on top of fixing the mistake. Signed

[PATCH] gpiolib: use dedicated flags for GPIO properties

2013-11-16 Thread Alexandre Courbot
GPIO mapping properties were defined using the GPIOF_* flags, which are declared in linux/gpio.h. This file is not included when using the GPIO descriptor interface. This patch declares the flags that can be used as GPIO mappings properties in linux/gpio/driver.h, and uses them in gpiolib, so that

Re: [PATCH 4/4] clocksource: orion: Switch to sched_clock_register()

2013-11-16 Thread Sebastian Hesselbarth
On 11/16/2013 12:48 AM, Stephen Boyd wrote: The 32 bit sched_clock interface now supports 64 bits. Upgrade to the 64 bit function to allow us to remove the 32 bit registration interface. Cc: Sebastian Hesselbarth Signed-off-by: Stephen Boyd Tested-by: Sebastian Hesselbarth Thanks! ---

[PATCH 2/2] tools cpupower: fix wrong err msg not supported vs not available

2013-11-16 Thread Thomas Renninger
idlestates in sysfs are counted from 0. This fixes a wrong error message. Current behavior on a machine with 4 sleep states is: cpupower idle-set -e 4 Idlestate 4 enabled on CPU 0 -Wrong- cpupower idle-set -e 5 Idlestate enabling not supported by kernel -Must and now

Provide cpupower-idle-set(1) manpage and a minor fix

2013-11-16 Thread Thomas Renninger
Rafael: Could you queue these two again in your tree if they are ok, please. Sidenote: If I find the time, I like to adjust the cpuidle ladder governor: If a lighter sleep state is disabled (and in this governor deeper sleep states are not entered any more as well), I like to set the disabled flag

[PATCH 1/2] tools cpupower: Add cpupower-idle-set(1) manpage

2013-11-16 Thread Thomas Renninger
cpupower idle-set subcommand was introduce recently. This patch provides the missing manpage. If cpupower is properly installed it will show up automatically (similar to git), when invoking: cpupower help idle-set or cpupower idle-set --help Some parts have been taken over and adjusted from git c

Re: [PATCH] cpufreq: cpufreq-cpu0: Use a sane boot frequency when booting with a mismatched bootloader configuration

2013-11-16 Thread Shawn Guo
On Fri, Nov 15, 2013 at 08:22:15PM -0600, Nishanth Menon wrote: > On many development platforms, at boot, the bootloader configured > frequency maynot match the valid frequencies that are stated to be > supported in OPP table. This may occur due to various reasons: > a) older or default bootloader

congratulation

2013-11-16 Thread adam33
Donation to You, Contact Dave and Angela Dawe on dave_angel...@cash4u.com For More Info -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read th

915] BUG: Bad page state in process Xorg

2013-11-16 Thread Thomas Meyer
Hi, After 9 days uptime, I wanted to restart my Gnome-Session, but this fails because Xorg is hitting a kernel bug. Xorg server isn't kill-able. I see these log entries: [126489.697509] CPU: 0 PID: 690 Comm: Xorg Tainted: GB3.12.0+ #95 [126489.697511] Hardware name: Acer Aspire 1810

Kernel 3.4.57: "tg3 0000:01:00.0: eth0: transmit timed out, resetting"

2013-11-16 Thread Urban Loesch
Hi, I'm running a DELL PER620 with kernel 3.4.57 an Broadcom quad-port gbit adapter BCM5720. 15min load-average is about 4-8. After 13 days of uptime today the machine becomes unresponsible. But after a couple of minutes it becomes responsible again and was rebooted (sysctl paremter for kern

Re: [PATCH] cpufreq: suspend/resume governors with PM notifiers

2013-11-16 Thread Rafael J. Wysocki
On Saturday, November 16, 2013 10:01:50 AM viresh kumar wrote: > On Saturday 16 November 2013 05:54 AM, Rafael J. Wysocki wrote: > > Will cpufreq work during system-wide power transitions (suspend/resume etc.) > > after this? In particular, what about hibernation? > > I am disabling governors as

[PATCH] Drivers: staging: ft1000-usb: ft1000_proc.c: fixed a few styling issues.

2013-11-16 Thread Aldo Iljazi
Fixed a few styling issues, particularly: Lines 36,42: Inserted a space before the open paranthesis. Line 50: Removed space between function name and open parenthesis. Lines 56,57: Removed trailing whitespace. lines: 130, 133: Replaced spaces with tabs for identation. Signed-off-by: Aldo Iljazi

DRM_TEGRA not buildable as a module

2013-11-16 Thread Josh Boyer
Hi All, The commit below seems to have made the Tegra DRM driver a bool option instead of tristate: commit dee8268f8fb218c9e9b604a40f7dbdd395e910f9 Author: Thierry Reding Date: Wed Oct 9 10:32:49 2013 +0200 drm/tegra: Move driver to DRM tree In order to make subsystem-wide changes ea

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Rafael J. Wysocki
On Saturday, November 16, 2013 11:59:59 AM Lan Tianyu wrote: > On 11/16/2013 08:38 AM, Rafael J. Wysocki wrote: > > On Friday, November 15, 2013 04:15:34 PM Lan Tianyu wrote: > >> Currently, governor of nonboot cpus will be put to EXIT when system > >> suspend. > >> Since all these cpus will be un

xen drivers fail to link on ARM with v3.12-9888-gf63c482

2013-11-16 Thread Josh Boyer
Hi All, The xen-gntalloc, xen-netfront, xen-blkfront, and xen-netback drivers fail to link on ARM today with the following error: ERROR: "phys_to_mach" [drivers/xen/xen-gntalloc.ko] undefined! ERROR: "phys_to_mach" [drivers/net/xen-netfront.ko] undefined! ERROR: "phys_to_mach" [drivers/net/xen-ne

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Rafael J. Wysocki
On Saturday, November 16, 2013 08:27:07 PM Viresh Kumar wrote: > On 16 November 2013 20:11, Rafael J. Wysocki wrote: > > On Saturday, November 16, 2013 11:59:59 AM Lan Tianyu wrote: > > >> Defaultly, all cpus use ondemand governor after bootup. Change one > >> non-boot cpu's governor to conservat

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Viresh Kumar
On 16 November 2013 20:11, Rafael J. Wysocki wrote: > On Saturday, November 16, 2013 11:59:59 AM Lan Tianyu wrote: >> Defaultly, all cpus use ondemand governor after bootup. Change one >> non-boot cpu's governor to conservative, > > Well, why would anyone want to do that? Just out of curiosity .

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Rafael J. Wysocki
On Saturday, November 16, 2013 03:41:10 PM Rafael J. Wysocki wrote: [...] > > >> @@ -1822,6 +1822,9 @@ static int __cpufreq_governor(struct > > >> cpufreq_policy *policy, > > >> ((event == CPUFREQ_GOV_POLICY_EXIT) && !ret)) > > >> module_put(policy->gove

Re: [V13-prerc]: REGRESSION: "*ERROR* Timed out waiting for forcewake old ack to clear"

2013-11-16 Thread Daniel Vetter
On Sat, Nov 16, 2013 at 3:39 PM, Jörg Otte wrote: > 2013/11/16 Daniel Vetter : >> On Sat, Nov 16, 2013 at 12:28 PM, Jörg Otte wrote: >>> On startup I get the following error display on the console: >>> "*ERROR* Timed out waiting for forcewake old ack to clear" >>> >>> I already reported this erro

Re: Kernel 3.4.57: "tg3 0000:01:00.0: eth0: transmit timed out, resetting"

2013-11-16 Thread Bjorn Helgaas
[+cc Nithin, Michael, netdev] On Sat, Nov 16, 2013 at 7:01 AM, Urban Loesch wrote: > Hi, > > I'm running a DELL PER620 with kernel 3.4.57 an Broadcom quad-port gbit > adapter BCM5720. 15min load-average is about 4-8. > > After 13 days of uptime today the machine becomes unresponsible. But after a

Re: [PATCH] ARM: fix /proc/$PID/stack to work on SMP

2013-11-16 Thread Russell King - ARM Linux
On Sat, Nov 16, 2013 at 10:58:44PM +0800, ivan lam wrote: > In arm, we can't get stack info of the other tasks via > /proc/$PID/stack file. for example: > > # sleep 1000 & > # ps -ef | grep sleep > 536 0 0:00 sleep 1000 > 538 0 0:00 grep sleep > # cat /proc/536/stack > [] 0xf

Re: [PATCH] cpufreq: suspend/resume governors with PM notifiers

2013-11-16 Thread Viresh Kumar
On 16 November 2013 19:59, Rafael J. Wysocki wrote: > Well, disabling it for the whole duration of suspend/resume and/or hibernation > may not be the right approach entirely, unless we force the pax perf of the s/pax/max ? > boot CPU at least in addition to that. Otherwise the latency of suspe

Re: perf tip: fails to convert comm

2013-11-16 Thread David Ahern
On 11/15/13, 6:02 PM, Frederic Weisbecker wrote: On Fri, Nov 15, 2013 at 09:29:51AM -0700, David Ahern wrote: HI Frederic: On 11/13/13, 11:03 AM, Frederic Weisbecker wrote: I see. I can reproduce, I'll check and see what happens. It would be nice if we could have an option to dump internal pe

Re: [PATCH tip/core/rcu 11/14] bonding/bond_main: Apply ACCESS_ONCE() to avoid sparse false positive

2013-11-16 Thread Paul E. McKenney
On Sat, Nov 16, 2013 at 12:32:16PM +0800, Ding Tianhong wrote: > 于 2013/11/16 8:40, Paul E. McKenney 写道: > > From: "Paul E. McKenney" > > > > The sparse checking for rcu_assign_pointer() was recently upgraded > > to reject non-__kernel address spaces. This also rejects __rcu, > > which is almost

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Lan Tianyu
On 11/16/2013 10:41 PM, Rafael J. Wysocki wrote: On Saturday, November 16, 2013 11:59:59 AM Lan Tianyu wrote: On 11/16/2013 08:38 AM, Rafael J. Wysocki wrote: On Friday, November 15, 2013 04:15:34 PM Lan Tianyu wrote: Currently, governor of nonboot cpus will be put to EXIT when system suspend.

Re: [PATCH] power: Change device_wakeup_enable() to check for null dev_name(dev)

2013-11-16 Thread Shuah Khan
On 11/15/2013 05:25 PM, Greg KH wrote: On Fri, Nov 15, 2013 at 05:16:31PM -0700, Shuah Khan wrote: On 11/15/2013 05:21 PM, Rafael J. Wysocki wrote: On Friday, November 15, 2013 05:03:57 PM Shuah Khan wrote: device_wakeup_enable() uses dev_name(dev) as the wakeup source name. When it gets calle

[PATCH V2] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-16 Thread Lan Tianyu
Currently, governor of nonboot cpus will be put to EXIT when system suspend. Since all these cpus will be unplugged and the governor usage_count decreases to zero. The governor data and its sysfs interfaces will be freed or released. This makes user config of these governors loss during suspend and

[PATCH] i2c: Fallback to of_node of parent

2013-11-16 Thread Florian Meier
Many busses (e.g. tegra, omap, bcm2835) need to set the of_node of the adapter device to the one of the parent device, i.e. adap->dev.of_node = pdev->dev.of_node; As suggested by Stephen Warren, this could also be done in the i2c core and it is a common mistake to forget this line: I2C: BCM2835:

Re: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release

2013-11-16 Thread Paul E. McKenney
On Sat, Nov 16, 2013 at 11:58:45AM +, David Howells wrote: > Paul E. McKenney wrote: > > > - /* read index before reading contents at that index */ > > > - smp_mb(); /* finish reading descriptor before incrementing tail > > */ > > I'd rather you didn't remove these comm

Re: vmstat: On demand vmstat workers V3

2013-11-16 Thread Frederic Weisbecker
On Thu, Oct 03, 2013 at 05:40:40PM +, Christoph Lameter wrote: > V2->V3: > - Introduce a new tick_get_housekeeping_cpu() function. Not sure > if that is exactly what we want but it is a start. Thomas? Not really. Thomas suggested an infrastructure to move CPU-local periodic jobs handling to

Re: [patch 1/2] autofs4: allow autofs to work outside the initial PID namespace

2013-11-16 Thread Oleg Nesterov
On 11/15, Andrew Morton wrote: > > Enable autofs4 to work in a "container". oz_pgrp is converted from pid_t > to struct pid and this is stored at mount time based on the "pgrp=" option > or if the option is missing then the current pgrp. I don't understand this code, so I am probably wrong. And t

Re: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release

2013-11-16 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 04:10:30PM -0800, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > This commit replaces full barriers by targeted use of load-acquire and > store-release. I guess I'd better hurry up merging the patches that introduce these thingies someplace :-) -- To unsubscribe f

Re: [PATCH] i2c: Fallback to of_node of parent

2013-11-16 Thread Wolfram Sang
> + if (!dev->of_node && dev->parent) > + dev->of_node = dev->parent->of_node; > + That is not enough. Current drivers could then have the assignment removed and even more important, this behaviour should be documented. Regards, Wolfram signature.asc Description: Digital s

Re: [PATCH] i2c: Fallback to of_node of parent

2013-11-16 Thread Florian Meier
Ok, I will try to find all relevant lines. Where is the best place to document this? Greetings, Florian 2013/11/16 Wolfram Sang : > >> + if (!dev->of_node && dev->parent) >> + dev->of_node = dev->parent->of_node; >> + > > That is not enough. Current drivers could then have the ass

Re: xen drivers fail to link on ARM with v3.12-9888-gf63c482

2013-11-16 Thread Josh Boyer
On Sat, Nov 16, 2013 at 9:56 AM, Josh Boyer wrote: > Hi All, > > The xen-gntalloc, xen-netfront, xen-blkfront, and xen-netback drivers > fail to link on ARM today with the following error: > > ERROR: "phys_to_mach" [drivers/xen/xen-gntalloc.ko] undefined! > ERROR: "phys_to_mach" [drivers/net/xen-n

Re: [RFC 16/23] ASoC: omap: mcbsp, mcpdm, dmic: raw read and write endian fix

2013-11-16 Thread Jarkko Nikula
On 11/16/2013 02:01 AM, Taras Kondratiuk wrote: > From: Victor Kamensky > > All OMAP IP blocks expect LE data, but CPU may operate in BE mode. > Need to use endian neutral functions to read/write h/w registers. > I.e instead of __raw_read[lw] and __raw_write[lw] functions code > need to use read[

Re: [PATCH] i2c: Fallback to of_node of parent

2013-11-16 Thread Florian Meier
I have looked through all bus drivers and in most cases they have a corresponding line that could be removed. Although, this patch would break i2c-powermac, because it relies on the fact that of_node stays NULL. Any idea how to handle that? Greetings, Florian On 16.11.2013 17:11, Florian Meier

Re: [RFC 16/23] ASoC: omap: mcbsp, mcpdm, dmic: raw read and write endian fix

2013-11-16 Thread Takashi Iwai
At Sat, 16 Nov 2013 18:09:51 +0200, Jarkko Nikula wrote: > > On 11/16/2013 02:01 AM, Taras Kondratiuk wrote: > > From: Victor Kamensky > > > > All OMAP IP blocks expect LE data, but CPU may operate in BE mode. > > Need to use endian neutral functions to read/write h/w registers. > > I.e instead

[GIT PULL] sound fixes for 3.13-rc1

2013-11-16 Thread Takashi Iwai
Linus, please pull sound fixes for v3.13-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-3.13-rc1 The topmost commit is abfe69dd2e313d0c8226ca4a12329e3d829cfd7c sound fixes for 3.13-rc1

[PATCH 1/5] kstrtox: remove redundant cleanup

2013-11-16 Thread Felipe Contreras
We can't reach the cleanup code unless the flag KSTRTOX_OVERFLOW is not set, so there's not no point in clearing a bit that we know is not set. Signed-off-by: Felipe Contreras --- lib/kstrtox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/kstrtox.c b/lib/kstrtox.c index f78ae0c..ec8da7

[PATCH 0/5] Command line related cleanups

2013-11-16 Thread Felipe Contreras
Hi, These became apparent in the review process of a new command line parameter. Felipe Contreras (5): kstrtox: remove redundant cleanup cmdline: fix style issues cmdline: declare exported symbols immediately kstrtox: remove redundant casts params: improve standard definitions kernel/

[PATCH 3/5] cmdline: declare exported symbols immediately

2013-11-16 Thread Felipe Contreras
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(memparse); WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(get_option); WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMB

[PATCH 5/5] params: improve standard definitions

2013-11-16 Thread Felipe Contreras
We are repeating the functionality of kstrtol in param_set_long, and the same for kstrtoint. We can get rid of the extra code by using the right functions. Signed-off-by: Felipe Contreras --- kernel/params.c | 25 + 1 file changed, 9 insertions(+), 16 deletions(-) diff -

[PATCH 4/5] kstrtox: remove redundant casts

2013-11-16 Thread Felipe Contreras
The temporary variable is of the same type as the cast, so it's redundant. Signed-off-by: Felipe Contreras --- lib/kstrtox.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/kstrtox.c b/lib/kstrtox.c index ec8da78..649b74b 100644 --- a/lib/kstrtox.c +++ b/

[PATCH 2/5] cmdline: fix style issues

2013-11-16 Thread Felipe Contreras
WARNING: space prohibited between function name and open parenthesis '(' +int get_option (char **str, int *pint) WARNING: space prohibited between function name and open parenthesis '(' + *pint = simple_strtol (cur, str, 0); ERROR: trailing whitespace + $ WARNING: please, no spaces at the

Re: [PATCH v2] panic: setup panic_timeout early

2013-11-16 Thread Ingo Molnar
* Felipe Contreras wrote: > On Fri, Nov 15, 2013 at 2:15 PM, Linus Torvalds > wrote: > > On Fri, Nov 15, 2013 at 12:10 PM, Felipe Contreras > > wrote: > >> > >> I haven't seen a single complaint about this commit message, so I > >> don't see what is your point. > > > > My point is that I have

Re: [PATCH v5 2/3] of/selftest: Add self tests for manipulation of properties

2013-11-16 Thread Pantelis Antoniou
Hi Grant, On Nov 15, 2013, at 7:46 PM, Grant Likely wrote: > Adds a few simple test cases to ensure that addition, update and removal > of device tree node properties works correctly. > > Signed-off-by: Grant Likely > Cc: Rob Herring > Cc: Benjamin Herrenschmidt > Cc: David S. Miller > Cc: N

Re: [GIT PULL] A minor amd64_edac fix for 3.13

2013-11-16 Thread Linus Torvalds
On Sat, Nov 16, 2013 at 3:12 AM, Borislav Petkov wrote: > On Sat, Nov 16, 2013 at 02:50:49AM -0800, Linus Torvalds wrote: > >> The most common reason seems to be that your email provide is >> associated with spam, sometimes just because of a shared ISP. > > Sure, it is one: https://www.hetzner.de/

Re: [GIT PULL] A minor amd64_edac fix for 3.13

2013-11-16 Thread Borislav Petkov
On Sat, Nov 16, 2013 at 10:10:05AM -0800, Linus Torvalds wrote: > Ahh. Yes. Googling for "hetzner online spam", and there's a *lot* of > complaints. See for example > > > http://www.spamrankings.net/rankv2/2013/09/01/monthly/world/volume/cbl/all/regular/ Yowza, this is just great! :-( > whic

Re: [PATCH v2] panic: setup panic_timeout early

2013-11-16 Thread Felipe Contreras
On Sat, Nov 16, 2013 at 11:45 AM, Ingo Molnar wrote: > * Felipe Contreras wrote: > Anyway, the fact that you are argumentative even with Linus gives me > little hope that you will improve your communication patterns with > _me_, so I'm personally done arguing with you. How am I being argumentat

[PATCH 3/3] make __get_dumpable/get_dumpable inline, kill fs/coredump.h

2013-11-16 Thread Oleg Nesterov
1. Remove fs/coredump.h. It is not clear why do we need it, it only declares __get_dumpable(), signal.c includes it for no reason. 2. Now that get_dumpable() and __get_dumpable() are really trivial make them inline in linux/sched.h. Signed-off-by: Oleg Nesterov --- fs/coredump.c

[PATCH 2/3] kill MMF_DUMPABLE and MMF_DUMP_SECURELY

2013-11-16 Thread Oleg Nesterov
Nobody actually needs MMF_DUMPABLE/MMF_DUMP_SECURELY, there are only used to enforce the encoding of SUID_DUMP_* enum in mm->flags & MMF_DUMPABLE_MASK. Now that set_dumpable() updates both bits atomically we can kill them and simply store the value "as is" in 2 lower bits. Signed-off-by: Oleg Nes

[PATCH 1/3] set_dumpable: fix the theoretical race with itself

2013-11-16 Thread Oleg Nesterov
set_dumpable() updates MMF_DUMPABLE_MASK in a non-trivial way to ensure that get_dumpable() can't observe the intermediate state, but this all can't help if multiple threads call set_dumpable() at the same time. And in theory commit_creds()->set_dumpable(SUID_DUMP_ROOT) racing with sys_prctl()->se

[PATCH 0/3] get/set_dumpable() cleanups and theoretical fix

2013-11-16 Thread Oleg Nesterov
On 11/15, Kees Cook wrote: > > On Fri, Nov 15, 2013 at 12:36 PM, Oleg Nesterov wrote: > > > > unless I missed something, this is the fix, not cleanup ? > > > > If commit_creds()->set_dumpable(SUID_DUMP_ROOT) races with > > sys_prctl()->set_dumpable(SUID_DUMP_DISABLE), we can get > > SUID_DUMP_USER

Re: [PATCH 04/40] staging/lustre/llite: Access to released file trigs a restore

2013-11-16 Thread Greg Kroah-Hartman
On Sat, Nov 16, 2013 at 10:36:18AM +, Dilger, Andreas wrote: > >So, sorry, I have to stop here at this series. I've applied the first 3 > >to the opw-next branch of staging.git so they can live somewhere until > >3.13-rc1 is out. > > > >I know you spent a lot of time making these 120 patches t

Re: [PATCH] aio: fix D-cache aliasing issues

2013-11-16 Thread Simon Baatz
On Fri, Nov 15, 2013 at 02:42:05PM -0800, James Bottomley wrote: > On Fri, 2013-11-15 at 23:05 +0100, Helge Deller wrote: > > When a user page mapping is released via kunmap*() functions, the D-cache > > needs > > to be flushed via flush_dcache_page() to avoid D-cache aliasing issues. > > > > Thi

Re: [PATCH] aio: fix D-cache aliasing issues

2013-11-16 Thread Benjamin LaHaise
On Sat, Nov 16, 2013 at 09:07:18PM +0100, Simon Baatz wrote: > On Fri, Nov 15, 2013 at 02:42:05PM -0800, James Bottomley wrote: > > On Fri, 2013-11-15 at 23:05 +0100, Helge Deller wrote: > > > When a user page mapping is released via kunmap*() functions, the D-cache > > > needs > > > to be flushed

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-11-16 Thread Geert Uytterhoeven
On Thu, Mar 21, 2013 at 1:36 PM, Benjamin Herrenschmidt wrote: > On Thu, 2013-03-21 at 08:16 +, Grant Likely wrote: >> On Thu, Mar 21, 2013 at 7:43 AM, Benjamin Herrenschmidt >> wrote: >> > On Thu, 2013-03-21 at 07:35 +, Grant Likely wrote: >> >> > Shouldn't we have the symlink just be a

Re: [PATCH v2] panic: setup panic_timeout early

2013-11-16 Thread Levente Kurusa
2013-11-16 19:46 keltezéssel, Felipe Contreras írta: > On Sat, Nov 16, 2013 at 11:45 AM, Ingo Molnar wrote: >> * Felipe Contreras wrote: > >> Anyway, the fact that you are argumentative even with Linus gives me >> little hope that you will improve your communication patterns with >> _me_, so I'm

Re: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release

2013-11-16 Thread Paul E. McKenney
On Sat, Nov 16, 2013 at 05:03:40PM +0100, Peter Zijlstra wrote: > On Fri, Nov 15, 2013 at 04:10:30PM -0800, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > This commit replaces full barriers by targeted use of load-acquire and > > store-release. > > I guess I'd better hurry up mergi

Re: [PATCH 1/5] kstrtox: remove redundant cleanup

2013-11-16 Thread Levente Kurusa
2013-11-16 18:32 keltezéssel, Felipe Contreras írta: > We can't reach the cleanup code unless the flag KSTRTOX_OVERFLOW is not > set, so there's not no point in clearing a bit that we know is not set. > > Signed-off-by: Felipe Contreras Acked-by: Levente Kurusa Legit one. To be honest, I don't

Re: [PATCH 3/5] cmdline: declare exported symbols immediately

2013-11-16 Thread Levente Kurusa
2013-11-16 18:32 keltezéssel, Felipe Contreras írta: > WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable > +EXPORT_SYMBOL(memparse); > > WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable > +EXPORT_SYMBOL(get_option); > > WARNING: EXPORT_SYMBOL

Re: [PATCH v2] panic: setup panic_timeout early

2013-11-16 Thread Levente Kurusa
2013-11-16 19:46 keltezéssel, Felipe Contreras írta: > On Sat, Nov 16, 2013 at 11:45 AM, Ingo Molnar wrote: >> * Felipe Contreras wrote: > >> Anyway, the fact that you are argumentative even with Linus gives me >> little hope that you will improve your communication patterns with >> _me_, so I'm

Re: [PATCH 3/5] cmdline: declare exported symbols immediately

2013-11-16 Thread Felipe Contreras
On Sat, Nov 16, 2013 at 2:21 PM, Levente Kurusa wrote: > 2013-11-16 18:32 keltezéssel, Felipe Contreras írta: >> WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable >> +EXPORT_SYMBOL(memparse); >> >> WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/varia

Re: Fwd: [PATCH 1/8] watchdog: davinci: change driver to use WDT core

2013-11-16 Thread Guenter Roeck
On 11/06/2013 03:31 AM, ivan.khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core track state with its own variable. The watchdog_in

[PATCH] Fix NX-related Oops in wistron_btns module

2013-11-16 Thread Jakub Bogusz
The attached patch fixes "kernel tried to execute NX-protected page" Oops when loading wistron_btns module, occurring since at least 3.4.x; still applies to Linux 3.12. -- Jakub Boguszhttp://qboosh.pl/ This patch fixes "kernel tried to execute NX-protected page" oops when loading winstron-bt

[PATCH] afs: dir: remove unused label out_skip

2013-11-16 Thread Levente Kurusa
The out_skip label is not used, so remove it. Signed-off-by: Levente Kurusa --- fs/afs/dir.c |1 - 1 file changed, 1 deletion(-) diff --git a/fs/afs/dir.c b/fs/afs/dir.c index 3756d4f..0e10b14 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -669,7 +669,6 @@ static int afs_d_revalidate(struc

  1   2   >