Re: [PATCH] audit: log module name on delete_module

2017-03-09 Thread Miroslav Benes
On Thu, 9 Mar 2017, Richard Guy Briggs wrote: > Record the module name of a delete_module call. > > See: https://github.com/linux-audit/audit-kernel/issues/37 > > Signed-off-by: Richard Guy Briggs Could you improve the changelog, please? I don't think that a link to a github issue can and sho

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Russell King - ARM Linux
On Thu, Mar 09, 2017 at 03:42:49PM +0100, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday, March 09, 2017 01:57:15 PM Russell King - ARM Linux wrote: > > On Thu, Mar 09, 2017 at 03:24:56PM +0300, Sergei Shtylyov wrote: > > > On 03/09/2017 03:20 PM, Sekhar Nori wrote: > > > > > > >[...]

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 09, 2017 03:42:49 PM Bartlomiej Zolnierkiewicz wrote: > > Yes, it's very obscure - but what it comes down to is the silly way the > > "ISA" IO is handled on the platform (which depends whether it's an 8-bit > > or 16-bit ISA-style peripheral.) The old IDE CS driver _could_ be b

[PATCH 1/2] ARM64: dts: meson-gxbb-odroidc2: Add GPIO lines names

2017-03-09 Thread Neil Armstrong
This patch describes the GPIO lines usage on the Odroid-C2 board. This is useful in the debugfs gpio file and using the cdev gpio API. Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 51 ++ 1 file changed, 51 insertions(+) diff --git a

[PATCH 0/2] ARM64: dts: meson-gxbb-odroidc2: Add GPIO lines names

2017-03-09 Thread Neil Armstrong
This patchset adds the GPIO lines names to describe the /real/ GPIO usage on the Odroid-C2 board. These names are useful to have a clear and human readable decription of the line usage. The second patch is not specifically tied to the names but was found using these descriptions since they did not

[PATCH] staging: lustre: replace simple_strtoul with kstrtoint

2017-03-09 Thread Marcin Ciupak
Replace simple_strtoul with kstrtoint. simple_strtoul is marked for obsoletion. Signed-off-by: Marcin Ciupak --- drivers/staging/lustre/lustre/obdclass/obd_mount.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/obd

[PATCH 2/2] ARM64: dts: meson-gxbb-odroidc2: Fix TFLASH VDD regulator GPIO line

2017-03-09 Thread Neil Armstrong
The wrong GPIO line was provided here. Fixes: ef8d2ffedf18 ("ARM64: dts: meson-gxbb: add MMC support") Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Daniel Borkmann
On 03/09/2017 02:25 PM, Daniel Borkmann wrote: On 03/09/2017 02:10 PM, Thomas Gleixner wrote: On Thu, 9 Mar 2017, Daniel Borkmann wrote: With regard to CPA_FLUSHTLB that Linus mentioned, when I investigated code paths in change_page_attr_set_clr(), I did see that CPA_FLUSHTLB was set each time

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 09, 2017 02:51:47 PM Russell King - ARM Linux wrote: > On Thu, Mar 09, 2017 at 03:42:49PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Thursday, March 09, 2017 01:57:15 PM Russell King - ARM Linux wrote: > > > On Thu, Mar 09, 2017 at 03:24:56PM +0300, Sergei S

Re: [linux-sunxi] Re: [PATCH 10/15] drm/sun4i: tcon: Switch mux on only for composite

2017-03-09 Thread Maxime Ripard
On Thu, Mar 09, 2017 at 07:31:27PM +0800, Chen-Yu Tsai wrote: > >> Additionally, the mux registers are only valid in the first TCON, meaning > >> it must available be active in 2 pipeline chips. It's also why we'd pass > >> "struct drm_device *" instead of "struct sun4i_tcon *". > > > > H. That

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-03-09 Thread Michal Hocko
On Thu 09-03-17 09:16:25, Rik van Riel wrote: > On Thu, 2017-03-09 at 10:12 +0100, Michal Hocko wrote: > > On Wed 08-03-17 10:54:57, Rik van Riel wrote: > > > > In fact, false OOM kills with that kind of workload is > > > how we ended up getting the "too many isolated" logic > > > in the first pla

Re: [PATCH 0/3] mm/fs: get PG_error out of the writeback reporting business

