Re: [PATCH -next] ALSA: es1688: Remove set but not used variable 'hw'

2019-02-13 Thread Takashi Iwai
On Thu, 14 Feb 2019 03:10:33 +0100, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > sound/isa/es1688/es1688_lib.c: In function 'snd_es1688_probe': > sound/isa/es1688/es1688_lib.c:124:31: warning: > variable 'hw' set but not used [-Wunused-but-set-variable] > unsigned

Re: [PATCH 2/2] gpio: sprd: Change to use SoC compatible string

2019-02-13 Thread Linus Walleij
On Wed, Feb 13, 2019 at 5:10 PM Bartosz Golaszewski wrote: > śr., 13 lut 2019 o 14:15 Baolin Wang napisał(a): > > > > On Wed, 13 Feb 2019 at 20:59, Bartosz Golaszewski > > wrote: > > > > > > śr., 13 lut 2019 o 13:49 Baolin Wang napisał(a): > > > > > > > > Change to use SoC compatible string

Re: [PATCH v6 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-02-13 Thread Yash Shah
On Wed, Feb 13, 2019 at 4:05 PM Uwe Kleine-König wrote: > > Hello, > > On Wed, Feb 13, 2019 at 02:56:18PM +0530, Yash Shah wrote: > > Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Various fixes and code cleanup] > >

Re: [PATCH v2] virtio_net: Introduce extended RSC feature

2019-02-13 Thread Yuri Benditovich
Can you please let me know whether this patch accepted? Is yes, I'll post similar change to qemu to prevent future compilation error when linux header will be updated. Thanks, Yuri On Fri, Feb 1, 2019 at 10:50 AM Yuri Benditovich wrote: > > VIRTIO_NET_F_RSC_EXT feature bit indicates that the

[PATCH v2] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-13 Thread shun-chih.yu
Add document the devicetree bindings for MediaTek Command-Queue DMA controller. Changes since v1: 1. fix wrong description and tags in the earlier patch

[PATCH v2 1/1] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-13 Thread shun-chih.yu
From: Shun-Chih Yu Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6765 SoC or other similar Mediatek SoCs. Signed-off-by: Shun-Chih Yu Reviewed-by: Rob Herring Acked-by: Sean Wang --- .../devicetree/bindings/dma/mtk-cqdma.txt |

Re: [PATCH v2 3/3] regulator: bd718x7: Support SNVS low power state

2019-02-13 Thread Matti Vaittinen
Hello peeps, A bug found from patch. On Wed, Feb 13, 2019 at 11:50:49AM +0200, Matti Vaittinen wrote: > read ROHM BD71837 / BD71847 specific device tree bindings for > controlling the PMIC shutdown/reset states and voltages for > different HW states. The PMIC was designed to be used with NXP >

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

2019-02-13 Thread Michal Kazior
On Thu, Feb 14, 2019 at 4:46 AM Stephen Rothwell wrote: > > Hi Jacek, > > After merging the leds tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/leds/leds-lp55xx-common.c: In function 'lp55xx_firmware_loaded': > drivers/leds/leds-lp55xx-common.c:217:1:

Re: [PATCH] fs/coda: get rid of CODA_ALLOC()

2019-02-13 Thread Dan Carpenter
On Thu, Feb 14, 2019 at 08:04:43AM +0100, Julia Lawall wrote: > > > On Thu, 14 Feb 2019, Dan Carpenter wrote: > > > These days we have kvzalloc() so we can delete CODA_ALLOC(). > > Maybe it would be better to get rid fo CODA_FREE as well? > Actually, you're right. CODA_FREE() is especially

Re: [RFC PATCH v8 04/14] swiotlb: Map the buffer if it was unmapped by XPFO

