Re: [PATCH 2/4 v2] brd: Add getgeo to block ops

2014-08-07 Thread Davidlohr Bueso
On Fri, 2014-08-08 at 09:52 +0300, Boaz Harrosh wrote: > On Thu, Aug 7, 2014 at 9:20 PM, One Thousand Gnomes > wrote: > > On Thu, 07 Aug 2014 17:03:08 +0300 > > Boaz Harrosh wrote: > > > >> From: Boaz Harrosh > >> > >> Some programs like fdisk, require HDIO_GETGEO to work, which requires we > >>

Re: Weird NET_RX softirq behavior

2014-08-07 Thread Jisheng Zhang
On Thu, 7 Aug 2014 22:47:58 -0700 Eric Dumazet wrote: > On Fri, 2014-08-08 at 10:37 +0800, Jisheng Zhang wrote: > > nd and recive 7 packets so far, about 1400bytes. Seems small > > comparing with the CPU1 and CPU2 NET_RX softirq numbers, right? > > > > Any other possible case? > > Multicast loo

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-07 Thread Andreas Werner
On Wed, Jul 30, 2014 at 06:57:46AM -0700, Guenter Roeck wrote: > On 07/30/2014 01:08 AM, Andreas Werner wrote: > >On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: > >>On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: > >>>Hi Andreas, > >>> > aOn Thu, Jul 24, 2014 at 03:00:09PM -0700

Re: [alsa-devel] [PATCH V4 0/2] refine esai for tdm support

2014-08-07 Thread Nicolin Chen
On Fri, Aug 08, 2014 at 02:47:20PM +0800, Shengjiu Wang wrote: > These patchs is to refine esai for tdm support. > > Changes for V4 > - update the comments for patch 2 > > Changes for V3 > - update the comments for patch 2 > > Changes for V2 > - update the comments according the reviewer's sugge

Re: [PATCH 2/4 v2] brd: Add getgeo to block ops

2014-08-07 Thread Boaz Harrosh
On Thu, Aug 7, 2014 at 9:20 PM, One Thousand Gnomes wrote: > On Thu, 07 Aug 2014 17:03:08 +0300 > Boaz Harrosh wrote: > >> From: Boaz Harrosh >> >> Some programs like fdisk, require HDIO_GETGEO to work, which requires we >> implement getgeo. >> >> We set all hd_geometry members to 1, because thi

Re: [PATCH] Input: cap1106 - allow changing key mapping from userspace

2014-08-07 Thread Dmitry Torokhov
On Thu, Aug 07, 2014 at 08:50:24AM +0200, Daniel Mack wrote: > Hi Dmitry, > > On 08/07/2014 08:20 AM, Dmitry Torokhov wrote: > > On Sun, Jul 20, 2014 at 06:20:49PM -0700, Dmitry Torokhov wrote: > >> Wire up support for EVIOC{G|S}KEYCODE to allow users change key mappings > >> from userspace. > >>

[PATCH V4 1/2] ASoC: fsl_esai: refine esai for TDM support

2014-08-07 Thread Shengjiu Wang
Original driver didn't store the number of slots, just fix the slot number to 2, use this default number to calculate bclk and pins for TX/RX. In this patch, add one parameter for slots, and update the calculation of bclk and pins of TX/RX. Then driver will be compatible with slots > 2 in TDM mode.

[PATCH V4 2/2] Revert "ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support."

2014-08-07 Thread Shengjiu Wang
This reverts commit a603c8ee526f5ea9ad9b40710308766299ad8a69. fsl_asoc_xlate_tdm_slot_mask() is different with snd_soc_xlate_tdm_slot_mask(). fsl_asoc_xlate_tdm_slot_mask() will set the enabled bit to 0, disabled bit to 1. snd_soc_xlate_tdm_slot_mask() will set the enabled bit to 1, disabled bit t

[PATCH V4 0/2] refine esai for tdm support

2014-08-07 Thread Shengjiu Wang
These patchs is to refine esai for tdm support. Changes for V4 - update the comments for patch 2 Changes for V3 - update the comments for patch 2 Changes for V2 - update the comments according the reviewer's suggestion - add init value for slots and change pin to pins. Shengjiu Wang (2): ASo

Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs

