Re: [linux-sunxi] Re: [PATCH v2 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-06-10 Thread icenowy
在 2017-06-07 17:42,Maxime Ripard 写道: On Mon, Jun 05, 2017 at 12:01:48AM +0800, Icenowy Zheng wrote: + soc { + display_clocks: clock@100 { + compatible = "allwinner,sun8i-a83t-de2-clk"; + reg = <0x0100 0x10>; +

[GIT PULL] KVM changes for 4.12-rc5

2017-06-10 Thread Paolo Bonzini
Linus, The following changes since commit 3c2993b8c6143d8a5793746a54eba8f86f95240f: Linux 4.12-rc4 (2017-06-04 16:47:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 9bc1f09f6fa76fdf31eb7d6a4a4df43

Re: [PATCH v2 07/11] drm: sun4i: add support for the TV encoder in H3 SoC

2017-06-10 Thread icenowy
在 2017-06-07 17:38,Maxime Ripard 写道: On Mon, Jun 05, 2017 at 12:01:45AM +0800, Icenowy Zheng wrote: Allwinner H3 features a TV encoder similar to the one in earlier SoCs, but has a internal fixed clock divider that divides the TCON1 clock (called TVE clock in datasheet) by 11. Add support for i

[PATCH 1/2] scsi: qedi: Fix a return value in case of error in 'qedi_alloc_global_queues'

2017-06-10 Thread Christophe JAILLET
We should return -ENOMEM in case of memory allocation error, as done elsewhere in this function. Fixes: ace7f46ba5fde ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.") Signed-off-by: Christophe JAILLET --- drivers/scsi/qedi/qedi_main.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH 2/2] scsi: qedi: Use 'dma_zalloc_coherent' to reduce code verbosity.

2017-06-10 Thread Christophe JAILLET
Replace some 'dma_alloc_coherent+memset' by some quivalent 'dma_zalloc_coherent' in order to reduce code verbosity Signed-off-by: Christophe JAILLET --- This patch generates some checkpatch errors about the use of space to indent code. I've left it as-is to keep consistency with the style used i

[PATCH 0/2] Fix a return value + some cleanups

2017-06-10 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The other path is just a cleanup in the same area. Christophe JAILLET (2): scsi: qedi: Fix a return value in case of error in 'qedi_alloc_global_queues' scsi: qedi: Use 'dma_zalloc_coherent' to reduce code verbosity. dr

Re: [PATCH 2/3] cpufreq: schedutil: Fix selection algorithm while reducing frequency

2017-06-10 Thread Joel Fernandes
On Sat, Jun 10, 2017 at 2:11 AM, Joel Fernandes wrote: > On Fri, Jun 9, 2017 at 3:15 AM, Viresh Kumar wrote: >> While reducing frequency if there are no frequencies available between >> "current" and "next" calculated frequency, then the core will never >> select the "next" frequency. >> >> For e

Re: [PATCH v1 1/1] gpio: of: provide option generic property for initial line states

2017-06-10 Thread Oleksij Rempel
Hi Rob, On Fri, Jun 09, 2017 at 10:41:30AM -0500, Rob Herring wrote: > On Fri, Jun 9, 2017 at 9:16 AM, Oleksij Rempel > wrote: > > This property is needed for barebox or may be other bootloaders > > to set proper gpio configuration as early as possible. > > > > This example is mainly based on "l

[PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-10 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c |

[PATCH v2 0/3] TPS68470 PMIC drivers

2017-06-10 Thread Rajmohan Mani
This is the patch series for TPS68470 PMIC that works as a camera PMIC. The patch series provide the following 3 drivers, to help configure the voltage regulators, clocks and GPIOs provided by the TPS68470 PMIC, to be able to use the camera sensors connected to this PMIC. TPS68470 MFD driver: Thi

[PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-10 Thread Rajmohan Mani
The TPS68470 device is an advanced power management unit that powers a Compact Camera Module (CCM), generates clocks for image sensors, drives a dual LED for Flash and incorporates two LED drivers for general purpose indicators. This patch adds support for TPS68470 mfd device. Signed-off-by: Rajm

[PATCH v2 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-10 Thread Rajmohan Mani
The Kabylake platform coreboot (Chrome OS equivalent of BIOS) has defined 4 operation regions for the TI TPS68470 PMIC. These operation regions are to enable/disable voltage regulators, configure voltage regulators, enable/disable clocks and to configure clocks. This config adds ACPI operation reg

[PATCH 1/3] scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues'

2017-06-10 Thread Christophe JAILLET
We should return -ENOMEM in case of memory allocation error, as done elsewhere in this function. Fixes: 61d8658b4a435 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.") Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 1 + 1 file changed, 1 insertion(+) dif

[PATCH 2/3] scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.

2017-06-10 Thread Christophe JAILLET
Replace some 'dma_alloc_coherent+memset' by some quivalent 'dma_zalloc_coherent' in order to reduce code verbosity Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/qedf/qedf_m

[PATCH 0/3] scsi: qedf: Fix a return value + some cleanups

2017-06-10 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The 2 other patches are just cleanups in the same area. Christophe JAILLET (3): scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues' scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.

[PATCH 3/3] scsi: qedf: Merge a few quoted strings split across lines

2017-06-10 Thread Christophe JAILLET
Merge some quoted strings to improve readability and to save some lines of code. Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main

Re: [PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-10 Thread Keerthy
On Sunday 11 June 2017 10:36 AM, Keerthy wrote: > > > On Friday 09 June 2017 07:58 PM, Rob Herring wrote: >> On Thu, Jun 08, 2017 at 09:38:14AM +0530, Keerthy wrote: >>> The LP87565 chip is a power management IC for Portable Navigation Systems >>> and Tablet Computing devices. It contains the f

Re: [PATCH v2] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-06-10 Thread Keerthy
On Friday 09 June 2017 05:18 AM, Javier Martinez Canillas wrote: > On Fri, Jun 9, 2017 at 1:18 AM, Keerthy wrote: > > [snip] > >>> > > -static const struct i2c_device_id tps65217_id_table[] = { > - {"tps65217", TPS65217}, > - { /* sentinel */ } > -}; > -MODU

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-06-10 Thread Hao Wei Tee
On 5/30/17 10:05 PM, Hao Wei Tee wrote: > On 5/30/17 9:22 PM, Andy Shevchenko wrote: >> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: >>> On 5/27/17 3:31 PM, Hao Wei Tee wrote: This exposes the battery conservation mode present on some (?) IdeaPads. The mode is set by calling ACPI

Re: [PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-10 Thread Keerthy
On Friday 09 June 2017 07:58 PM, Rob Herring wrote: > On Thu, Jun 08, 2017 at 09:38:14AM +0530, Keerthy wrote: >> The LP87565 chip is a power management IC for Portable Navigation Systems >> and Tablet Computing devices. It contains the following components: >> >> - Configurable Bucks(Sin

RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-10 Thread Mani, Rajmohan
Hi Linus, Thanks for the reviews. > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Friday, June 09, 2017 4:15 AM > To: Mani, Rajmohan > Cc: linux-kernel@vger.kernel.org; linux-g...@vger.kernel.org; ACPI Devel > Maling List ; Lee Jones ; > Alexandre Cou

[PATCH] scsi: mpt3sas: Fix value returned by 'mpt3sas_base_attach' in case of error

2017-06-10 Thread Christophe JAILLET
'r' is known to be zero here, so it must be set to -ENOMEM is one of these 'kzalloc' fails. Fixes: c696f7b83edea ("scsi: mpt3sas: Implement device_remove_in_progress check in IOCTL path") Signed-off-by: Christophe JAILLET --- drivers/scsi/mpt3sas/mpt3sas_base.c | 8 ++-- 1 file changed, 6 i

Re: [PATCH] gpio: lp87565: Add support for GPIO

2017-06-10 Thread Keerthy
On Friday 09 June 2017 02:06 PM, Linus Walleij wrote: > On Thu, Jun 1, 2017 at 5:10 AM, Keerthy wrote: > >> Add driver for lp87565 PMIC family GPIOs. Three GPIOs are supported >> and can be configured in Open-drain output or Push-pull output. >> >> Signed-off-by: Keerthy > > (...) >> The late

[PATCH v3 1/2] PCI: iproc: Retry request when CRS returned from EP

2017-06-10 Thread Oza Pawandeep
For Configuration Requests only, following reset it is possible for a device to terminate the request but indicate that it is temporarily unable to process the Request, but will be able to process the Request in the future – in this case, the Configuration Request Retry Status 10 (CRS) Completion S

[PATCH v3 0/2] PCI: iproc: SOC specific fixes

2017-06-10 Thread Oza Pawandeep
PCI: iproc: Retry request when CRS returned from EP Above patch adds support for CRS in PCI RC driver, otherwise if not handled at lower level, the user space PMD (poll mode drivers) can timeout. PCI: iproc: add device shutdown for PCI RC This fixes the issue where certian PCI endpoints are not

[PATCH v3 2/2] PCI: iproc: add device shutdown for PCI RC

2017-06-10 Thread Oza Pawandeep
PERST# must be asserted around ~500ms before the reboot is applied. During soft reset (e.g., "reboot" from Linux) on some iProc based SoCs LCPLL clock and PERST both goes off simultaneously. This will cause certain Endpoints Intel NVMe not get detected, upon next boot sequence. This happens becau

[PATCH 4/5] watchdog: it87: Use infrastructure to stop watchdog on reboot

2017-06-10 Thread Guenter Roeck
Use watchdog_stop_on_reboot() to stop the watchdog on reboot instead of registering a driver-specific notifier. While at it, reorder remaining include files alphabetically. Signed-off-by: Guenter Roeck --- drivers/watchdog/it87_wdt.c | 34 +- 1 file changed, 5 in

[PATCH 3/5] watchdog: it87: Drop support for resetting watchdog though CIR and Game port

2017-06-10 Thread Guenter Roeck
Resetting the watchdog timer on CIR interrupts or on game port interrupts is not not supported on recent chips, and doesn't really tell if the system is stable. On top of that, at least the bit to enable resetting the watchdog through the game port is used differently on recent chips. Drop resettin

[PATCH 2/5] watchdog: it87: Convert to use watchdog core infrastructure

2017-06-10 Thread Guenter Roeck
Signed-off-by: Guenter Roeck --- drivers/watchdog/Kconfig| 1 + drivers/watchdog/it87_wdt.c | 375 +--- 2 files changed, 72 insertions(+), 304 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 8b9049dac094..20020a4bb

[PATCH 5/5] watchdog: it87: Add support for various Super-IO chips

2017-06-10 Thread Guenter Roeck
Add support for IT8607, IT8622, IT8625, IT8628, IT8655, IT8665, and IT8686. Signed-off-by: Guenter Roeck --- drivers/watchdog/Kconfig| 7 --- drivers/watchdog/it87_wdt.c | 19 +-- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/Kconfig b/

[PATCH 1/5] watchdog: it87: Drop FSF mailing address

2017-06-10 Thread Guenter Roeck
The FSF mailing address may change. Drop it. Signed-off-by: Guenter Roeck --- drivers/watchdog/it87_wdt.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index b9878c41598f..8c847f8c2470 100644 --- a/drivers/watchdog/it87_wdt.c +++

RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-10 Thread Mani, Rajmohan
Hi Andy, Thanks for the reviews and patience. > > On Tue, Jun 6, 2017 at 2:55 PM, Rajmohan Mani > wrote: > > This patch adds support for TPS68470 GPIOs. > > There are 7 GPIOs and a few sensor related GPIOs. > > These GPIOs can be requested and configured as appropriate. > > Besides my below co

Re: [PATCH net-next 6/9] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-10 Thread Andrew Lunn
> > +int hclge_mac_mdio_config(struct hclge_dev *hdev) > > +{ > > + struct hclge_mac *mac = &hdev->hw.mac; > > + struct mii_bus *mdio_bus; > > + struct net_device *ndev = &mac->ndev; > > + struct phy_device *phy; > > + bool is_c45; > > + int ret; > > + > > + if (hdev->hw.mac.phy_addr

Re: [PATCH 08/44] xen-swiotlb: implement ->mapping_error

2017-06-10 Thread Konrad Rzeszutek Wilk
On Thu, Jun 08, 2017 at 03:25:33PM +0200, Christoph Hellwig wrote: > DMA_ERROR_CODE is going to go away, so don't rely on it. Reviewed-by: Konrad Rzeszutek Wilk

Re: [PATCH 07/44] xen-swiotlb: consolidate xen_swiotlb_dma_ops

2017-06-10 Thread Konrad Rzeszutek Wilk
On Thu, Jun 08, 2017 at 03:25:32PM +0200, Christoph Hellwig wrote: > ARM and x86 had duplicated versions of the dma_ops structure, the > only difference is that x86 hasn't wired up the set_dma_mask, > mmap, and get_sgtable ops yet. On x86 all of them are identical > to the generic version, so they

Re: [PATCH v2 0/3] Add more algorithms and some misc cleanups

2017-06-10 Thread George Cherian
Hi Herbert, Ping on this series Regards, -George Cherian On Thu, May 4, 2017 at 5:04 PM, George Cherian wrote: > This series adds more algorithm support for CPT. > Add support for > -ecb(aes) > -cfb(aes) > -ecb(des3_ede) > > Some cleanups too. > > George Cherian (3):

[GIT PULL] hexagon fix for v4.12-rc5

2017-06-10 Thread Guenter Roeck
Hi Linus, Please consider pulling a hexagon fix for Linux v4.12-rc5 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hexagon-for-linus-v4.12-rc5 This patch fixes a build error seen when building hexagon images. Richard sent me an Ack, but didn't reply

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-10 Thread Wei Yang
On Thu, Jun 08, 2017 at 02:23:18PM +0200, Michal Hocko wrote: >From: Michal Hocko > >movable_node kernel parameter allows to make hotplugable NUMA >nodes to put all the hotplugable memory into movable zone which >allows more or less reliable memory hotremove. At least this >is the case for the NU

[GIT PULL] AppArmor for 4.13

2017-06-10 Thread John Johansen
Hi James, Here is the apparmor pull request for 4.13 It contains * several bug fixes and cleanups * the patch to add symlink support to securityfs that was floated on the list earlier and the apparmorfs changes that make use of securityfs symlinks * it introduces the domain labeling base code

[rcu:rcu/next 66/109] kernel/rcu/srcu.c:516:15: error: redefinition of 'srcu_batches_completed'

2017-06-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: 0d02a83770da1e677b09192a22ae93a9788badcd commit: 5a0465e17a18c467b712a816985b7b8dd8d10c16 [66/109] srcu: Shrink srcu.h by moving docbook and private function config: mn10300-allmodconfig (attached as .c

Re: [PATCH v1 2/2] MIPS: PCI: Remove unused busn_offset

2017-06-10 Thread Joshua Kinard
On 05/19/2017 15:56, Bjorn Helgaas wrote: > pci_add_resource_offset() is for host bridge windows where the bridge > translates CPU addresses to PCI bus addresses by adding an offset. To my > knowledge, no host bridge translates bus numbers, so this is only useful > for MEM and IO windows. In any

Re: [PATCH] drm: Use vsnprintf extension %ph

2017-06-10 Thread Joe Perches
On Sat, 2017-06-10 at 19:12 +0300, Andy Shevchenko wrote: > On Wed, May 31, 2017 at 2:35 AM, Joe Perches wrote: > > Using the extension saves a bit of code. > > + seq_printf(m, "faux/mst: %*ph\n", 2, buf); > > + seq_printf(m, "mst ctrl: %*ph\n", 1, buf); > > +

[PATCH] compiler, clang: check before defining inline

2017-06-10 Thread Alexander Alemayhu
Fixes the compiler warning below introduced in abb2ea7dfd82 (compiler, clang: suppress warning for unused static inline functions, 2017-06-06) ./include/linux/compiler-gcc.h:78:9: note: previous definition is here ^ 1 warning generated. clang -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-

Re: [PATCH] compiler, clang: check before defining inline

2017-06-10 Thread Alexander Alemayhu
On Sun, Jun 11, 2017 at 01:55:20AM +0200, Alexander Alemayhu wrote: > > This is causing an error on out of tree builds for example using the > prototype-kernel repository. Should this be sent to Linus? > Sorry, this comment was meant for someone else. I just forgot to strip them out before sendin

Re: [Intel-wired-lan] [PATCH] i40evf: remove redundant null check on key

2017-06-10 Thread Alexander Duyck
On Sat, Jun 10, 2017 at 4:33 AM, Dan Carpenter wrote: > > This patch isn't right... > > On Wed, Jun 07, 2017 at 12:54:07AM +0100, Colin King wrote: >> From: Colin Ian King >> >> key has previously been null checked so the subsequent null check >> is redundant as key can never be null at that poin

Re: [PATCH 20/35] openrisc: defconfig: Cleanup from old Kconfig options

2017-06-10 Thread Stafford Horne
On Sat, Jun 10, 2017 at 06:42:27PM +0200, Krzysztof Kozlowski wrote: > On Sat, Jun 10, 2017 at 05:13:54PM +0900, Stafford Horne wrote: > > On Thu, Jun 08, 2017 at 06:10:31PM +0200, Krzysztof Kozlowski wrote: > > > Remove old, dead Kconfig option INET_LRO. It is gone since > > > commit 7bbf3cae65b6

Re: [PATCH v2 2/2] tcp: md5: extend the tcp_md5sig struct to specify a key address prefix

2017-06-10 Thread David Miller
From: Ivan Delalande Date: Fri, 9 Jun 2017 19:14:49 -0700 > Add a flag field and address prefix length at the end of the tcp_md5sig > structure so users can configure an address prefix length along with a > key. Make sure shorter option values are still accepted in > tcp_v4_parse_md5_keys and tc

[PATCH] genirq: fix error path in __setup_irq

2017-06-10 Thread Heiner Kallweit
If __irq_set_trigger() fails irq_request_resources() was successfully called before. Therefore we should release all potentially claimed resources in the error path. Signed-off-by: Heiner Kallweit --- kernel/irq/manage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kern

Re: [PATCH] net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx

2017-06-10 Thread David Miller
From: Jia-Ju Bai Date: Sat, 10 Jun 2017 16:49:39 +0800 > The kernel may sleep under a rcu read lock in cfpkt_create_pfx, and the > function call path is: > cfcnfg_linkup_rsp (acquire the lock by rcu_read_lock) > cfctrl_linkdown_req > cfpkt_create > cfpkt_create_pfx > alloc_skb

Re: [PATCH] net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse

2017-06-10 Thread David Miller
From: Jia-Ju Bai Date: Sat, 10 Jun 2017 17:03:35 +0800 > The kernel may sleep under a rcu read lock in tipc_msg_reverse, and the > function call path is: > tipc_l2_rcv_msg (acquire the lock by rcu_read_lock) > tipc_rcv > tipc_sk_rcv > tipc_msg_reverse > pskb_expand_head(GFP_KE

Re: [PATCH] arm64/dma-mapping: Fix null-pointer check

2017-06-10 Thread Russell King - ARM Linux
On Sat, Jun 10, 2017 at 12:41:10PM -0700, Olav Haugan wrote: > @@ -149,6 +140,11 @@ static void *__dma_alloc(struct device *dev, size_t size, > bool coherent = is_device_dma_coherent(dev); This re-introduces an instance that you say you're

Re: [PATCH v8 17/34] [media] add Omnivision OV5640 sensor driver

2017-06-10 Thread Sakari Ailus
Hi Steve, On Wed, Jun 07, 2017 at 11:33:56AM -0700, Steve Longerbeam wrote: ... > +/* > + * FIXME: remove this when a subdev API becomes available > + * to set the MIPI CSI-2 virtual channel. > + */ > +static unsigned int virtual_channel; > +module_param(virtual_channel, int, 0); > +MODULE_PARM_DE

Re: [PATCH 3/6] ccree: use constant time memory comparison for macs and tags

2017-06-10 Thread Henrique de Moraes Holschuh
On Sat, 10 Jun 2017, Jason A. Donenfeld wrote: > That's fine. As I mentioned, I really have no clue what this code's > trying to do. If this is just part of some test that doesn't deal with > actual messages that could be forged, then of course there's nothing > that needs to be done and this can b

Re: [PATCH 4/7] iommu: Add driver-not-bound notification

2017-06-10 Thread Joerg Roedel
On Fri, Jun 09, 2017 at 04:43:34PM -0600, Alex Williamson wrote: > + case BUS_NOTIFY_DRIVER_NOT_BOUND: > + group_action = IOMMU_GROUP_NOTIFY_DRIVER_NOT_BOUND; > + break; Ah yes, I missed that too when looking at the patch. Still Acked-by-Me :) Joerg

[GIT PULL] SCSI fixes for 4.12-rc4

2017-06-10 Thread James Bottomley
This is a set of user visible fixes (excepting one format string change). Four of the qla2xxx fixes only affect the firmware dump path, but it's still important to the enterprise. The rest are various NULL pointer crash conditions or outright driver hangs. The patch is available here: git://git

Re: [PATCH] scsi: remove useless variable assignment

2017-06-10 Thread James Bottomley
On Thu, 2017-05-18 at 12:41 -0500, Gustavo A. R. Silva wrote: > Hi James, > > Quoting James Bottomley : > > > On Wed, 2017-05-17 at 19:30 -0500, Gustavo A. R. Silva wrote: > > > Remove this assignment once the value stored in variable _k_ is > > > overwritten after a few lines. > > > > > > Addre

Re: [PATCH v5 03/23] scsi: hisi_sas: optimise the usage of hisi_hba.lock

2017-06-10 Thread kbuild test robot
Hi Xiang, [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on v4.12-rc4 next-20170609] [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/John-Garry/hisi_sas-hip08-support/201

Re: [linux-sunxi] Re: [PATCH v2] arm64: allwinner: a64: Add initial NanoPi A64 support

2017-06-10 Thread Maxime Ripard
On Fri, Jun 09, 2017 at 04:36:09PM +0100, Andre Przywara wrote: > Hi, > > On 09/06/17 16:26, Jagan Teki wrote: > > On Friday 09 June 2017 08:21 PM, Maxime Ripard wrote: > >> Hi Jagan, > >> > >> On Fri, Jun 09, 2017 at 12:40:52PM +, Jagan Teki wrote: > >>> +&i2c1 { > >>> +pinctrl-names = "d

Re: [PATCH v10 09/10] powerpc/perf: Thread IMC PMU functions

2017-06-10 Thread kbuild test robot
Hi Anju, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12-rc4 next-20170609] [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/Madhavan-Srinivasan/IMC-Instrumentation-Support

Re: [PATCH] l2tp: cast l2tp traffic counter to unsigned

2017-06-10 Thread David Miller
From: Eric Dumazet Date: Fri, 09 Jun 2017 17:29:11 -0700 > On Fri, 2017-06-09 at 15:16 -0700, Stephen Hemminger wrote: >> On Fri, 9 Jun 2017 16:29:47 +0200 >> Dominik Heidler wrote: >> >> > This fixes a counter problem on 32bit systems: >> > When the rx_bytes counter reached 2 GiB, it jumpd to

Re: [PATCH] drm/panel: st7789v: Add a dependency on the backlight framework

2017-06-10 Thread Maxime Ripard
On Tue, May 30, 2017 at 11:01:36PM +0200, Maxime Ripard wrote: > The driver depends on the backlight functions, but we have no dependency > on it in Kconfig. Add this dependency to avoid breakages. > > Signed-off-by: Maxime Ripard Ping? Maxime -- Maxime Ripard, Free Electrons Embedded Linux an

Re: [PATCH] net: aquantia: atlantic: remove declaration of hw_atl_utils_hw_set_power

2017-06-10 Thread David Miller
From: Philippe Reynes Date: Fri, 9 Jun 2017 23:50:57 +0200 > This function is not defined, so no need to declare it. > > As I don't have the hardware, I'd be very pleased if > someone may test this patch. > > Signed-off-by: Philippe Reynes Applied, thanks.

[PATCH] arm64/dma-mapping: Fix null-pointer check

2017-06-10 Thread Olav Haugan
The current null-pointer check in __dma_alloc_coherent and __dma_free_coherent is pretty much useless since we are dereferencing the pointer before checking for null. Check for null-pointer before the actual dereferencing of the pointer. Signed-off-by: Olav Haugan --- arch/arm64/mm/dma-mapping.c

Re: [PATCH v2 1/3] dt-bindings: remoteproc: Add Keystone DSP remoteproc binding

2017-06-10 Thread Santosh Shilimkar
On 6/7/2017 5:24 PM, Suman Anna wrote: Add the device tree bindings document for the Texas Instrument's Keystone 2 DSP remoteproc devices. Signed-off-by: Suman Anna Signed-off-by: Sam Nelson --- v2 Changes: - Modified the patch title - Dropped unstable binding status - Dropped the 'label

Re: [PATCH v2 3/3] remoteproc/keystone: Ensure the DSPs are in reset in probe

2017-06-10 Thread Santosh Shilimkar
On 6/7/2017 5:24 PM, Suman Anna wrote: From: "Andrew F. Davis" The DSPs are expected to be in reset when the driver probes a device. If the DSPs are out of reset in probe, the system may crash when the firmware is being loaded. So, add a check to make sure the DSP resets are asserted, and if no

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

2017-06-10 Thread Santosh Shilimkar
6/7/2017 5:24 PM, Suman Anna wrote: The Texas Instrument's Keystone 2 family of SoCs has 1 or more TMS320C66x DSP Core Subsystems (C66x CorePacs). Each subsystem has a C66x Fixed/Floating-Point DSP Core, with 32KB of L1P and L1D SRAMs, that can be configured and partitioned as either RAM and/or C

[GIT PULL] libnvdimm fix for 4.12-rc5

2017-06-10 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive a fix for an oversight spotted by Sasha. We expanded the device-dax fs type in 4.12 to be a generic provider of a struct dax_device with an embedded inode. However, Sasha found

Re: [PATCH v2] brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain

2017-06-10 Thread Arend van Spriel
On 03-06-17 17:36, Andy Shevchenko wrote: > On Sat, Jun 3, 2017 at 1:29 AM, Peter S. Housel wrote: >> An earlier change to this function (3bdae810721b) fixed a leak in the >> case of an unsuccessful call to brcmf_sdiod_buffrw(). However, the >> glom_skb buffer, used for emulating a scattering read

Re: [PATCH] RFC: platform/x86: wmi: Fix check for method instance number

2017-06-10 Thread Pali Rohár
On Saturday 27 May 2017 13:55:34 Pali Rohár wrote: > instance_count defines number of instances of data block and instance > itself is indexed from zero, which means first instance has number 0. > Therefore check for invalid instance should be non-strict inequality. > > Signed-off-by: Pali Rohár

[PATCH v1] extcon: int3496: Switch to devm_acpi_dev_add_driver_gpios()

2017-06-10 Thread Andy Shevchenko
Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify error path and fix potentially wrong assingment if ->probe() fails. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-int3496.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/ex

Re: [PATCH net-next 6/9] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-10 Thread Florian Fainelli
Le 06/09/17 à 20:46, Salil Mehta a écrit : > This patch adds the support of MDIO bus interface for HNS3 driver. > Code provides various interfaces to start and stop the PHY layer > and to read and write the MDIO bus or PHY. > > Signed-off-by: Daode Huang > Signed-off-by: lipeng > Signed-off-by:

[PATCH v9 19/34] media: Add i.MX media core driver

2017-06-10 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs. Signed-off-by: Philipp Zabel Add the bayer formats to imx-media's list of supported pixel and bus formats. Signed-off-by: Russell King --- Changes since v8 [1]:

[PATCH v9 02/34] [media] dt-bindings: Add bindings for i.MX media driver

2017-06-10 Thread Steve Longerbeam
Add bindings documentation for the i.MX media driver. Signed-off-by: Steve Longerbeam Acked-by: Rob Herring --- Changes since v8 [1]: - expand on description of the MIPI CSI-2 IP core in i.MX6, and drop "snps,dw-mipi-csi2" compatibility for now. [1] https://patchwork.linuxtv.org/patch/41717

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Linus Torvalds
On Sat, Jun 10, 2017 at 11:08 AM, Al Viro wrote: > > BTW, should I send an updated pull request in such situation? It's better if you do, although in this case it was obvious that you'd just added a single line and I could see the diffstat still match with that addition. But in general it just m

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Al Viro
On Sat, Jun 10, 2017 at 05:07:38PM +0100, Al Viro wrote: > On Sat, Jun 10, 2017 at 06:03:24AM -0700, Richard Narron wrote: > > > 2) After creating a new filesystem on FreeBSD, then on Linux copying a > > larger than 2GB file and creating a directory, the fsck back on FreeBSD > > looks ok. > > > >

[PATCH v4 14/14] libnvdimm, pmem: disable dax flushing when pmem is fronting a volatile region

2017-06-10 Thread Dan Williams
The pmem driver attaches to both persistent and volatile memory ranges advertised by the ACPI NFIT. When the region is volatile it is redundant to spend cycles flushing caches at fsync(). Check if the hosting region is volatile and do not set QUEUE_FLAG_WC if it is. Cc: Jan Kara Cc: Jeff Moyer C

Re: [PATCH] VFS: Differentiate mount flags (MS_*) from internal superblock flags

2017-06-10 Thread kbuild test robot
Hi David, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc4] [cannot apply to next-20170609] [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/David-Howells/VFS-Differ

Re: 4.12 REGRESSION, 4.12 does not boot as VirtualBox guest

2017-06-10 Thread Linus Torvalds
Oh, and Hans - please don't add closed mailing lists when you cc other people who aren't on the mailing list. If the vbox-dev mailing list isn't interested in my emails, I'm not interested in seeing them added to the thread either. Just say no to closed mailing lists. Linus

Re: 4.12 REGRESSION, 4.12 does not boot as VirtualBox guest

2017-06-10 Thread Linus Torvalds
On Fri, Jun 9, 2017 at 3:33 AM, Hans de Goede wrote: > > Sorry for escalating this right up to you, but this issue > does not seem to be getting any attention and I'm not sure > which subsys maintainer to poke about this. Looks like x86. Added people. > The problem is that the 4.12-rc# kernels f

Re: [PATCH] VFS: Differentiate mount flags (MS_*) from internal superblock flags

2017-06-10 Thread kbuild test robot
Hi David, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4] [cannot apply to next-20170609] [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/David-Howells/VFS-Differenti

Re: [PATCH 20/35] openrisc: defconfig: Cleanup from old Kconfig options

2017-06-10 Thread Krzysztof Kozlowski
On Sat, Jun 10, 2017 at 05:13:54PM +0900, Stafford Horne wrote: > On Thu, Jun 08, 2017 at 06:10:31PM +0200, Krzysztof Kozlowski wrote: > > Remove old, dead Kconfig option INET_LRO. It is gone since > > commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"). > > > > Signed-off-by: Krzysztof Kozlowsk

Re: [PATCH net-next 8/9] net: hns3: Add support of debugfs interface to HNS3 driver

2017-06-10 Thread Andrew Lunn
On Sat, Jun 10, 2017 at 12:51:57PM +, Mintz, Yuval wrote: > > This adds the support of the debugfs interface to the driver for debugging > > purposes. > > > +const struct hclge_support_cmd support_cmd[] = { > > + {"send cmd", 8, hclge_dbg_send, > > + "opcode flag data0 data1 data

RE: [PATCH v4] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-10 Thread Shaikh, Azhar
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Saturday, June 10, 2017 4:14 AM > To: Shaikh, Azhar > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org; linux-security-mod...@vger.kernel.or

Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-06-10 Thread Maxime Ripard
On Tue, Jun 06, 2017 at 12:45:17PM -0700, Kevin Hilman wrote: > On Mon, May 22, 2017 at 12:44 AM, Maxime Ripard > wrote: > > Hi Kevin, > > > > On Thu, May 18, 2017 at 11:59:50AM -0700, Kevin Hilman wrote: > >> On Fri, Mar 17, 2017 at 10:39 AM, Kevin Hilman > >> wrote: > >> > On Fri, Feb 10, 2017

Re: [PATCH] drm: Use vsnprintf extension %ph

2017-06-10 Thread Andy Shevchenko
On Wed, May 31, 2017 at 2:35 AM, Joe Perches wrote: > Using the extension saves a bit of code. > + seq_printf(m, "faux/mst: %*ph\n", 2, buf); > + seq_printf(m, "mst ctrl: %*ph\n", 1, buf); > + seq_printf(m, "branch oui: %*phN devid: ", 3, buf); All abo

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Al Viro
On Sat, Jun 10, 2017 at 06:03:24AM -0700, Richard Narron wrote: > 2) After creating a new filesystem on FreeBSD, then on Linux copying a > larger than 2GB file and creating a directory, the fsck back on FreeBSD > looks ok. > > But after going back to Linux and removing the large file and removing

Re: [PATCH v6 14/34] x86/mm: Insure that boot memory areas are mapped properly

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:15:39PM -0500, Tom Lendacky wrote: > The boot data and command line data are present in memory in a decrypted > state and are copied early in the boot process. The early page fault > support will map these areas as encrypted, so before attempting to copy > them, add decr

Re: [PATCH v6 13/34] x86/mm: Add support for early encrypt/decrypt of memory

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:15:27PM -0500, Tom Lendacky wrote: > Add support to be able to either encrypt or decrypt data in place during > the early stages of booting the kernel. This does not change the memory > encryption attribute - it is used for ensuring that data present in either > an encryp

Re: [PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 4:03 PM, Johannes Thumshirn wrote: > struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. ...and we can convert to use UUID API. > - memcpy(ns->uuid, data + pos + sizeof(*cur), len); > + memcpy(&ns->uuid, data +

Re: [linux-sunxi] Re: [PATCH v2 01/11] dt-bindings: update the binding for Allwinner H3 TVE support

2017-06-10 Thread icenowy
在 2017-06-10 05:24,Jernej Škrabec 写道: Hi! Dne petek, 09. junij 2017 ob 18:51:02 CEST je Icenowy Zheng napisal(a): 于 2017年6月10日 GMT+08:00 上午12:49:15, Maxime Ripard electrons.com> 写到: >On Wed, Jun 07, 2017 at 04:48:50PM +0800, Icenowy Zheng wrote: >> >> @@ -189,6 +211,8 @@ supported. >> >> >> >

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-10 Thread icenowy
在 2017-06-10 22:57,icen...@aosc.io 写道: 在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be doin

Re: [PATCH tip/core/rcu 20/88] atomics: Add header comment so spin_unlock_wait()

2017-06-10 Thread Andrea Parri
On Thu, May 25, 2017 at 02:58:53PM -0700, Paul E. McKenney wrote: > There is material describing the ordering guarantees provided by > spin_unlock_wait(), but it is not necessarily easy to find. This commit > therefore adds a docbook header comment to this function informally > describing its sema

Re: [PATCH 04/14] mm, memory_hotplug: get rid of is_zone_device_section

2017-06-10 Thread Wei Yang
On Sat, Jun 10, 2017 at 5:56 PM, Wei Yang wrote: > On Mon, May 15, 2017 at 4:58 PM, Michal Hocko wrote: >> From: Michal Hocko >> >> device memory hotplug hooks into regular memory hotplug only half way. >> It needs memory sections to track struct pages but there is no >> need/desire to associate

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-10 Thread icenowy
在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be doing either. > > > > > >I might be wrong, b

Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs

2017-06-10 Thread Alan Tull
On Fri, Jun 9, 2017 at 4:51 AM, Greg Kroah-Hartman wrote: > On Mon, Jun 05, 2017 at 02:07:37PM -0500, Alan Tull wrote: >> From: Joshua Clayton >> >> altera-ps-spi loads FPGA firmware over SPI, using the "passive serial" >> interface on Altera Arria 10, Cyclone V or Stratix V FPGAs. >> >> This is

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-10 Thread Wei Yang
On Thu, Jun 08, 2017 at 02:23:18PM +0200, Michal Hocko wrote: >From: Michal Hocko > >movable_node kernel parameter allows to make hotplugable NUMA >nodes to put all the hotplugable memory into movable zone which >allows more or less reliable memory hotremove. At least this >is the case for the NU

Re: [PATCH 2/2] include: warn for inconsistent endian config definition

2017-06-10 Thread kbuild test robot
-for-inconsistencies/20170610-200424 config: microblaze-mmu_defconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save

[PATCH 03/10] cgroup: Fix reference counting bug in cgroup_procs_write()

2017-06-10 Thread Tejun Heo
From: Waiman Long The cgroup_procs_write_start() took a reference to the task structure which was not properly released within cgroup_procs_write() and so on. So a put_task_struct() call is added to cgroup_procs_write_finish() to match the get_task_struct() in cgroup_procs_write_start() to fix th

[PATCH 05/10] cgroup: introduce cgroup->proc_cgrp and threaded css_set handling

2017-06-10 Thread Tejun Heo
cgroup v2 is in the process of growing thread granularity support. Once thread mode is enabled, the root cgroup of the subtree serves as the proc_cgrp to which the processes of the subtree conceptually belong and domain-level resource consumptions not tied to any specific task are charged. In the

[PATCH 08/10] sched: Misc preps for cgroup unified hierarchy interface

2017-06-10 Thread Tejun Heo
Make the following changes in preparation for the cpu controller interface implementation for the unified hierarchy. This patch doesn't cause any functional differences. * s/cpu_stats_show()/cpu_cfs_stats_show()/ * s/cpu_files/cpu_legacy_files/ * Separate out cpuacct_stats_read() from cpuacct_s

  1   2   >