2019-02-13 Thread Christoph Hellwig
On Wed, Feb 13, 2019 at 05:01:27PM -0700, Khalid Aziz wrote: > +++ b/kernel/dma/swiotlb.c > @@ -396,8 +396,9 @@ static void swiotlb_bounce(phys_addr_t orig_addr, > phys_addr_t tlb_addr, > { > unsigned long pfn = PFN_DOWN(orig_addr); > unsigned char *vaddr = phys_to_virt(tlb_addr); >

[PATCH v2 1/2] ACPI / CPPC: Add a helper to get desired performance

2019-02-13 Thread Xiongfeng Wang
This patch add a helper to get the value of desired performance register. Signed-off-by: Xiongfeng Wang --- drivers/acpi/cppc_acpi.c | 38 ++ include/acpi/cppc_acpi.h | 1 + 2 files changed, 39 insertions(+) diff --git a/drivers/acpi/cppc_acpi.c

[PATCH v2 0/2] Work around for Hisilicon CPPC cpufreq

2019-02-13 Thread Xiongfeng Wang
Hisilicon chips do not support delivered performance counter register and reference performance counter register. But the platform can calculate the real performance using its own method. This patch provide a workaround for this problem, and other platforms can also use this workaround framework.

[PATCH v2 2/2] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-02-13 Thread Xiongfeng Wang
Hisilicon chips do not support delivered performance counter register and reference performance counter register. But the platform can calculate the real performance using its own method. This patch provide a workaround for this problem, and other platforms can also use this workaround framework.

Re: [PATCH] f2fs: do not use mutex lock in atomic context

2019-02-13 Thread Sahitya Tummala
On Wed, Feb 13, 2019 at 11:25:31AM +0800, Chao Yu wrote: > On 2019/2/4 16:06, Sahitya Tummala wrote: > > Fix below warning coming because of using mutex lock in atomic context. > > > > BUG: sleeping function called from invalid context at > > kernel/locking/mutex.c:98 > > in_atomic(): 1,

[PATCH 1/1] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-13 Thread shun-chih.yu
From: Shun-Chih Yu Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6765 SoC or other similar Mediatek SoCs. Change-Id: I9736c8cac9be160358feeab935fabaffc5730519 Signed-off-by: Shun-Chih Yu --- .../devicetree/bindings/dma/mtk-cqdma.txt

[PATCH] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-13 Thread shun-chih.yu
Add document the devicetree bindings for MediaTek Command-Queue DMA controller.

BUSINESS SOLUTION INVESTMENT FUNDING

2019-02-13 Thread Abdul Aziz,
Hello, Greetings, I represent business group in Middle East looking for projects to fund; we seek any business that will guaranty a safe and secure return on investments. Alternative powers, movies, start up companies etc. We are also looking for commercial building projects, hotels,

linux-next: Signed-off-by missing for commit in the cifs tree

2019-02-13 Thread Stephen Rothwell
Hi all, Commit 375808983c63 ("smb3: request more credits on tree connect") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpfgU8K4lhss.pgp Description: OpenPGP digital signature

Re: [PATCH] fs/coda: get rid of CODA_ALLOC()

2019-02-13 Thread Dan Carpenter
On Thu, Feb 14, 2019 at 08:04:43AM +0100, Julia Lawall wrote: > > > On Thu, 14 Feb 2019, Dan Carpenter wrote: > > > These days we have kvzalloc() so we can delete CODA_ALLOC(). > > Maybe it would be better to get rid fo CODA_FREE as well? I feel like that's a separate issue. The CODA_FREE()

linux-next: Signed-off-by missing for commit in the leaks tree

2019-02-13 Thread Stephen Rothwell
Hi Tobin, Commit 5d06b3fc8e61 ("leaking_addresses: Completely remove --version flag") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpBYgpTieVp0.pgp Description: OpenPGP digital signature

Re: [RESEND PATCH v4,1/3] media: dt-bindings: media: add 'assigned-clocks' to vcodec examples

2019-02-13 Thread Hans Verkuil
Hi Yunfei Dong, Why is this series resent? Patches 1 and 3 have been merged in our media master tree already. Regards, Hans On 2/14/19 3:24 AM, Yunfei Dong wrote: > Fix MTK binding document for MT8173 dtsi changed in order > to use standard CCF interface. > MT8173 SoC from Mediatek. >

Re: [PATCH v6 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2019-02-13 Thread Hanjun Guo
On 2019/2/4 20:13, Shameer Kolothum wrote: > HiSilicon erratum 162001800 describes the limitation of > SMMUv3 PMCG implementation on HiSilicon Hip08 platforms. > > On these platforms, the PMCG event counter registers > (SMMU_PMCG_EVCNTRn) are read only and as a result it > is not possible to set

[PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-13 Thread Zhang, Lei
Hi guys, Thanks for your comments. I am sending the revised patch, version 4, which includes a whole description of the patch. This patch adds a workaround for Fujitsu A64FX erratum 010001 There are some discussions on former versions, as follows: [PATCH] arm64 memory accesses may cause

Re: [PATCH -next] swiotlb: drop pointless static qualifier in swiotlb_dma_supported()

2019-02-13 Thread Christoph Hellwig
On Thu, Feb 14, 2019 at 01:41:47AM +, YueHaibing wrote: > There is no need to have the 'struct dentry *d_swiotlb_usage' variable > static since new value always be assigned before use it. FYI, this is in swiotlb_create_debugfs, not swiotlb_dma_supported.

Re: [PATCH net-next 2/2] net: hns3: add fixup handle for hns3 driver

2019-02-13 Thread shenjian (K)
在 2019/2/14 12:08, Florian Fainelli 写道: > > > On 2/13/2019 8:31 PM, Jian Shen wrote: >> The default led configuration of marvell 88E1510 is not fit >> for hns3 driver, this patch fixes it. >> >> Signed-off-by: Jian Shen >> --- >> .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 19

Re: [PATCH 1/3] mtd: spi-nor: add Global Block Unlock support

2019-02-13 Thread Tudor.Ambarus
On 07/17/2018 07:28 PM, Tudor Ambarus wrote: > We can't determine this purely by manufacturer type and it's not > autodetectable by anything like SFDP, so make a new flag for it: > UNLOCK_GLOBAL_BLOCK. > > Note that the Global Block Unlock command has different names > depending on the

Re: [PATCH] mm: Fix the pgtable leak

2019-02-13 Thread Minchan Kim
On Wed, Feb 13, 2019 at 01:24:58PM +0100, Michal Hocko wrote: > On Wed 13-02-19 21:12:00, Minchan Kim wrote: > > On Wed, Feb 13, 2019 at 01:03:30PM +0100, Michal Hocko wrote: > > > On Wed 13-02-19 20:29:00, Minchan Kim wrote: > > > > [1] was backported to v4.9 stable tree but it introduces pgtable

Re: [PATCH net-next 1/2] net: phy: marvell: add new m88e1510 LED configuration

2019-02-13 Thread shenjian (K)
在 2019/2/14 12:06, Florian Fainelli 写道: > > > On 2/13/2019 8:31 PM, Jian Shen wrote: >> The default m88e1510 LED configuration is 0x1177, used LED[0] >> for 1000M link, LED[1] for 100M link, and LED[2] for active. >> But for our boards, we want to use 0x1040, which use LED[0] for >> link, and

Re: [PATCH] mm: Fix the pgtable leak

2019-02-13 Thread Minchan Kim
On Wed, Feb 13, 2019 at 02:36:24PM +0100, Greg KH wrote: > On Wed, Feb 13, 2019 at 08:29:00PM +0900, Minchan Kim wrote: > > [1] was backported to v4.9 stable tree but it introduces pgtable > > memory leak because with fault retrial, preallocated pagetable > > could be leaked in second iteration. >

[PATCH v4 2/3] PCI: altera: Enable driver on ARM64

2019-02-13 Thread Ley Foon Tan
Enable PCIE_ALTERA on ARM64 platform. Signed-off-by: Ley Foon Tan --- drivers/pci/controller/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index 6671946..6012f30 100644 ---

[PATCH v4 0/3] Add Stratix 10 PCIe Root Port support

2019-02-13 Thread Ley Foon Tan
Add PCIe Root Port support for Stratix 10 device and also update device tree binding documentation. v3 -> v4: - - Separate Kconfig change to a patch - Change cast to mask v2 -> v3: - - Rename Stratix10 to Stratix 10. - Change bool s10_flag to enum version. v1 -> v2: - -

[PATCH v4 3/3] dt-bindings: PCI: altera: Add altr,pcie-root-port-2.0

2019-02-13 Thread Ley Foon Tan
Add support for altr,pcie-root-port-2.0. Signed-off-by: Ley Foon Tan Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/altera-pcie.txt|4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/altera-pcie.txt

[PATCH v4 1/3] PCI: altera: Add Stratix 10 PCIe support

2019-02-13 Thread Ley Foon Tan
Add PCIe Root Port support for Stratix 10 device. Main differences: - HIP interface to access Root Port configuration register. - TLP programming flow: - One REG0 register - Don't need to check alignment Signed-off-by: Ley Foon Tan --- drivers/pci/controller/pcie-altera.c | 246

RE: [PATCH V4 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table

2019-02-13 Thread Anson Huang
Hi, Viresh Best Regards! Anson Huang > -Original Message- > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > Sent: 2019年2月14日 15:13 > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de;

Re: [PATCH v2 1/3] devicetree: bindings: bd718x7: document HW state related ROHM specific properties

2019-02-13 Thread Matti Vaittinen
Hello Angus, Glad to hear from you again =) On Wed, Feb 13, 2019 at 03:38:40PM -0800, Angus Ainslie wrote: > > > > Optional properties: > > - clock-output-names : Should contain name for output clock. > > +- rohm,reset-snvs-powered : Transfer BD718x7 to SNVS state at reset. > > + > >

Re: [PATCH v4 00/15] Habana Labs kernel driver

2019-02-13 Thread Oded Gabbay
On Thu, Feb 14, 2019 at 9:11 AM Greg KH wrote: > > On Mon, Feb 11, 2019 at 05:17:36PM +0200, Oded Gabbay wrote: > > Hello, > > This is v4 of the Habana Labs kernel driver patch-set. It contains fixes > > according to reviews done on v3, mainly for the command buffer, sysfs and > > MMU > >

Re: [PATCH V4 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table

2019-02-13 Thread Viresh Kumar
On 14-02-19, 01:54, Anson Huang wrote: > Add i.MX8QXP CPU opp table to support cpufreq. > > Signed-off-by: Anson Huang > --- > No change since V3. > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 25 + > 1 file changed, 25 insertions(+) > > diff --git

Re: [PATCH v4 00/15] Habana Labs kernel driver

2019-02-13 Thread Greg KH
On Mon, Feb 11, 2019 at 05:17:36PM +0200, Oded Gabbay wrote: > Hello, > This is v4 of the Habana Labs kernel driver patch-set. It contains fixes > according to reviews done on v3, mainly for the command buffer, sysfs and MMU > patches. In addition, patch 2/15 was reduced in size from 4.3MB to

Re: [PATCH v2] staging: erofs: fix memleak of inode's shared xattr array

2019-02-13 Thread Gao Xiang
On 2019/2/14 14:46, Sheng Yong wrote: > If it fails to read a shared xattr page, the inode's shared xattr array > is not freed. The next time the inode's xattr is accessed, the previously > allocated array is leaked. > > Signed-off-by: Sheng Yong LGTM, Fixes: b17500a0fdba ("staging: erofs:

Re: [PATCH 1/2] extcon-intel-cht-wc: Make charger detection co-existed with OTG host mode

2019-02-13 Thread Yauhen Kharuzhy
On Thu, Feb 14, 2019 at 12:15:00AM +0100, Hans de Goede wrote: > Hi, > > On 10-02-19 21:36, Yauhen Kharuzhy wrote: > > Whiskey Cove Cherry Trail PMIC requires disabling OTG host mode before > > of charger detection procedure. Do this by manipulationg of CHGRCTRL1 > > register. > > > > Source:

Re: [PATCH][RFC] ACPI: add "processor.broadcast_ppc" hook to broadcast _PPC to all online CPUs

2019-02-13 Thread Viresh Kumar
On 14-02-19, 00:55, Yu Chen wrote: > Hi Viresh, > On Mon, Feb 11, 2019 at 04:03:07PM +0530, Viresh Kumar wrote: > > On 09-02-19, 20:02, Chen Yu wrote: > > > On Dell Inc. XPS13 9333, the BIOS changes the value of > > > MSR_IA32_MISC_ENABLE_TURBO_DISABLE at runtime (e.g., when > > > the power source

Re: [PATCH] fs/coda: get rid of CODA_ALLOC()

2019-02-13 Thread Julia Lawall
On Thu, 14 Feb 2019, Dan Carpenter wrote: > These days we have kvzalloc() so we can delete CODA_ALLOC(). Maybe it would be better to get rid fo CODA_FREE as well? julia > > I made a couple related changes in coda_psdev_write(). First, I > added some error handling to avoid a NULL

Re: [PATCH] PCI: pciehp: Do not turn off slot if presence comes up after link

2019-02-13 Thread Lukas Wunner
On Wed, Feb 13, 2019 at 06:55:46PM +, alex_gagn...@dellteam.com wrote: > On 2/13/19 2:36 AM, Lukas Wunner wrote: > > > (*) A bit hypothetical: There is no hardware yet implementing the ECN. > > > > Hm, this contradicts Austin Bolen's e-mail of Jan 25 that "Yes, this > > platform disables

[PATCH] fs/coda: get rid of CODA_ALLOC()

2019-02-13 Thread Dan Carpenter
These days we have kvzalloc() so we can delete CODA_ALLOC(). I made a couple related changes in coda_psdev_write(). First, I added some error handling to avoid a NULL dereference if the allocation failed. Second, I used kvmalloc() instead of kvzalloc() because we copy over the memory on the

Re: [PATCH v2 2/2] iwlwifi: Use struct_size() in kzalloc

2019-02-13 Thread Luciano Coelho
On Tue, 2019-01-29 at 11:21 +0800, YueHaibing wrote: > Use struct_size() in kzalloc instead of the 'regd_to_copy' > > Signed-off-by: YueHaibing > --- Applied to our internal tree and it will reach the mainline following our normal upstreaming process. Thanks! -- Luca.

Re: [PATCH v2 1/2] iwlwifi: Use kmemdup instead of duplicating its function

2019-02-13 Thread Luciano Coelho
On Tue, 2019-01-29 at 11:21 +0800, YueHaibing wrote: > Use kmemdup rather than duplicating its implementation > > Signed-off-by: YueHaibing > --- > drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH v2 1/2] leds: Add Intel Cherry Trail Whiskey Cove PMIC LEDs

2019-02-13 Thread Yauhen Kharuzhy
On Wed, Feb 13, 2019 at 11:43:29PM +0100, Hans de Goede wrote: > Hi, > > On 12-02-19 21:59, Yauhen Kharuzhy wrote: > > Add support for LEDs connected to the Intel Cherry Trail Whiskey Cove > > PMIC. Charger and general-purpose leds are supported. Hardware blinking > > is implemented, breathing is

linux-next: Tree for Feb 14

2019-02-13 Thread Stephen Rothwell
Hi all, Changes since 20190213: The netfilter-next tree lost its build failure. The devicetree tree gained a conflict against Linus' tree. The kvm-arm tree gained a conflict against the kvm-fixes tree. Non-merge commits (relative to Linus' tree): 7716 8028 files changed, 324264 insertions

[PATCH v2] staging: erofs: fix memleak of inode's shared xattr array

2019-02-13 Thread Sheng Yong
If it fails to read a shared xattr page, the inode's shared xattr array is not freed. The next time the inode's xattr is accessed, the previously allocated array is leaked. Signed-off-by: Sheng Yong --- v2: * s/node/inode in commit message * add prefix `staging:' to the subject ---

[PATCH 0/8] stmmac: add some fixes for stm32

2019-02-13 Thread Christophe Roullier
For common stmmac: - Add support to set CSR Clock range selection in DT For stm32mpu: - Glue codes to support magic packet - Glue codes to support all PHY config : PHY_MODE (MII,GMII, RMII, RGMII) and in normal, PHY wo crystal (25Mhz),

[PATCH 4/8] net: ethernet: stmmac: add management of clk_csr property

2019-02-13 Thread Christophe Roullier
In Documentation stmmac.txt there is possibility to fixed CSR Clock range selection with property clk_csr. This patch add the management of this property For example to use it, add in your ethernet node DT: clk_csr = <3>; Signed-off-by: Christophe Roullier ---

[PATCH 6/8] dt-bindings: net: stmmac: add syscfg clock property

2019-02-13 Thread Christophe Roullier
Need syscfg clock for MCU family in case bootloader does not activate it. Signed-off-by: Christophe Roullier --- Documentation/devicetree/bindings/net/stm32-dwmac.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.txt

[PATCH 5/8] net: ethernet: stmmac: update to be compatible with MCU family (stm32f4, stm32h7)

2019-02-13 Thread Christophe Roullier
Update glue codes to be compatible with MCU family. Signed-off-by: Christophe Roullier --- drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 51 ++- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c

[PATCH 2/8] net: ethernet: stmmac: update to support all PHY config for stm32mp157c.

2019-02-13 Thread Christophe Roullier
Update glue codes to support all PHY config on stm32mp157c PHY_MODE (MII,GMII, RMII, RGMII) and in normal, PHY wo crystal (25Mhz), PHY wo crystal (50Mhz), No 125Mhz from PHY config. Signed-off-by: Christophe Roullier --- drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 102

[PATCH 1/8] net: ethernet: stmmac: manage Ethernet WoL for stm32mp157c.

2019-02-13 Thread Christophe Roullier
Add glue codes to support magic packet on stm32mp157c Signed-off-by: Christophe Roullier --- drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 30 ++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c

[PATCH 3/8] dt-bindings: net: stmmac: add phys config properties

2019-02-13 Thread Christophe Roullier
Add properties to support all Phy config PHY_MODE (MII,GMII, RMII, RGMII) and in normal, PHY wo crystal (25Mhz), PHY wo crystal (50Mhz), No 125Mhz from PHY config. Signed-off-by: Christophe Roullier --- Documentation/devicetree/bindings/net/stm32-dwmac.txt | 6 +++--- 1 file changed, 3

[PATCH 8/8] ARM: dts: stm32: add syscfg clock support for Ethernet on STM32F429 SoC

2019-02-13 Thread Christophe Roullier
This patch add syscfg clock support for Ethernet of the STM32F429 SoC. Needed if bootloader do not manage it. Signed-off-by: Christophe Roullier --- arch/arm/boot/dts/stm32f429.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi

[PATCH 7/8] ARM: dts: stm32: Add Ethernet support on stm32h7 SOC and activate it for eval and disco boards

2019-02-13 Thread Christophe Roullier
Synopsys GMAC 4.10 is used. And Phy mode for eval and disco is RMII with PHY SMSC LAN8742 Signed-off-by: Christophe Roullier --- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 15 +++ arch/arm/boot/dts/stm32h743.dtsi | 19 +++

[PATCH] powerpc/book3s: Remove a few page table update interfaces.

2019-02-13 Thread Aneesh Kumar K.V
When updating page tables, we need to make sure we fill the page table entry valid bit. We should be using page table populate interface for updating the table entries. The page table 'set' interface allows updating the raw value of page table entry. This can result in updating the entry wrongly.

[PATCH] sched/core: Remove BUG_ON()

2019-02-13 Thread Huang Zijiang
pick_next_task is never return NULL because idle task will return when cpu is idle. Signed-off-by: Huang Zijiang --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index dbe9a3f..1de1a85 100644 --- a/kernel/sched/core.c +++

[PATCH] net: hns: Fix object reference leaks in hns_dsaf_roce_reset()

2019-02-13 Thread Huang Zijiang
The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Huang Zijiang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-13 Thread Huang Zijiang
The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() when skb is still used. The skb is be replaced by segments, so the original skb should be consumed(not drop). Signed-off-by: Huang Zijiang --- drivers/net/ethernet/sfc/tx.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/2] net:ethernet:cadence: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-13 Thread Huang Zijiang
The skb should be freed by dev_consume_skb_any() in macb_pad_and_fcs() when *skb is still used. The *skb is be replaced by nskb, so the original *skb should be consumed(not drop). Signed-off-by: Huang Zijiang --- drivers/net/ethernet/cadence/macb_main.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] net:dl2k: Replace dev_kfree_skb_irq by dev_consume_skb_irq

2019-02-13 Thread Huang Zijiang
dev_consume_skb_irq() should be called when skb xmit done.It makes drop profiles more friendly. Signed-off-by: Huang Zijiang --- drivers/net/ethernet/dlink/dl2k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/dlink/dl2k.c

[PATCH] net:dl2k: Modify the code style escaping the warning

2019-02-13 Thread Huang Zijiang
modify the code style in order to removing the following warning when excute the script checkpatch.pl WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Huang Zijiang --- drivers/net/ethernet/dlink/dl2k.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] isdn:hisax: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-13 Thread Huang Zijiang
The skb should be freed by dev_consume_skb_any() in hfcpci_fill_fifo() when bcs->tx_skb is still used. The bcs->tx_skb is be replaced by skb_dequeue(>squeue), so the original bcs->tx_skb should be consumed(not drop). Signed-off-by: Huang Zijiang --- drivers/isdn/hisax/hfc_pci.c | 2 +- 1 file

[PATCH] EDAC, altera: Add missing of_node_put()

2019-02-13 Thread Huang Zijiang
The call to of_parse_phandle returns a node pointer with refcount incremented thus it must be explicitly decremented here after the last usage. Signed-off-by: Huang Zijiang --- drivers/edac/altera_edac.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

答复: [PATCH v2 3/3] scsi: ufs: Add HI3670 SoC UFS driver support

2019-02-13 Thread liwei (CM)
Fine to me. Thanks! Acked-by: Wei Li -邮件原件- 发件人: Manivannan Sadhasivam [mailto:manivannan.sadhasi...@linaro.org] 发送时间: 2019年1月5日 15:29 收件人: vinholika...@gmail.com; j...@linux.vnet.ibm.com; martin.peter...@oracle.com; liwei (CM); robh...@kernel.org 抄送: linux-s...@vger.kernel.org;

答复: [PATCH v2 2/3] arm64: dts: hisilicon: hi3670: Add UFS controller support

2019-02-13 Thread liwei (CM)
Fine to me. Thanks! Acked-by: Wei Li -邮件原件- 发件人: Manivannan Sadhasivam [mailto:manivannan.sadhasi...@linaro.org] 发送时间: 2019年1月5日 15:29 收件人: vinholika...@gmail.com; j...@linux.vnet.ibm.com; martin.peter...@oracle.com; liwei (CM); robh...@kernel.org 抄送: linux-s...@vger.kernel.org;

[PATCH v4] coccinelle: semantic patch for missing put_device()

2019-02-13 Thread Wen Yang
The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. The implementation of this semantic patch is: In a function, for variables returned by calling of_find_device_by_node(), a, if it is released by a function such as

答复: [PATCH v2 1/3] dt-bindings: ufs: Add HI3670 UFS controller binding

2019-02-13 Thread liwei (CM)
Fine to me. Thanks! Acked-by: Wei Li -邮件原件- 发件人: Manivannan Sadhasivam [mailto:manivannan.sadhasi...@linaro.org] 发送时间: 2019年1月5日 15:29 收件人: vinholika...@gmail.com; j...@linux.vnet.ibm.com; martin.peter...@oracle.com; liwei (CM); robh...@kernel.org 抄送: linux-s...@vger.kernel.org;

[PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()

2019-02-13 Thread Michael Ellerman
In v4.20 we changed our pgd/pud_present() to check for _PAGE_PRESENT rather than just checking that the value is non-zero, e.g.: static inline int pgd_present(pgd_t pgd) { - return !pgd_none(pgd); + return (pgd_raw(pgd) & cpu_to_be64(_PAGE_PRESENT)); } Unfortunately this is

RE: [PATCH v3 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-02-13 Thread Pawel Laszczak
Hi Rob, >On Thu, Jan 31, 2019 at 11:52:28AM +, Pawel Laszczak wrote: >> This patch aim at documenting USB related dt-bindings for the >> Cadence USBSS-DRD controller. >> >> Signed-off-by: Pawel Laszczak >> --- >> .../devicetree/bindings/usb/cdns-usb3.txt | 33 +++ >> 1

Re: [PATCH 2/2] Drivers: hv: vmbus: Display nothing in sysfs if monitor_allocated not set

2019-02-13 Thread Kimberly Brown
On Mon, Feb 11, 2019 at 10:02:47AM -0800, Stephen Hemminger wrote: > On Mon, 11 Feb 2019 02:01:18 -0500 > Kimberly Brown wrote: > > > On Fri, Feb 08, 2019 at 02:32:09PM -0800, Stephen Hemminger wrote: > > > On Fri, 8 Feb 2019 05:01:12 -0500 > > > Kimberly Brown wrote: > > > > > > You are

[PATCH V2 1/2] lib/string: add memrchr function

2019-02-13 Thread Xiang Xiao
Here is the detailed description for memrchr: void *memrchr(const void *s, int c, size_t n); The memrchr() function is like the memchr() function, except that it searches backward from the end of the n bytes pointed to by s instead of forward from the beginning. The memrchr() functions return a

[PATCH V2 2/2] rpmsg: add syslog redirection driver

2019-02-13 Thread Xiang Xiao
From: Guiding Li This driver allows the remote processor to redirect the output of syslog or printf into the kernel log, which is very useful to see what happen in the remote side. Signed-off-by: Guiding Li --- drivers/rpmsg/Kconfig| 12 drivers/rpmsg/Makefile | 1 +

Re: [PATCH 1/3] drm/mediatek: move mipi_dsi_host_register to probe

2019-02-13 Thread Nicolas Boichat
Just some comments on the error path, I'm not sure about the change itself. On Thu, Feb 14, 2019 at 12:42 PM Jitao Shi wrote: > > DSI panel driver need attach function which is inculde in > mipi_dsi_host_ops. > > If mipi_dsi_host_register is not in probe, dsi panel will > probe fail or more

Re: [PATCH 0/5] use pinned_vm instead of locked_vm to account pinned pages

2019-02-13 Thread Jason Gunthorpe
On Wed, Feb 13, 2019 at 05:53:14PM -0800, Ira Weiny wrote: > On Mon, Feb 11, 2019 at 03:54:47PM -0700, Jason Gunthorpe wrote: > > On Mon, Feb 11, 2019 at 05:44:32PM -0500, Daniel Jordan wrote: > > > > > All five of these places, and probably some of Davidlohr's conversions, > > > probably want to

Re: [PATCH] scsi: qla2xxx: remove redundant null check on pointer sess

2019-02-13 Thread Dan Carpenter
On Wed, Feb 13, 2019 at 01:53:35PM +, Colin King wrote: > From: Colin Ian King > > The null check on pointer sess and the subsequent call is redundant > as sess is null on all the the paths that lead to the out_term2 label. > Hence the null check and the call can be removed. > > Detected by

Re: [PATCH 3/3] drm/mediatek: add mt8183 dsi driver support

2019-02-13 Thread Nicolas Boichat
On Thu, Feb 14, 2019 at 12:43 PM Jitao Shi wrote: > > MT8183 dsi has two changes with mt8173. > 1. Add the register double buffer control, but we no need it, So make >it default off. Can you describe a little bit more what this is about? That's shadow registers, right? > 2. Add picture size

Re: [PATCH 2/3] drm/mediatek: CMDQ reg address of mt8173 is different with mt2701

2019-02-13 Thread Nicolas Boichat
On Thu, Feb 14, 2019 at 12:42 PM Jitao Shi wrote: > > Config the different CMDQ reg address in driver data. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 39 -- > 1 file changed, 31 insertions(+), 8 deletions(-) > > diff --git

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-13 Thread Erin Lo
On Wed, 2019-02-13 at 15:54 +0100, Matthias Brugger wrote: > > On 13/02/2019 10:03, Erin Lo wrote: > > On Thu, 2019-02-07 at 16:30 +0100, Matthias Brugger wrote: > >> > >> On 24/01/2019 09:07, Erin Lo wrote: > >>> From: Ben Ho > >>> > >>> Add basic chip support for Mediatek 8183, include > >>>

[PATCH] perf trace: Fix potential USE_AFTER_FREE problem

2019-02-13 Thread Bo YU
From: Bo Yu There is a freed pointer "evsel", so fix it. Detected by CoverityScan, CID#1442595("Memory-illegalaccesses (USE_AFTER_FREE)") Fixes: 6ab3bc240ade4("perf trace: Support multiple "vfs_getname" probes") Signed-off-by: Bo Yu --- tools/perf/builtin-trace.c | 2 +- 1 file changed, 1

[RFC PATCH v2] PCI/portdrv: Support for subtractive decode bridge

2019-02-13 Thread honghui.zhang
From: Honghui Zhang The Class Code for subtractive decode PCI-to-PCI bridge is 060401h, add one entry to make portdrv support this type bridge. Signed-off-by: Honghui Zhang --- drivers/pci/pcie/portdrv_pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/pcie/portdrv_pci.c

RE: [PATCH] drm/amdgpu: Error handling issues about CHECKED_RETURN

2019-02-13 Thread Zhou, David(ChunMing)
> -Original Message- > From: Bo YU > Sent: Thursday, February 14, 2019 12:46 PM > To: Deucher, Alexander ; Koenig, Christian > ; Zhou, David(ChunMing) > ; airl...@linux.ie; dan...@ffwll.ch; Zhu, Rex > ; Grodzovsky, Andrey > ; dri-de...@lists.freedesktop.org; linux- >

Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-13 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 13/02/19 8:06 PM, Lorenzo Pieralisi wrote: > On Wed, Feb 13, 2019 at 07:08:18PM +0530, Kishon Vijay Abraham I wrote: >> Hi Lorenzo, >> >> On 12/02/19 8:37 PM, Lorenzo Pieralisi wrote: >>> On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: >>> >>> [...] >>>

Re: [PATCH] qlge: fix some indentation issues

2019-02-13 Thread David Miller
From: Colin King Date: Tue, 12 Feb 2019 16:08:07 + > From: Colin Ian King > > There are some statements that are indented incorrectly. Fix these. > > Signed-off-by: Colin Ian King Applied to net-next.

Re: [PATCH] qed: fix indentation issue with statements in an if-block

2019-02-13 Thread David Miller
From: Colin King Date: Tue, 12 Feb 2019 16:01:53 + > From: Colin Ian King > > There are some statements in an if-block that are not correctly > indented. Fix these. > > Signed-off-by: Colin Ian King Applied to net-next.

Re: [PATCH v3 6/7] trace: events: add devfreq trace event file

2019-02-13 Thread Chanwoo Choi
Hi Lukasz, On 19. 2. 13. 오후 10:35, Lukasz Luba wrote: > Hi Steven, > > On 2/13/19 12:14 AM, Steven Rostedt wrote: >> On Tue, 12 Feb 2019 23:23:57 +0100 >> Lukasz Luba wrote: >> >>> The patch adds a new file for with trace events for devfreq >>> framework. They are used for performance analysis

RE: Re: [PATCH v4 6/6] RISC-V: Free-up initrd in free_initrd_mem()

2019-02-13 Thread CHANDAN VN
Hi, > On Wed, Feb 13, 2019 at 09:54:15AM -0800, Christoph Hellwig wrote: > > On Wed, Feb 13, 2019 at 09:38:36AM +0200, Mike Rapoport wrote: > > > memblock_free() is has no real effect at this point, no idea why arm64 > > > calls it. > >  > > Looks like the call was added fairly recently by: > > 

Re: [PATCH v3 3/9] PCI: keystone: Use hwirq to get the legacy IRQ number offset

2019-02-13 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 13/02/19 10:27 PM, Lorenzo Pieralisi wrote: > On Wed, Feb 13, 2019 at 06:56:23PM +0530, Kishon Vijay Abraham I wrote: >> ks_pcie_legacy_irq_handler() uses 'virq' to get the IRQ number offset. >> This offset is used to get the correct IRQ_STATUS register >> corresponding to the IRQ

Re: [PATCH v3 7/7] drivers: devfreq: add tracing for scheduling work

2019-02-13 Thread Chanwoo Choi
Hi Lukasz, On 19. 2. 13. 오전 7:23, Lukasz Luba wrote: > This patch add basic tracing of the devfreq workqueue and delayed work. > It aims to capture changes of the polling intervals and device state. > > Signed-off-by: Lukasz Luba > --- > drivers/devfreq/devfreq.c | 8 > 1 file

Re: [PATCH 3/5] soc: qcom: socinfo: Expose custom attributes

2019-02-13 Thread Joe Perches
On Thu, 2019-02-14 at 09:11 +0530, Vaishali Thakkar wrote: > The Qualcomm socinfo provides a number of additional attributes, > add these to the socinfo driver and expose them via debugfs > functionality. trivia: > diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c [] > @@

Re: [PATCH v3 4/7] include: devfreq: add polling_idle_ms to 'profile'

2019-02-13 Thread Chanwoo Choi
Hi Lukasz, If the user can select the type of work in accordance with their choice, either deferrable work or delayed work for periodic without stop on idle state, I think that the existing polling_ms is enough. Because, user determine to use the 'delayed work' for periodic timer, user can

Re: [RFC PATCH net-next 2/5] net: 8021q: vlan_dev: add vid tag for uc and mc address lists

2019-02-13 Thread Florian Fainelli
On February 13, 2019 8:17:16 AM PST, Ivan Khoronzhuk wrote: >On Tue, Jan 22, 2019 at 03:12:41PM +0200, Ivan Khoronzhuk wrote: >>On Mon, Jan 21, 2019 at 03:37:41PM -0800, Florian Fainelli wrote: >>>On 12/4/18 3:42 PM, Ivan Khoronzhuk wrote: On Tue, Dec 04, 2018 at 11:49:27AM -0800, Florian

[PATCH] drm/amdgpu: Error handling issues about CHECKED_RETURN

2019-02-13 Thread Bo YU
From: Bo Yu Calling "amdgpu_ring_test_helper" without checking return value Signed-off-by: Bo Yu --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

[PATCH 3/3] drm/mediatek: add mt8183 dsi driver support

2019-02-13 Thread Jitao Shi
MT8183 dsi has two changes with mt8173. 1. Add the register double buffer control, but we no need it, So make it default off. 2. Add picture size control. Signed-off-by: Jitao Shi --- drivers/gpu/drm/mediatek/mtk_dsi.c | 20 +++- 1 file changed, 19 insertions(+), 1

[PATCH 1/3] drm/mediatek: move mipi_dsi_host_register to probe

2019-02-13 Thread Jitao Shi
DSI panel driver need attach function which is inculde in mipi_dsi_host_ops. If mipi_dsi_host_register is not in probe, dsi panel will probe fail or more delay. So move the mipi_dsi_host_register to probe from bind. Signed-off-by: Jitao Shi --- drivers/gpu/drm/mediatek/mtk_dsi.c | 49

[PATCH 2/3] drm/mediatek: CMDQ reg address of mt8173 is different with mt2701

2019-02-13 Thread Jitao Shi
Config the different CMDQ reg address in driver data. Signed-off-by: Jitao Shi --- drivers/gpu/drm/mediatek/mtk_dsi.c | 39 -- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c

Re: [PATCH 3/3] leaking_addresses: Expand tilde in output file name

2019-02-13 Thread Tobin C. Harding
On Thu, Feb 07, 2019 at 04:35:55PM -0700, Tycho Andersen wrote: > On Fri, Feb 08, 2019 at 09:50:26AM +1100, Tobin C. Harding wrote: > > Currently if user passes an output file to the script via > > --output-raw we do not handle expansion of tilde. > > > > Use perl function glob() to expand tilde

  1   2   3   4   5   6   7   8   9   10   >