Re: [PATCH 1/1] soc: qcom: geni: Provide parameter error checking

2019-09-04 Thread Stephen Boyd
Quoting Lee Jones (2019-09-04 23:42:53) > > > But if this is the one whack left to get the thing to boot then I think > > > we should merge it. > > > > Agreed. > > Thanks Stephen. > > Unless you guys scream loudly, I'm going to convert these to Acks. > > If you scream softly, I can convert the

Re: [PATCH 2/3] soc: qcom: Rename llcc-slice to llcc-qcom

2019-09-04 Thread Stephen Boyd
Quoting Vivek Gautam (2019-07-18 06:02:37) > The cleaning up was done without changing the driver file name > to ensure a cleaner bisect. Change the file name now to facilitate > making the driver generic in subsequent patch. > > Signed-off-by: Vivek Gautam > --- > drivers/soc/qcom/Makefile

Re: [PATCH 1/1] soc: qcom: geni: Provide parameter error checking

2019-09-04 Thread Lee Jones
On Wed, 04 Sep 2019, Bjorn Andersson wrote: > On Wed 04 Sep 13:01 PDT 2019, Lee Jones wrote: > > > On Wed, 04 Sep 2019, Bjorn Andersson wrote: > > > > > On Wed 04 Sep 01:45 PDT 2019, Lee Jones wrote: > > > > > > > On Tue, 03 Sep 2019, Bjorn Andersson wrote: > > > > > > > > > On Tue 03 Sep 06:5

Re: [PATCH RFC] driver core: ensure a device has valid node id in device_add()

2019-09-04 Thread Yunsheng Lin
On 2019/9/5 13:57, Greg KH wrote: > On Thu, Sep 05, 2019 at 09:33:50AM +0800, Yunsheng Lin wrote: >> Currently a device does not belong to any of the numa nodes >> (dev->numa_node is NUMA_NO_NODE) when the FW does not provide >> the node id and the device has not no parent device. >> >> According t

[PATCH 3/4] phy: tegra: Use PTR_ERR_OR_ZERO rather than its implementation

2019-09-04 Thread zhong jiang
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to use it directly. hence just replace it. Signed-off-by: zhong jiang --- drivers/phy/tegra/phy-tegra194-p2u.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/phy/tegra/phy-tegra194-p2u.c b/drivers/p

[PATCH 4/4] rtc: ds1347: Use PTR_ERR_OR_ZERO rather than its implementation

2019-09-04 Thread zhong jiang
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to use it directly. hence just replace it. Signed-off-by: zhong jiang --- drivers/rtc/rtc-ds1347.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index d3

[PATCH 0/4] Use PTR_ERR_OR_ZERO directly

2019-09-04 Thread zhong jiang
With the help of ptr_ret.cocci, I find some place to use PTR_ERR_OR_ZERO directly. zhong jiang (4): bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation phy: tegra: Use PTR_ERR_OR_ZERO rather than its implementation

[PATCH 2/4] misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation

2019-09-04 Thread zhong jiang
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to use it directly. hence just replace it. Signed-off-by: zhong jiang --- drivers/misc/mic/scif/scif_epd.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/mic/scif/scif_epd.h b/drivers/misc/mic

[PATCH 1/4] bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation

2019-09-04 Thread zhong jiang
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to use it directly. hence just replace it. Signed-off-by: zhong jiang --- drivers/bus/ti-sysc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 9207ac2..6f4

[PATCH -next] ASoC: SOF: imx8: Fix COMPILE_TEST error