2014-08-07 Thread Joonsoo Kim
On Thu, Aug 07, 2014 at 05:15:17PM +0200, Vlastimil Babka wrote: > On 08/06/2014 09:18 AM, Joonsoo Kim wrote: > >Current pageblock isolation logic has a problem that results in incorrect > >freepage counting. move_freepages_block() doesn't return number of > >moved pages so freepage count could be

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-07 Thread Jacek Anaszewski
Hi Bryan, On 07/16/2014 07:21 PM, Bryan Wu wrote: On Wed, Jul 16, 2014 at 10:19 AM, Bryan Wu wrote: On Fri, Jul 11, 2014 at 7:04 AM, Jacek Anaszewski wrote: This is is the fourth version of the patch series being a follow up of the discussion on Media summit 2013-10-23, related to the LED /

Re: [PATCH v3 tip/core/rcu 3/9] rcu: Add synchronous grace-period waiting for RCU-tasks

2014-08-07 Thread Peter Zijlstra
On Thu, Aug 07, 2014 at 05:18:23PM -0400, Steven Rostedt wrote: > On Thu, 7 Aug 2014 22:08:13 +0200 > Peter Zijlstra wrote: > > > OK, you've got to start over and start at the beginning, because I'm > > really not understanding this.. > > > > What is a 'trampoline' and what are you going to use

Re: [PATCH v2] Input - wacom: update the ABI doc according to latest changes

2014-08-07 Thread Dmitry Torokhov
On Thu, Aug 07, 2014 at 01:54:22PM -0700, Ping Cheng wrote: > On Thu, Aug 7, 2014 at 1:43 PM, Benjamin Tissoires > wrote: > > Now the devices show up under hid no matter the connection (for USB > > and Bluetooth, not serial nor i2c). > > > > The USB devices can now be easily found under > > /sys/b

[git pull] Input updates for 3.17-rc0

2014-08-07 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a bit update to Wacom driver by Benjamin Tissoires,

Re: [PATCH] sched: Reduce contention in update_cfs_rq_blocked_load

2014-08-07 Thread Yuyang Du
On Thu, Aug 07, 2014 at 09:18:52PM -0700, Jason Low wrote: > On Fri, 2014-08-08 at 02:02 +0800, Yuyang Du wrote: > > On Wed, Aug 06, 2014 at 11:21:35AM -0700, Jason Low wrote: > > > I ran these tests with most of the AIM7 workloads to compare its > > > performance between a 3.16 kernel and the kern

Re: [PATCH v2 4/8] mm/isolation: close the two race problems related to pageblock isolation

2014-08-07 Thread Joonsoo Kim
On Thu, Aug 07, 2014 at 04:34:41PM +0200, Vlastimil Babka wrote: > On 08/06/2014 09:18 AM, Joonsoo Kim wrote: > >We got migratetype of the freeing page without holding the zone lock so > >it could be racy. There are two cases of this race. > > > >1. pages are added to isolate buddy list after resto

Re: [PATCH] Adding a support for Skyworks SKY81452

2014-08-07 Thread Gyungoh Yoo
Thank you for your comments. I will fix them and resubmit. On Thu, Aug 07, 2014 at 02:34:39PM +0200, Tobias Klauser wrote: > On 2014-08-07 at 10:05:38 +0200, Gyungoh Yoo wrote: > > Signed-off-by: Gyungoh Yoo > > --- > > Documentation/backlight/sky81452.txt | 25 ++ > > Documentat

Re: [PATCH] Adding a support for Skyworks SKY81452

2014-08-07 Thread Gyungoh Yoo
On Thu, Aug 07, 2014 at 11:09:52AM +0100, Lee Jones wrote: > On Thu, 07 Aug 2014, Gyungoh Yoo wrote: > > > Signed-off-by: Gyungoh Yoo > > --- > > Documentation/backlight/sky81452.txt | 25 ++ > > Documentation/devicetree/bindings/mfd/sky81452.txt | 24 ++ > > .../bindings/regulat

Re: [PATCH v2 2/8] mm/isolation: remove unstable check for isolated page

2014-08-07 Thread Joonsoo Kim
On Thu, Aug 07, 2014 at 03:49:17PM +0200, Vlastimil Babka wrote: > On 08/06/2014 09:18 AM, Joonsoo Kim wrote: > >The check '!PageBuddy(page) && page_count(page) == 0 && > >migratetype == MIGRATE_ISOLATE' would mean the page on free processing. > > What is "the page on free processing"? I thought t

linux-next: manual merge of the akpm tree with the vfs tree

2014-08-07 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/fs.h between commit ed44724b79d8 ("acct: switch to __kernel_write()") from the vfs tree and commit "fs.h: remove unnecessary extern prototypes" from the akpm tree. I fixed it up (see below) and can carry the fix

[Bugfix] x86, irq, PCI: Keep IRQ assignment for PCI devices during suspend/hibernation