2017-03-09 Thread Theodore Ts'o
On Thu, Mar 09, 2017 at 07:43:12AM -0500, Jeff Layton wrote: > > Maybe we need a systemwide (or fs-level) tunable that makes ENOSPC a > transient error? Just have it hang until we get enough space when that > tunable is enabled? Or maybe we need a new kernel-internal errno (ala ERESTARSYS) which

[PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get()

2017-03-09 Thread David Hildenbrand
It's a void function, so there is no return value; Signed-off-by: David Hildenbrand --- fs/userfaultfd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index 9fd5e51..2bb1c72 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c @@ -138,8 +138,6 @@ static

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Russell King - ARM Linux
On Thu, Mar 09, 2017 at 03:57:37PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Thursday, March 09, 2017 02:51:47 PM Russell King - ARM Linux wrote: > > On Thu, Mar 09, 2017 at 03:42:49PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > > > > Hi, > > > > > > On Thursday, March 09, 2017 01:57:15 PM R

Re: [PATCH 0/6] Enable parallel page migration

2017-03-09 Thread Mel Gorman
On Wed, Mar 08, 2017 at 09:34:27PM +0530, Anshuman Khandual wrote: > > Any comments, suggestions are welcome. > > Hello Vlastimil/Michal/Minchan/Mel/Dave, > > Apart from the comments from Naoya on a different thread posted by Zi > Yan, I did not get any more review comments on this series. Could

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Peter Zijlstra
On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > [ 30.694013] lockdep_rcu_suspicious+0xe7/0x120 > > [ 30.694013] get_work_pool+0x82/0x90 > > [ 30.694013] __queue_work+0x70/0x5f0 > > [ 30.694013] queue_work_on+0x33/0x70 >

Re: [PATCH v2 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Alan Stern
On Thu, 9 Mar 2017, Gregory CLEMENT wrote: > From: Hua Jing > > - Add a new compatible string for the Armada 3700 SoCs > > - add sbuscfg support for orion usb controller driver. For the SoCs > without hlock, need to program BAWR/BARD/AHBBRST fields in the sbuscfg > register to guarantee the

Re: [RESEND PATCH v3 4/7] PCI: dwc: all: Modify dbi accessors to take dbi_base as argument

2017-03-09 Thread Niklas Cassel
On 03/09/2017 03:48 PM, Niklas Cassel wrote: > On 03/09/2017 07:39 AM, Kishon Vijay Abraham I wrote: >> dwc has 2 dbi address space labeled dbics and dbics2. The existing >> helper to access dbi address space can access only dbics. However >> dbics2 has to be accessed for programming the BAR regi

[net-next v2 04/10] fsl/fman: enlarge FIFO to allow for the 5th port

2017-03-09 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index d755930..4aefe24 100644 --- a/drivers/net/ethernet/freesca

[net-next v2 07/10] dpaa_eth: do not ignore port api return value

2017-03-09 Thread Madalin Bucur
Reported-by: Dan Carpenter Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 65 +- 1 file changed, 43 insertions(+), 22 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_

[net-next v2 03/10] fsl/fman: remove wrong free

2017-03-09 Thread Madalin Bucur
Reported-by: Dan Carpenter Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_port.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_port.c b/drivers/net/ethernet/freescale/fman/fman_port.c index f314348..57

[net-next v2 01/10] fsl/fman: parse result data is big endian

2017-03-09 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.h b/drivers/net/ethernet/freescale/fman/fman.h index 57aae8d..f53e147 100644 --- a/drivers/net/ether

[net-next v2 08/10] dpaa_eth: add four prioritised Tx traffic classes

2017-03-09 Thread Madalin Bucur
From: Camelia Groza Each traffic class corresponds to a WQ priority level. The number of Tx netdev queues and frame queues is increased to NR_CPUS queues for each traffic class. In addition, the priority of the Rx, Error and Conf queues is lowered but their order is maintained. By default, only

Re: [PATCH] [media] v4l2-dv-timings: Introduce v4l2_calc_fps()

2017-03-09 Thread Jose Abreu
Hi Hans, Thanks for the review! On 09-03-2017 12:29, Hans Verkuil wrote: > On 07/03/17 17:48, Jose Abreu wrote: >> HDMI Receivers receive video modes which, according to >> CEA specification, can have different frames per second >> (fps) values. >> >> This patch introduces a helper function in

[net-next v2 00/10] QorIQ DPAA 1 updates

2017-03-09 Thread Madalin Bucur
This patch set introduces a series of fixes and features to the DPAA 1 drivers. Besides activating hardware Rx checksum offloading, four traffic classes are added for Tx traffic prioritisation. The changes are also available on the dpaa_eth-next branch in the git repository at: git://git.freesc

[net-next v2 02/10] fsl/fman: set HW parser as BMI next engine

2017-03-09 Thread Madalin Bucur
Enable the HW parser for all DPAA interfaces. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 21 drivers/net/ethernet/freescale/fman/fman_port.c | 72 +++-- 2 files changed, 90 insertions(+), 3 deletions(-) diff --git a/drivers/ne

Re: [PATCH] audit: log module name on delete_module

2017-03-09 Thread peter enderborg
On 03/09/2017 03:08 PM, Richard Guy Briggs wrote: > Record the module name of a delete_module call. > > See: https://github.com/linux-audit/audit-kernel/issues/37 > > Signed-off-by: Richard Guy Briggs > --- > kernel/module.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff -

[net-next v2 05/10] dpaa_eth: remove redundant initialization

2017-03-09 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index e2ca107..e19181f 100644 --- a/drivers/net/ethe

[net-next v2 10/10] dpaa_eth: enable context-A stashing

2017-03-09 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 1b3ea38..aa769cb 100644 --- a/drivers/net/et

Re: [PATCH RFC 4/4] VMX: Expose the LA57 feature to VM

2017-03-09 Thread Paolo Bonzini
On 29/12/2016 10:26, Liang Li wrote: > - if (is_noncanonical_address(la)) > + if (is_noncanonical_address(la, virt_addr_bits(ctxt))) Using virt_addr_bits and get_virt_addr_bits is quite a mouthful. What about using instead a pair of functions like these: bool is_noncano

[net-next v2 06/10] dpaa_eth: enable Rx checksum offload

2017-03-09 Thread Madalin Bucur
Use the FMan HW parser L4CV flag to offload Rx checksumming. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 29 -- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/n

Re: [PATCH RFC 3/4] KVM: MMU: Add 5 level EPT & Shadow page table support.

2017-03-09 Thread Paolo Bonzini
On 29/12/2016 10:26, Liang Li wrote: > The future Intel CPU will extend the max physical address to 52 bits. > To support the new physical address width, EPT is extended to support > 5 level page table. > This patch add the 5 level EPT and extend shadow page to support > 5 level paging guest. As

[block] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970

2017-03-09 Thread Mike Galbraith
Greetings, Building master.today with kasan enabled (because I saw the same when trying out kasan on rt), the below fell out. Config is enterprise based (tune for maximum build time), plus PREEMPT. [5.335444] == [5.337030]

[tip:WIP.sched/core 4/11] htmldocs: include/linux/wait.h:155: warning: No description found for parameter 'wq_head'

2017-03-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 0605ab6fd5aa0c78133fc6611fa5e4f17e46c396 commit: 0f503ec9eb50ffbc1d0541674efe48bc7fdd3f99 [4/11] sched/wait: Standardize internal naming of wait-queue heads reproduce: make htmldocs All warnings (new ones

[PATCH] mmc: sdhci-of-at91: Support external regulators

2017-03-09 Thread Romain Izard
The SDHCI controller in the SAMA5D2 chip requires a valid voltage set in the power control register, otherwise commands will fail with a timeout error. When using the regulator framework to specify the regulator used by the mmc device, the voltage is not configured, and it is not possible to use t

[PATCH] sched: Do not bug in __sched_setscheduler() when pi is not used

2017-03-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When priority inheritance was added back in 2.6.18 to sched_setscheduler, it added a path to taking an rt-mutex wait_lock, which is not IRQ safe. As PI is not a common occurrence, lockdep will likely never trigger if sched_setscheduler was called from interrupt c

Re: [PATCH v2 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Gregory CLEMENT
Hi Alan, On jeu., mars 09 2017, Alan Stern wrote: >> @@ -47,6 +47,21 @@ >> #define USB_PHY_IVREF_CTRL 0x440 >> #define USB_PHY_TST_GRP_CTRL0x450 >> >> +#define USB_SBUSCFG 0x90 >> +#define USB_SBUSCFG_BAWR_SHIFT 0x6 >> +#define USB_SBUSCFG_BARD_SHI

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > The v4.11-rc1 kernel emits the following splat in some configurations: > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: > kworker/3:1/49 > [ 43.682511] caller is debug_smp_processor_id+0x17/0x20

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > [ 30.694013] lockdep_rcu_suspicious+0xe7/0x120 > > [ 30.694013] get_work_pool+0x82/0x90 > > [ 30.694013] __queue_work+0x70/0x5f0 > > [ 30.694013] queue_work_on+0x33/0x70 >

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 10:22:53PM +0100, Pavel Machek wrote: > > Well, I have fast CPUs, but most of the time they just compile > stuff. Especially bisect is compile-heavy. I suspect going back to > gcc-3.2 would bring me bigger advantages than CPU upgrade... > But note that 3.2 compiles a dist

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-09 Thread David Sterba
On Tue, Mar 07, 2017 at 03:49:52PM +0800, Qu Wenruo wrote: > >>> If the patches pass all tests on your side, could you please take them in > >>> and > >> propagate further? > >>> I will continue with other kernel subsystems. > >> > >> The patchset itself looks like a common cleanup, while I did en

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:12:55PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > > [ 30.694013] lockdep_rcu_suspicious+0xe7/0x120 > > > [ 30.694013] get_work_pool+0x82/0x90 > > > [ 30.69401

Re: [PATCH v2 3/7] xen/9pfs: introduce Xen 9pfs transport driver

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Introduce the Xen 9pfs transport driver: add struct xenbus_driver to > register as a xenbus driver and add struct p9_trans_module to register > as v9fs driver. > > All functions are empty stubs for now. > > Signed-off-by: Stefano Stabellini > CC:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] > > code: k

Re: [v3 2/5] coresight: refactor with function of_coresight_get_cpu

2017-03-09 Thread Suzuki K Poulose
On 09/03/17 11:01, Suzuki K Poulose wrote: On 03/03/17 06:00, Leo Yan wrote: This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier Signed-off-b

[PATCH 0/2] coresight: Allow sharing of STM

2017-03-09 Thread Suzuki K Poulose
This series fixes the coresight generic layer to handle the reference counting for the STM source properly, to allow multiple applications to share the STM. Without this series, the STM is disabled when the first user closes its connection, causing trace data losses. Suzuki K Poulose (2): coresi

[PATCH 1/2] coresight: Disable the path only when the source is disabled

2017-03-09 Thread Suzuki K Poulose
With a coresight tracing session, the components along the path from the source to sink are disabled after the source is disabled. However, if the source was not actually disabled due to active users, we should not disable the components in the path. Cc: Mathieu Poirier Signed-off-by: Suzuki K Po

[PATCH 2/2] coresight: Fix reference count for software sources

2017-03-09 Thread Suzuki K Poulose
For software sources (i.e STM), there could be multiple agents generating the trace data, unlike the ETMs. So we need to properly do the accounting for the active number of users to disable the device when the last user goes away. Right now, the reference counting is broken for sources as we skip t

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-09 Thread Akshay Bhat
Hi Wolfgang, On 03/09/2017 09:45 AM, Wolfgang Grandegger wrote: > Hello Akshay, > > Am 09.03.2017 um 13:34 schrieb Akshay Bhat: >> >> Hi Wolfgang, >> >> Good question. I have not worked with MPC251x but the HI-311x performs >> much better because HI-3110 features: >> 8 message FIFO (as opposed to

[PATCH] cpufreq: intel_pstate: Drop redundant wrapper function

2017-03-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki intel_pstate_hwp_set_policy() is a wrapper around intel_pstate_hwp_set(), but the only value it adds is to check hwp_active before calling the latter and one of its two callers has already checked hwp_active before that happens, so in that code path the additional check is

[PATCH] cpufreq: User/admin documentation update and consolidation

2017-03-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The user/admin documentation of cpufreq is badly outdated. It conains stale and/or inaccurate information along with things that are not particularly useful. Also, some of the important pieces are missing from it. For this reason, add a new user/admin document for cpufr

Re: [PATCH] [media] v4l2-dv-timings: Introduce v4l2_calc_fps()

2017-03-09 Thread Hans Verkuil
On 09/03/17 16:15, Jose Abreu wrote: > Hi Hans, > > > Thanks for the review! > > > On 09-03-2017 12:29, Hans Verkuil wrote: >> On 07/03/17 17:48, Jose Abreu wrote: >>> HDMI Receivers receive video modes which, according to >>> CEA specification, can have different frames per second >>> (fps) va

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 09, 2017 03:08:29 PM Russell King - ARM Linux wrote: > On Thu, Mar 09, 2017 at 03:57:37PM +0100, Bartlomiej Zolnierkiewicz wrote: > > On Thursday, March 09, 2017 02:51:47 PM Russell King - ARM Linux wrote: > > > On Thu, Mar 09, 2017 at 03:42:49PM +0100, Bartlomiej Zolnierkiewicz

Re: [PATCH v2 4/7] xen/9pfs: connect to the backend

2017-03-09 Thread Boris Ostrovsky
> + > +static int xen_9pfs_front_alloc_dataring(struct xenbus_device *dev, > + struct xen_9pfs_dataring *ring) > +{ > + int i; > + int ret = -ENOMEM; > + > + init_waitqueue_head(&ring->wq); > + spin_lock_init(&ring->lock); > + INIT_WORK(&ring->work, p9_xen_response)

Re: [PATCH RESEND] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-09 Thread Romain Perier
Hello, Le 09/03/2017 à 15:28, Jose Abreu a écrit : > Hi Romain, > > > On 08-03-2017 08:15, Romain Perier wrote: >> Currently, the irq handler that monitores changes for HPD anx RX_SENSE >> relies on the status of the bridge for updating the status of the HPD. >> The update is done only when the b

Re: [PATCH] i2c: exynos5: Avoid transaction timeouts due TRANSFER_DONE_AUTO not set

2017-03-09 Thread Wolfram Sang
On Thu, Mar 09, 2017 at 11:05:33AM -0300, Javier Martinez Canillas wrote: > After commit 7999eecb7e56 ("i2c: exynos5: fix arbitration lost handling"), > some I2C transactions are failing because the TRANSFER_DONE_AUTO field is > not set in the I2C_TRANS_STATUS register so the i2c->status value is l

Re: [PATCH v2 5/7] xen/9pfs: send requests to the backend

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Implement struct p9_trans_module create and close functions by looking > at the available Xen 9pfs frontend-backend connections. We don't expect > many frontend-backend connections, thus walking a list is OK. > > Send requests to the backend by co

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 07:29:26AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 04:12:55PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > > > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > > > [ 30.694013] lockdep_rcu_suspicious+0

Re: [PATCH v2 6/7] xen/9pfs: receive responses

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Upon receiving a notification from the backend, schedule the > p9_xen_response work_struct. p9_xen_response checks if any responses are > available, if so, it reads them one by one, calling p9_client_cb to send > them up to the 9p layer (p9_client

Re: [PATCHv2 4/5] mfd: altr_a10sr: Add Arria10 DevKit Reset Controller

2017-03-09 Thread Thor Thayer
Hi Lee, On 02/28/2017 08:42 AM, Philipp Zabel wrote: On Wed, 2017-02-22 at 11:10 -0600, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add Peripheral PHY Reset Controller to the Arria10 Development Kit System Resource Chip's MFD. Signed-off-by: Thor Thayer --- v2 Changes to commit he

Re: [PATCH] ASoC: es8328: Remove extra blank lines

2017-03-09 Thread Romain Perier
Hello, Le 25/02/2017 à 11:42, Narcisa Ana Maria Vasile a écrit : > This was reported by checkpatch.pl > > Signed-off-by: Narcisa Ana Maria Vasile > --- > sound/soc/codecs/es8328.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs/es8328.c > i

[GIT PULL] Block fixes for 4.11-rc2

2017-03-09 Thread Jens Axboe
Hi Linus, Sending this a bit sooner than I otherwise would have, as a fix in the merge window had some unfortunate issues and side effects for some folks. This pull request contains: - Fixes from Jan for the bdi registration/unregistration. These have been tested by the various parties reporti

[PATCH] staging: ks7010: removed code in comments.

2017-03-09 Thread Arushi Singhal
Commenting Code Is a Bad Idea. Comments are their to explain the code and how the code achieves its goal and as codes in the comments does not explain what the code is doing so there is no use of commenting them. So in this patch codes in the comments are removed. Signed-off-by: Arushi Singhal -

[net-next v2 09/10] dpaa_eth: enable multiple Tx traffic classes

2017-03-09 Thread Madalin Bucur
From: Camelia Groza Implement the setup_tc ndo to configure prioritised Tx traffic classes. Priorities range from 0 (lowest) to 3 (highest). The driver assigns NR_CPUS queues to each traffic class. Signed-off-by: Camelia Groza Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dp

Hello my dear friend

2017-03-09 Thread Mr Ami Bahi
Hello my dear friend My name is Mr. Ami Bahi Aman a banker working with the United Bank of Africa UBA Burkinafaso. I have decided to seek a confidential co-operation with you in the execution of the deal described here-under for our both mutual benefit and I hope you will keep it a top secret

Re: [RFC PATCH v2 12/32] x86: Add early boot support when running with SEV active

2017-03-09 Thread Paolo Bonzini
On 09/03/2017 15:07, Borislav Petkov wrote: > + /* Check if running under a hypervisor */ > + eax = 0x4000; > + ecx = 0; > + native_cpuid(&eax, &ebx, &ecx, &edx); This is not how you check if running under a hypervisor; you should check the HYPERVISOR bit, i.e. bit 31 of cpui

FUNDS TRANSFER,

2017-03-09 Thread BAR JEANPIERRE MENSAH
-- I am a lawyer in Republic of Togo and I will like you to stand as the appointed heir to my deceased client, who had a deposit of $8.4 Million with a bank here in Togo. He died in 2007 with his family members without any registered next of kin and the funds now has an open beneficiary mandat

Re: Kernel panic on Lenovo X60 with tracing enabled

2017-03-09 Thread Josh Poimboeuf
On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote: > On Thu, 9 Mar 2017 13:12:28 +0100 > Paul Menzel wrote: > > > Dear Steven, dear Ingo, > > > > > > Hopefully, I am contacting the right people for my issue. > > > > Suspending a system with Linux 4.9.13 with tracing enabled, it fa

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-09 Thread David Sterba
On Fri, Mar 03, 2017 at 10:55:09AM +0200, Elena Reshetova wrote: > Now when new refcount_t type and API are finally merged > (see include/linux/refcount.h), the following > patches convert various refcounters in the btrfs filesystem from atomic_t > to refcount_t. By doing this we prevent intentiona

Re: [PATCH 1/6] staging: speakup: Add blank line after function/struct/union/enum declarations

2017-03-09 Thread Greg KH
On Thu, Mar 09, 2017 at 07:33:50PM +0530, Arushi Singhal wrote: > > > On Thu, Mar 9, 2017 at 6:55 PM, Greg KH wrote: > > On Sat, Mar 04, 2017 at 01:47:04AM +0530, Arushi Singhal wrote: > > This patch fixes the warnings reported by checkpatch.pl > > for please use a blank line after

Re: [patch 0/3] speakup: support 16bit unicode screen reading

2017-03-09 Thread Greg Kroah-Hartman
On Sat, Mar 04, 2017 at 03:01:54PM +0100, Samuel Thibault wrote: > Hello, > > This patch series adds 16bit unicode support to speakup, through three > patches: > > - extend synth buffer to 16bit unicode characters > - convert screen reading to 16bit characters > - add unicode variant of /dev/soft

Re: [RFC PATCH, -v2] sched/wait: Introduce new, more compact wait_event*() primitives

2017-03-09 Thread Peter Zijlstra
Here; I rewrote that so that my brain doesn't go wtf, every time I look at it ;-) Hope it does the same for you. --- include/linux/wait.h | 31 +--- kernel/sched/wait.c | 140 +-- 2 files changed, 127 insertions(+), 44 deletions(-) dif

Re: [PATCH] audit: log module name on delete_module

2017-03-09 Thread Richard Guy Briggs
On 2017-03-09 16:15, peter enderborg wrote: > On 03/09/2017 03:08 PM, Richard Guy Briggs wrote: > > Record the module name of a delete_module call. > > > > See: https://github.com/linux-audit/audit-kernel/issues/37 > > > > Signed-off-by: Richard Guy Briggs > > --- > > kernel/module.c |2 ++ >

Re: [RFC PATCH v2 12/32] x86: Add early boot support when running with SEV active

2017-03-09 Thread Borislav Petkov
On Thu, Mar 09, 2017 at 05:13:33PM +0100, Paolo Bonzini wrote: > This is not how you check if running under a hypervisor; you should > check the HYPERVISOR bit, i.e. bit 31 of cpuid(1).ecx. This in turn > tells you if leaf 0x4000 is valid. Ah, good point, I already do that in the microcode lo

Re: [block] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970

2017-03-09 Thread Jens Axboe
On 03/09/2017 08:16 AM, Mike Galbraith wrote: > Greetings, > > Building master.today with kasan enabled (because I saw the same when > trying out kasan on rt), the below fell out. > > Config is enterprise based (tune for maximum build time), plus PREEMPT. > > [5.335444] > ==

[PATCH 01/19] Coccinelle: locks: identify callers of spin_lock{,_irq,_irqsave}() in irqchip implementations

2017-03-09 Thread Julia Cartwright
On PREEMPT_RT, the spinlock_t type becomes an object which sleeps under contention. The codepaths used to support scheduling (irq dispatching, arch code, the scheduler, timers) therefore must make use of the raw_spin_lock{,_irq,_irqsave}() variations which preserve the non-sleeping spinlock behavi

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Sergei Shtylyov
On 03/09/2017 03:24 PM, Sergei Shtylyov wrote: diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 023480b75244..60a1f23890cd 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -744,7 +744,7 @

Re: [patch 0/3] speakup: support 16bit unicode screen reading

2017-03-09 Thread Samuel Thibault
Greg KH, on jeu. 09 mars 2017 17:25:51 +0100, wrote: > This is the second version of this series, correct? Next time, please > put a "v2" in them so that I know which to apply. Ah, yes, sorry. The only difference was the Reviewed-by lines. Thanks! Samuel

Re: [PATCH] cpufreq: User/admin documentation update and consolidation

2017-03-09 Thread Rafael J. Wysocki
+linux-doc (sorry for omitting it in the first place) On Thursday, March 09, 2017 04:28:32 PM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The user/admin documentation of cpufreq is badly outdated. It > conains stale and/or inaccurate information along with things > that are not parti

[tip:WIP.sched/core 8/11] htmldocs: include/linux/wait.h:584: warning: No description found for parameter 'wq'

2017-03-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 0605ab6fd5aa0c78133fc6611fa5e4f17e46c396 commit: c98f1694cb0c48b8f100596e4b2d54b82b5af37b [8/11] sched/wait: Re-adjust macro line continuation backslashes in reproduce: make htmldocs All warnings (new one

[PATCH 5/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-03-09 Thread Andrew Banman
Remove the present wait_completion routine and add a function pointer by the same name to the bau_operations struct. Rather than switching on the UV hub version during message processing, set the architecture-specific uv*_wait_completion during initialization. The uv123_bau_ops struct must be spli

[PATCH 6/6] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-03-09 Thread Andrew Banman
UV4 does not employ a software-timeout as in previous generations so a new wait_completion routine without this logic is required. Certain completion statuses require the AUX status bit in addition to ERROR and BUSY. Add the read_status routine to construct the full completion status. Use read_sta

[PATCH 2/6] x86/platform/uv/BAU: Add payload descriptor qualifier

2017-03-09 Thread Andrew Banman
On UV4, the destination agent verifies each message by checking the descriptor qualifier field of the message payload. Messages without this field set to 0x534749 will cause a hub error to assert. Split bau_message_payload into uv1_2_3 and uv4 versions to account for the different payload formats.

[PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-03-09 Thread Andrew Banman
The location of the ERROR and BUSY status bits depends on the descriptor index, i.e. the CPU, of the message. Since this index does not change, there is no need to calculate the mmr and index location during message processing. The less work we do in the hot path the better. Add status_mmr and sta

[PATCH 3/6] x86/platform/uv/BAU: Cleanup bau_operations declaration and instances

2017-03-09 Thread Andrew Banman
Move the bau_operations declaration after bau struct declarations so the bau structs can be referenced when adding new functions to bau_operations. That way we avoid forward declarations of the bau structs. Likewise, move uv*_bau_ops structs down to avoid forward declarations of new functions defi

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-03-09 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. Signed-off-by: Andrew Banman --- arch/x86/include/asm/uv/uv_bau.h | 7 +++ arch/x86/platform/uv/tlb_uv.c| 16 2 files changed, 15 insertions(+), 8 deletions(-)

[PATCH 2/4] staging: speakup:indentation should use tabs

2017-03-09 Thread Arushi Singhal
Indentation should always use tabs and never spaces. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/i18n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c index 1a3e34880ac1..11f1418b4006 100644 --- a/

[PATCH 1/4] staging: speakup: Comparison to NULL could be written

2017-03-09 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Signed-off-by: Arushi Singhal --- changes in v2 - fixed coding style error and upto the coding style. --- drivers/staging/speakup/fakekey.c | 2 +- drivers/staging/speaku

[PATCH 4/4] staging: speakup: Placed Logical on the previous line

2017-03-09 Thread Arushi Singhal
Placed Logical continuations on the previous line as reported by checkpatch.pl. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index a12ec

[PATCH 0/4] staging: speakup: checkpatch guided cleanups

2017-03-09 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in speakup driver. Arushi Singhal (4): staging: speakup: Comparison to NULL could be written staging: speakup:indentation should use tabs staging: speakup: Alignment match open parenthesis staging: speakup: Placed Logical on the

[PATCHv3 0/6] x86/platform/uv/BAU: UV4 message completion and initialization updates

2017-03-09 Thread Andrew Banman
The following patch series adds the necessary functionality to make the BAU on UV4 operational. The purpose of these patches is to implement the correct message completion logic on UV4. Also included is a bug fix to add a field to the INTD payload. This is needed to verify the source of each messag

[PATCH 10/19] gpio: ws16c48: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The ws16c48 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

[PATCH] staging: speakup: fix "Alignment match open parenthesis"

2017-03-09 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/speakup/i18n.c | 2 +- drivers/staging/speakup/kobjects.c | 40 +++--- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/

[PATCH 11/19] gpio: zx: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The zx gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it i

[PATCH v1] Revert "clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock"

2017-03-09 Thread Romain Izard
This reverts commit 7b9f1d16e6d1 ("clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock"). In the current state, the kernel warns against a late registration of the new sched_clock, the printk clock resets after only a few minutes, and it seems that scheduling can be affected as well. Sig

Re: [PATCH] ahci: qoriq: correct the sata ecc setting error

2017-03-09 Thread Tejun Heo
On Thu, Mar 09, 2017 at 05:13:29PM +0800, Yuantian Tang wrote: > Sata ecc is controlled by only 1 bit which is 24bit in big-endian > in ecc register. So only setting 24bit to disable sata ecc prevents > other bits from being overwritten in ecc register. > > Signed-off-by: Tang Yuantian Applied t

[PATCH 16/19] pinctrl: bcm: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The bcm pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH 2/2] blk-mq: start to freeze queue just after setting dying

2017-03-09 Thread Bart Van Assche
On Thu, 2017-03-09 at 21:02 +0800, Ming Lei wrote: > Before commit 780db2071a(blk-mq: decouble blk-mq freezing > from generic bypassing), the dying flag is checked before > entering queue, and Tejun converts the checking into .mq_freeze_depth, > and assumes the counter is increased just after dying

Re: [PATCH] dma: xilinx: Make Xilinx VDMA support ARC

2017-03-09 Thread Mike Looijmans
On 06-03-17 13:27, Ramiro Oliveira wrote: Add option in Kconfig to use Xilinx VDMA in ARC processors. Signed-off-by: Ramiro Oliveira --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 263495d0adbd..b6b6c0

[PATCH 15/19] mfd: tc6393xb: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The tc6393xb mfd driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

<    1   2   3   4   5   6   7   8   9   10   >