Re: [PATCH v2] powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memory

2020-08-17 Thread Christoph Hellwig
On Mon, Aug 17, 2020 at 06:46:58PM -0300, Thiago Jung Bauermann wrote: > POWER secure guests (i.e., guests which use the Protection Execution > Facility) need to use SWIOTLB to be able to do I/O with the hypervisor, but > they don't need the SWIOTLB memory to be in low addresses since the > hypervi

[PATCH v1 2/9] extcon: extcon-ptn5150: Switch to GENMASK() for VBUS detection macro

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Switch to GENMASK() for VBUS detection macro. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn

[PATCH v1 3/9] extcon: extcon-ptn5150: Switch to BIT() macro for cable attach

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Switch to BIT() macro for the cable attach. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c i

Re: [PATCH] mm/hotplug: Enumerate memory range offlining failure reasons

2020-08-17 Thread Michal Hocko
On Tue 18-08-20 11:58:49, Anshuman Khandual wrote: > > > On 08/18/2020 11:35 AM, Michal Hocko wrote: > > On Tue 18-08-20 09:52:02, Anshuman Khandual wrote: > >> Currently a debug message is printed describing the reason for memory range > >> offline failure. This just enumerates existing reason c

[PATCH v1 6/9] extcon: extcon-ptn5150: Set and get the VBUS and POLARITY property state

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Set and get the VBUS and POLARITY property state. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 75 ++--- 1 file changed, 55 insertions(+), 20 deletions(-) diff --git a/drivers/extcon/extco

[PATCH v1 7/9] extcon: extcon-ptn5150: Add USB debug accessory support

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add USB debug accessory support. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c index 5612dc0ef2af..b985

[PATCH v1 9/9] extcon: extcon-ptn5150: Remove unused variable and extra space

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Remove the unused variable and extra space. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c index 140994ac43ed

[PATCH v1 5/9] extcon: extcon-ptn5150: Switch to GENMASK() for port attachment macro

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Switch to GENMASK() macro for the port attachment. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extco

[PATCH v1 8/9] extcon: extcon-ptn5150: Add USB analog audio accessory support

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add USB analog audio accessory attached and detection support. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5

[PATCH v1 1/9] extcon: extcon-ptn5150: Switch to GENMASK() for vendor and device ID's

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Switch to GENMASK() for vendor_id and device_id macros. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/driver

[PATCH v1 4/9] extcon: extcon-ptn5150: Switch to BIT() for cable detach macro

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Switch to BIT() macro for the cable detach. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c

[PATCH v1 0/9] extcon: extcon-ptn5150: Add the USB external connector support

2020-08-17 Thread Ramuthevar,Vadivel MuruganX
USB external connector chip PTN5150 used on the Intel LGM SoC boards to detect the USB type and connection. --- v1: - Initial version Ramuthevar Vadivel Murugan (9): extcon: extcon-ptn5150: Switch to GENMASK() for vendor and device ID's extcon: extcon-ptn5150: Switch to GENMASK() for VBUS de

[PATCH] v4l2-pci-skeleton: convert comma to semicolon

2020-08-17 Thread Xu Wang
Replace a comma between expression statements by a semicolon. Signed-off-by: Xu Wang --- samples/v4l/v4l2-pci-skeleton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/v4l/v4l2-pci-skeleton.c b/samples/v4l/v4l2-pci-skeleton.c index 3fa6582b4a68..dcc2f62265b6 1006

Re: [PATCH] block/rnbd: Ensure err is always initialized in process_rdma

