Re: [PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-21 Thread Nicholas A. Bellinger
On Wed, 2013-08-21 at 08:53 -0700, Christoph Hellwig wrote: On Wed, Aug 21, 2013 at 07:38:21AM -0700, Roland Dreier wrote: I don't understand this. In fact the whole patch series looks quite confused. COMPARE AND WRITE is a normal Data-Out command, with no requirement for special

Re: [PATCH v2] pinctrl: queue GPIO operations instead of defering

2013-08-21 Thread Stephen Warren
On 08/19/2013 01:21 PM, Stephen Warren wrote: On 08/17/2013 08:56 AM, Linus Walleij wrote: We currently defer probing of the caller if a pinctrl GPIO request or direction setting comes in before the range mapping a certain GPIO to a certain pin controller is available. This can end up with a

[PATCH v3 1/7] Intel MIC Host Driver for X100 family.

2013-08-21 Thread Sudeep Dutt
This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Provides sysfs entries for family and stepping information. Co-author: Dasaratharaman Chandramouli dasaratharaman.chandramo...@intel.com Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com Signed-off-by: Caz

[PATCH v3 5/7] Intel MIC Host Driver Changes for Virtio Devices.

2013-08-21 Thread Sudeep Dutt
From: Ashutosh Dixit ashutosh.di...@intel.com This patch introduces the host Virtio over PCIe interface for Intel MIC. It allows creating user space backends on the host and instantiating virtio devices for them on the Intel MIC card. It uses the existing VRINGH infrastructure in the kernel to

[PATCH v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-21 Thread Sudeep Dutt
ChangeLog: = v2 = v3: a) Patch 1 data structure cleanups, header file include cleanups, IDA interface reuse and switching to device_create_with_groups(..) as per feedback from Greg Kroah-Hartman. b) Patch 7 signal documentation, sleep workaround removal and sysfs access API

Re: [PATCH v3 4/6] ARM64: arch_timer: configure and enable event stream

2013-08-21 Thread Will Deacon
Hi Sudeep, On Tue, Aug 20, 2013 at 06:08:46PM +0100, Sudeep KarkadaNagesha wrote: From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com This patch configures the event stream frequency and enables it. It also adds the hwcaps as well as compat-specific definitions to the user to detect

[PATCH v3 4/7] Intel MIC Card Driver for X100 family.

2013-08-21 Thread Sudeep Dutt
This patch does the following: a) Initializes the Intel MIC X100 platform device and driver. b) Sets up support to handle shutdown requests from the host. c) Maps the device page after obtaining the device page address from the scratchpad registers updated by the host. d) Informs the host upon a

[PATCH v3 2/7] Intel MIC Host Driver Interrupt/SMPT support.

2013-08-21 Thread Sudeep Dutt
From: Dasaratharaman Chandramouli dasaratharaman.chandramo...@intel.com This patch enables the following features: a) MSIx, MSI and legacy interrupt support. b) System Memory Page Table(SMPT) support. SMPT enables system memory access from the card. On X100 devices the host can program 32 SMPT

Re: [PATCH v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-21 Thread Sudeep Dutt
Sincere apologies for the spam. This patches series got sent out 7 times by mistake due to script bug at my end. I will ensure this never happens again. Apologies again. Sudeep Dutt On Wed, 2013-08-21 at 10:52 -0700, Sudeep Dutt wrote: ChangeLog: = v2 = v3: a) Patch 1 data

[PATCH v3 6/7] Intel MIC Card Driver Changes for Virtio Devices.

2013-08-21 Thread Sudeep Dutt
From: Ashutosh Dixit ashutosh.di...@intel.com This patch introduces the card Virtio over PCIe interface for Intel MIC. It allows virtio drivers on the card to communicate with their user space backends on the host via a device page. Ring 3 apps on the host can add, remove and configure virtio

[PATCH v3 3/7] Intel MIC Host Driver, card OS state management.

2013-08-21 Thread Sudeep Dutt
This patch enables the following features: a) Boots and shuts down the card via sysfs entries. b) Allocates and maps a device page for communication with the card driver and updates the device page address via scratchpad registers. c) Provides sysfs entries for shutdown status, kernel

Re: Proposed stable release changes

2013-08-21 Thread Steven Rostedt
On Wed, 21 Aug 2013 19:23:27 +0200 Jochen Striepe joc...@tolot.escape.de wrote: ... people are very different. Many just update here and then, but there are those who do update on most stable releases. Those are the ones you get feedback and testing from, and I think you should encourage them

[PATCH] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Andy Lutomirski
There have long been two ways to ask the kernel to create a new hardlink to the inode represented by an fd: linkat(..., AT_EMPTY_PATH) and AT_SYMLINK_FOLLOW on /proc/self/fd/N. The latter has no particular security restrictions, but the former required privilege until: commit