2014-08-07 Thread Jiang Liu
Now IOAPIC driver dynamically allocates IRQ numbers for IOAPIC pins. We need to keep IRQ assignment for PCI devices during suspend/hibernation, otherwise it may cause failure of suspend/hibernation due to: 1) Device driver calls pci_enable_device() to allocate an IRQ number and register interrup

[PATCH 09/10 v2] staging: ozwpan: Use slab cache for oz_tx_frame allocation

2014-08-07 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- v2: Don't use likely()/unlikely(). drivers/staging/ozwpan/ozpd.c| 41 ++-- drivers/staging/ozwpan/ozpd.h| 3 +-- drivers/staging/ozwpan/ozproto.c | 8 +++

[PATCH 07/10 v2] staging: ozwpan: Use slab cache for oz_urb_link allocation

2014-08-07 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- v2: Don't use likely()/unlikely(). drivers/staging/ozwpan/ozhcd.c | 70 -- 1 file changed, 12 insertions(+), 58 deletions(-) diff --git a/drivers/staging/ozwpan/o

[PATCH 08/10 v2] staging: ozwpan: Use slab cache for oz_elt_info allocation

2014-08-07 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- v2: Don't use likely()/unlikely(). drivers/staging/ozwpan/ozeltbuf.c | 68 ++- drivers/staging/ozwpan/ozeltbuf.h | 5 --- drivers/staging/ozwpan/ozpd.c | 2 -- d

Re: Weird NET_RX softirq behavior

2014-08-07 Thread Eric Dumazet
On Fri, 2014-08-08 at 10:37 +0800, Jisheng Zhang wrote: > nd and recive 7 packets so far, about 1400bytes. Seems small > comparing with the CPU1 and CPU2 NET_RX softirq numbers, right? > > Any other possible case? Multicast loop. Check dev_loopback_xmit() and its callers. -- To unsubscribe from

[PATCH V3 1/2] ASoC: fsl_esai: refine esai for TDM support

2014-08-07 Thread Shengjiu Wang
Original driver didn't store the number of slots, just fix the slot number to 2, use this default number to calculate bclk and pins for TX/RX. In this patch, add one parameter for slots, and update the calculation of bclk and pins of TX/RX. Then driver will be compatible with slots > 2 in TDM mode.

Re: [patch] mm, hugetlb_cgroup: align hugetlb cgroup limit to hugepage size

2014-08-07 Thread Aneesh Kumar K.V
David Rientjes writes: > Memcg aligns memory.limit_in_bytes to PAGE_SIZE as part of the resource > counter > since it makes no sense to allow a partial page to be charged. > > As a result of the hugetlb cgroup using the resource counter, it is also > aligned > to PAGE_SIZE but makes no sense un

linux-next: manual merge of the akpm-current tree with Linus' tree

2014-08-07 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/memcontrol.c between commit 61e02c745721 ("mm: memcontrol: clean up reclaim size variable use in try_charge()") from Linus' tree and various commits from the akpm-current tree. I fixed it up (I think) and can carry

[PATCH V2] regulator: DA9211 : support DA9213

2014-08-07 Thread James Ban
This is a patch for supporting DA9213. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140807. Changes in V2: - Changed a method for selecting driver table. drivers/regulator/Kconfig|9 ++-- drivers/regulator/da9211-regulator.c | 95

Re: [PATCH v2 1/7] locking/rwsem: check for active writer/spinner before wakeup

2014-08-07 Thread Davidlohr Bueso
On Thu, 2014-08-07 at 17:45 -0700, Davidlohr Bueso wrote: > On Thu, 2014-08-07 at 18:26 -0400, Waiman Long wrote: > > On a highly contended rwsem, spinlock contention due to the slow > > rwsem_wake() call can be a significant portion of the total CPU cycles > > used. With writer lock stealing and w

[PATCH 3/4] xen-pciback: use pci device flag operation helper function

2014-08-07 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Acked-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Ethan Zhao --- drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-08-07 Thread Ethan Zhao
This patch set introduces three PCI device flag operation helper functions when set pci device PF/VF to assigned or deassigned status also check it. and patch 2,3,4 apply these helper functions to KVM,XEN and PCI. v2: simplify unnecessory ternary operation in function pci_is_dev_assigned(). v3: am

[PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-08-07 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_clear_dev_assigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- v2: simplify unnecessory ternary o

[PATCH 4/4] PCI: use device flag operation helper function in iov.c

2014-08-07 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f247..4d109c0 100644 --- a/drivers/pci/iov.c ++

[PATCH 2/4] KVM: use pci device flag operation helper functions

2014-08-07 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Acked-by: Paolo Bonzini Signed-off-by: Ethan Zhao --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --gi

Re: [PATCH net-next 0/2] xen-netback: Changes around carrier handling

2014-08-07 Thread David Miller
From: Zoltan Kiss Date: Thu, 7 Aug 2014 16:51:17 +0100 > Ok, how about this: > * ndo_start_xmit tries to set up the grant copy operations, something > * which is done now in the thread > * no estimation madness, just go ahead and try to do it > * if the skb can fit, kick the thread > * if it fail

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Greg Kroah-Hartman
On Fri, Aug 08, 2014 at 01:06:15AM -0400, Oleg Drokin wrote: > > On Aug 8, 2014, at 12:42 AM, Greg Kroah-Hartman wrote: > > > On Fri, Aug 08, 2014 at 12:03:20AM -0400, Oleg Drokin wrote: > >> Hello! > >> > >> On Aug 7, 2014, at 11:49 PM, Greg Kroah-Hartman wrote: > > This is not a cri

Re: [PATCH net-next 0/2] xen-netback: Changes around carrier handling

2014-08-07 Thread David Miller
From: Zoltan Kiss Date: Thu, 7 Aug 2014 17:49:37 +0100 > David Vrabel pointed out an important question in a reply to the > previous version of this series: this patch deschedule NAPI if the > carrier goes down. The backend doesn't receive packets from the > guest. DavidVr and others said we shou

Re: [PATCH 07/10 v3] coresight-etm: add CoreSight ETM/PTM driver

2014-08-07 Thread Dirk Behme
On 07.08.2014 20:21, mathieu.poir...@linaro.org wrote: From: Pratik Patel This driver manages CoreSight ETM (Embedded Trace Macrocell) that supports processor tracing. Currently supported version are ARM ETMv3.x and PTM1.x. Signed-off-by: Pratik Patel Signed-off-by: Panchaxari Prasannamurthy

[PATCH V3 2/2] Revert "ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support."

2014-08-07 Thread Shengjiu Wang
This reverts commit a603c8ee526f5ea9ad9b40710308766299ad8a69. fsl_asoc_xlate_tdm_slot_mask() will invert the mask, for esai the enabled bit is changed to be disabled, So the esai will work abnormally. when there is no definition of .xlate_tdm_slot_mask, there is default function snd_soc_xlate_tdm_

[PATCH V3 0/2] refine esai for tdm support

2014-08-07 Thread Shengjiu Wang
These patchs is to refine esai for tdm support. Changes for V3 - update the comments for patch 2 Changes for V2 - update the comments according the reviewer's suggestion - add init value for slots and change pin to pins. Shengjiu Wang (2): ASoC: fsl_esai: refine esai for TDM support Revert

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Oleg Drokin
On Aug 8, 2014, at 12:42 AM, Greg Kroah-Hartman wrote: > On Fri, Aug 08, 2014 at 12:03:20AM -0400, Oleg Drokin wrote: >> Hello! >> >> On Aug 7, 2014, at 11:49 PM, Greg Kroah-Hartman wrote: This is not a critical bug and in the worst case the code here may cause miss of statistics

[PATCH v5 3/10] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-08-07 Thread Namjae Jeon
This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the starting block of the e

[PATCH v5 5/10] xfstests: generic/029: Standard insert range tests

2014-08-07 Thread Namjae Jeon
This testcase(029) tries to test various corner cases for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- common/punch | 5 common/rc | 2 +- tests/generic/029 | 65 +

[PATCH v5 9/10] xfstests: fsstress: Add fallocate insert range

2014-08-07 Thread Namjae Jeon
This commit adds insert operation support for fsstress, which is meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- ltp/fsstress.c | 19 --- src/global.h | 4 2 files changed, 20 insertions(+), 3 delet

[PATCH v5 7/10] xfstests: generic/031: Multi insert range tests

2014-08-07 Thread Namjae Jeon
This testcase(031) tries to test various corner cases with pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/031 | 65 + tests/generic/031.out

[PATCH v5 4/10] xfsprogs: xfs_io: add finsert command for insert range via fallocate

2014-08-07 Thread Namjae Jeon
Add finsert command for fallocate FALLOC_FL_INSERT_RANGE flag. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- io/prealloc.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/io/prealloc.c b/io/prealloc.c index aba6b44..11b1

[PATCH v5 10/10] xfstests: fsx: Add fallocate insert range operation

2014-08-07 Thread Namjae Jeon
This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- ltp/fsx.c | 96 +-- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/ltp/fsx.c b/ltp/fsx.c in

[PATCH v5 8/10] xfstests: generic/032: Delayed allocation multi insert

2014-08-07 Thread Namjae Jeon
This testcase(032) tries to test various corner cases with delayed extents and pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/032 | 65 + te

[PATCH v5 6/10] xfstests: generic/030: Delayed allocation insert range

2014-08-07 Thread Namjae Jeon
This testcase(030) tries to test various corner cases with delayed extents for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/030 | 65 ++ tests/generic/030.out |

[PATCH v5 2/10] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-08-07 Thread Namjae Jeon
This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the starting block of the ex

[PATCH v5 0/10] fs: Introduce FALLOC_FL_INSERT_RANGE for fallocate

2014-08-07 Thread Namjae Jeon
In continuation of the work of making the process of non linear editing of media files faster, we introduce here the new flag FALLOC_FL_INSERT_RANGE for fallocate. This flag will work opposite to the FALLOC_FL_COLLAPSE_RANGE flag. As such, specifying FALLOC_FL_INSERT_RANGE flag will create new spa

[PATCH v5 1/10] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-08-07 Thread Namjae Jeon
FALLOC_FL_INSERT_RANGE command is the opposite command of FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want to add some data in the middle of file. FALLOC_FL_INSERT_RANGE will create space for writing new data within a file after shifting extents to right as given length.

Re: [PATCH 3/4] block: fix error return code

2014-08-07 Thread Julia Lawall
On Thu, 7 Aug 2014, Jeff Moyer wrote: > Julia Lawall writes: > > > diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c > > index a8de2ee..fa8077a 100644 > > --- a/drivers/block/rsxx/core.c > > +++ b/drivers/block/rsxx/core.c > > @@ -942,6 +942,7 @@ static int rsxx_pci_probe(stru

kernel in spinlock or deschduled : packet loss during 1 Mpps transfer

2014-08-07 Thread anshul makkar
Hi, I am transferring 1 Million packets from send process to receive process. Both are running in separate cores. I am using Using DMA transfer from usermode to the ethernet card. After transfer I can see 700 - 800 packets loss per transaction. I doubt that during the transfer kernel may be ente

Re: fault injection caused oops in proc_flush_task

2014-08-07 Thread Eric W. Biederman
Dave Jones writes: > Because I don't have enough oopses in my life, I decided to play > with the fault injection code today. It's not something I hear about > people trying too often, so I wondered what horrors lurk.. > > So I ran this.. > > #!/bin/bash > > for FAILTYPE in failslab fail_page_allo

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Greg Kroah-Hartman
On Fri, Aug 08, 2014 at 12:03:20AM -0400, Oleg Drokin wrote: > Hello! > > On Aug 7, 2014, at 11:49 PM, Greg Kroah-Hartman wrote: > >> > >> This is not a critical bug and in the worst case the code here may > >> cause miss of statistics counter increase. > >> This is why I think it is not worth to

Re: Request to include Mailbox tree in linux-next

2014-08-07 Thread Stephen Rothwell
Hi Jassi, On Wed, 6 Aug 2014 12:25:49 +0530 Jassi Brar wrote: > > The framework for Mailbox has undergone 10 revisions over the last > one year, which has garnered support in the form of 'Reviewed-by' and > 'looks good enough to be merged in this window' from people in the CC > list. > > Coul

btrfs BUG() in __set_extent_bit on GFP_ATOMIC failure.

2014-08-07 Thread Dave Jones
While playing with fault injection, I hit this quite easily. kernel BUG at fs/btrfs/extent_io.c:990! invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 1 PID: 1270 Comm: fsx Not tainted 3.16.0+ #41 task: 88023fe46d60 ti: 8802405a8000 task.ti: 8802405a8000 RIP: 0010:[] [] __se

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-07 Thread joeyli
On Thu, Aug 07, 2014 at 11:05:33PM +0200, Pavel Machek wrote: > On Thu 2014-08-07 18:17:34, joeyli wrote: > > On Thu, Aug 07, 2014 at 11:39:57AM +0200, Pavel Machek wrote: > > > > > Actually, if you are doing such a check... it makes sense to check for > > > > > _all_ the regions, nosave or not. If

[RFC PATCH v2] kprobes: arm: enable OPTPROBES for ARM 32

2014-08-07 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make suc

Re: [PATCH] sched: Reduce contention in update_cfs_rq_blocked_load

2014-08-07 Thread Jason Low
On Fri, 2014-08-08 at 02:02 +0800, Yuyang Du wrote: > On Wed, Aug 06, 2014 at 11:21:35AM -0700, Jason Low wrote: > > I ran these tests with most of the AIM7 workloads to compare its > > performance between a 3.16 kernel and the kernel with these patches > > applied. > > > > The table below contain

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Oleg Drokin
Hello! On Aug 7, 2014, at 11:49 PM, Greg Kroah-Hartman wrote: >> >> This is not a critical bug and in the worst case the code here may >> cause miss of statistics counter increase. >> This is why I think it is not worth to backport the patch at all. > You are right, and if this is just for some r

RE: [PATCH] staging:r819xU: coding style: Fixed commenting style

2014-08-07 Thread Sharma, Sanjeev
Opps, I forget. Let me correct and send V2 patch. Regards Sanjeev Sharma -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, August 07, 2014 9:33 PM To: Sharma, Sanjeev Cc: de...@driverdev.osuosl.org; oor...@gmail.com; linux-kernel@vger.kernel.org Subjec

[PATCH v2] staging:r819xU: coding style: Fixed commenting style

2014-08-07 Thread Sanjeev Sharma
This is a patch to the r819xU_phyreg.h file that fixes commenting style warning Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phyreg.h | 189 --- 1 file changed, 98 insertions(+), 91 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_phyreg

[PATCH v5 3/4] ARM: dts: add rk3288 dwc2 controller support

2014-08-07 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang Reviewed-by: Doug Anderson Tested-by: Doug Anderson --- Changes in v5: - change the sort order of dwc2 in rk3288.dtsi

[PATCH v5 1/4] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-08-07 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang Acked-by: Stephen Warren --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bing

[PATCH v5 2/4] usb: dwc2: add compatible data for rockchip soc

2014-08-07 Thread Kever Yang
This patch add compatible data for dwc2 controller found on rk3066, rk3188 and rk3288 processors from rockchip. Signed-off-by: Kever Yang Acked-by: Paul Zimmerman --- Changes in v5: - max_transfer_size change to 65535 to met the requirement of header file Changes in v4: - max_transfer_size c

[PATCH v5 4/4] ARM: dts: Enable USB host1(dwc) on rk3288-evb

2014-08-07 Thread Kever Yang
USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang --- Changes in v5: - don't enable otg port for evb Changes in v4: None Changes in v3: - Rebase Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi | 4 1 file changed, 4 inserti

[PATCH v5 0/4] Patches to add support for Rockchip dwc2 controller

2014-08-07 Thread Kever Yang
These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Changes in v5: - max_transfer_size change to 65535 to met the requirement of header file - change the sort order of dwc2 in rk3288.dtsi - don't enable otg port

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 07, 2014 at 02:13:50PM +0300, Evgeny Budilovsky wrote: > On Thu, Aug 7, 2014 at 12:42 AM, Greg Kroah-Hartman > wrote: > > On Wed, Aug 06, 2014 at 09:22:43PM +0300, Evgeny Budilovsky wrote: > >> > >> > >> Signed-off-by: Evgeny Budilovsky > > > > Why is this needed? Is the current code

3.15.8 USB issue with uvc cam

2014-08-07 Thread Udo van den Heuvel
Hello, I get WARNINGs when trying to use a Logitech C615 cam. See attachment for full dmesg of errors but excerpt below: [80346.835015] xhci_hcd :02:00.0: ERROR: unexpected command completion code 0x11. [80346.835027] usb 6-2: Not enough bandwidth for altsetting 11 [80346.835137]

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-07 Thread Greg KH
On Fri, Aug 08, 2014 at 03:13:58AM +, Dexuan Cui wrote: > > -Original Message- > > From: Richard Weinberger [mailto:richard.weinber...@gmail.com] > > Sent: Friday, August 8, 2014 6:37 AM > > To: David Miller; Yue Zhang (OSTC DEV) > > Cc: o...@aepfle.de; net...@vger.kernel.org; driverdev

Re: linux-next: build failure after merge of the mmc-uh tree

2014-08-07 Thread Stephen Rothwell
Hi all, On Mon, 28 Jul 2014 14:46:08 +1000 Stephen Rothwell wrote: > > After merging the mmc-uh tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/mmc/host/dw_mmc.c: In function 'dw_mci_reset': > drivers/mmc/host/dw_mmc.c:2262:3: error: implicit declaration

fault injection caused oops in proc_flush_task

2014-08-07 Thread Dave Jones
Because I don't have enough oopses in my life, I decided to play with the fault injection code today. It's not something I hear about people trying too often, so I wondered what horrors lurk.. So I ran this.. #!/bin/bash for FAILTYPE in failslab fail_page_alloc do echo N > /sys/kernel/debug/$FA

Re: [GIT PULL] Global signal cleanup

2014-08-07 Thread Stephen Rothwell
Hi all, On Thu, 7 Aug 2014 08:53:56 -1000 Linus Torvalds wrote: > > On Wed, Aug 6, 2014 at 9:35 PM, Richard Weinberger wrote: > > > > It would be nice to see these rules written down somewhere. > > The rules have been pretty clear: "don't rebase public trees". > > That's always been the basic

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-08-07 Thread Dexuan Cui
> -Original Message- > From: Richard Weinberger [mailto:richard.weinber...@gmail.com] > Sent: Friday, August 8, 2014 6:37 AM > To: David Miller; Yue Zhang (OSTC DEV) > Cc: o...@aepfle.de; net...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; LKML; Greg KH; jasow...@redhat.com;

disable "Call Trace:"

2014-08-07 Thread 積丹尼 Dan Jacobson
Idea: if the user could disable the "Call Trace:" seen upon "Kernel panic - not syncing: attempted to kill init!" he would then be able to see more lines above without having it shoved off the screen with the useless (to him) call trace. e.g., using panic=222 call_trace=disabled would give him eno

Re: [PATCH v2 1/5] tracing: Do not do anything special with tracepoint_string when tracing is disabled

2014-08-07 Thread Nicolas Pitre
On Thu, 7 Aug 2014, Steven Rostedt wrote: > Because ftrace_events.h is not included when config tracing is not > enabled, I got error messages when compiling arm and arm64 without > tracing enabled. This is the new patch I'm now testing that moves the > tracepoint_string code to include/linux/trac

Re: [GIT PULL] SELinux/NetLabel fixes for 3.17

2014-08-07 Thread Stephen Rothwell
Hi Paul, I am not sure who this was directed at, but if you want Linus to pull these (and that would be good) you need to send this to him explicitly. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

Re: [RFC 2/3] zsmalloc/zram: add zs_get_max_size_bytes and use it in zram

2014-08-07 Thread David Horner
[2/3] But why isn't mem_used_max writable? (save tearing down and rebuilding device to reset max) static DEVICE_ATTR(mem_used_max, S_IRUGO, mem_used_max_show, NULL); static DEVICE_ATTR(mem_used_max, S_IRUGO | S_IWUSR, mem_used_max_show, NULL); with a check in the store() that the new v

Re: Weird NET_RX softirq behavior

2014-08-07 Thread Jisheng Zhang
Hi Dmitry, On Thu, 7 Aug 2014 07:18:13 -0700 Dmitry Popov wrote: > On Thu, 7 Aug 2014 17:10:50 +0800 > Jisheng Zhang wrote: > > > 2. only one netdev in the system: eth0. > > There should also be lo (loopback) at least. Yep, I forget that ;) > > > 4. But NET_RX seems abnormal > > ~ # cat /p

Re: [PATCH v2 1/5] tracing: Do not do anything special with tracepoint_string when tracing is disabled

2014-08-07 Thread Steven Rostedt
Because ftrace_events.h is not included when config tracing is not enabled, I got error messages when compiling arm and arm64 without tracing enabled. This is the new patch I'm now testing that moves the tracepoint_string code to include/linux/tracepoint.h as well. -- Steve >From 3c49b52b155d0f72

[PATCH] Removed repeated word in comments in arch/tile/include/uapi/arch/sim_def.h

2014-08-07 Thread Kurt McAlpine
Hello, I have created a simple patch that removes repeated words in arch/tile/include/uapi/arch/sim_def.h Thanks, Kurt McAlpine >From 7496bc191f1ea2fde0af9d316e5330bc99e5638d Mon Sep 17 00:00:00 2001 From: Kurt McAlpine Date: Thu, 7 Aug 2014 08:50:25 +1200 Subject: [PATCH] Removed repeated word

Re: Linux 3.15.9

2014-08-07 Thread Greg KH
diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index c584a51add15..afe68ddbe6a4 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt @@ -12,6 +12,8 @@ c900 - e8ff (=45 bits) vmalloc/ioremap space e9

Linux 3.14.16

2014-08-07 Thread Greg KH
I'm announcing the release of the 3.14.16 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Linux 3.15.9

2014-08-07 Thread Greg KH
I'm announcing the release of the 3.15.9 kernel. All users of the 3.15 kernel series must upgrade. NOTE, there will only be 1 more 3.15.y kernel release after this one, please move to 3.16.y now, you have been warned. The updated 3.15.y git tree can be found at: git://git.kernel.org/pub/

Re: Linux 3.14.16

2014-08-07 Thread Greg KH
diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index c584a51add15..afe68ddbe6a4 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt @@ -12,6 +12,8 @@ c900 - e8ff (=45 bits) vmalloc/ioremap space e9

Linux 3.10.52

2014-08-07 Thread Greg KH
I'm announcing the release of the 3.10.52 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.10.52

2014-08-07 Thread Greg KH
diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index 881582f75c9c..bd4370487b07 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt @@ -12,6 +12,8 @@ c900 - e8ff (=45 bits) vmalloc/ioremap space e90

Re: Linux 3.4.102

2014-08-07 Thread Greg KH
diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index d6498e3cd713..f33a9369e35b 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt @@ -12,6 +12,8 @@ c900 - e8ff (=45 bits) vmalloc/ioremap space e9

Linux 3.4.102

2014-08-07 Thread Greg KH
I'm announcing the release of the 3.4.102 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] staging: vt6655: wpactl.c: Fix sparse warnings

2014-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 07, 2014 at 11:08:34PM +0100, Martin Berglund wrote: > Add missing __user macro casting in the function wpa_set_keys. > This is okay since the function handles the possibility of > param->u.wpa_key.key and param->u.wpa_key.seq pointing to > kernelspace using a flag, fcpfkernel. > > Sig

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-07 Thread Masami Hiramatsu
(2014/08/08 10:25), Wang Nan wrote: > On 2014/8/7 14:59, Masami Hiramatsu wrote: >> (2014/08/06 15:24), Wang Nan wrote: > + > +static void > +optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) > +{ > + unsigned long flags; > + > + regs->ARM_pc = (unsig

Re: [PATCH] sched: Reduce contention in update_cfs_rq_blocked_load

2014-08-07 Thread Yuyang Du
On Wed, Aug 06, 2014 at 11:21:35AM -0700, Jason Low wrote: > I ran these tests with most of the AIM7 workloads to compare its > performance between a 3.16 kernel and the kernel with these patches > applied. > > The table below contains the percent difference between the baseline > kernel and the k

linux-next: build failure after merge of the ext3 tree

2014-08-07 Thread Stephen Rothwell
Hi Jan, After merging the ext3 tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "new_inode_pseudo" [fs/reiserfs/reiserfs.ko] undefined! Caused by commit 523096294315 ("reiserfs: Avoid warning from unlock_new_inode()"). I have used the ext

Re: [PATCH 0/5] irq / PM: Shared IRQs vs IRQF_NO_SUSPEND and suspend-to-idle wakeup

2014-08-07 Thread Rafael J. Wysocki
On Tuesday, August 05, 2014 05:22:57 PM Rafael J. Wysocki wrote: > On Friday, August 01, 2014 04:29:40 PM Rafael J. Wysocki wrote: > > On Friday, August 01, 2014 03:43:21 PM Thomas Gleixner wrote: > > > On Fri, 1 Aug 2014, Rafael J. Wysocki wrote: > > > > OK, I guess "IRQ_HANDLED from a wakeup inte

Re: [PATCH v4 2/4] usb: dwc2: add compatible data for rockchip soc

2014-08-07 Thread Kever.Yang
On 08/08/2014 04:52 AM, Doug Anderson wrote: Paul, On Thu, Aug 7, 2014 at 11:26 AM, Paul Zimmerman wrote: From: Kever Yang [mailto:kever.y...@gmail.com] On Behalf Of Kever Yang Sent: Thursday, August 07, 2014 2:35 AM This patch add compatible data for dwc2 controller found on rk3066, rk3188

Re: [PATCH v1] MIPS:KDUMP: set a right value to kexec_indirection_page variable

2014-08-07 Thread Yang,Wei
Ralf, What do you think of this patch? Thanks Wei On 08/04/2014 11:46 AM, Yang,Wei wrote: ping. BR, Wei On 07/31/2014 07:42 PM, wei.y...@windriver.com wrote: From: Yang Wei Since there is not indirection page in crash type, so the vaule of the head field of kimage structure is not equal to

[Update][PATCH 3/5] irq / PM: Make wakeup interrupts wake up from suspend-to-idle

2014-08-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make IRQs enabled for system wakeup via enable_irq_wake() wake up the system from suspend-to-idle. For this purpose, introduce a new routine for enabling and disabling wakeup interrupts, set_wakeup_irqs(), and make freeze_enter() call it to enable them before starting the

  1   2   3   4   5   6   7   >