2020-08-17 Thread Jinpu Wang
On Tue, Aug 18, 2020 at 8:50 AM Nathan Chancellor wrote: > > Clang warns: > > drivers/block/rnbd/rnbd-srv.c:150:6: warning: variable 'err' is used > uninitialized whenever 'if' condition is true > [-Wsometimes-uninitialized] > if (IS_ERR(bio)) { > ^~~ > drivers/block/rn

RE: [kbuild-all] Re: drivers/dma/xilinx/xilinx_dpdma.c:1172 xilinx_dpdma_synchronize() error: double unlocked 'chan->vchan.lock' (orig line 1170)

2020-08-17 Thread Xia, Hui
>-Original Message- >From: Laurent Pinchart >Sent: 2020年8月12日 6:50 >To: kernel test robot >Cc: Hyun Kwon ; kbuild-...@lists.01.org; linux- >ker...@vger.kernel.org; Vinod Koul ; Tejas Upadhyay >; Michal Simek >Subject: [kbuild-all] Re: drivers/dma/xilinx/xilinx_dpdma.c:1172 >xilinx_dpd

[PATCH drm/hisilicon 3/4] drm/hisilicon: Use drv_err instead of DRM_ERROR in hibmc_drm_de

2020-08-17 Thread Tian Tao
Use drv_err instead of DRM_ERROR in hibmc_drm_de Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_d

[PATCH drm/hisilicon 4/4] drm/hisilicon: Use drv_err instead of DRM_ERROR in hibmc_drm_drv

2020-08-17 Thread Tian Tao
Use drv_err instead of DRM_ERROR in hibmc_drm_drv Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilico

[PATCH drm/hisilicon 2/4] drm/hisilicon: Use drv_err instead of DRM_ERROR in hibmc_drm_vdac

2020-08-17 Thread Tian Tao
Use drv_err instead of DRM_ERROR in hibmc_drm_vdac Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vd

[PATCH drm/hisilicon 0/4] Use drv_err instead of DRM_ERROR in hibmc driver

2020-08-17 Thread Tian Tao
patch #1 is using the drv_err instead of DRM_ERROR in hibmc_ttm.c patch #2 is using the drv_err instead of DRM_ERROR in hibmc_drm_vdac.c patch #3 is using the drv_err and drm_dbg_atomic instead of DRM_ERROR and DRM_DEBUG_ATOMIC in hibmc_drm_de.c patch #4 is using the drv_err and drm_warn instead

RE: [PATCH 1/2] soundwire: add definition for maximum number of ports

2020-08-17 Thread Liao, Bard
> -Original Message- > From: Vinod Koul > Sent: Tuesday, August 18, 2020 2:36 PM > To: Bard Liao > Cc: alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org; ti...@suse.de; > broo...@kernel.org; gre...@linuxfoundation.org; j...@cadence.com; > srinivas.kandaga...@linaro.org; rander.w..

[PATCH drm/hisilicon 1/4] drm/hisilicon: Use drv_err instead of DRM_ERROR in hibmc_ttm

2020-08-17 Thread Tian Tao
Use drv_err instead of DRM_ERROR in hibmc_ttm. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c index 322bd54..602

Re: [RFC PATCH 2/3] mm: Drop use of test_and_set_skip in favor of just setting skip

2020-08-17 Thread Alex Shi
在 2020/8/13 下午12:02, Alexander Duyck 写道: > From: Alexander Duyck > > The only user of test_and_set_skip was isolate_migratepages_block and it > was using it after a call that was testing and clearing the LRU flag. As > such it really didn't need to be behind the LRU lock anymore as it wasn't >

[PATCH] block/rnbd: Ensure err is always initialized in process_rdma

2020-08-17 Thread Nathan Chancellor
Clang warns: drivers/block/rnbd/rnbd-srv.c:150:6: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (IS_ERR(bio)) { ^~~ drivers/block/rnbd/rnbd-srv.c:177:9: note: uninitialized use occurs here return err

Re: [PATCH 1/2] kexec: Add quick kexec support for kernel

2020-08-17 Thread Sang Yan
On 8/17/2020 9:42 PM, Pavel Machek wrote: > Hi! > >> +config QUICK_KEXEC >> +bool "Support for quick kexec" >> +depends on KEXEC_CORE >> +help >> + Say y here to enable this feature. > > ? > >> + It use reserved memory to accelerate kexec, just like crash > > uses > >>

[rcu:rcu/next 125/128] kernel/rcu/rcuscale.c:430:6: error: 'perf_type' undeclared; did you mean

2020-08-17 Thread kernel test robot
Hi Paul, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: 398b53b5b3751726c05f14a4331b0de258c0453a commit: a20b5bd09813bc981ab0bb01cfd7672017f8d74e [125/128] rcuperf: Change rcuperf to rcuscale config: x86_64-

[RESEND PATCH v19 3/3] Input: new da7280 haptic driver

2020-08-17 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Reviewed-by: Jes Sorensen . Signed-off-by: Roy Im --- v19: - Corrected some errors and replaced some code to pro

[RESEND PATCH v19 0/3] da7280: haptic driver submission

2020-08-17 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH v19 1/3] MAINTAINERS file update for DA7280 [PATCH v19 2/3] DA7280 DT Binding [PATCH v19 3/3] DA7280 Driver This patch applies against linux-next and v5.8 Thank you, Roy Im, Dialo

[RESEND PATCH v19 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2020-08-17 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: Corrected file list order. v11: No changes. v10: No c

drivers/net/arcnet/com20020_cs.c:296:17: sparse: sparse: cast removes address space '__iomem' of expression

2020-08-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 9 weeks ago config: riscv-randconfig-s032-20200818 (attached

[RESEND PATCH v19 2/3] dt-bindings: input: Add document bindings for DA7280

2020-08-17 Thread Roy Im
Add device tree binding information for DA7280 haptic driver. Example bindings for DA7280 are added. Reviewed-by: Rob Herring . Signed-off-by: Roy Im --- v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: No changes. v11:

Re: linux-next: Fixes tag needs some work in the scsi-mkp tree

2020-08-17 Thread Can Guo
Hi Stephen, On 2020-08-18 14:11, Stephen Rothwell wrote: Hi all, In commit 35afe60929ab ("scsi: ufs: Properly release resources if a task is aborted successfully") Fixes tag Fixes: 5a0b0cb9bee7 ("ufs: Add support for clock gating") has these problem(s): - Subject does not match targe

[PATCH v2] soc: fsl: enable acpi support

2020-08-17 Thread Ran Wang
From: Peng Ma This patch enables ACPI support in RCPM driver. Signed-off-by: Peng Ma Signed-off-by: Ran Wang --- Change in v2: - Update acpi_device_id to fix conflict with other driver drivers/soc/fsl/rcpm.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dri

[PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-17 Thread Xu Wang
Replace a comma between expression statements by a semicolon. Signed-off-by: Xu Wang --- mm/hugetlb_cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index aabf65d4d91b..1f87aec9ab5c 100644 --- a/mm/hugetlb_cgroup.c +++ b/m

[PATCH] rtc: fsl-ftm-alarm: update acpi device id

2020-08-17 Thread Ran Wang
From: Peng Ma Original device id would conflict with crypto driver, change it. Signed-off-by: Peng Ma Signed-off-by: Ran Wang --- drivers/rtc/rtc-fsl-ftm-alarm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c b/drivers/rtc/rtc-fsl-ftm-a

Re: [PATCH] block: rnbd: rnbd-srv: silence uninitialized variable warning

2020-08-17 Thread Jinpu Wang
On Tue, Aug 18, 2020 at 7:30 AM Nathan Chancellor wrote: > > On Tue, Aug 18, 2020 at 12:03:18AM -0400, Brooke Basile wrote: > > Clang warns: > > drivers/block/rnbd/rnbd-srv.c:150:6: warning: variable 'err' is used > > uninitialized whenever 'if' condition is true > > [-Wsometimes-unin

Re: [PATCH] sound: remove duplicate "the the" phrase in Kconfig text

2020-08-17 Thread Michal Simek
On 18. 08. 20 0:47, Colin King wrote: > From: Colin Ian King > > There are a couple of occurrences of "the the" in the Kconfig > text. Fix these. > > Signed-off-by: Colin Ian King > --- > sound/soc/xilinx/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/

[PATCH v2 2/2] ACPI/IORT: Remove the unused inline functions

2020-08-17 Thread Zenghui Yu
Since commit 8212688600ed ("ACPI/IORT: Fix build error when IOMMU_SUPPORT is disabled"), iort_fwspec_iommu_ops() and iort_add_device_replay() are not needed anymore when CONFIG_IOMMU_API is not selected. Let's remove them. Signed-off-by: Zenghui Yu --- drivers/acpi/arm64/iort.c | 4 1 file

[PATCH v2 0/2] ACPI/IORT: Code cleanups

2020-08-17 Thread Zenghui Yu
* From v1 [1]: - As pointed out by Hanjun, remove two now unused inline functions. Compile tested with CONFIG_IOMMU_API is not selected. [1] https://lore.kernel.org/r/20200817105946.1511-1-yuzeng...@huawei.com Zenghui Yu (2): ACPI/IORT: Drop the unused @ops of iort_add_device_replay() A

[PATCH v2 1/2] ACPI/IORT: Drop the unused @ops of iort_add_device_replay()

2020-08-17 Thread Zenghui Yu
Since commit d2e1a003af56 ("ACPI/IORT: Don't call iommu_ops->add_device directly"), we use the IOMMU core API to replace a direct invoke of the specified callback. The parameter @ops has therefore became unused. Let's drop it. Signed-off-by: Zenghui Yu --- drivers/acpi/arm64/iort.c | 8 +++-

Re: [PATCH 2/2] soundwire: fix port_ready[] dynamic allocation in mipi_disco and ASoC codecs

2020-08-17 Thread Vinod Koul
On 18-08-20, 01:47, Bard Liao wrote: > From: Pierre-Louis Bossart > > The existing code allocates memory for the total number of ports. > This only works if the ports are contiguous, but will break if e.g. a > Devices uses port0, 1, and 14. The port_ready[] array would contain 3 > elements, which

Re: [PATCH 1/2] soundwire: add definition for maximum number of ports

2020-08-17 Thread Vinod Koul
On 18-08-20, 01:47, Bard Liao wrote: > From: Pierre-Louis Bossart > > A Device may have at most 15 physical ports (DP0, DP1..DP14). > > Signed-off-by: Pierre-Louis Bossart > Reviewed-by: Rander Wang > Reviewed-by: Guennadi Liakhovetski > Signed-off-by: Bard Liao > --- > include/linux/soundw

Re: [PATCH v2 00/12] soundwire: intel: add power management support

2020-08-17 Thread Vinod Koul
On 17-08-20, 23:29, Bard Liao wrote: > This series adds power management support for Intel soundwire links. Applied all, thanks > > Changes in v2: > - Move "#include " to the first required patch. > - Fit debug log in single line. > > Bard Liao (1): > soundwire: intel: reinitialize IP+DSP in

Re: [PATCH 0/2] KVM: arm64: Fix sleeping while atomic BUG() on OOM

2020-08-17 Thread Paolo Bonzini
On 11/08/20 12:27, Will Deacon wrote: > Hi all, > > While stress-testing my arm64 stage-2 page-table rewrite [1], I ran into > a sleeping while atomic BUG() during OOM that I can reproduce with > mainline. > > The problem is that the arm64 page-table code periodically calls > cond_resched_lock()

Re: [PATCH] ACPI/IORT: Drop the unused @ops of iort_add_device_replay()

2020-08-17 Thread Zenghui Yu
On 2020/8/18 11:49, Hanjun Guo wrote: On 2020/8/17 18:59, Zenghui Yu wrote: Since commit d2e1a003af56 ("ACPI/IORT: Don't call iommu_ops->add_device directly"), we use the IOMMU core API to replace a direct invoke of the specified callback. The parameter @ops has therefore became unused. Let's dr

Re: [PATCH 00/13] soundwire: intel: add power management support

2020-08-17 Thread Vinod Koul
On 17-08-20, 11:10, Pierre-Louis Bossart wrote: > > > > > I had applied except 3 & 9 (few skipped in middle due to conflict while > > > applying), BUT I get a build failure on patch 2 onwards :( > > > > > > drivers/soundwire/intel_init.c: In function ‘sdw_intel_cleanup’: > > > drivers/soundwire/

[PATCH] thermal: sysfs: fall back to vzalloc for cooling device's statistics

2020-08-17 Thread Yue Hu
From: Yue Hu We observed warning about kzalloc() when register thermal cooling device in backlight_device_register(). backlight display can be a cooling device since reducing screen brightness will can help reduce temperature. However, ->get_max_state of backlight will assign max brightness of 1

Re: [PATCH] mm/hotplug: Enumerate memory range offlining failure reasons

2020-08-17 Thread Anshuman Khandual
On 08/18/2020 11:35 AM, Michal Hocko wrote: > On Tue 18-08-20 09:52:02, Anshuman Khandual wrote: >> Currently a debug message is printed describing the reason for memory range >> offline failure. This just enumerates existing reason codes which improves >> overall readability and makes it cleane

Re: [PATCH v2] overflow: Add __must_check attribute to check_*() helpers

2020-08-17 Thread Leon Romanovsky
On Mon, Aug 17, 2020 at 12:36:51PM -0700, Kees Cook wrote: > On Mon, Aug 17, 2020 at 11:08:54AM +0200, David Sterba wrote: > > On Sat, Aug 15, 2020 at 10:09:24AM -0700, Kees Cook wrote: > > > +static inline bool __must_check __must_check_overflow(bool overflow) > > > +{ > > > + return unlikely(over

Re: [PATCH 09/13] soundwire: intel: add CLK_STOP_BUS_RESET support

2020-08-17 Thread Vinod Koul
On 17-08-20, 09:30, Pierre-Louis Bossart wrote: > > > > > > + } else if (clock_stop_quirks & SDW_INTEL_CLK_STOP_BUS_RESET) { > > > + ret = sdw_cdns_clock_stop(cdns, true); > > > + if (ret < 0) { > > > + dev_err(dev, "cannot enable clock stop on suspend\n"); > > >

[PATCH] alarmtimer: convert comma to semicolon

2020-08-17 Thread Xu Wang
Replace a comma between expression statements by a semicolon. Signed-off-by: Xu Wang --- kernel/time/alarmtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index ca223a89530a..f4ace1bf8382 100644 --- a/kernel/time/alar

[PATCH v2] arm64: dts: imx8qm: added lvds pwm

2020-08-17 Thread Oliver Graute
Add nodes for lvds pwms Signed-off-by: Oliver Graute --- .../boot/dts/freescale/imx8-ss-lsio.dtsi | 84 +++ drivers/clk/imx/clk-imx8qxp.c | 14 +++- drivers/firmware/imx/scu-pd.c | 6 +- include/dt-bindings/clock/imx8-clock.h| 12 +++

Re: [PATCH v6 2/2] soc: mediatek: add mt6779 devapc driver

2020-08-17 Thread Neal Liu
Hi Chun-Kuang, On Tue, 2020-08-18 at 10:44 +0800, Neal Liu wrote: > Hi Chun-Kuang, > > On Mon, 2020-08-17 at 23:13 +0800, Chun-Kuang Hu wrote: > > Hi, Neal: > > > > Neal Liu 於 2020年8月17日 週一 下午12:02寫道: > > > > > > Hi Chun-Kuang, > > > > > > On Sat, 2020-08-15 at 11:03 +0800, Chun-Kuang Hu wrote:

[PATCH v3 0/5] Fix ELF / FDPIC ELF core dumping, and use mmap_lock properly in there

2020-08-17 Thread Jann Horn
At the moment, we have that rather ugly mmget_still_valid() helper to work around : ELF core dumping doesn't take the mmap_sem while traversing the task's VMAs, and if anything (like userfaultfd) then remotely messes with the VMA tree, fireworks ensue. So at the

[PATCH v3 3/5] coredump: Refactor page range dumping into common helper

2020-08-17 Thread Jann Horn
Both fs/binfmt_elf.c and fs/binfmt_elf_fdpic.c need to dump ranges of pages into the coredump file. Extract that logic into a common helper. Signed-off-by: Jann Horn --- fs/binfmt_elf.c | 22 ++ fs/binfmt_elf_fdpic.c| 18 +++--- fs/coredump.c

[PATCH v3 2/5] coredump: Let dump_emit() bail out on short writes

2020-08-17 Thread Jann Horn
dump_emit() has a retry loop, but there seems to be no way for that retry logic to actually be used; and it was also buggy, writing the same data repeatedly after a short write. Let's just bail out on a short write. Suggested-by: Linus Torvalds Signed-off-by: Jann Horn --- fs/coredump.c | 22 +

[PATCH v3 4/5] binfmt_elf, binfmt_elf_fdpic: Use a VMA list snapshot

2020-08-17 Thread Jann Horn
In both binfmt_elf and binfmt_elf_fdpic, use a new helper dump_vma_snapshot() to take a snapshot of the VMA list (including the gate VMA, if we have one) while protected by the mmap_lock, and then use that snapshot instead of walking the VMA list without locking. An alternative approach would be t

[PATCH v3 1/5] binfmt_elf_fdpic: Stop using dump_emit() on user pointers on !MMU

2020-08-17 Thread Jann Horn
dump_emit() is for kernel pointers, and VMAs describe userspace memory. Let's be tidy here and avoid accessing userspace pointers under KERNEL_DS, even if it probably doesn't matter much on !MMU systems - especially given that it looks like we can just use the same get_dump_page() as on MMU if we m

[PATCH v3 5/5] mm/gup: Take mmap_lock in get_dump_page()

2020-08-17 Thread Jann Horn
Properly take the mmap_lock before calling into the GUP code from get_dump_page(); and play nice, allowing the GUP code to drop the mmap_lock if it has to sleep. As Linus pointed out, we don't actually need the VMA because __get_user_pages() will flush the dcache for us if necessary. Signed-off-b

linux-next: Fixes tag needs some work in the scsi-mkp tree

2020-08-17 Thread Stephen Rothwell
Hi all, In commit 35afe60929ab ("scsi: ufs: Properly release resources if a task is aborted successfully") Fixes tag Fixes: 5a0b0cb9bee7 ("ufs: Add support for clock gating") has these problem(s): - Subject does not match target commit subject Just use git log -1 --format='

Re: [PATCH 4.19 000/168] 4.19.140-rc1 review

2020-08-17 Thread Naresh Kamboju
On Mon, 17 Aug 2020 at 21:44, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.140 release. > There are 168 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > R

Re: [PATCH] romfs: Fix uninitialized memory leak in romfs_dev_read()

2020-08-17 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2020 at 03:32:02AM +0200, Jann Horn wrote: > romfs has a superblock field that limits the size of the filesystem; > data beyond that limit is never accessed. > > romfs_dev_read() fetches a caller-supplied number of bytes from the > backing device. It returns 0 on success or an erro

Re: [PATCH v8 1/4] power: supply: core: add quick charge type property

2020-08-17 Thread Greg KH
On Tue, Aug 18, 2020 at 09:56:28AM +0800, Qiwu Huang wrote: > On Fri, Aug 14, 2020 at 2:09 PM Greg KH wrote: > > > > On Fri, Aug 14, 2020 at 11:46:54AM +0800, Qiwu Huang wrote: > > > From: Qiwu Huang > > > > > > Reports the kind of quick charge type based on > > > different adapter power. > > > >

arch/mips/include/asm/fpu.h:79 __enable_fpu() warn: ignoring unreachable code.

2020-08-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd commit: c9b0299034665d594e56ee343f28033d1b24de6d MIPS: Use fallthrough for arch/mips date: 3 months ago config: mips-randconfig-m031-20200818 (attached as .config)

Re: [PATCH] mm/hotplug: Enumerate memory range offlining failure reasons

2020-08-17 Thread Michal Hocko
On Tue 18-08-20 09:52:02, Anshuman Khandual wrote: > Currently a debug message is printed describing the reason for memory range > offline failure. This just enumerates existing reason codes which improves > overall readability and makes it cleaner. This does not add any functional > change. Wasn'

[PATCH V2 1/2] Add new flush_iotlb_range and handle freelists when using iommu_unmap_fast

2020-08-17 Thread Tom Murphy
Add a flush_iotlb_range to allow flushing of an iova range instead of a full flush in the dma-iommu path. Allow the iommu_unmap_fast to return newly freed page table pages and pass the freelist to queue_iova in the dma-iommu ops path. This patch is useful for iommu drivers (in this case the intel

[PATCH V2 2/2] Handle init_iova_flush_queue failure in dma-iommu path

2020-08-17 Thread Tom Murphy
init_iova_flush_queue can fail if we run out of memory. Fall back to no flush queue if it fails. Signed-off-by: Tom Murphy --- drivers/iommu/dma-iommu.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c index 7433f74

Re: [PATCH 5.4 000/270] 5.4.59-rc1 review

2020-08-17 Thread Naresh Kamboju
On Mon, 17 Aug 2020 at 21:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.59 release. > There are 270 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH v6 0/3] Support virtio cross-device resources

2020-08-17 Thread Gerd Hoffmann
On Tue, Aug 18, 2020 at 10:37:41AM +0900, David Stevens wrote: > This patchset implements the current proposal for virtio cross-device > resource sharing [1]. It will be used to import virtio resources into > the virtio-video driver currently under discussion [2]. The patch > under consideration to

Re: [PATCH] security: keys: delete repeated words in comments

2020-08-17 Thread Jarkko Sakkinen
On Fri, Aug 07, 2020 at 09:51:23AM -0700, Randy Dunlap wrote: > Drop repeated words in comments. > {to, will, the} > > Signed-off-by: Randy Dunlap > Cc: David Howells > Cc: Jarkko Sakkinen > Cc: keyri...@vger.kernel.org > Cc: James Morris > Cc: "Serge E. Hallyn" > Cc: linux-security-mod...@vg

Re: [PATCH 5.7 000/393] 5.7.16-rc1 review

2020-08-17 Thread Naresh Kamboju
On Mon, 17 Aug 2020 at 21:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.16 release. > There are 393 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH 11/17] bpf/task_iter: In task_file_seq_get_next use fnext_task

2020-08-17 Thread kernel test robot
Hi "Eric, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf/master] [also build test WARNING on linus/master v5.9-rc1 next-20200817] [cannot apply to bpf-next/master linux/master] [If your patch is applied to the wrong git tree, kindly drop us a note

[PATCH v7 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-17 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar --- .../devi

[PATCH v5] perf test: Introduce script for Arm CoreSight testing

2020-08-17 Thread Leo Yan
We need a simple method to test Perf with Arm CoreSight drivers, this could be used for smoke testing when new patch is coming for perf or CoreSight drivers, and we also can use the test to confirm if the CoreSight has been enabled successfully on new platforms. This patch introduces the shell scr

[PATCH v7 2/2] Add PWM fan controller driver for LGM SoC

2020-08-17 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11 ++ dr

[PATCH] md: only calculate blocksize once and use i_blocksize()

2020-08-17 Thread Xianting Tian
We alreday has the interface i_blocksize(), which can be used to get blocksize, so use it. Only calculate blocksize once and use it within read_page(). Signed-off-by: Xianting Tian --- drivers/md/md-bitmap.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/md/md

[PATCH v7 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-17 Thread Rahul Tanwar
Patch 1 adds dt binding document in YAML format. Patch 2 add PWM fan controller driver for LGM SoC. v7: - Address code quality related review concerns. - Rename fan related property to pwm-*. - Fix one make dt_binding_check reported error. v6: - Readjust .apply op as per review feedback. - Add ba

[PATCH v2 1/3] block: Move bio merge related functions into blk-merge.c

2020-08-17 Thread Baolin Wang
It's better to move bio merge related functions into blk-merge.c, which contains all merge related functions. Signed-off-by: Baolin Wang Reviewed-by: Christoph Hellwig --- block/blk-core.c | 156 - block/blk-merge.c | 157

[PATCH v2 0/3] Some clean-ups for bio merge

2020-08-17 Thread Baolin Wang
Hi, There are some duplicated code when trying to merge bio from pluged list and software queue, thus this patch set did some clean-ups when merging a bio. Any comments are welcome. Thanks. Changes from v1: - Drop patch 2 and patch 5 in v1 patch set. - Add reviewed-by tag from Christoph. - Mov

[PATCH v2 2/3] block: Add a new helper to attempt to merge a bio

2020-08-17 Thread Baolin Wang
There are lots of duplicated code when trying to merge a bio from plug list and sw queue, we can introduce a new helper to attempt to merge a bio, which can simplify the blk_mq_bio_list_merge() and blk_attempt_plug_merge(). Meanwhile move the blk_mq_bio_list_merge() into blk-merge.c and rename it

[PATCH v2 3/3] block: Remove blk_mq_attempt_merge() function

2020-08-17 Thread Baolin Wang
The small blk_mq_attempt_merge() function is only called by __blk_mq_sched_bio_merge(), just open code it. Signed-off-by: Baolin Wang --- block/blk-mq-sched.c | 44 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/block/blk-mq-sched.c b

Re: [PATCH 00/16] wirless: convert tasklets to use new tasklet_setup()

2020-08-17 Thread Jiri Slaby
On 17. 08. 20, 11:06, Allen Pais wrote: > From: Allen Pais > > Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")' > introduced a new tasklet initialization API. This series converts > all the wireless drivers to use the new tasklet_setup() API General question for the whole seri

Re: [PATCH 2/4] Revert "lib/string.c: implement a basic bcmp"

2020-08-17 Thread Nathan Chancellor
On Mon, Aug 17, 2020 at 03:02:10PM -0700, Nick Desaulniers wrote: > This reverts commit 5f074f3e192f10c9fade898b9b3b8812e3d83342. > > Use `-fno-builtin-bcmp` instead. > > The issue with using `-fno-builtin-*` flags was that they were not > retained during an LTO link with LLVM. This was fixed in

Re: [PATCH] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()

2020-08-17 Thread Asutosh Das
On Mon, Aug 17 2020 at 22:21 -0700, Can Guo wrote: Commit 5586dd8ea250a ("scsi: ufs: Fix a race condition between error handler and runtime PM ops") moves the ufshcd_scsi_block_requests() inside err_handler(), but forgets to remove the ufshcd_scsi_unblock_requests() in the early return path. Corr

[PATCH 2/2] soundwire: fix port_ready[] dynamic allocation in mipi_disco and ASoC codecs

2020-08-17 Thread Bard Liao
From: Pierre-Louis Bossart The existing code allocates memory for the total number of ports. This only works if the ports are contiguous, but will break if e.g. a Devices uses port0, 1, and 14. The port_ready[] array would contain 3 elements, which would lead to an out-of-bounds access. Conversel

Re: [PATCH v2] Fixes: tty: serial: earlycon dependency

2020-08-17 Thread Jiri Slaby
On 17. 08. 20, 20:54, Tong Zhang wrote: > parse_options() in drivers/tty/serial/earlycon.c calls uart_parse_earlycon > in drivers/tty/serial/serial_core.c therefore selecting SERIAL_EARLYCON > should automatically select SERIAL_CORE, otherwise will result in symbol > not found error during linking

[PATCH 1/2] soundwire: add definition for maximum number of ports

2020-08-17 Thread Bard Liao
From: Pierre-Louis Bossart A Device may have at most 15 physical ports (DP0, DP1..DP14). Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Reviewed-by: Guennadi Liakhovetski Signed-off-by: Bard Liao --- include/linux/soundwire/sdw.h | 3 ++- 1 file changed, 2 insertions(+), 1 del

[PATCH 0/2] soundwire: fix port_ready[] dynamic allocation in

2020-08-17 Thread Bard Liao
The existing code allocates memory for the total number of ports. This only works if the ports are contiguous, but will break if e.g. a Devices uses port0, 1, and 14. The port_ready[] array would contain 3 elements, which would lead to an out-of-bounds access. Conversely in other cases, the wrong p

Re: [PATCH 2/2] tasks: Add task_struct addr for lx-ps cmd

2020-08-17 Thread Jan Kiszka
On 18.08.20 06:04, Ritesh Harjani wrote: > task_struct addr in lx-ps cmd seems helpful > > > TASK PIDCOMM > 0x82c2b8c0 0 swapper/0 > 0x888a0ba20040 1 systemd > 0x888a0ba24040 2 kthreadd > 0x888a0ba28040 3 rcu_gp > > Signed-off-by: Ritesh Har

Re: [PATCH 1/2] proc: Add struct mount & struct super_block addr in lx-mounts command

2020-08-17 Thread Jan Kiszka
On 18.08.20 06:04, Ritesh Harjani wrote: > This is many times found useful while debugging some FS related issue. > > > mount super_block fstype devname pathname options > 0x888a0bfa4b40 0x888a0bfc1000 rootfs none / rw 0 0 > 0x888a02c065c0 0x8889fcf65000 ext4

[PATCH 1/2] nvme: set io-scheduler requirement for ZNS

2020-08-17 Thread Kanchan Joshi
Set elevator feature ELEVATOR_F_ZBD_SEQ_WRITE required for ZNS. Signed-off-by: Kanchan Joshi --- drivers/nvme/host/zns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/host/zns.c b/drivers/nvme/host/zns.c index 57cfd78731fb..cabd870fb64e 100644 --- a/drivers/nvme/host/zns.c +++

[PATCH 0/2] enable append-emulation for ZNS

2020-08-17 Thread Kanchan Joshi
Currently NVMe driver rejects the ZNS device if zone-append is not supported natively. Make it accept the device and activate append-emulation instead. This is mostly borrowed from SCSI emulation. The other patch enforces a zone-friendly I/O scheduler for ZNS. Kanchan Joshi (2): nvme: set io-sch

[PATCH 2/2] nvme: add emulation for zone-append

2020-08-17 Thread Kanchan Joshi
If drive does not support zone-append natively, enable emulation using regular write. Make emulated zone-append cmd write-lock the zone, preventing concurrent append/write on the same zone. To determine the start-lba for such writes, an array of 32 bit zone-relative write-pointer (WP) positions is

[PATCH] x86/cpu: Fix typos and improve the comments in sync_core()

2020-08-17 Thread Ingo Molnar
* tip-bot2 for Ricardo Neri wrote: > --- a/arch/x86/include/asm/sync_core.h > +++ b/arch/x86/include/asm/sync_core.h > @@ -5,6 +5,7 @@ > #include > #include > #include > +#include > > #ifdef CONFIG_X86_32 > static inline void iret_to_self(void) > @@ -54,14 +55,23 @@ static inline voi

Re: [PATCH v5 5/6] kprobes: Use text_alloc() and text_free()

2020-08-17 Thread Jarkko Sakkinen
On Sun, Jul 26, 2020 at 11:14:08AM +0300, Mike Rapoport wrote: > On Sat, Jul 25, 2020 at 06:16:48AM +0300, Jarkko Sakkinen wrote: > > > I've read the observations in the other threads, but this #ifdef > > > jungle is silly, it's a de-facto open coded text_alloc() with a > > > module_alloc() fallb

Re: [PATCH] block: rnbd: rnbd-srv: silence uninitialized variable warning

2020-08-17 Thread Nathan Chancellor
On Tue, Aug 18, 2020 at 12:03:18AM -0400, Brooke Basile wrote: > Clang warns: > drivers/block/rnbd/rnbd-srv.c:150:6: warning: variable 'err' is used > uninitialized whenever 'if' condition is true > [-Wsometimes-uninitialized] > if (IS_ERR(bio)) { > ^~~~

Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM

2020-08-17 Thread Kuninori Morimoto
Hi again > PCM devices are created for FE dai links with 'no-pcm' flag as '0'. > Such DAI links have CPU component which implement either pcm_construct() > or pcm_new() at component or dai level respectively. Based on this, > current patch exposes a helper function to identify such components >

arch/powerpc/include/asm/reg.h:1376:17: sparse: sparse: context imbalance in 'serial8250_console_write' - wrong count at exit

2020-08-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd commit: b020aa9d1e875c1c91b1390acdf42320e7060d84 powerpc: cleanup hw_irq.h date: 9 months ago config: powerpc64-randconfig-s031-20200818 (attached as .config) compil

[PATCH] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()

2020-08-17 Thread Can Guo
Commit 5586dd8ea250a ("scsi: ufs: Fix a race condition between error handler and runtime PM ops") moves the ufshcd_scsi_block_requests() inside err_handler(), but forgets to remove the ufshcd_scsi_unblock_requests() in the early return path. Correct the coding mistake. Signed-off-by: Can Guo dif

Re: [PATCH] Makefile: Yes. Finally remove '-Wdeclaration-after-statement'

2020-08-17 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Aug 17, 2020 at 3:09 PM Pavel Machek wrote: > > > > Submitter believes "wild variable placement" can help with > > #ifdefs.. and that may be actually good tradeoff. > > I agree that it can help in some cases. > > But it can also make it really hard to find t

[PATCH v11 4/5] drm/msm/dpu: add display port support in DPU

2020-08-17 Thread Tanmay Shah
From: Jeykumar Sankaran Add display port support in DPU by creating hooks for DP encoder enumeration and encoder mode initialization. changes in v2: - rebase on [2] (Sean Paul) - remove unwanted error checks and switch cases (Jordan Crouse) [1] https://lwn.net/Articles

  1   2   3   4   5   6   7   8   9   10   >