Re: Unusually high system CPU usage with recent kernels

2013-08-21 Thread Tibor Billes
From: Paul E. McKenney Sent: 08/20/13 11:43 PM On Tue, Aug 20, 2013 at 10:52:26PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 04:53 PM On Tue, Aug 20, 2013 at 08:01:28AM +0200, Tibor Billes wrote: Hi, I was using the 3.9.7 stable release and tried to

Re: [PATCH v2 1/3] HID: Use hid_parser for pre-scanning the report descriptors

2013-08-21 Thread Henrik Rydberg
Hi Benjamin, this looks pretty good to me, just a few nitpicks below. hid_scan_report() implements its own HID report descriptor parsing. It is going to be really bad with the detection of Win 8 certified touchscreen, as this detection relies on a special feature and on the report_size and

Re: [Device-tree] mailing list responsiveness and discoverability

2013-08-21 Thread Brian Norris
On Wed, Aug 21, 2013 at 9:10 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/20/2013 08:25 PM, Brian Norris wrote: Hello device tree maintainers, I (sub)maintain the Linux MTD subsystem and hang out on the linux-...@infradead.org mailing list. I have been seeing an increasing number of

Re: linux-next: Tree for Aug 21 [ screen corruption in graphical mode ]

2013-08-21 Thread Sedat Dilek
-direct tree. The akpm-current tree gained conflicts against the modules and aio-direct trees. Hi, I still have this issue with next-20130821 and Linux v3.11-rc6 plus drm-intel-nightly on top Any new

Re: linux-next: build warning after merge of the net-next tree

2013-08-21 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Wed, 21 Aug 2013 19:10:41 +1000 Hi all, After merging the net-next tree, today's linux-next build (i386 defconfig and probably others) produced this warning: net/ipv6/addrconf.c: In function 'addrconf_notify':

Re: Proposed stable release changes

2013-08-21 Thread Greg KH
On Tue, Aug 20, 2013 at 09:03:12PM -0400, Josh Boyer wrote: Suspend/Resume is broken on a variety of Thinkpad T400 and T500 machines in 3.10. This was true with 3.10.0 afaik. Current thinking is that it's related to the Intel mei/mei_me driver(s). Blacklisting those seems to fix things for

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 09:25:47PM +0400, Cyrill Gorcunov wrote: However, I do find the use of PTE bits in this way somewhat fragile. What other potential corner cases might still remain that will require further games with PTE bits? OK, so this is not a bug finally. The problem is

Re: Proposed stable release changes

2013-08-21 Thread Stephen Warren
On 08/20/2013 04:40 PM, Greg KH wrote: Hi all, Given that I had to just revert a patch in the recent stable releases that didn't get enough time to bake in Linus's tree (or in -next), I figured it was worth discussing some possible changes with how fast I pick up patches for stable

Re: ADSL/ATM linklayer tc shaping regression fix commits for stable

2013-08-21 Thread David Miller
From: Jesper Dangaard Brouer bro...@redhat.com Date: Wed, 21 Aug 2013 14:03:50 +0200 On Tue, 20 Aug 2013 08:16:50 -0700 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Aug 20, 2013 at 01:26:29PM +0200, Jesper Dangaard Brouer wrote: [...] If there are issues with 3.10,

Re: [PATCH v2 2/3] HID: detect Win 8 multitouch devices in core

2013-08-21 Thread Henrik Rydberg
Hi Benjamin, Detecting Win 8 multitouch devices in core allows us to set quirks before the device is parsed through hid_hw_start(). It also simplifies the detection of those devices in hid-multitouch and makes the handling of those devices cleaner. As Win 8 multitouch panels are in the

