[patch v4 1/3] tty: add function to convert device name to number

2017-06-25 Thread Okash Khawaja
The function converts strings like ttyS0 and ttyUSB0 to dev_t like (4, 64) and (188, 0). It does this by scanning tty_drivers list for corresponding device name and index. If the driver is not registered, this function returns -ENODEV. It also acquires tty_mutex. Signed-off-by: Okash Khawaja

Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion

2017-06-25 Thread Jonathan Corbet
On Fri, 23 Jun 2017 18:47:51 -0600 Shuah Khan wrote: > Please let me know if you want me to take this through linux-kselftest > In which case, Ack the patch. If not, you already have my Ack. Go ahead and take it if you want: Acked-by: Jonathan Corbet

[PATCH 0/2] Drivers: hv: Miscellaneous fixes

2017-06-25 Thread kys
From: K. Y. Srinivasan Miscellaneous fixes. Alex Ng (1): Tools: hv: vss: Skip freezing filesystems backed by loop Stephen Hemminger (1): vmbus: re-enable channel tasklet drivers/hv/channel.c |2 ++ tools/hv/hv_vss_daemon.c |7 +++ 2 files changed, 9

[PATCH 2/2] vmbus: re-enable channel tasklet

2017-06-25 Thread kys
From: Stephen Hemminger This problem shows up in 4.11 when netvsc driver is removed and reloaded. The problem is that the channel is closed during module removal and the tasklet for processing responses is disabled. When module is reloaded the channel is reopened but

[PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by loop

2017-06-25 Thread kys
From: Alex Ng Skip loop devices from the freeze/thaw operation. Signed-off-by: Alex Ng Signed-off-by: Vyronas Tsingaras Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_vss_daemon.c |

Re: [PATCH v1 5/6] [media] ov9650: add multiple variant support (fwd)

2017-06-25 Thread Julia Lawall
gues-Fruchet/Add-support-of-OV9655-camera/20170625-201153 base: git://linuxtv.org/media_tree.git master :: branch date: 3 hours ago :: commit date: 3 hours ago >> drivers/media/i2c/ov9650.c:1618:2-44: code aligned with following code on >> line 1619 git remote add linux-r

Re: [PATCH] sparc: kernel: apc: make of_device_ids const

2017-06-25 Thread David Miller
From: Arvind Yadav Date: Fri, 23 Jun 2017 14:51:35 +0530 > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > Signed-off-by: Arvind

[PATCH] arcnet: fix spelling mistake "Ackknowledge" -> "Acknowledge"

2017-06-25 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in arc_printk message Signed-off-by: Colin Ian King --- drivers/net/arcnet/capmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/arcnet/capmode.c

Re: [PATCH] iio: dac: DS4424: add Maxim DS4422/DS4424 DAC driver support

2017-06-25 Thread Peter Meerwald-Stadler
> Add iio driver for DS4422/DS4424 chips that support two/four channel 7-bit > Sink/Source Current DAC. minor comments below, on top of Jonathan's > The driver supports device tree and platfrom files for the configurations. platform > Datasheet publicly available at: >

Re: [PATCH] rpmsg: virtio_rpmsg_bus: fix nameservice address

2017-06-25 Thread Bjorn Andersson
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote: > Commit 2a48d7322dc8 ("rpmsg: rpmsg_send() operations takes rpmsg_endpoint") > only changed the nameservice address for virtio_rpmsg_announce_create() but > did not do the same change for virtio_rpmsg_announce_destroy(). > > Signed-off-by: Henri

[PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- include/net/rtnetlink.h | 3 ++- net/core/rtnetlink.c| 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index

[PATCH net-next v2 0/5] net: add netlink_ext_ack support to rtnl_link_ops

2017-06-25 Thread Matthias Schiffer
Same changes as http://patchwork.ozlabs.org/patch/780351/ , split into separate patches for each rtnl_link_ops field as requested. Matthias Schiffer (5): net: add netlink_ext_ack argument to rtnl_link_ops.newlink net: add netlink_ext_ack argument to rtnl_link_ops.changelink net: add

[PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 7 --- drivers/net/bonding/bond_netlink.c | 7 --- drivers/net/caif/caif_hsi.c | 3 ++-

[PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 3 ++- drivers/net/bonding/bond_netlink.c | 3 ++- drivers/net/caif/caif_hsi.c | 3 ++- drivers/net/can/dev.c

[PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/net/bonding/bond_netlink.c | 3 ++- include/net/rtnetlink.h| 3 ++- net/bridge/br_netlink.c| 3 ++- net/core/rtnetlink.c | 3 ++- 4 files

[PATCH] batman-adv: fix spelling mistake "ourselve" -> "ourself"

2017-06-25 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in batadv_dbg debug message Signed-off-by: Colin Ian King --- net/batman-adv/bat_v_ogm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/bat_v_ogm.c

Re: [PATCH] lib: vsprintf: add printf format conversion %M for errno strings

2017-06-25 Thread Randy Dunlap
On 06/25/2017 10:12 AM, Enrico Weigelt, metux IT consult wrote: > Adding a new format conversion for *printf() and friends. > > If CONFIG_ERRNO_PRINTF_VERBOSE is enabled, prints human-readable > strerror()-like texts, otherwise just the number. > --- > lib/Kconfig| 19 +++ >

Re: [PATCH v2] PM / wakeirq: Convert to SRCU

2017-06-25 Thread Paul E. McKenney
On Sun, Jun 25, 2017 at 07:31:13PM +0200, Thomas Gleixner wrote: > The wakeirq infrastructure uses RCU to protect the list of wakeirqs. That > breaks the irq bus locking infrastructure, which is allows sleeping > functions to be called so interrupt controllers behind slow busses, > e.g. i2c, can

[PATCH 0/6] Drivers: hv: vmbus: Ringbuffer cleanup and optimizations

2017-06-25 Thread kys
From: K. Y. Srinivasan This removes unused bits from vmbus internals, and also does some optimization to the host signalling part of ring buffer logic. Stephen Hemminger (6): vmbus: simplify hv_ringbuffer_read vmbus: drop unused ring_buffer_info elements vmbus:

[PATCH] powerpc/sysfs: Expose MMCR2 spr in sysfs

2017-06-25 Thread Madhavan Srinivasan
Monitor Mode Control Register 2 (MMCR2) is a 64-bit register that contains 9-bit control fields for controlling the operation of PMC1 - PMC6. Patch to expose the MMCR2 spr in sysfs. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/kernel/sysfs.c | 8 1 file

Re: [PATCH v3 2/3] remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs

2017-06-25 Thread Bjorn Andersson
On Tue 13 Jun 16:45 PDT 2017, Suman Anna wrote: > +static int keystone_rproc_start(struct rproc *rproc) > +{ > + struct keystone_rproc *ksproc = rproc->priv; > + int ret; > + > + INIT_WORK(>workqueue, handle_event); > + > + ret = request_irq(ksproc->irq_ring,

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-06-25 Thread Bjorn Andersson
On Wed 14 Jun 13:48 PDT 2017, Oleksij Rempel wrote: > From: Oleksij Rempel > > this driver was tested on NXP imx7d but should work on > imx6sx as well. > It will upload firmware to OCRAM, which shared memory between > Cortex A7 and Cortex M4, then turn M4 on. > This

Re: [PATCH 10/17] irqchip: New RISC-V PLIC Driver

2017-06-25 Thread Palmer Dabbelt
On Wed, 07 Jun 2017 03:52:10 PDT (-0700), marc.zyng...@arm.com wrote: > Hi Palmer, > > On 07/06/17 00:00, Palmer Dabbelt wrote: >> This patch adds a driver for the Platform Level Interrupt Controller >> (PLIC) specified as part of the RISC-V supervisor level ISA manual. >> The PLIC connocts global

[PATCH v4 2/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-06-25 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 14 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 1446

[PATCH v4 5/6] ARM: sun7i: Convert to CCU

2017-06-25 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Tested on Cubietruck. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 719 +++- 1 file changed, 84 insertions(+), 635 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi

Re: [PATCH][V2][target-devel-next] tcmu: make array tcmu_attrib_attrs static const

2017-06-25 Thread Nicholas A. Bellinger
On Tue, 2017-06-13 at 14:29 +0100, Colin King wrote: > From: Colin Ian King > > The array tcmu_attrib_attrs does not need to be in global scope, so make > it static. > > Cleans up sparse warning: > "symbol 'tcmu_attrib_attrs' was not declared. Should it be static?" >

Re: [PATCH 4/4] remoteproc/davinci: streamline the interrupt management

2017-06-25 Thread Bjorn Andersson
On Thu 18 May 15:09 PDT 2017, Suman Anna wrote: > The davinci remoteproc driver is currently requesting its interrupt > that deals with the virtio kicks in probe, and that too before all > the associated variables used by the handler are initialized. This > is a lot in advance before the DSP

Re: [PATCH 0/4] Davinci remoteproc cleanups/fixes

2017-06-25 Thread Bjorn Andersson
On Thu 18 May 15:08 PDT 2017, Suman Anna wrote: > Hi Bjorn, > > The following series includes various fixes and cleanups for the TI's > Davinci DSP remoteproc driver. Patches are based on 4.12-rc1. Following > is the patch summary: > > - Patch1 updates/fixes the build dependency on DMA_CMA

Re: [PATCH] lib: vsprintf: add printf format conversion %M for errno strings

2017-06-25 Thread Enrico Weigelt, metux IT consult
On 25.06.2017 22:10, Joe Perches wrote: >> Yeah, that's still an open problem. Actually, I still haven't found out, >> how it's done w/ all the other kernel-internal conversions. > > Everything else uses "%p", hmm, but errno's aren't pointers. Isn't %p checked for pointer values ? >> Already

Re: [PATCH] rpmsg: cleanup incorrect function in dev_err message

2017-06-25 Thread Bjorn Andersson
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote: > Trivial cleanup for incorrect function in dev_err message > > Signed-off-by: Henri Roosen Applied, thanks > --- > drivers/rpmsg/rpmsg_char.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH] rpmsg: rpmsg_core: fix null-ptr dereference for devices without ops

2017-06-25 Thread Bjorn Andersson
On Fri 02 Jun 04:35 PDT 2017, Henri Roosen wrote: > A device might not have an ops structure registered. This > patch fixes a null-prt dereference by checking ops before dereferencing > it. > In what scenario do you end up with a rpdev without ops defined? You need at least create_ept defined

[PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/net/bonding/bond_netlink.c | 3 ++- drivers/net/can/dev.c | 3 ++- drivers/net/dummy.c| 3 ++- drivers/net/geneve.c | 3 ++-

Re: [PATCH] MAINTAINERS: Add Qualcomm pinctrl drivers section

2017-06-25 Thread Linus Walleij
On Wed, Jun 21, 2017 at 7:25 AM, Bjorn Andersson wrote: > Document the maintainership of the Qualcomm pinctrl drivers to improve the > hitrate. > > Signed-off-by: Bjorn Andersson Patch applied. Thanks! Yours, Linus Walleij

[patch v4 3/3] staging: speakup: make ttyio synths use device name

2017-06-25 Thread Okash Khawaja
This patch introduces new module parameter, dev, which takes a string representing the device that the external synth is connected to, e.g. ttyS0, ttyUSB0 etc. This is then used to communicate with the synth. That way, speakup can support more than ttyS*. As of this patch, it only supports ttyS*,

[patch v4 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-25 Thread Okash Khawaja
This patch adds functionality to validate and convert either a device name or 'ser' memmber of synth into dev_t. Subsequent patch in this set will call it to convert user-specified device into device number. For device name, this patch does some basic sanity checks on the string passed in. It

[patch v4 0/3] staging: speakup: support more than ttyS*

2017-06-25 Thread Okash Khawaja
Hi, v3 of this patch set introduced the compiler warning: drivers//tty/tty_io.c:348:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] This version fixes that warning in patch 1/3. Thanks, Okash

Re: [PATCH 3/4] btrfs: Add zstd support

2017-06-25 Thread kbuild test robot
Hi Nick, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nick-Terrell/lib-Add-xxhash-module/20170625-214344 config

[PATCH] staging: sm750fb: fix sparce warning.

2017-06-25 Thread AbdAllah-MEZITI
This patch fixes the following sparce warnings: different lock contexts for basic block. drivers/staging/sm750fb//sm750.c:159:13: warning: context imbalance in 'lynxfb_ops_fillrect' - different lock contexts for basic block drivers/staging/sm750fb//sm750.c:231:9: warning: context imbalance in

Re: [PATCH v2] sparc64: Fix gup_huge_pmd

2017-06-25 Thread David Miller
From: Nitin Gupta Date: Thu, 22 Jun 2017 17:15:08 -0700 > The function assumes that each PMD points to head of a > huge page. This is not correct as a PMD can point to > start of any 8M region with a, say 256M, hugepage. The > fix ensures that it points to the correct

[PATCH 2/6] vmbus: drop unused ring_buffer_info elements

2017-06-25 Thread kys
From: Stephen Hemminger The elements ring_data_start_offset and priv_write_index are not used. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- include/linux/hyperv.h |2 -- 1 files changed, 0

[PATCH 5/6] vmbus: more host signalling avoidance

2017-06-25 Thread kys
From: Stephen Hemminger Don't signal host if it has disabled interrupts for that ring buffer. Check the feature bit to see if host supports pending send size flag. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan

Re: [PATCH] lib: vsprintf: add printf format conversion %M for errno strings

2017-06-25 Thread Joe Perches
On Sun, 2017-06-25 at 21:53 +0200, Enrico Weigelt, metux IT consult wrote: > On 25.06.2017 19:27, Joe Perches wrote: > > > Every use of %M is going to cause gcc when using __printf to emit > > a warning like: > > > > unknown conversion type character ‘M’ in format [-Wformat=] > > Yeah, that's

Re: [PATCH] iio: dac: DS4424: add Maxim DS4422/DS4424 DAC driver support (fwd)

2017-06-25 Thread Julia Lawall
Both tests on lines 531-532 are the same. julia -- Forwarded message -- Date: Mon, 26 Jun 2017 04:19:55 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re: [PATCH] iio: dac: DS4424: add Maxim DS4422/DS4424

[PATCH] sata_via: Enable optional hotplug on VT6420

2017-06-25 Thread Ondrej Zary
VT6420 seems to have the same hotplug capability as VT6421. However, enabling hotplug needs to expose SCR registers which can cause problems. It works for me but might break elsewhere. So add a module parameter vt6420_hotplug to enable this feature. Signed-off-by: Ondrej Zary

[PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
SATA clock on sun4i/sun7i is of type (parent) / M / 6 where 6 is fixed post-divider. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu_div.c | 12 ++-- drivers/clk/sunxi-ng/ccu_div.h | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git

[PATCH v4 6/6] ARM: sun4i: Convert to CCU

2017-06-25 Thread Priit Laes
Convert sun4i-a10.dtsi to new CCU driver. Tested on Gemei G9 tablet. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 643 +++- 1 file changed, 72 insertions(+), 571 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi

gcc 4.6.3 miscompile on ppc32 (was Re: Regression in kernel 4.12-rc1 for Powerpc 32 - bisected to commit 3448890c32c3)

2017-06-25 Thread Al Viro
On Sun, Jun 25, 2017 at 12:14:04PM +0100, Al Viro wrote: > On Sun, Jun 25, 2017 at 10:53:58AM +0100, Al Viro wrote: > > On Sat, Jun 24, 2017 at 12:29:23PM -0500, Larry Finger wrote: > > > > > I made a break through. If I turn off inline copy to/from users for 32-bit > > > ppc with the following

[PATCH v4 3/6] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-06-25 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 0/6] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-06-25 Thread Priit Laes
Hi, This serie brings A10 (sun4i) and A20 (sun7i) SoCs into the sunxi-ng world. As mentioned in sun5i conversion, this is pretty much standard stuff as all the required clocks were already implemented in the sunxi-ng framework. Changes from v3: - Add support for fixed post-divider support for

[PATCH v4 4/6] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-06-25 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v4 1/4] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver

2017-06-25 Thread Sylwester Nawrocki
Hi Jose, Thank you for addressing my review comments. Couple more suggestions below. On 06/20/2017 07:26 PM, Jose Abreu wrote: > This adds support for the Synopsys Designware HDMI RX PHY e405. This > phy receives and decodes HDMI video that is delivered to a controller. > +static int

Re: [PATCH v4 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-25 Thread Sylwester Nawrocki
On 06/20/2017 07:26 PM, Jose Abreu wrote: > This is an initial submission for the Synopsys Designware HDMI RX > Controller Driver. This driver interacts with a phy driver so that > a communication between them is created and a video pipeline is > configured. > Signed-off-by: Jose Abreu

Re: [PATCH 3/4] btrfs: Add zstd support

2017-06-25 Thread Adam Borowski
On Mon, Jun 26, 2017 at 03:03:17AM +0800, kbuild test robot wrote: > Hi Nick, > > url: > https://github.com/0day-ci/linux/commits/Nick-Terrell/lib-Add-xxhash-module/20170625-214344 > config: i386-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20

[PATCH][-next] ath10k: fix a bunch of spelling mistakes in messages

2017-06-25 Thread Colin King
From: Colin Ian King Fix the following spelling mistakes in messages: syncronise -> synchronize unusally -> unusually addrress -> address inverval -> interval Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/mac.c

[PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread AbdAllah-MEZITI
Signed-off-by: AbdAllah MEZITI --- drivers/staging/sm750fb/sm750.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 386d4ad..4a22190 100644 ---

Re: [PATCH] ata: ftide010: fix resource printing

2017-06-25 Thread Linus Walleij
On Thu, Jun 22, 2017 at 12:00 AM, Arnd Bergmann wrote: > The new driver uses an incorrect format string for resource_size_t: > > drivers/ata/pata_ftide010.c: In function 'pata_ftide010_probe': > drivers/ata/pata_ftide010.c:520:17: warning: format '%x' expects argument of > type

Re: gcc 4.6.3 miscompile on ppc32 (was Re: Regression in kernel 4.12-rc1 for Powerpc 32 - bisected to commit 3448890c32c3)

2017-06-25 Thread Al Viro
On Sun, Jun 25, 2017 at 04:44:09PM -0500, Segher Boessenkool wrote: > Do you have a short stand-alone testcase? 4.6 is ancient, of course, but > the actual problem may still exist in more recent compilers (if it _is_ > a compiler problem; if it's not, you *really* want to know :-) ) Enjoy. At

Re: [PATCH] ARM: dts: exynos: Exynos5422 Odroid-XU* incomplete thermal-zones definition

2017-06-25 Thread Krzysztof Kozlowski
On Sun, Jun 25, 2017 at 10:25:32PM +0530, Anand Moon wrote: > Hi Krzysztof > > On 25 June 2017 at 20:59, Krzysztof Kozlowski wrote: > > On Sun, Jun 25, 2017 at 08:48:13PM +0530, Anand Moon wrote: > >> Hi Krzystof, > >> >> 2: We should also increase the tips from 4 to 8 to

[PATCH v2] PM / wakeirq: Convert to SRCU

2017-06-25 Thread Thomas Gleixner
The wakeirq infrastructure uses RCU to protect the list of wakeirqs. That breaks the irq bus locking infrastructure, which is allows sleeping functions to be called so interrupt controllers behind slow busses, e.g. i2c, can be handled. The wakeirq functions hold rcu_read_lock and call into irq

pull-request: wireless-drivers-next 2017-06-25

2017-06-25 Thread Kalle Valo
Hi Dave, yet another pull request to net-next for 4.13, more info in the signed tag below. While doing a test merge on net-next I noticed git doing quite a lot of auto-merging, maybe because of mac80211 API changes, but luckily no conflicts. But please do let me know if you have any problems.

[PATCH 3/6] vmbus: refactor hv_signal_on_read

2017-06-25 Thread kys
From: Stephen Hemminger The function hv_signal_on_read was defined in hyperv.h and only used in one place in ring_buffer code. Clearer to just move it inline there. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan

[PATCH 6/6] vmbus: add prefetch to ring buffer iterator

2017-06-25 Thread kys
From: Stephen Hemminger When iterating over incoming ring elements from the host, prefetch the next descriptor so that it is cache hot. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan ---

[PATCH 0/6] Drivers: hv: vmbus: Ringbuffer cleanup and optimizations

2017-06-25 Thread kys
From: K. Y. Srinivasan This patch set removes unused bits from vmbus internals, and also does some optimization to the host signalling part of ring buffer logic. Stephen Hemminger (6): vmbus: simplify hv_ringbuffer_read vmbus: drop unused ring_buffer_info elements

[PATCH 4/6] vmbus: eliminate duplicate cached index

2017-06-25 Thread kys
From: Stephen Hemminger Don't need cached read index anymore now that packet iterator is used. The iterator has the original read index until the visible read_index is updated. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan

[PATCH 1/6] vmbus: simplify hv_ringbuffer_read

2017-06-25 Thread kys
From: Stephen Hemminger With new iterator functions (and the double mapping) the ring buffer read function can be greatly simplified. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan ---

Re: [PATCH v2] mm: Add SLUB free list pointer obfuscation

2017-06-25 Thread Kees Cook
On Thu, Jun 22, 2017 at 6:50 PM, Kees Cook wrote: > This SLUB free list pointer obfuscation code is modified from Brad > Spengler/PaX Team's code in the last public patch of grsecurity/PaX based > on my understanding of the code. Changes or omissions from the original >

Re: [PATCH] staging: sm750fb: fix sparce warning.

2017-06-25 Thread Frans Klaver
On 25 June 2017 21:10:36 CEST, AbdAllah-MEZITI wrote: >This patch fixes the following sparce warnings: different lock contexts >for basic block. > >drivers/staging/sm750fb//sm750.c:159:13: warning: context imbalance in >'lynxfb_ops_fillrect' - different lock

Re: [PATCH] rpmsg: virtio_rpmsg_bus: fix announce for devices without endpoint

2017-06-25 Thread Bjorn Andersson
On Fri 02 Jun 04:35 PDT 2017, Henri Roosen wrote: > A device might not have an endpoint assigned. This patch checks if > rpdev->ept has a value before dereferencing or using it. > Applied, thanks. > Signed-off-by: Henri Roosen > --- >

RFC: abstraction for RPC'ish hardware drivers ? mailbox ? netif ?

2017-06-25 Thread Enrico Weigelt, metux IT consult
Hi folks, I'm currently implementing drivers for an industrial backplane, (*1) which uses some kind of rpc / command-response mechanism. There're different variants, eg. some proprietary serial interface, USB link, pci cards, etc. On top of that there's a block-based command- response mechanism

Re: [PATCH] rpmsg: virtio_rpmsg_bus: cleanup multiple assignment to ops

2017-06-25 Thread Bjorn Andersson
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote: > Trivial cleanup: the .ops pointer is assigned twice. This patch removes the > first assignment. > > Signed-off-by: Henri Roosen Applied, thanks > --- > drivers/rpmsg/virtio_rpmsg_bus.c | 3 --- > 1 file changed,

Re: gcc 4.6.3 miscompile on ppc32 (was Re: Regression in kernel 4.12-rc1 for Powerpc 32 - bisected to commit 3448890c32c3)

2017-06-25 Thread Segher Boessenkool
On Sun, Jun 25, 2017 at 09:53:24PM +0100, Al Viro wrote: > Confirmed. It manages to bugger the loop immediately after the (successful) > copying of iovec array in rw_copy_check_uvector(); both with and without > INLINE_COPY_FROM_USER it has (just before the call of copy_from_user()) r27 > set to

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Jonathan Liu
Hi Priit, This is showing from clock rate of 171428572 in the output of "cat /sys/kernel/debug/clk/clk_summary" for pll-periph-sata. The clock rate should be 1 (100 MHz) when read from the hardware. On 26 June 2017 at 06:45, Priit Laes wrote: > SATA clock on sun4i/sun7i

[PATCH] rpmsg: Don't overwrite release op of rpdev

2017-06-25 Thread Bjorn Andersson
b0b03b811963 ("rpmsg: Release rpmsg devices in backends") attempted to correct the ownership of freeing rpmsg device memory. But the patch is not complete, in that the rpmsg core will overwrite the release op as the device is being registered. Fixes: b0b03b811963 ("rpmsg: Release rpmsg devices in

Re: [PATCH v2 2/7] staging: ccree: register setkey for none hash macs

2017-06-25 Thread Gilad Ben-Yossef
On Fri, Jun 23, 2017 at 7:29 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 22, 2017 at 04:36:56PM +0300, Gilad Ben-Yossef wrote: >> Fix a bug where the transformation init code did >> not register a setkey method for none hash based MACs. > > "none hash based MACs"? Is

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Mon, Jun 26, 2017 at 03:35:25AM +0100, Al Viro wrote: > On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > > The series aims at isolating data conversions of time_t based structures: > > struct timespec and struct itimerspec at user space boundaries. > > This helps to later

Re: [RFC v3 02/23] powerpc: introduce set_hidx_slot helper

2017-06-25 Thread Benjamin Herrenschmidt
On Mon, 2017-06-26 at 09:03 +1000, Balbir Singh wrote: > On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote: > > Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) > > bits at the appropriate location in the PTE of 4K PTE. In the > > case of 64K PTE, it sets the bits

[PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-06-25 Thread sayli karnik
Add function parameters in kernel-doc comments to fix warnings in the Sphinx build: transaction.c:511: warning: No description found for parameter 'type' transaction.c:511: warning: No description found for parameter 'line_no' Signed-off-by: sayli karnik ---

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Greg Kroah-Hartman
On Sun, Jun 25, 2017 at 11:39:20PM +0200, AbdAllah-MEZITI wrote: > Signed-off-by: AbdAllah MEZITI I can't take patches without any changelog text, sorry. greg k-h

[GIT PULL] one last s390 patch for 4.12-rc8/4.12

2017-06-25 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Revert the re-IPL semantics back to the v4.7 state. It turned out that the memory layout may change due to memory hotplug if

Re: [PATCH V4] acpi: acpica: fix acpi parse and parseext cache leaks

2017-06-25 Thread Seunghun Han
Hello, Andy. Thank you for your reply. Patch V4 is the last patch which is applied all changes from original code. Due to maintainer's advice, Patch V1, V2, V3 have reverted and I made the latest patch, Patch V4. (the review is here, https://github.com/acpica/acpica/pull/278) Therefore, it

Re: Linux 4.4.74

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index ca64ca566099..7c77d7edb851 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3580,6 +3580,13 @@ bytes respectively. Such letter suffixes can also be entirely

[PATCH V5] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-25 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. This patch adds a platform driver to support the command/response interface

[PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread AbdAllah-MEZITI
This patch - will always take the lock - fix the sparse warning: drivers/staging/sm750fb/sm750.c:159:13: warning: context imbalance in 'lynxfb_ops_fillrect' - different lock contexts for basic block drivers/staging/sm750fb/sm750.c:231:9: warning: context imbalance in 'lynxfb_ops_copyarea' -

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread Jonathan Cameron
On 26 June 2017 04:54:52 CEST, zhiyong tao wrote: >On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: >> On Thu, 22 Jun 2017 13:44:33 +0800 >> Zhiyong Tao wrote: >> >> > This patch supports auxadc suspend/resume flow. >> > Disable

Re: Linux 3.18.58

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index b2bdea1953e6..9abe55280cf6 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3324,6 +3324,13 @@ bytes respectively. Such letter suffixes can also be entirely

Linux 3.18.58

2017-06-25 Thread Greg KH
I'm announcing the release of the 3.18.58 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH 6/6] mm, migration: do not trigger OOM killer when migrating memory

2017-06-25 Thread Michal Hocko
On Fri 23-06-17 13:43:05, Andrew Morton wrote: > On Fri, 23 Jun 2017 10:53:45 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > Page migration (for memory hotplug, soft_offline_page or mbind) needs > > to allocate a new memory. This can trigger an

Linux 4.4.74

2017-06-25 Thread Greg KH
I'm announcing the release of the 4.4.74 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH v4 2/3] tracing: Add support for display of tgid in trace output

2017-06-25 Thread Joel Fernandes
Earlier patches introduced ability to record the tgid using the 'record-tgid' option. Here we read the tgid and output it if the option is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain

[PATCH v4 1/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Inorder to support recording of tgid, the following changes are made: * Introduce a new API (tracing_record_taskinfo) to additionally record the tgid along with the task's comm at the same time. This has has the benefit of not setting trace_cmdline_save before all the information for a task

[PATCH v4 3/3] tracing/ftrace: Add support to record and display tgid

2017-06-25 Thread Joel Fernandes
Make function tracer able to record tgid if/when record-tgid is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes ---

[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven, Following your comments in [1], I reworked the patches. I agree its much cleaner now. Please check them out and thanks. Android systrace viewer heavily depends on the tgid to group tasks. tgid is also useful for analyzing traces and generating analysis results for groups of tasks.

Re: [PATCH 11/14] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-06-25 Thread Michal Hocko
On Sun 25-06-17 08:14:13, Wei Yang wrote: > On Mon, May 15, 2017 at 10:58:24AM +0200, Michal Hocko wrote: > >From: Michal Hocko > > > [...] > >+void move_pfn_range_to_zone(struct zone *zone, > >+unsigned long start_pfn, unsigned long nr_pages) > >+{ > >+struct

[PATCH] cpuidle: menu: allow state 0 to be disabled

2017-06-25 Thread Nicholas Piggin
The menu driver does not allow state0 to be disabled completely. If it is disabled but other enabled states don't meet latency requirements, it is still used. Fix this by starting with the first enabled idle state. Fall back to state 0 if no idle states are enabled (arguably this should be

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-25 Thread kbuild test robot
Hi Palmer, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6] [cannot apply to next-20170623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-25 Thread David Gstir
Herbert, > On 20 Jun 2017, at 03:28, Herbert Xu wrote: > > On Mon, Jun 19, 2017 at 10:31:27AM +, Horia Geantă wrote: >> >> IIUC, IV update is required only in case of CBC. >> Since this callback is used also for CTR, we should avoid the copy: >> if

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
On Mon, Jun 26, 2017 at 08:05:16AM +1000, Jonathan Liu wrote: > Hi Priit, > > This is showing from clock rate of 171428572 in the output of "cat > /sys/kernel/debug/clk/clk_summary" for pll-periph-sata. > The clock rate should be 1 (100 MHz) when read from the hardware. This is what I

Hello

2017-06-25 Thread Maria
Financial Donation to you. For details contact email: maria.c...@yandex.com

Directly accessing serial ports from drivers w/o TTYs ?

2017-06-25 Thread Enrico Weigelt, metux IT consult
Hi folks, is there already a way for accessing serial ports from drivers, w/o having to go through the TTY subsystem ? Serdev seems provide a connection between arbitrary TTYs to device drivers. But this implies always having a TTY for each UART (even if it's never used outside the kernel). Is

Re: [PATCH] lib: vsprintf: add printf format conversion %M for errno strings

2017-06-25 Thread Randy Dunlap
On 06/25/2017 02:18 PM, Enrico Weigelt, metux IT consult wrote: > On 25.06.2017 22:10, Joe Perches wrote: > >>> Yeah, that's still an open problem. Actually, I still haven't found out, >>> how it's done w/ all the other kernel-internal conversions. >> >> Everything else uses "%p", > > hmm, but

<    1   2   3   4   5   6   >