2019-09-04 Thread YueHaibing
When do compile test, if SND_SOC_SOF_OF is not set, we get: sound/soc/sof/imx/imx8.o: In function `imx8_dsp_handle_request': imx8.c:(.text+0xb0): undefined reference to `snd_sof_ipc_msgs_rx' sound/soc/sof/imx/imx8.o: In function `imx8_ipc_msg_data': imx8.c:(.text+0xf4): undefined reference to `sof

Re: [PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

2019-09-04 Thread Kelsey Skunberg
On Wed, Sep 04, 2019 at 07:35:23AM +0200, Lukas Wunner wrote: > On Tue, Sep 03, 2019 at 10:36:35PM -0600, Kelsey Skunberg wrote: > > Change pci_dev_is_disconnected() call inside pci_dev_is_inaccessible() to: > > > > pdev->error_state == pci_channel_io_perm_failure > > > > Change remaining pci

Re: [PATCH 1/1] soc: qcom: geni: Provide parameter error checking

2019-09-04 Thread Lee Jones
> > But if this is the one whack left to get the thing to boot then I think > > we should merge it. > > Agreed. Thanks Stephen. Unless you guys scream loudly, I'm going to convert these to Acks. If you scream softly, I can convert the to Reviewed-bys. -- Lee Jones [李琼斯] Linaro Services Techni

Re: [PATCH v2 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-04 Thread Andrew Lunn
> > The change log is near the end of the patch: > /** > -- > Changelog v2 > *mdio interrupt mode or polling mode will depends on mdio interrupt enable bit > *Disable the mdio interrupt enable bit in stmmac_release > *Remove the condition for initialize wait queues > *Applied reverse Christmas tre

Re: [RFC PATCH 9/9] sched: rotate the cpu search window for better spread

2019-09-04 Thread Parth Shah
On 8/30/19 11:19 PM, subhra mazumdar wrote: > Rotate the cpu search window for better spread of threads. This will ensure > an idle cpu will quickly be found if one exists. > > Signed-off-by: subhra mazumdar > --- > kernel/sched/fair.c | 10 -- > 1 file changed, 8 insertions(+), 2 del

[PATCH] PCI/IOV: Make SR-IOV attributes with mode 0664 use 0644

2019-09-04 Thread Kelsey Skunberg
sriov_numvfs and sriov_drivers_autoprobe have "unusual" permissions (0664) with no reported or found reason for allowing group write permissions. libvirt runs as root when dealing with PCI, and chowns files for qemu needs. There is not a need for the "0664" permissions. sriov_numvfs was introduced

Re: [PATCH v2 2/2] net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable

2019-09-04 Thread Ardelean, Alexandru
On Wed, 2019-09-04 at 22:03 +0200, Andrew Lunn wrote: > [External] > > On Wed, Sep 04, 2019 at 07:23:22PM +0300, Alexandru Ardelean wrote: > > This driver becomes the first user of the kernel's `ETHTOOL_PHY_EDPD` > > phy-tunable feature. > > EDPD is also enabled by default on PHY config_init, but

leihen ohne sorgen

2019-09-04 Thread Mr Muller Dieter
Brauchen Sie dringend Geld? Wir können dir helfen! Bist du durch die aktuelle Situation in Schwierigkeiten oder droht dir Ärger? Auf diese Weise geben wir Ihnen die Möglichkeit, eine neue Entwicklung zu nehmen. Als reiche Person fühle ich mich verpflichtet, Menschen zu helfen, die Schwierigkeiten

[PATCH 2/2] KVM: VMX: Stop the preemption timer during vCPU reset

2019-09-04 Thread Wanpeng Li
From: Wanpeng Li The hrtimer which is used to emulate lapic timer is stopped during vcpu reset, preemption timer should do the same. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx/vmx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/vmx/v

[PATCH 1/2] KVM: LAPIC: Micro optimize IPI latency

2019-09-04 Thread Wanpeng Li
From: Wanpeng Li This patch optimizes the virtual IPI emulation sequence: write ICR2 write ICR2 write ICR read ICR2 read ICR==>send virtual IPI read ICR2 write ICR send virtual IPI It can reduce kvm-unit-tests/vme

Re: [PATCH v2] mm: Unsigned 'nr_pages' always larger than zero

2019-09-04 Thread zhong jiang
On 2019/9/5 11:12, Matthew Wilcox wrote: > On Thu, Sep 05, 2019 at 10:17:51AM +0800, zhong jiang wrote: >> With the help of unsigned_lesser_than_zero.cocci. Unsigned 'nr_pages' >> compare with zero. And __gup_longterm_locked pass an long local variant >> 'rc' to check_and_migrate_cma_pages. Hence i

Re: [PATCH v2 1/2] ethtool: implement Energy Detect Powerdown support via phy-tunable

2019-09-04 Thread Ardelean, Alexandru
On Wed, 2019-09-04 at 21:53 +0200, Andrew Lunn wrote: > [External] > > On Wed, Sep 04, 2019 at 07:23:21PM +0300, Alexandru Ardelean wrote: > > Hi Alexandru > > Somewhere we need a comment stating what EDPD means. Here would be a > good place. ack > > > +#define ETHTOOL_PHY_EDPD_DFLT_TX_INTERV

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-04 Thread Miguel Ojeda
On Wed, Sep 4, 2019 at 8:18 PM Miguel Ojeda wrote: > > I was going to send this for 5.4 since it is not that trivial, but since > you are doing an -rc8, and it fixes an oops, please consider pulling it. By the way, if you choose to pick it for 5.4 instead, I will take the chance to improve a few

Re: [RFC PATCH 2/9] sched: add search limit as per latency-nice

2019-09-04 Thread Parth Shah
On 8/30/19 11:19 PM, subhra mazumdar wrote: > Put upper and lower limit on CPU search in select_idle_cpu. The lower limit > is set to amount of CPUs in a core while upper limit is derived from the > latency-nice of the thread. This ensures for any architecture we will > usually search beyond a

RE: [PATCH 2/2] mmc: block: add CMD13 polling for ioctl() cmd with R1B response

2019-09-04 Thread Avri Altman
> On Wed, 2019-09-04 at 14:11 +, Avri Altman wrote: > > > static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct > > > mmc_blk_data *md, > > >struct mmc_blk_ioc_data *idata) > > > { > > > @@ -623,6 +675,9 @@ static int __mmc_blk_ioctl_cmd(struct > mmc_c

[PATCH v19 2/4] remoteproc/mediatek: add SCP support for mt8183

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Provide a basic driver to control Cortex M4 co-processor Signed-off-by: Erin Lo Signed-off-by: Nicolas Boichat Signed-off-by: Pi-Hsun Shih --- Changes from v18: - Use of_reserved_mem_device_init_by_idx() to hook the scp device to DMA mapping API to provide a shared dma pool

[PATCH v19 0/4] Add support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add support for controlling and communicating with mt8183's system control processor (SCP), using the remoteproc & rpmsg framework. And also add a cros_ec driver for CrOS EC host command over rpmsg. The overall structure of the series is: * remoteproc/mtk_scp.c: Control the start / stop of SCP (Pa

[PATCH v19 1/4] dt-bindings: Add a binding for Mediatek SCP

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Reviewed-by: Rob Herring --- Changes from v18, v17, v16, v15, v14, v13, v12, v11, v10, v9, v8, v7, v6: - No change. Changes from v5: - Remove dependency

[PATCH v19 4/4] arm64: dts: mt8183: add scp node

2019-09-04 Thread Pi-Hsun Shih
From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Signed-off-by: Eddie Huang --- Changes from v18, v17, v16, v15, v14: - No change. Changes from v13: - Change the size of the cfg register region. Changes from v12, v11, v10: - No ch

[PATCH v19 3/4] rpmsg: add rpmsg support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Signed-off-by: Pi-Hsun Shih --- Changes from v18: - No change. Changes from v17: - Mark mtk_rpmsg_{prepare,unprepare,stop} as static. Changes from v16: - Change year on another Copyright header to 2019. Changes from v15

Re: [PATCH] mm: Unsigned 'nr_pages' always larger than zero

2019-09-04 Thread zhong jiang
On 2019/9/5 2:48, Andrew Morton wrote: > On Wed, 4 Sep 2019 13:24:58 +0200 Vlastimil Babka wrote: > >> On 9/4/19 12:26 PM, zhong jiang wrote: >>> With the help of unsigned_lesser_than_zero.cocci. Unsigned 'nr_pages"' >>> compare with zero. And __get_user_pages_locked will return an long value. >>>

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-04 Thread Parth Shah
On 9/4/19 11:02 PM, Tim Chen wrote: > On 8/30/19 10:49 AM, subhra mazumdar wrote: >> Add Cgroup interface for latency-nice. Each CPU Cgroup adds a new file >> "latency-nice" which is shared by all the threads in that Cgroup. > > > Subhra, > > Thanks for posting the patchset. Having a latency

Re: [PATCH -next 08/15] thermal: tsens: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Amit Kucheria
On Wed, Sep 4, 2019 at 6:05 PM YueHaibing wrote: > > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Amit Kucheria > --- > drivers/thermal/qcom/tsens-common.c | 7 ++- > 1

Re: [PATCH 1/2] staging: dt-bindings: wilc1000: add optional rtc_clk property

2019-09-04 Thread Ajay.Kathat
Hi Eugen, On 04-Sep-19 7:03 PM, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > Add bindings for optional rtc clock pin. > > Signed-off-by: Eugen Hristev Thanks for sending the patch series. The changes in this series looks good to me. Acked-by: Ajay Singh Regards, Ajay > --- >

[PATCH -next] dmaengine: ti: edma: remove unused code

2019-09-04 Thread YueHaibing
drivers/dma/ti/edma.c: In function edma_probe: drivers/dma/ti/edma.c:2252:11: warning: variable off set but not used [-Wunused-but-set-variable] 'off' is not used now, so remove it. Signed-off-by: YueHaibing --- drivers/dma/ti/edma.c | 12 +--- 1 file changed, 1 insertion(+), 11 deleti

linux-next: no release today

2019-09-04 Thread Stephen Rothwell
Hi all, As I said yesterday, there will be no release today, or any day until September 30. -- Cheers, Stephen Rothwell pgpCeoYe6r8Zf.pgp Description: OpenPGP digital signature

Re: [PATCH v2 1/5] pinctrl: mediatek: Check gpio pin number and use binary search in mtk_hw_pin_field_lookup()

2019-09-04 Thread Light Hsieh
Dear reviewers, v2 is the same as v1 except that commit message is corrected according to Linus' comment for v1: 1. remove Change-Id lines 2. correct sysfs as debugfs On Thu, 2019-09-05 at 13:53 +0800, Light Hsieh wrote: > From: Light Hsieh > > 1. Check if gpio pin number is in valid range to

Re: [PATCH RFC] driver core: ensure a device has valid node id in device_add()

2019-09-04 Thread Greg KH
On Thu, Sep 05, 2019 at 09:33:50AM +0800, Yunsheng Lin wrote: > Currently a device does not belong to any of the numa nodes > (dev->numa_node is NUMA_NO_NODE) when the FW does not provide > the node id and the device has not no parent device. > > According to discussion in [1]: > Even if a device'

Re: [PATCH v2] drm/amdgpu: Remove two redundant null pointer checks

2019-09-04 Thread Zhou, David(ChunMing)
On 2019/9/5 下午1:49, zhong jiang wrote: > The functions "debugfs_remove" and "kfree" tolerate the passing > of null pointers. Hence it is unnecessary to check such arguments > around the calls. Thus remove the extra condition check at two places. > > Signed-off-by: zhong jiang Reviewed-by: Chunmi

Re: [RFC PATCH 0/9] Task latency-nice

2019-09-04 Thread Parth Shah
Hi Subhra, On 8/30/19 11:19 PM, subhra mazumdar wrote: > Introduce new per task property latency-nice for controlling scalability > in scheduler idle CPU search path. Valid latency-nice values are from 1 to > 100 indicating 1% to 100% search of the LLC domain in select_idle_cpu. New > CPU cgroup f

Re: [PATCH] media: siano: Use the correct style for SPDX License Identifier

2019-09-04 Thread Greg Kroah-Hartman
On Wed, Sep 04, 2019 at 04:00:10PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 4 Sep 2019 20:36:08 +0200 > Greg Kroah-Hartman escreveu: > > > On Wed, Sep 04, 2019 at 03:34:32PM -0300, Mauro Carvalho Chehab wrote: > > > Em Sat, 31 Aug 2019 20:41:51 +0530 > > > Nishad Kamdar escreveu: > > > >

[PATCH v2 3/5] pinctrl: mediatek: Refine mtk_pinconf_get() and mtk_pinconf_set()

2019-09-04 Thread Light Hsieh
From: Light Hsieh 1.Refine mtk_pinconf_get(): 1.1 Use only one occurrence of return at end of this function. 1.2 Correct cases for PIN_CONFIG_SLEW_RATE, PIN_CONFIG_INPUT_SCHMITT_ENABLE, and PIN_CONFIG_OUTPUT_ENABLE - Use variable ret to receive value in mtk_hw_get_value() (instead of

[PATCH v2 1/5] pinctrl: mediatek: Check gpio pin number and use binary search in mtk_hw_pin_field_lookup()

2019-09-04 Thread Light Hsieh
From: Light Hsieh 1. Check if gpio pin number is in valid range to prevent from get invalid pointer 'desc' in the following code: desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; 2. Use binary search in mtk_hw_pin_field_lookup() Modify mtk_hw_pin_field_lookup() to use bina

[PATCH v2 4/5] pinctrl: mediatek: Backward compatible to previous Mediatek's bias-pull usage

2019-09-04 Thread Light Hsieh
From: Light Hsieh Refine mtk_pinconf_set()/mtk_pinconf_get() for backward compatibility to previous Mediatek's bias-pull usage. In PINCTRL_MTK that use pinctrl-mtk-common.c, bias-pull setting for pins with 2 pull resistors can be specified as value for bias-pull-up and bias-pull-down. For example

[PATCH v2 2/5] pinctrl: mediatek: Supporting driving setting without mapping current to register value

2019-09-04 Thread Light Hsieh
From: Light Hsieh Mediatek's smarphone project actual usage does need to know current value (in mA) in procedure of finding the best driving setting. The steps in the procedure is like as follow: 1. set driving setting field in setting register as 0, measure waveform, perform test, and etc. 2

[PATCH v2 5/5] pinctrl: mediatek: Add support for pin configuration dump via debugfs.

2019-09-04 Thread Light Hsieh
From: Light Hsieh Add support for pin configuration dump via catting /sys/kernel/debug/pinctrl/$platform_dependent_path/pinconf-pins. pinctrl framework had already support such dump. This patch implement the operation function pointer to fullfill this dump. --- drivers/pinctrl/mediatek/pinctrl-

[PATCH v2] drm/amdgpu: Remove two redundant null pointer checks

2019-09-04 Thread zhong jiang
The functions "debugfs_remove" and "kfree" tolerate the passing of null pointers. Hence it is unnecessary to check such arguments around the calls. Thus remove the extra condition check at two places. Signed-off-by: zhong jiang --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 6 ++ 1 file c

[PATCH] ARM: Add support for Realtek SOC

2019-09-04 Thread jamestai . sky
From: "james.tai" This patch adds the basic machine file for the Realtek RTD16XX platform. Signed-off-by: james.tai --- arch/arm/Kconfig| 2 + arch/arm/Makefile | 2 + arch/arm/mach-realtek/Kconfig | 32 arch/arm/mach-realtek/Makefile | 3 ++ ar

[PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM

2019-09-04 Thread Mike Rapoport
From: Mike Rapoport The memory initialization of SGI-IP27 is already half-way to support SPARSEMEM and only a call to sparse_init() was missing. Add it to prom_meminit() and adjust arch/mips/Kconfig to enable SPARSEMEM and SPARSEMEM_EXTREME for SGI-IP27 Signed-off-by: Mike Rapoport --- Thomas,

Re: drm/amdgpu: remove the redundant null check

2019-09-04 Thread zhong jiang
On 2019/9/5 1:50, Markus Elfring wrote: >> debugfs_remove and kfree has taken the null check in account. >> hence it is unnecessary to check it. Just remove the condition. > How do you think about a wording like the following? > > The functions “debugfs_remove” and “kfree” tolerate the passing >

Re: [PATCH v2 4/6] compiler-gcc.h: add asm_inline definition

2019-09-04 Thread Nadav Amit
> On Sep 4, 2019, at 5:18 PM, Nick Desaulniers wrote: > > On Fri, Aug 30, 2019 at 4:15 PM Rasmus Villemoes > wrote: >> This adds an asm_inline macro which expands to "asm inline" [1] when gcc >> is new enough (>= 9.1), and just asm for older gccs and other >> compilers. >> >> Using asm inline("

Re: [PATCH 1/1] x86/purgatory: Change compiler flags to avoid relocation errors.

2019-09-04 Thread Andreas Smas
On Wed, Sep 4, 2019 at 3:19 PM Nick Desaulniers wrote: > > + (folks recommended by ./scripts/get_maintainer.pl ) > (See also, step 7: > https://nickdesaulniers.github.io/blog/2017/05/16/submitting-your-first-patch-to-the-linux-kernel-and-responding-to-feedback/) > > On Wed, Sep 4, 2019 at 2:45 PM

回收: [PATCH] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes

2019-09-04 Thread Max Chou
Max Chou 希望回收這封郵件 [[PATCH] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes]。

[PATCH v2] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes

2019-09-04 Thread max.chou
From: Max Chou Fix the issue that when the FW size is 32K+, it will fail for the download process because of the incorrect index. When firmware patch length is over 32K, "dl_cmd->index" may >= 0x80. It will be thought as "data end" that download process will not complete. However, driver should

Re: [PATCH -next 35/36] spi: zynq-qspi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Michal Simek
On 04. 09. 19 15:59, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/spi/spi-zynq-qspi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >

Re: [PATCH -next 34/36] spi: zynqmp: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Michal Simek
On 04. 09. 19 15:59, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/spi/spi-zynqmp-gqspi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [PATCH v2 5/5] misc: fastrpc: free dma buf scatter list

2019-09-04 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2019-08-29 02:29:26) > diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c > index eee2bb398947..47ae84afac2e 100644 > --- a/drivers/misc/fastrpc.c > +++ b/drivers/misc/fastrpc.c > @@ -550,6 +550,7 @@ static void fastrpc_dma_buf_detatch(struct dma_buf > *dmabu

Re: [PATCH 1/3] x86,mm/pat: Use generic interval trees

2019-09-04 Thread Davidlohr Bueso
On Wed, 04 Sep 2019, Michel Lespinasse wrote: Hi Davidlohr, On Wed, Sep 4, 2019 at 5:52 PM Davidlohr Bueso wrote: Ok, so for that I've added the following helper which will make the conversion a bit more straightforward: #define vma_interval_tree_foreach_stab(vma, root, start) vma_int

Re: [PATCH] gpiolib: acpi: make acpi_can_fallback_to_crs() static

2019-09-04 Thread Mika Westerberg
On Wed, Sep 04, 2019 at 10:26:24AM -0700, Dmitry Torokhov wrote: > It is not used outside gpiolib-acpi.c module, so there is no need to > export it. > > Signed-off-by: Dmitry Torokhov Acked-by: Mika Westerberg

Re: [RFC v2 0/3] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-04 Thread Viresh Kumar
On 04-09-19, 10:53, H. Nikolaus Schaller wrote: > Changes V2: > * merge separate patch to remove opp-v1 table from n950-n9 into > the general omap3xxx.dtsi patch > * add legacy compatibility to ti,omap3430 and ti,omap3630 for > the ti-cpufreq driver > * make driver and omap3xxx.dtsi patches pas

Re: [PATCH v2 0/9] Exynos Adaptive Supply Voltage support

2019-09-04 Thread Viresh Kumar
On 04-09-19, 14:37, Sylwester Nawrocki wrote: > I have changed the code to use dev_pm_opp_adjust_voltage(). I was wondering > though, what did you mean by "triplet" when commenting on this patch > https://patchwork.kernel.org/patch/11092245 ? The voltage value in the OPP core is stored as a tripl

[PATCH -next] mm: introduce vma_interval_tree_foreach_stab()

2019-09-04 Thread Davidlohr Bueso
This documents better the nature of the stab lookup/query. In addition, this is a step that will make the conversion of interval tree nodes from [a,b] to [a,b[ easier to review. For symmetry with vma_interval_tree, the anon equivalent is also introduced, albeit a single user. This patch does not

Re: [PATCH v2 2/2] mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

2019-09-04 Thread Mika Westerberg
On Wed, Sep 04, 2019 at 01:15:24AM +, Jethro Beekman wrote: > Now that SPI flash controllers without a software sequencer are > supported, it's trivial to add support for CNL and its PCI ID. > > Values from > https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/300-series-c

[PATCH] i2c: uniphier(-f): remove all dev_dbg()

2019-09-04 Thread Masahiro Yamada
I have fixed various bugs, and these drivers are (I hope) pretty stable now. Remove all dev_dbg() for code clean-up. If I end up with debugging the drivers again, I will locally revert this commit. I no longer need the debug code in upstream. Signed-off-by: Masahiro Yamada --- drivers/i2c/buss

[PATCH v18 5/5] arm64: dts: mt8183: add scp node

2019-09-04 Thread Pi-Hsun Shih
From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Signed-off-by: Eddie Huang --- Changes from v17, v16, v15, v14: - No change. Changes from v13: - Change the size of the cfg register region. Changes from v12, v11, v10: - No change.

[PATCH v18 1/5] dt-bindings: Add a binding for Mediatek SCP

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Reviewed-by: Rob Herring --- Changes from v17, v16, v15, v14, v13, v12, v11, v10, v9, v8, v7, v6: - No change. Changes from v5: - Remove dependency on CO

[PATCH v18 3/5] remoteproc: mt8183: add reserved memory manager API

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Add memory table mapping API for other driver to lookup reserved physical and virtual memory Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih --- Changes from v17, v16, v15: - No change. Changes from v14: - Fix a typo in variable name in DEBUG section. Changes from v13: -

[PATCH v18 2/5] remoteproc/mediatek: add SCP support for mt8183

2019-09-04 Thread Pi-Hsun Shih
From: Erin Lo Provide a basic driver to control Cortex M4 co-processor Signed-off-by: Erin Lo Signed-off-by: Nicolas Boichat Signed-off-by: Pi-Hsun Shih --- Changes from v17: - Fix mixture use of __iomem found by sparse. - Change the ipi handler to take a u32 instead of enum scp_ipi_id. Ch

[PATCH v18 0/5] Add support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add support for controlling and communicating with mt8183's system control processor (SCP), using the remoteproc & rpmsg framework. And also add a cros_ec driver for CrOS EC host command over rpmsg. The overall structure of the series is: * remoteproc/mtk_scp.c: Control the start / stop of SCP (Pa

[PATCH v18 4/5] rpmsg: add rpmsg support for mt8183 SCP.

2019-09-04 Thread Pi-Hsun Shih
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Signed-off-by: Pi-Hsun Shih --- Changes from v17: - Mark mtk_rpmsg_{prepare,unprepare,stop} as static. Changes from v16: - Change year on another Copyright header to 2019. Changes from v15: - No change. Changes from v14

RE: [PATCH] ACPI: support for NXP i2c controller

2019-09-04 Thread Biwen Li
> Hi, > > On 02.09.19 23:16, Andy Shevchenko wrote: > > On Mon, Sep 2, 2019 at 11:58 PM Rafael J. Wysocki > wrote: > >> > >> On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han > wrote: > >>> > >>> Enable NXP i2c controller to boot with ACPI > >>> > >>> Signed-off-by: Meenakshi Aggarwal > >>> Signed-

Re: [Patch V8 6/8] arm64: tegra: Enable xudc on Jetson TX1

2019-09-04 Thread Nagarjuna Kristam
On 04-09-2019 15:17, Chunfeng Yun wrote: > On Wed, 2019-09-04 at 13:53 +0530, Nagarjuna Kristam wrote: >> Enable XUSB device mode driver for USB0 slot on Jetson TX1. >> >> Signed-off-by: Nagarjuna Kristam >> Reviewed-by: JC Kuo >> --- >> arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 31 >>

[PATCH] cfg80211: Do not compare with boolean in nl80211_common_reg_change_event

2019-09-04 Thread zhong jiang
With the help of boolinit.cocci, we use !nl80211_reg_change_event_fill instead of (nl80211_reg_change_event_fill == false). Meanwhile, Clean up the code. Signed-off-by: zhong jiang --- net/wireless/nl80211.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/net/wireless

Re: [Patch V8 7/8] usb: gadget: Add UDC driver for tegra XUSB device mode controller

2019-09-04 Thread Nagarjuna Kristam
On 04-09-2019 16:00, Chunfeng Yun wrote: > On Wed, 2019-09-04 at 13:53 +0530, Nagarjuna Kristam wrote: >> This patch adds UDC driver for tegra XUSB 3.0 device mode controller. >> XUSB device mode controller supports SS, HS and FS modes >> >> Based on work by: >> Mark Kuo >> Hui Fu >> And

Re: [PATCH V7 1/3] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-04 Thread Anshuman Khandual
On 09/04/2019 01:46 PM, David Hildenbrand wrote: > On 03.09.19 11:45, Anshuman Khandual wrote: >> Memory hot remove uses get_nid_for_pfn() while tearing down linked sysfs >> entries between memory block and node. It first checks pfn validity with >> pfn_valid_within() before fetching nid. With C

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
Hi > Yes. Except that I think the name POWER_BUDGET_3_0 is a little odd. > It implies that this change is specific to USB 3.0 -- but it isn't. > USB 3.1 and 3.2 also have a 900 mA limit, right? > > So please consider changing the name to POWER_BUDGET_3. > > Alan Stern Thank you for your comme

[PATCH v3] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
The power budget for SuperSpeed mode should be 900 mA according to USB specification, so set the power budget to 900mA for dummy_start_ss which is only used for SuperSpeed mode. If the max power consumption of SuperSpeed device is larger than 500 mA, insufficient available bus power error happens

Re: [PATCH 1/3] ACPI: Remove acpi_has_method() call from acpi_adxl.c

2019-09-04 Thread Kelsey Skunberg
On Mon, Sep 02, 2019 at 11:08:08PM +0200, Rafael J. Wysocki wrote: > Sorry for the delayed reply. > > On Mon, Jul 22, 2019 at 8:29 PM Bjorn Helgaas wrote: > > > > [+cc Tony (original author), Borislav (merged original patch)] > > > > On Mon, Jul 22, 2019 at 10:31:11AM +0200, Rafael J. Wysocki wro

Re: [PATCH v4 02/16] powerpc/pseries: Introduce option to build secure virtual machines

2019-09-04 Thread Michael Ellerman
Thiago Jung Bauermann writes: > Michael Ellerman writes: >> On Tue, 2019-08-20 at 02:13:12 UTC, Thiago Jung Bauermann wrote: >>> Introduce CONFIG_PPC_SVM to control support for secure guests and include >>> Ultravisor-related helpers when it is selected >>> >>> Signed-off-by: Thiago Jung Bauerma

Re: [Linux-kernel-mentees] [PATCH v2 2/3] PCI: sysfs: Change permissions from symbolic to octal

2019-09-04 Thread Kelsey Skunberg
On Wed, Sep 04, 2019 at 02:33:44PM -0400, Don Dutile wrote: > On 09/04/2019 02:22 AM, Kelsey Skunberg wrote: > > On Thu, Aug 15, 2019 at 10:37:13AM -0400, Don Dutile wrote: > > > On 08/14/2019 01:38 AM, Bjorn Helgaas wrote: > > > > [+cc Bodong, Don, Greg for permission question] > > > > > > > > On

[PATCH] ASoC: qcom: common: Include link-name in error messages

2019-09-04 Thread Bjorn Andersson
Reading out the link-name earlier and including it in the various error messages makes it much more convenient to figure out what links have unmet dependencies. Signed-off-by: Bjorn Andersson --- sound/soc/qcom/common.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(

Re: [PATCH v2 4/4] gpio: dt-bindings: Update documentation with ast2600 controllers

2019-09-04 Thread Andrew Jeffery
On Thu, 5 Sep 2019, at 10:48, Rashmica Gupta wrote: > The ast2600 is a new generation of SoC from ASPEED. Similarly to the > ast2400 and ast2500, it has a GPIO controller for it's 3.6V GPIO pins. > Additionally, it has a GPIO controller for 36 1.8V GPIO pins. These > voltages are fixed and canno

Re: [PATCH v2 3/4] gpio: Add in ast2600 details to Aspeed driver

2019-09-04 Thread Andrew Jeffery
On Thu, 5 Sep 2019, at 10:47, Rashmica Gupta wrote: > The ast2600 is a new generation of SoC from ASPEED. Similarly to the > ast2400 and ast2500, it has a GPIO controller for it's 3.6V GPIO pins. > Additionally, it has a GPIO controller for 36 1.8V GPIO pins. These > voltages are fixed and canno

Re: [PATCH v3 2/3] Powerpc64/Watchpoint: Don't ignore extraneous exceptions

2019-09-04 Thread Ravi Bangoria
On 9/4/19 8:12 PM, Naveen N. Rao wrote: Ravi Bangoria wrote: On Powerpc64, watchpoint match range is double-word granular. On a watchpoint hit, DAR is set to the first byte of overlap between actual access and watched range. And thus it's quite possible that DAR does not point inside user spe

Re: lockdep warning while booting POWER9 PowerNV

2019-09-04 Thread Michael Ellerman
Bart Van Assche writes: > On 8/30/19 2:13 PM, Qian Cai wrote: >> https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config >> >> Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would >> generate >> a warning in lockdep_register_key() at, >> >> if (WARN_ON_ONCE(sta

[PATCH] irqchip: uniphier-aidet: use devm_platform_ioremap_resource()

2019-09-04 Thread Masahiro Yamada
Replace the chain of platform_get_resource() and devm_ioremap_resource() with devm_platform_ioremap_resource(). This allows to remove the local variable for (struct resource *), and have one function call less. Signed-off-by: Masahiro Yamada --- drivers/irqchip/irq-uniphier-aidet.c | 4 +--- 1

[PATCH] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes

2019-09-04 Thread max.chou
From: Max Chou Fix the issue that when the FW size is 32K+, it will fail for the download process because of the incorrect index. When firmware patch length is over 32K, "dl_cmd->index" may >= 0x80. It will be thought as "data end" that download process will not complete. However, driver should

Re: [PATCH 4.14 00/57] 4.14.142-stable review

2019-09-04 Thread Guenter Roeck
On 9/4/19 5:38 PM, Kevin Hilman wrote: "kernelci.org bot" writes: stable-rc/linux-4.14.y boot: 144 boots: 5 failed, 131 passed with 8 offline (v4.14.141-58-g39a17ab1edd4) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.141-58-g39a17ab1edd4/ Fu

[PATCH V7 2/2] riscv: Add support for libdw

2019-09-04 Thread Mao Han
This patch adds support for DWARF register mappings and libdw registers initialization, which is used by perf callchain analyzing when --call-graph=dwarf is given. Signed-off-by: Mao Han Cc: Paul Walmsley Cc: Greentime Hu Cc: Palmer Dabbelt Cc: linux-riscv Cc: Christoph Hellwig Cc: Guo Ren

[PATCH V7 1/2] riscv: Add support for perf registers sampling

2019-09-04 Thread Mao Han
This patch implements the perf registers sampling and validation API for riscv arch. The valid registers and their register ID are defined in perf_regs.h. Perf tool can backtrace in userspace with unwind library and the registers/user stack dump support. Signed-off-by: Mao Han Cc: Paul Walmsley

Re: [PATCH v2 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Andrew Jeffery
On Thu, 5 Sep 2019, at 10:46, Rashmica Gupta wrote: > The current calculation for the number of GPIO banks is only correct if > the number of GPIOs is a multiple of 32 (if there were 31 GPIOs we would > currently say there are 0 banks, which is incorrect). > > Fixes: 361b79119a4b7 ('gpio: Add A

[PATCH] i2c: uniphier(-f): use devm_platform_ioremap_resource()

2019-09-04 Thread Masahiro Yamada
Replace the chain of platform_get_resource() and devm_ioremap_resource() with devm_platform_ioremap_resource(). This allows to remove the local variable for (struct resource *), and have one function call less. Signed-off-by: Masahiro Yamada --- drivers/i2c/busses/i2c-uniphier-f.c | 4 +--- dr

[PATCH V7 0/2] riscv: Add perf callchain support

2019-09-04 Thread Mao Han
This patchset adds perf callchain(FP/DWARF) support for RISC-V. It comes from the csky version callchain support with some slight modifications. The patchset base on Linux 5.3-rc6. The patchset has some 'checkpatch.pl --strict' warnings: WARNING: Use #include instead of #141: FILE: tools/perf/ar

Re: [PATCH 1/3] x86,mm/pat: Use generic interval trees

2019-09-04 Thread Davidlohr Bueso
On Wed, 04 Sep 2019, Michel Lespinasse wrote: I do not have time for a full review right now, but I did have a quick pass at it and it does seem to match the direction I'd like this to take. Thanks, and no worries, I consider all this v5.5 material anyway. Please let me know if you'd like m

linux-next: manual merge of the net-next tree with the arm-soc tree

2019-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/nuvoton/w90p910_ether.c between commit: 00d2fbf73d55 ("net: remove w90p910-ether driver") from the arm-soc tree and commit: d1a55841ab24 ("net: Remove dev_err() usage after platform_get_irq()")

[PATCH] dmaengine: uniphier-mdmac: use devm_platform_ioremap_resource()

2019-09-04 Thread Masahiro Yamada
Replace the chain of platform_get_resource() and devm_ioremap_resource() with devm_platform_ioremap_resource(). This allows to remove the local variable for (struct resource *), and have one function call less. Signed-off-by: Masahiro Yamada --- drivers/dma/uniphier-mdmac.c | 4 +--- 1 file ch

Re: [PATCH 4.9 00/83] 4.9.191-stable review

2019-09-04 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 129 boots: 6 failed, 114 passed with 8 offline, 1 untried/unknown (v4.9.190-84-ga232f5b3e312) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.190-84-ga232f5b3e312/ Full Build Summary: https://kernelci.org/build/stable-rc/

Re: [PATCH v5 07/13] dt-bindings: pwm: add a property "num-pwms"

2019-09-04 Thread Sam Shih
On Mon, 2019-09-02 at 18:04 +0200, Uwe Kleine-König wrote: > On Tue, Aug 27, 2019 at 01:39:24PM -0500, Rob Herring wrote: > > On Thu, Aug 22, 2019 at 02:58:37PM +0800, Sam Shih wrote: > > > From: Ryder Lee > > > > The subject should indicate this is for Mediatek. > > > > > > > > This adds a pro

[PATCH] bus: uniphier-system-bus: use devm_platform_ioremap_resource()

2019-09-04 Thread Masahiro Yamada
Replace the chain of platform_get_resource() and devm_ioremap_resource() with devm_platform_ioremap_resource(). This allows to remove the local variable for (struct resource *), and have one function call less. Signed-off-by: Masahiro Yamada --- drivers/bus/uniphier-system-bus.c | 4 +--- 1 fi

Re: [PATCH v2] mm: Unsigned 'nr_pages' always larger than zero

2019-09-04 Thread Matthew Wilcox
On Thu, Sep 05, 2019 at 10:17:51AM +0800, zhong jiang wrote: > With the help of unsigned_lesser_than_zero.cocci. Unsigned 'nr_pages' > compare with zero. And __gup_longterm_locked pass an long local variant > 'rc' to check_and_migrate_cma_pages. Hence it is nicer to change the > parameter to long t

[BACKPORT 4.14.y v2 6/6] serial: sprd: Modify the baud rate calculation formula

2019-09-04 Thread Baolin Wang
From: Lanqing Liu [Upstream commit 5b9cea15a3de5d65000d49f626b71b00d42a0577] When the source clock is not divisible by the expected baud rate and the remainder is not less than half of the expected baud rate, the old formular will round up the frequency division coefficient. This will make the a

  1   2   3   4   5   6   7   8   9   10   >