Re: [PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:29 PDT 2013, Sebastian Hesselbarth wrote: From: Russell King rmk+kernel at arm.linux.org.uk The video-input-port (VIP) is highly configurable. This prepares current driver to allow to configure VIP configuration, as some boards connect lcd controller and TDA998x

Re: [RFC PATCH 2/6] x86: nsecs to cycles conversion

2013-08-21 Thread Don Zickus
On Wed, Aug 21, 2013 at 06:42:17PM +0200, Frederic Weisbecker wrote: hw_nmi_get_sample_period() is simply a conversion from a period to cycles. Lets generalize the API naming so that it can be used for wider purpose than just watchdog perf event settings. Also it makes the function name less

Re: [PATCH] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Oleg Nesterov
Can't really comment the patch, just a nit: On 08/21, Andy Lutomirski wrote: +static bool may_flink(const struct path *path) +{ + bool ret; + struct inode *inode = path-dentry-d_inode; + + /* + * This is racy: I_LINKABLE could be cleared between this check + * and

Re: [PATCH 4/4] mfd: as3722: introduce regmap support

2013-08-21 Thread Mark Brown
On Tue, Aug 20, 2013 at 01:08:00PM +0100, Lee Jones wrote: On Tue, 20 Aug 2013, Florian Lobmaier wrote: Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- drivers/mfd/as3722-regmap.c | 417 +++ 1 files changed, 417 insertions(+), 0

Re: [PATCH 4/4] mfd: as3722: introduce regmap support

2013-08-21 Thread Mark Brown
On Tue, Aug 20, 2013 at 01:13:30PM +0200, Florian Lobmaier wrote: +static bool as3722_readable(struct device *dev, unsigned int reg) +{ + switch (reg) { + case AS3722_SD0_VOLTAGE_REG: + case AS3722_SD1_VOLTAGE_REG: If there are no gaps in this a simple if ( = = ) would do - the

[PATCH] Radeon driver: fix memory leak

2013-08-21 Thread Filipe David Borba Manana
When freeing a struct radeon_device, its member iio was not being freed, resulting in a memory leak. Signed-off-by: Filipe David Borba Manana fdman...@gmail.com --- drivers/gpu/drm/radeon/radeon_device.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2013 at 07:09:27PM +0200, Oleg Nesterov wrote: So, unlike me, you like -02 more than -Os ;) I haven't checked the actual flags they enable in a while, but I think I prefer something in the middle. Esp. -freorder-blocks and the various -falign flags are something you really want

Re: [PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:30 PDT 2013, Sebastian Hesselbarth wrote: From: Russell King rmk+kernel at arm.linux.org.uk This patch adds tda998x specific parameters to allow it to be configured for different boards using it. Also, this implements rudimentary audio support for S/PDIF attached

Re: [PATCH-v3 1/4] idr: Percpu ida

2013-08-21 Thread Christoph Lameter
On Fri, 16 Aug 2013, Nicholas A. Bellinger wrote: + spinlock_t lock; Remove the spinlock. + unsignednr_free; + unsignedfreelist[]; +}; + +static inline void move_tags(unsigned *dst, unsigned *dst_nr, +

Re: Proposed stable release changes

2013-08-21 Thread Linus Torvalds
On Wed, Aug 21, 2013 at 11:20 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/20/2013 04:40 PM, Greg KH wrote: Presumably the idea is that much useful testing only happens on -rc kernels rather than linux-next or arbitrary points in Linus' tree. Linux-next gets little to no testing

[PATCH] powerpc/spufs: convert userns uid/gid mount options to kuid/kgid

2013-08-21 Thread Dwight Engen
Acked-by: Jeremy Kerr j...@ozlabs.org Tested-by: Jeremy Kerr j...@ozlabs.org Signed-off-by: Dwight Engen dwight.en...@oracle.com --- arch/powerpc/platforms/cell/spufs/inode.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/cell/spufs/inode.c

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-21 Thread Oleg Nesterov
On 08/21, Peter Zijlstra wrote: OK, so do not remove the MAX_SCHEDULE_TIMEOUT check from __schedule_timeout() and change the above to: static __always_inline long schedule_timeout(long timeout) { if (__builtin_constant_p(timeout) timeout == MAX_SCHEDULE_TIMEOUT) {

Re: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-21 Thread Sarah Sharp
Hi Julius, Thanks for the patch! Did you test with a USB analyzer to see if the device was actually going into USB 2.0 Link PM? I'd like to confirm we really aren't breaking anything for DW3 hosts by enabling this. Sarah Sharp On Tue, Aug 20, 2013 at 04:21:49PM -0700, Julius Werner wrote:

Re: [PATCH] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Andy Lutomirski
On Wed, Aug 21, 2013 at 11:20 AM, Oleg Nesterov o...@redhat.com wrote: Can't really comment the patch, just a nit: On 08/21, Andy Lutomirski wrote: +static bool may_flink(const struct path *path) +{ + bool ret; + struct inode *inode = path-dentry-d_inode; + + /* + *

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-21 Thread Stephen Warren
On 08/21/2013 12:30 AM, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It differs a lot from the old one on BF5xx processors. So, create a pinctrl driver under the pinctrl framework.

Re: [PATCH 2/4] irq_work: Provide a irq work that can be processed on any cpu

2013-08-21 Thread Steven Rostedt
On Wed, 21 Aug 2013 10:08:30 +0200 Jan Kara j...@suse.cz wrote: struct irq_work { unsigned long flags; diff --git a/kernel/irq_work.c b/kernel/irq_work.c index 55fcce6..446cd81 100644 --- a/kernel/irq_work.c +++ b/kernel/irq_work.c @@ -22,6 +22,9 @@ static DEFINE_PER_CPU(struct

Re: [PATCH 1/7] drivers: base: move mutex lock out of add_memory_section()

2013-08-21 Thread Greg Kroah-Hartman
On Tue, Aug 20, 2013 at 12:24:45PM -0500, Seth Jennings wrote: Gah! Forgot the cover letter. No worries, I barely read them anyway :) This patchset just seeks to clean up and refactor some things in memory.c for better understanding and possibly better performance due do a decrease in mutex

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread H. Peter Anvin
But is there a manifest bug or not? What is the deal with Xen? Cyrill Gorcunov gorcu...@gmail.com wrote: On Wed, Aug 21, 2013 at 09:25:47PM +0400, Cyrill Gorcunov wrote: However, I do find the use of PTE bits in this way somewhat fragile. What other potential corner cases might still

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-21 Thread Arnd Bergmann
On Tuesday 20 August 2013, Stephen Warren wrote: On 08/20/2013 02:44 PM, Arnd Bergmann wrote: On Tuesday 20 August 2013, Stephen Warren wrote: Hmm. This probably isn't too hard. I /think/ the only reason the clocks are initialized early is: * The PMC HW block is involved in the path of

Re: [PATCH] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Oleg Nesterov
On 08/21, Andy Lutomirski wrote: On Wed, Aug 21, 2013 at 11:20 AM, Oleg Nesterov o...@redhat.com wrote: Can't really comment the patch, just a nit: On 08/21, Andy Lutomirski wrote: +static bool may_flink(const struct path *path) +{ + bool ret; + struct inode *inode =

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-21 Thread Arnd Bergmann
On Tuesday 20 August 2013, Sebastian Hesselbarth wrote: Perhaps Tegra is the common case but other SoC haven't dug deep enough? IMHO from a HW point-of-view clocks are really among the essential things that need to be running before you can do anything useful. Just consider boot loaders that

[PATCH v2] Radeon driver: fix memory leak

2013-08-21 Thread Filipe David Borba Manana
When freeing a struct radeon_device, its member iio was not being freed, resulting in a memory leak. Signed-off-by: Filipe David Borba Manana fdman...@gmail.com --- V2: put kfree() call inside if statement. drivers/gpu/drm/radeon/radeon_device.c |1 + 1 file changed, 1 insertion(+) diff

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 08:50:26PM +0200, H. Peter Anvin wrote: But is there a manifest bug or not? What is the deal with Xen? I personally don't see bug here because - this swapped page soft dirty bit is set for non-present entries only, never for present ones, just at moment we form

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

2013-08-21 Thread Steven Rostedt
On Wed, 21 Aug 2013 10:08:31 +0200 Jan Kara j...@suse.cz wrote: A CPU can be caught in console_unlock() for a long time (tens of seconds are reported by our customers) when other CPUs are using printk heavily and serial console makes printing slow. Despite serial console drivers are calling

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Andy Lutomirski
On Wed, Aug 21, 2013 at 12:03 PM, Cyrill Gorcunov gorcu...@gmail.com wrote: On Wed, Aug 21, 2013 at 08:50:26PM +0200, H. Peter Anvin wrote: But is there a manifest bug or not? What is the deal with Xen? I personally don't see bug here because - this swapped page soft dirty bit is set for

Re: Unusually high system CPU usage with recent kernels

2013-08-21 Thread Paul E. McKenney
On Wed, Aug 21, 2013 at 08:14:46PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 11:43 PM On Tue, Aug 20, 2013 at 10:52:26PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 04:53 PM On Tue, Aug 20, 2013 at 08:01:28AM +0200, Tibor Billes wrote:

[PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Andy Lutomirski
There have long been two ways to ask the kernel to create a new hardlink to the inode represented by an fd: linkat(..., AT_EMPTY_PATH) and AT_SYMLINK_FOLLOW on /proc/self/fd/N. The latter has no particular security restrictions, but the former required privilege until: commit

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 12:07:13PM -0700, Andy Lutomirski wrote: On Wed, Aug 21, 2013 at 12:03 PM, Cyrill Gorcunov gorcu...@gmail.com wrote: On Wed, Aug 21, 2013 at 08:50:26PM +0200, H. Peter Anvin wrote: But is there a manifest bug or not? What is the deal with Xen? I personally don't

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Pavel Emelyanov
On 08/21/2013 11:07 PM, Andy Lutomirski wrote: On Wed, Aug 21, 2013 at 12:03 PM, Cyrill Gorcunov gorcu...@gmail.com wrote: On Wed, Aug 21, 2013 at 08:50:26PM +0200, H. Peter Anvin wrote: But is there a manifest bug or not? What is the deal with Xen? I personally don't see bug here because

Re: [PATCH 4/4] printk: Use unbound irq work for printing and waking

2013-08-21 Thread Steven Rostedt
On Wed, 21 Aug 2013 10:08:32 +0200 Jan Kara j...@suse.cz wrote: Now when per-cpu printk buffers are gone, there's no need to have printk flags or printk irq_work per cpu. Just make printk_pending a single variable operated by atomic operations and have single unbound irq work doing the waking

Re: [PATCH] irq: add irq handler function name in ftrace

2013-08-21 Thread Steven Rostedt
Thomas, Are you OK with this change? -- Steve On Wed, 21 Aug 2013 11:44:21 +0800 Li Fei fei...@intel.com wrote: At present, irq handler function name is not printed out when irq_handler_entry is added into trace event, which is inconvenient for debugging. In order to improve the debugging

Re: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-21 Thread Tomasz Figa
Hi Xiubo, Please see my comments inline. On Wednesday 21 of August 2013 11:07:42 Xiubo Li wrote: Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/pwm/fsl-ftm-pwm.txt| 52 ++ 1 file changed, 52 insertions(+) create mode 100644

Re: [PATCH V8 00/33] loop: Issue O_DIRECT aio using bio_vec

2013-08-21 Thread Andrew Morton
On Wed, 21 Aug 2013 09:02:31 -0400 Benjamin LaHaise b...@kvack.org wrote: One of the major problems your changeset continues to carry is that your new read_iter/write_iter operations permit blocking (implicitely), which really isn't what we want for aio. If you're going to introduce a new

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Toshi Kani
On Wed, 2013-08-21 at 11:36 -0400, Tejun Heo wrote: Hello, On Wed, Aug 21, 2013 at 11:00:26PM +0800, Zhang Yanfei wrote: In current boot order, before we get the SRAT, we have a big consumer of early allocations: we are setting up the page table in top-down (The idea was proposed by

Re: [ATTEND] oops.kernel.org prospect

2013-08-21 Thread Borislav Petkov
On Tue, Aug 20, 2013 at 08:37:48AM -0400, Dave Jones wrote: abrt used to have a free-form entry like this. What happened is users have no idea what to type in there, so you end up with bugs containing things like don't know or worse, some crazy moon language you can't even read. Prepend the

[PATCH] power: Documentation: Update s2ram link

2013-08-21 Thread Jens Frederich
The s2ram link is broken because there is a new OpenSuse wiki online. The page does no longer exist, it was merged in the Suspend_to_RAM page. Signed-off-by: Jens Frederich jfreder...@gmail.com diff --git a/Documentation/power/basic-pm-debugging.txt b/Documentation/power/basic-pm-debugging.txt

Re: [ATTEND] oops.kernel.org prospect

2013-08-21 Thread Francois Romieu
Anton Arapov an...@redhat.com : [...] Oh well,... I didn't have a time for this right now, nor project is not exactly in the state I'm willing to show (mostly webui) I have sorted the r8169 oopses by kernel revision to start with the most recent kernels. I don't get why the r8169 driver

[PATCH v4] Xen: Fix retry calls into PRIVCMD_MMAPBATCH*.

2013-08-21 Thread Andres Lagar-Cavilla
From: Andres Lagar-Cavilla and...@lagarcavilla.org When a foreign mapper attempts to map guest frames that are paged out, the mapper receives an ENOENT response and will have to try again while a helper process pages the target frame back in. Gating checks on PRIVCMD_MMAPBATCH* ioctl args were

[PATCH RFC 0/2] PM / Hibernate: sysfs resume

2013-08-21 Thread Sebastian Capella
Patchset related to hibernation resume: one enhancement to make the use of an existing file more general and one documentation update. Both patches are based on the 3.11-rc6 tag. This was tested on a Pandaboard with partial hibernation support, and compiled on x86. Further testing is needed on

[PATCH RFC 2/2] PM / Hibernate: add section for resume options

2013-08-21 Thread Sebastian Capella
Expand the existing documentation to explicitly list the options for resuming a hibernation image, including the manual resume option which can be used from the initrd or initramfs and the kernel init resume. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org ---

[PATCH RFC 1/2] PM / Hibernate: use name_to_dev_t to parse resume

2013-08-21 Thread Sebastian Capella
Use the name_to_dev_t call to parse the device name echo'd to to /sys/power/resume. This imitates the method used in hibernate.c in software_resume, and allows the resume partition to be specified using other equivalent device formats as well. By allowing /sys/debug/resume to accept the same

[PATCH] hwrng: add randomness to system from rng sources

2013-08-21 Thread Kees Cook
When bringing a new RNG source online, it seems like it would make sense to use some of its bytes to make the system entropy pool more random, as done with all sorts of other devices that contain per-device or per-boot differences. Signed-off-by: Kees Cook keesc...@chromium.org ---

Re: [RFC] Get rid of SUBARCH

2013-08-21 Thread Sam Ravnborg
The series touches also m68k, sh, mips and unicore32. These architectures magically select a cross compiler if ARCH != SUBARCH. Do really need that behavior? This does remove functionality. It allows to build a kernel using e.g. make ARCH=m68k. Perhaps this can be moved to generic

Re: [PATCH] thermal: new asus driver

2013-08-21 Thread Felipe Contreras
On Thu, Aug 15, 2013 at 2:22 AM, Zhang Rui rui.zh...@intel.com wrote: On 二, 2013-08-06 at 17:48 -0500, Felipe Contreras wrote: Simple driver to enable control of the fan in ASUS laptops. So far this has only been tested in ASUS Zenbook Prime UX31A, but according to some online reference [1],

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Tejun Heo
Hello, Toshi. On Wed, Aug 21, 2013 at 01:31:43PM -0600, Toshi Kani wrote: Well, there is reason why we have earlyprintk feature today. So, let's not debate on this feature now. There was previous attempt to support Are you saying the existing earlyprintk automatically justifies addition of

Re: Proposed stable release changes

2013-08-21 Thread Borislav Petkov
On Wed, Aug 21, 2013 at 11:36:05AM -0700, Linus Torvalds wrote: Will it catch all cases? Hell no. We don't have *that* many people who run git kernels, and even people who do don't tend to update daily anyway. We don't want to run daily snapshots of your tree though, right? Only -rcs because

Re: [PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-21 Thread Jonathan Cameron
On 08/21/13 18:02, Guenter Roeck wrote: On Wed, Aug 21, 2013 at 05:22:01PM +0100, Mark Rutland wrote: On Wed, Aug 21, 2013 at 04:41:27PM +0100, Guenter Roeck wrote: On Wed, Aug 21, 2013 at 10:14:51AM +0100, Mark Rutland wrote: On Tue, Aug 20, 2013 at 04:34:56PM +0100, Guenter Roeck wrote: On

Re: [PATCH 0/9] [RFC v2] safely drop directory dentry on failed revalidate

2013-08-21 Thread Ryusuke Konishi
On Wed, 21 Aug 2013 06:40:56 +0100, Al Viro wrote: And I would like to understand what nilfs one is trying to do... Unless I'm seriously misreading that code, it's *not* on any kind of a hot path, so I really wonder why don't we simply do shrink_dcache_parent() + check if d_count has

Re: Proposed stable release changes

2013-08-21 Thread Borislav Petkov
On Wed, Aug 21, 2013 at 01:58:16PM -0400, Steven Rostedt wrote: The point I'm making, we should be more reluctant in pulling patches into stable as quick as we are. A patch ideally should simmer in linux-next for a bit, then go into mainline. Oh, and it is really debatable if the sheer volume

Re: [PATCH] powerpc/spufs: convert userns uid/gid mount options to kuid/kgid

2013-08-21 Thread Arnd Bergmann
On Wednesday 21 August 2013, Dwight Engen wrote: Acked-by: Jeremy Kerr j...@ozlabs.org Tested-by: Jeremy Kerr j...@ozlabs.org Signed-off-by: Dwight Engen dwight.en...@oracle.com Reviewed-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] x86, asmlinkage: Fix warning in xen asmlinkage change v2

2013-08-21 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Current code uses asmlinkage for functions without arguments. This adds an implicit regparm(0) which creates a warning when assigning the function to pointers. Use __visible for the functions without arguments. This avoids having to add regparm(0) to function

[no subject]

2013-08-21 Thread sebastian . capella
From: Sebastian Capella sebastian.cape...@linaro.org Subject: [PATCH RFC 2/2] PM / Hibernate: add section for resume options Expand the existing documentation to explicitly list the options for resuming a hibernation image, including the manual resume option which can be used from the initrd or

Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-21 Thread Willy Tarreau
On Wed, Aug 21, 2013 at 12:33:24PM -0700, Andy Lutomirski wrote: On Wed, Aug 21, 2013 at 12:29 PM, Linus Torvalds torva...@linux-foundation.org wrote: On my phone, sorry. Removed lists due to HTML crud.. OK no HTML from me here, so re-adding the 3 lists if that can help reaching an end faster

Re: Proposed stable release changes

2013-08-21 Thread Greg KH
On Wed, Aug 21, 2013 at 10:07:03PM +0200, Borislav Petkov wrote: On Wed, Aug 21, 2013 at 01:58:16PM -0400, Steven Rostedt wrote: The point I'm making, we should be more reluctant in pulling patches into stable as quick as we are. A patch ideally should simmer in linux-next for a bit, then

[PATCH 1/2] Add __compat_aligned_s64 and __compat_aligned_u64

2013-08-21 Thread H.J. Lu
X32 uses the 32-bit compat layer for 32-bit kernel interface, which is also used by ia32. But long long is 4-byte aligned for ia32 and 8-byte aligned for x32. When the long long field in a system call struct has different offsets between ia32 and x32 due to alignment padding, like struct

[PATCH 2/2] Use __compat_aligned_s64 in snd_ctl_elem_value

2013-08-21 Thread H.J. Lu
The integer64 field in struct snd_ctl_elem_value has different offsets, depending the alignment of long long. This patch replaces long long with the newly introduced __compat_aligned_s64 so that x32 and ia32 can use the same compat system call for struct snd_ctl_elem_value. -- H.J.

Re: [PATCH] powerpc/spufs: convert userns uid/gid mount options to kuid/kgid

2013-08-21 Thread Ben Myers
On Wed, Aug 21, 2013 at 10:05:27PM +0200, Arnd Bergmann wrote: On Wednesday 21 August 2013, Dwight Engen wrote: Acked-by: Jeremy Kerr j...@ozlabs.org Tested-by: Jeremy Kerr j...@ozlabs.org Signed-off-by: Dwight Engen dwight.en...@oracle.com Reviewed-by: Arnd Bergmann a...@arndb.de

[PATCH 1/2] w1: remove race with sysfs file creation

2013-08-21 Thread Greg Kroah-Hartman
W1 slave sysfs files are created _after_ userspace is notified that the device has been added to the system. Fix that race by moving the creation/remove of the files to the bus notifier that is there for doing this type of thing. Cc: Evgeniy Polyakov z...@ioremap.net Signed-off-by: Greg

[PATCH 2/2] w1: use default attribute groups for w1 slave devices

2013-08-21 Thread Greg Kroah-Hartman
As we have 2 sysfs files for the w1 slave devices, let the driver core create / destroy them automatically by setting the default attribute group for them, saving code and housekeeping logic. Cc: Evgeniy Polyakov z...@ioremap.net Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org ---

Re: [PATCH V8 00/33] loop: Issue O_DIRECT aio using bio_vec

2013-08-21 Thread Benjamin LaHaise
On Wed, Aug 21, 2013 at 12:30:32PM -0700, Andrew Morton wrote: On Wed, 21 Aug 2013 09:02:31 -0400 Benjamin LaHaise b...@kvack.org wrote: One of the major problems your changeset continues to carry is that your new read_iter/write_iter operations permit blocking (implicitely), which

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Toshi Kani
Hello Tejun, On Wed, 2013-08-21 at 15:54 -0400, Tejun Heo wrote: On Wed, Aug 21, 2013 at 01:31:43PM -0600, Toshi Kani wrote: Well, there is reason why we have earlyprintk feature today. So, let's not debate on this feature now. There was previous attempt to support Are you saying the

[PATCH] sysfs: add sysfs_create/remove_groups()

2013-08-21 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@linuxfoundation.org These functions are being open-coded in 3 different places in the driver core, and other driver subsystems will want to start doing this as well, so move it to the sysfs core to keep it all in one place, where we know it is written properly.

Re: [PATCH] mm: strictlimit feature -v4

2013-08-21 Thread Andrew Morton
On Wed, 21 Aug 2013 17:56:32 +0400 Maxim Patlasov mpatla...@parallels.com wrote: The feature prevents mistrusted filesystems to grow a large number of dirty pages before throttling. For such filesystems balance_dirty_pages always check bdi counters against bdi limits. I.e. even if global

Re: [PATCH] sysfs: add sysfs_create/remove_groups()

2013-08-21 Thread Randy Dunlap
On 08/21/13 13:35, Greg Kroah-Hartman wrote: --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c @@ -131,6 +131,39 @@ int sysfs_create_group(struct kobject *k } /** + * sysfs_create_groups - given a directory kobject, create a bunch of attribute groups + * @kobj:The kobject to create

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Tejun Heo
Hello, Toshi. On Wed, Aug 21, 2013 at 02:29:28PM -0600, Toshi Kani wrote: Platforms vendors (which care Linux) need to support the existing Linux features. This means that they have to implement legacy interfaces on x86 until the kernel supports an alternative method. For instance, some

Re: Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 DeviceDriver into the Linux Kernel

2013-08-21 Thread Francois Romieu
liujunliang_ljl liujunliang_...@163.com : [...] diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c new file mode 100644 index 000..9c8f167 --- /dev/null +++ b/drivers/net/usb/sr9700.c [...] +static int sr_read(struct usbnet *dev, u8 reg, u16 length, void *data) +{ +

Re: [PATCH] sysfs: add sysfs_create/remove_groups()

2013-08-21 Thread Greg Kroah-Hartman
On Wed, Aug 21, 2013 at 01:38:35PM -0700, Randy Dunlap wrote: On 08/21/13 13:35, Greg Kroah-Hartman wrote: --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c @@ -131,6 +131,39 @@ int sysfs_create_group(struct kobject *k } /** + * sysfs_create_groups - given a directory kobject,

[PATCH] sysfs: add sysfs_create/remove_groups()

2013-08-21 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@linuxfoundation.org These functions are being open-coded in 3 different places in the driver core, and other driver subsystems will want to start doing this as well, so move it to the sysfs core to keep it all in one place, where we know it is written properly.

Re: unused swap offset / bad page map.

2013-08-21 Thread Dave Jones
On Tue, Aug 20, 2013 at 12:39:05PM +0800, Hillf Danton wrote: On Tue, Aug 20, 2013 at 7:18 AM, Dave Jones da...@redhat.com wrote: --- a/mm/memory.c Wed Aug 7 16:29:34 2013 +++ b/mm/memory.c Tue Aug 20 11:13:06 2013 @@ -933,8 +933,10 @@ again: if (progress = 32) { progress = 0;

Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

2013-08-21 Thread Andrew Morton
On Wed, 21 Aug 2013 14:32:55 + Christoph Lameter c...@linux.com wrote: On Tue, 20 Aug 2013, Nicholas A. Bellinger wrote: On Thu, 2013-08-08 at 14:32 +, Christoph Lameter wrote: On Wed, 7 Aug 2013, Kent Overstreet wrote: One thing that was bugging me - I was never able to

Re: [PATCH v2 2/3] workqueue: Fix manage_workers() RETURNS description

2013-08-21 Thread Randy Dunlap
On 08/20/13 17:50, Libin wrote: No functional change. The comment of function manage_workers() RETURNS description is obvious wrong, same as the CONTEXT. Fix it. Signed-off-by: Libin huawei.li...@huawei.com --- kernel/workqueue.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: Proposed stable release changes

2013-08-21 Thread Tony Luck
On Wed, Aug 21, 2013 at 1:00 PM, Borislav Petkov b...@alien8.de wrote: We don't want to run daily snapshots of your tree though, right? Only -rcs because the daily states are kinda arbitrary and they can be broken in various ways. Or are we at a point in time where we can amend that rule? If

[3.8.y.z extended stable] Linux 3.8.13.7

2013-08-21 Thread Kamal Mostafa
I am announcing the release of the Linux 3.8.13.7 kernel. The updated 3.8.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.8.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.8.y;a=shortlog The diff from v3.8.13.6 is

Re: [PATCH v2 3/3] workqueue: Correct/Drop references to gcwq in Documentation

2013-08-21 Thread Randy Dunlap
On 08/20/13 17:50, Libin wrote: No functional changes. This patch fixes the post gcwq comments in Documentation/workqueue.txt. Signed-off-by: Libin huawei.li...@huawei.com --- Documentation/workqueue.txt | 72 ++--- 1 file changed, 36

Re: Proposed stable release changes

2013-08-21 Thread Borislav Petkov
On Wed, Aug 21, 2013 at 01:16:00PM -0700, Greg KH wrote: And I pushed back on that. Which specific stable patch should _not_ have been included? Well, here's one for example: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=f0a56c480196a98479760862468cc95879df3de0

Re: [PATCH 0/9] [RFC v2] safely drop directory dentry on failed revalidate

2013-08-21 Thread Al Viro
On Thu, Aug 22, 2013 at 05:04:59AM +0900, Ryusuke Konishi wrote: On Wed, 21 Aug 2013 06:40:56 +0100, Al Viro wrote: And I would like to understand what nilfs one is trying to do... Unless I'm seriously misreading that code, it's *not* on any kind of a hot path, so I really wonder why

Re: Unusually high system CPU usage with recent kernels

2013-08-21 Thread Tibor Billes
From: Paul E. McKenney Sent: 08/21/13 09:12 PM On Wed, Aug 21, 2013 at 08:14:46PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 11:43 PM On Tue, Aug 20, 2013 at 10:52:26PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 04:53 PM On Tue, Aug 20,

<    8   9   10   11   12   13   14   15   16   >