Re: [PATCH 2/3] media: rockchip: Introduce driver for Rockhip's camera interface

2020-05-31 Thread Maxime Chevallier
Hi Hans, On Thu, 16 Apr 2020 11:35:41 +0200 Hans Verkuil wrote: I'm very sorry I missed a lot of your reviews in my V2, that wasn't on purpose. I'll fix this on the next iteration, sorry about that. Thank you very much for your review ! Maxime >+Helen Koike (rkisp1 maintainer) > >A quick revi

答复: [PATCH] mailbox: no error log in mbox_client_txdone() for tx done by irq

2020-05-31 Thread Zhu, Joe
Hi Jassi, Client can not know how mailbox controller implements TX done. There is no API in mailbox_client.h to get this information. I think it is framework' responsibility, not client, to handle controller' different behavior. Thanks! Regards, Joe -邮件原件- 发件人: Jassi Brar [mailto:j

Re: [PATCH] riscv: fix build warning of missing prototypes

2020-05-31 Thread Zong Li
On Mon, Jun 1, 2020 at 2:48 PM Andreas Schwab wrote: > > On Jun 01 2020, Zong Li wrote: > > > Add the missing header in file, it was losed in original implementation. > > s/losed/lost/ > > Andreas. Thanks for correcting, let me modify it in the next version. > -- > Andreas Schwab, sch...@linux-m

Re: [PATCH v3 7/8] mtd: spi-nor: Convert cadence-quadspi to use spi-mem framework

2020-05-31 Thread Tudor.Ambarus
On Monday, June 1, 2020 8:47:24 AM EEST Vignesh Raghavendra wrote: > From: Ramuthevar Vadivel Murugan > > > Move cadence-quadspi driver to use spi-mem framework. This is required > to make the driver support for SPI NAND flashes in future. > > Driver is feature compliant with existing SPI NOR ve

Re: [PATCH] riscv: fix build warning of missing prototypes

2020-05-31 Thread Andreas Schwab
On Jun 01 2020, Zong Li wrote: > Add the missing header in file, it was losed in original implementation. s/losed/lost/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-31 Thread Paraschiv, Andra-Irina
On 01/06/2020 05:55, Benjamin Herrenschmidt wrote: On Tue, 2020-05-26 at 21:35 +0300, Paraschiv, Andra-Irina wrote: This was needed to have an identifier for the overall NE logic - PCI dev, ioctl and misc dev. The ioctl and misc dev logic has pr_* logs, but I can update them to dev_* with mis

Re: [PATCH v3] i2c: imx-lpi2c: Fix runtime PM imbalance in lpi2c_imx_master_enable()

2020-05-31 Thread Markus Elfring
> pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a corresponding decrement is > needed on the error handling path to keep the counter balanced. > > Fix this by adding the missed function call. How do you think about a wording variant like

Re: [PATCH v2 00/12] clean-up the migration target allocation functions

2020-05-31 Thread Joonsoo Kim
2020년 5월 29일 (금) 오후 3:50, Joonsoo Kim 님이 작성: > > 2020년 5월 29일 (금) 오전 4:25, Vlastimil Babka 님이 작성: > > > > On 5/27/20 8:44 AM, js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > > > This patchset clean-up the migration target allocation functions. > > > > > > * Changes on v2 > > > - add acked-

Re: [PATCH] OPP: Check for bandwidth values before creating icc paths

2020-05-31 Thread Sibi Sankar
On 2020-06-01 09:37, Viresh Kumar wrote: On 29-05-20, 19:47, Sibi Sankar wrote: opp_np needs to be subjected to NULL check as well. No, it isn't. It should already be valid and is set by the OPP core. Actually we don't need to do of_node_get(opp_table->np) and just use np, I did that to not ha

Re: [PATCH v3 6/8] mtd: spi-nor: cadence-quadspi: Drop redundant WREN in erase path

2020-05-31 Thread Tudor.Ambarus
On Monday, June 1, 2020 8:47:23 AM EEST Vignesh Raghavendra wrote: > Drop redundant WREN command in cqspi_erase() as SPI NOR core takes care > of sending WREN command before sending erase command. > > Signed-off-by: Vignesh Raghavendra > --- > drivers/mtd/spi-nor/controllers/cadence-quadspi.c |

[PATCH] power: supply: bq24190_charger.c: call pm_runtime_put in pm_runtime_get_sync failed case

2020-05-31 Thread Navid
Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value call pm_runtime_put_autosuspend. Signed-off-by: Navid --- drivers/power/supply/bq24190_charger.c | 26 ++ 1 file changed, 18 insertions(+), 8 de

[GIT PULL] fsverity updates for 5.8

2020-05-31 Thread Eric Biggers
The following changes since commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8: Linux 5.7-rc5 (2020-05-10 15:16:58 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus for you to fetch changes up to 9cd6b593cfc9eaa476c9a3f

Re: [PATCH v3 5/8] mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel

2020-05-31 Thread Tudor.Ambarus
On Monday, June 1, 2020 8:47:22 AM EEST Vignesh Raghavendra wrote: > dma_request_chan_by_mask() can throw EPROBE_DEFER if DMA provider > is not yet probed. Currently driver just falls back to using PIO mode > (which is less efficient) in this case. Instead return probe deferral > error as is so tha

Re: [Tee-dev] [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-05-31 Thread Sumit Garg
Hi Jorge, On Mon, 1 Jun 2020 at 04:41, Jorge Ramirez-Ortiz wrote: > > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > control this type of cryptographic devices it needs coordinated access > to the bus, so collisions and RUNTIME_PM dont get in the way. > > This trampoline

[GIT PULL] fscrypt updates for 5.8

2020-05-31 Thread Eric Biggers
The following changes since commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8: Linux 5.7-rc5 (2020-05-10 15:16:58 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt-for-linus for you to fetch changes up to e3b1078bedd323df343894a2

Re: [PATCH 2/2] soc: samsung: Add simple voltage coupler for Exynos5800

2020-05-31 Thread Marek Szyprowski
Hi Krzysztof, On 29.05.2020 19:43, Krzysztof Kozlowski wrote: > On Fri, May 29, 2020 at 02:49:40PM +0200, Marek Szyprowski wrote: >> Add custom voltage regulator coupler for Exynos5800 SoCs, which require >> coupling between "vdd_arm" and "vdd_int" regulators. This coupler ensures >> that coupled

Re: [PATCH RFC] KVM: arm64: Sidestep stage2_unmap_vm() on vcpu reset when S2FWB is supported

2020-05-31 Thread zhukeqian
Hi Marc, On 2020/5/31 0:31, Marc Zyngier wrote: > Hi Alex, > > On 2020-05-30 11:46, Alexandru Elisei wrote: >> Hi, > > [...] > diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c index 48d0ec44ad77..e6378162cdef 100644 --- a/virt/kvm/arm/arm.c +++ b/virt/kvm/arm/arm.c

Re: [PATCH 2/2] Coccinelle: extend memdup_user rule with vmemdup_user()

2020-05-31 Thread Markus Elfring
> +@rv depends on !patch@ > +expression from,to,size; > +position p; > +statement S1,S2; > +@@ > + > +* to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\)); > + if (to==NULL || ...) S1 > + if (copy_from_user(to, from, size) != 0) > + S2 How does the SmPL asterisk functionality fi

RE: [PATCH v4 3/5] scsi: ufs: fix potential access NULL pointer while memcpy

2020-05-31 Thread Avri Altman
Hi, > If param_offset is not 0, the memcpy length shouldn't be the > true descriptor length. > > Fixes: a4b0e8a4e92b ("scsi: ufs: Factor out ufshcd_read_desc_param") > Signed-off-by: Bean Huo > --- > drivers/scsi/ufs/ufshcd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

RE: [EXT] [PATCH] [v3] i2c: imx-lpi2c: Fix runtime PM imbalance on error

2020-05-31 Thread Andy Duan
From: Dinghao Liu Sent: Monday, June 1, 2020 2:17 PM > pm_runtime_get_sync() increments the runtime PM usage counter even the > call returns an error code. Thus a corresponding decrement is needed on the > error handling path to keep the counter balanced. > > Fix this by adding the missed functio

[PATCH 3/7] drm: bridge: cadence: initial support for MHDP DP bridge driver

2020-05-31 Thread sandor . yu
From: Sandor Yu This adds initial support for MHDP DP bridge driver. Basic DP functions are supported, that include: -Video mode set on-the-fly -Cable hotplug detect -MAX support resolution to 3096x2160@60fps -Support DP audio -EDID read via AUX Signed-off-by: Sandor Yu --- drivers/gpu/dr

Re: [net-next 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-05-31 Thread Jiri Pirko
Sat, May 30, 2020 at 05:54:29PM CEST, ido...@idosch.org wrote: >On Sat, May 30, 2020 at 05:52:31PM +0300, Vadym Kochan wrote: [...] >> > WARNING: do not add new typedefs >> > #1064: FILE: drivers/net/ethernet/marvell/prestera/prestera_hw.h:32: >> > +typedef void (*prestera_event_cb_t) >> I may b

[PATCH 1/7] drm/rockchip: prepare common code for cdns and rk dpi/dp driver

2020-05-31 Thread sandor . yu
From: Sandor Yu - Extracted common fields from cdn_dp_device to a new cdns_mhdp_device structure which will be used by two separate drivers later on. - Moved some datatypes (audio_format, audio_info, vic_pxl_encoding_format, video_info) from cdn-dp-core.c to cdn-dp-reg.h. - Changed prefixes f

[PATCH 6/7] drm: imx: mhdp: Initial support for i.MX8MQ MHDP HDMI

2020-05-31 Thread sandor . yu
From: Sandor Yu Add initial support for i.MX8MQ MHDP HDMI. Add MHDP HDMI PHY configuration. The features are same as mhdp hdmi bridge driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/imx/mhdp/Kconfig | 5 +- drivers/gpu/drm/imx/mhdp/Makefile | 2 +- drivers/gpu

[PATCH 7/7] dt-bindings: display: Document Cadence MHDP HDMI/DP bindings

2020-05-31 Thread sandor . yu
From: Sandor Yu Document the bindings used for the Cadence MHDP HDMI/DP bridge. Signed-off-by: Sandor Yu --- .../bindings/display/bridge/cdns,mhdp.yaml| 46 +++ .../devicetree/bindings/display/imx/mhdp.yaml | 59 +++ 2 files changed, 105 insertions(+) create mo

[PATCH 5/7] drm: bridge: cadence: Initial support for MHDP HDMI bridge driver

2020-05-31 Thread sandor . yu
From: Sandor Yu This adds initial support for cadence MHDP HDMI bridge driver. Basic HDMI functions are supported, that include: -Video mode set on-the-fly -Cable hotplug detect -MAX support resolution to 3096x2160@60fps -HDMI audio -AV infoframe -EDID read -SCDC read Signed-off-by: Sando

[PATCH 2/7] drm: bridge: cadence: Create cadence fold

2020-05-31 Thread sandor . yu
From: Sandor Yu Create new directory drm/bridge/cadence. Cadence MHDP DP and HDMI bridge dirver will added later. drm/rockchip/cdn-dp-reg.c will separate to three files. - cdns-mhdp-common.c: Provide basic MHDP register read/write via mailbox. public firmware load, event, edid and HPD functi

[PATCH 4/7] drm: imx: mhdp: initial support for i.MX8MQ MHDP Displayport

2020-05-31 Thread sandor . yu
From: Sandor Yu Initial support for i.MX8MQ MHDP Displayport. Add MHDP DP PHY configutation. The features are same as MHDP DP bridge driver. Signed-off-by: Sandor Yu --- drivers/gpu/drm/imx/Kconfig | 1 + drivers/gpu/drm/imx/Makefile| 1 + drivers/gpu/drm/im

[PATCH 0/7] Initial support for Cadence MHDP(HDMI/DP)

2020-05-31 Thread sandor . yu
From: Sandor Yu The patch set initial support for Cadence MHDP(HDMI/DP) drm bridge driver and iMX8MQ HDMI/DP. The first patch drm/rockchip: prepare common code for cdns and rk dpi/dp driver is from the link https://patchwork.kernel.org/patch/10788309/ that still in reviewing. Files in drm/bridg

[PATCH V2 2/2] arm64: tegra: Add pwm-fan profile settings

2020-05-31 Thread Sandipan Patra
Add support for profiles in device tree to allow different fan settings for trip point temp/hyst/pwm. Signed-off-by: Sandipan Patra --- arch/arm64/boot/dts/nvidia/tegra194-p2972-.dts | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvid

[PATCH V2 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-31 Thread Sandipan Patra
Add support for profiles mode settings. This allows different fan settings for trip point temp/hyst/pwm. Tegra194 has multiple fan-profiles support. Signed-off-by: Sandipan Patra --- PATCH V2: Cleaned pwm_fan_remove support as it is not required. drivers/hwmon/pwm-fan.c | 92 ++

Re: [EXTERNAL] Re: [PATCH v4] perf inject --jit: Remove //anon mmap events

2020-05-31 Thread Nick Gasson
On 05/28/20 17:32 PM, Ian Rogers wrote: > > So on tip/perf/core with: > 1c0cd2dbb993 perf jvmti: Fix jitdump for methods without debug info > 3ce17c1e52f4 perf jvmti: remove redundant jitdump line table entries > > I've been trying variants of: > > Before: > /tmp/perf/perf record -k 1 -e cycles:u -

[PATCH] [v3] i2c: imx-lpi2c: Fix runtime PM imbalance on error

2020-05-31 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a corresponding decrement is needed on the error handling path to keep the counter balanced. Fix this by adding the missed function call. Fixes: 13d6eb20fc79a ("i2c: imx-lpi2c: add runtime pm s

[PATCH v2 4/6] soundwire: intel_init: use devm_ allocation

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart Make error handling simpler with devm_ allocation. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel_init.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/soundwire/intel_init.c b/dri

[PATCH v2 6/6] soundwire: intel: transition to 3 steps initialization

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart Rather than a plain-vanilla init/exit, this patch provides 3 steps in the initialization needed for driver selection, machine driver selection and deal with power rail dependencies. - ACPI scan: this step is done at a very early stage to detect the presence of a SoundW

[PATCH v2 5/6] soundwire: intel_init: pass link information as platform data

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart It's not clear how this code ever worked, the link information is used in intel.c but never passed as platform_data. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH v2 0/6] soundwire: intel: transition to 3 steps initialization

2020-05-31 Thread Bard Liao
This series is to split the original "soundwire: intel: transition to 3 steps initialization" patch into different patches for better review. It also address comments from Vinod. Pierre-Louis Bossart (6): soundwire: intel: cleanups for indirections/logs soundwire: intel: clarify drvdata and re

[PATCH v2 1/6] soundwire: intel: cleanups for indirections/logs

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart The code can be simplified a bit to have a more consistent use of 'dev' and 'bus', as well as move definitions around. This will help make the major changes in follow-up patches easier to review. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drive

[PATCH v2 2/6] soundwire: intel: clarify drvdata and remove more indirections

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart The use of drvdata mixes two structures. There was no harm the first structure is embedded as the first element of the second, but that's not good. Make sure all drvdata is based on the 'sdw_cdns' structure. While we are at it, remove indirections for 'dev' and 'cdns'

[PATCH v2 3/6] soundwire: intel_init: remove useless test

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart No need to test link_mask twice Suggested-by: Rander Wang Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soundwire/intel_init.c b/drivers/so

Re: [PATCH 05/14] mm: workingset: let cache workingset challenge anon

2020-05-31 Thread Joonsoo Kim
2020년 5월 30일 (토) 오전 12:12, Johannes Weiner 님이 작성: > > On Fri, May 29, 2020 at 03:48:00PM +0900, Joonsoo Kim wrote: > > 2020년 5월 29일 (금) 오전 2:02, Johannes Weiner 님이 작성: > > > On Thu, May 28, 2020 at 04:16:50PM +0900, Joonsoo Kim wrote: > > > > 2020년 5월 27일 (수) 오후 10:43, Johannes Weiner 님이 작성: > > >

[PATCH] workqueue: ensure all flush_work() completed when being destoryed

2020-05-31 Thread Lai Jiangshan
In old days, worker threads are not shared among different workqueues and destroy_workqueue() used kthread_stop() to destroy all workers before going to destroy workqueue structures. And kthread_stop() can ensure the scheduled (worker->scheduled) work items and the linked work items queued by flush

Re: [PATCH v5] bluetooth: hci_qca: Fix QCA6390 memdump failure

2020-05-31 Thread Marcel Holtmann
Hi Zijun, > QCA6390 memdump VSE sometimes come to bluetooth driver > with wrong sequence number as illustrated as follows: > frame # in dec: frame data in hex > 1396: ff fd 01 08 74 05 00 37 8f 14 > 1397: ff fd 01 08 75 05 00 ff bf 38 > 1414: ff fd 01 08 86 05 00 fb 5e 4b > 1399: ff fd 01 08 77 05

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

2020-05-31 Thread Ulf Hansson
On Fri, 29 May 2020 at 14:16, Stephen Rothwell wrote: > > Hi all, > > In commit > > 7b16993c2bb2 ("mmc: sdhci-msm: Clear tuning done flag while hs400 tuning") > > Fixes tag > > Fixes: ff06ce4 ("mmc: sdhci-msm: Add HS400 platform support") > > has these problem(s): > > - SHA1 should be at lea

Re: [PATCH v1] Bluetooth: btmtkuart: Use serdev_device_write_buf() instead of serdev_device_write()

2020-05-31 Thread Marcel Holtmann
Hi Zijun, > serdev_device_write() is not appropriate at here because > serdev_device_write_wakeup() is not used to release completion hold > by the former at @write_wakeup member of struct serdev_device_ops. > > Fix by using serdev_device_write_buf() instead of serdev_device_write(). > > Signed-

[PATCH] hwspinlock: sprd: Remove redundant header files

2020-05-31 Thread Baolin Wang
Remove redundant header files. Signed-off-by: Baolin Wang --- drivers/hwspinlock/sprd_hwspinlock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/hwspinlock/sprd_hwspinlock.c b/drivers/hwspinlock/sprd_hwspinlock.c index 36dc803..b157495 100644 --- a/drivers/hwspinlock/sprd_hwspinl

Re: [kbuild-all] sh: 1: scripts/ld-version.sh: Permission denied

2020-05-31 Thread Philip Li
On Mon, Jun 01, 2020 at 01:54:29PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 > commit: 9553d16fa671b9621c5e2847d08bd90d3be3349c init/kconfig: Add LD_VERSION > Kconfig > d

Re: [PATCH v4] Bluetooth: hci_qca: Improve controller ID info log level

2020-05-31 Thread Marcel Holtmann
Hi Zijun, > Controller ID info got by VSC EDL_PATCH_GETVER is very > important, so improve its log level from DEBUG to INFO. > > Signed-off-by: Zijun Hu > --- > Changes in v4: > - correct coding style of qca_read_soc_version() > > Changes in v3: > - correct coding style > > Changes in v2: > -

Re: [PATCH] [v2] i2c: stm32f7: Fix runtime PM imbalance on error

2020-05-31 Thread Alain Volmat
Hi, Reviewed-by: Alain Volmat Thanks, Alain On Wed, May 27, 2020 at 01:38:53AM +, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter bal

Re: [PATCH v2] dt-bindings: media: venus: Add an optional power domain for perf voting

2020-05-31 Thread Rajendra Nayak
On 5/28/2020 1:06 AM, Rob Herring wrote: On Wed, May 13, 2020 at 11:33:27AM +0530, Rajendra Nayak wrote: Add an optional power domain which when specified can be used for setting the performance state of Venus. Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/media/qcom,

sh: 1: scripts/ld-version.sh: Permission denied

2020-05-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 commit: 9553d16fa671b9621c5e2847d08bd90d3be3349c init/kconfig: Add LD_VERSION Kconfig date: 9 weeks ago config: x86_64-allyesconfig compiler: clang version 11.0.0 (

[tip:WIP.sched/core] BUILD REGRESSION 1f8db4150536431b031585ecc2a6793f69245de2

2020-05-31 Thread kbuild test robot
randconfig-a001-20200529 i386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i38

[tip:sched/core] BUILD SUCCESS 58ef57b16d9e91cce1c640a6fe8a21d53a85181d

2020-05-31 Thread kbuild test robot
allnoconfig i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005-20200531 i386 randconfig-a001-20200531 i38

[tip:perf/core] BUILD SUCCESS 5cde265384cad739b162cf08afba6da8857778bd

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core branch HEAD: 5cde265384cad739b162cf08afba6da8857778bd perf/x86/rapl: Add AMD Fam17h RAPL support elapsed time: 5488m configs tested: 86 configs skipped: 4 The following configs have been built successfully. Mo

[rcu:dev.2020.05.25b] BUILD SUCCESS 39d28156618fd7787f3363cf66d77918c94abc54

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.25b branch HEAD: 39d28156618fd7787f3363cf66d77918c94abc54 refperf: Output per-experiment data points i386-tinyconfig vmlinux size: ==

[rcu:dev.2020.05.26a] BUILD REGRESSION 63fdce1252f16032c9e1eb7244bb674ba4f84855

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.26a branch HEAD: 63fdce1252f16032c9e1eb7244bb674ba4f84855 fixup! refperf: Provide module parameter to specify number of experiments Error/Warning in current branch: m68k-linux-ld: refperf.c:(.text+

[PATCH v3 6/8] mtd: spi-nor: cadence-quadspi: Drop redundant WREN in erase path

2020-05-31 Thread Vignesh Raghavendra
Drop redundant WREN command in cqspi_erase() as SPI NOR core takes care of sending WREN command before sending erase command. Signed-off-by: Vignesh Raghavendra --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mtd/spi-nor/contr

[PATCH v3 7/8] mtd: spi-nor: Convert cadence-quadspi to use spi-mem framework

2020-05-31 Thread Vignesh Raghavendra
From: Ramuthevar Vadivel Murugan Move cadence-quadspi driver to use spi-mem framework. This is required to make the driver support for SPI NAND flashes in future. Driver is feature compliant with existing SPI NOR version. Signed-off-by: Ramuthevar Vadivel Murugan Signed-off-by: Vignesh Raghav

[PATCH v3 2/8] mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode

2020-05-31 Thread Vignesh Raghavendra
Currently direct access mode is used on platforms that have AHB window (memory mapped window) larger than flash size. This feature is limited to TI platforms as non TI platforms have < 1MB of AHB window. Therefore introduce a driver quirk to disable DAC mode and set it for non TI compatibles. This

Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-05-31 Thread Greg KH
On Mon, Jun 01, 2020 at 12:47:12PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2020-05-26 at 08:51 +0200, Greg KH wrote: > > > > And get them to sign off on it too, showing they agree with the design > > decisions here :) > > Isn't it generally frowned upon to publish a patch with internal sig

Re: [2/2] Coccinelle: memdup_user: Extending data processing for special tokens

2020-05-31 Thread Markus Elfring
> Unfortunately, the Coccinelle software does not like the following > SmPL code variant so far. > > to = > ( > - \( kmalloc \| kzalloc \) > + memdup_user > | > - \( kvmalloc \| kvzalloc \) > + vmemdup_user > ) > ( > - size, \( GFP_KERNEL \| GFP_USE

[PATCH v3 1/8] mtd: spi-nor: cadence-quadspi: Make driver independent of flash geometry

2020-05-31 Thread Vignesh Raghavendra
Drop configuration of Flash size, erase size and page size configuration. Flash size is needed only if using AHB decoder (BIT 23 of CONFIG_REG) which is not used by the driver. Erase size and page size are needed if IP is configured to send WREN automatically. But since SPI NOR layer takes care of

[PATCH v3 4/8] mtd: spi-nor: cadence-quadspi: Fix error path on failure to acquire reset lines

2020-05-31 Thread Vignesh Raghavendra
Make sure to undo the prior changes done by the driver when exiting due to failure to acquire reset lines. Signed-off-by: Vignesh Raghavendra Reviewed-by: Tudor Ambarus --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --gi

[PATCH v3 5/8] mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel

2020-05-31 Thread Vignesh Raghavendra
dma_request_chan_by_mask() can throw EPROBE_DEFER if DMA provider is not yet probed. Currently driver just falls back to using PIO mode (which is less efficient) in this case. Instead return probe deferral error as is so that driver will be re probed once DMA provider is available. Signed-off-by:

[PATCH v3 8/8] spi: Move cadence-quadspi driver to drivers/spi/

2020-05-31 Thread Vignesh Raghavendra
From: Ramuthevar Vadivel Murugan Now that cadence-quadspi has been converted to use spi-mem framework, move it under drivers/spi/ Update license header to match SPI subsystem style Signed-off-by: Ramuthevar Vadivel Murugan Signed-off-by: Vignesh Raghavendra --- drivers/mtd/spi-nor/controlle

[PATCH v3 3/8] mtd: spi-nor: cadence-quadspi: Don't initialize rx_dma_complete on failure

2020-05-31 Thread Vignesh Raghavendra
If driver fails to acquire DMA channel then don't initialize rx_dma_complete struct as it won't be used. Signed-off-by: Vignesh Raghavendra Reviewed-by: Tudor Ambarus --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/co

[PATCH v3 0/8] mtd: spi-nor: Move cadence-qaudspi to spi-mem framework

2020-05-31 Thread Vignesh Raghavendra
This series is a subset of "[PATCH v12 0/4] spi: cadence-quadspi: Add support for the Cadence QSPI controller" by Ramuthevar,Vadivel MuruganX that intended to move cadence-quadspi driver to spi-mem framework Those patches were trying to accomplish too many things in a single set of patches and ne

Re: [PATCH] drivers/dax/bus: Use kobj_to_dev() API

2020-05-31 Thread Ira Weiny
On Fri, May 29, 2020 at 11:42:57AM +0800, Shuai He wrote: > Use kobj_to_dev() API instead of container_of(). > > Signed-off-by: Shuai He Seems reasonable: Reviewed-by: Ira Weiny > --- > drivers/dax/bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dax/bus

[PATCH] iommu: amd: Fix IO_PAGE_FAULT due to __unmap_single() size overflow

2020-05-31 Thread Suravee Suthikulpanit
Currently, an integer is used to specify the size in unmap_sg(). With 2GB worth of pages (512k 4k pages), it requires 31 bits (i.e. (1 << 19) << 12), which overflows the integer, and ends up unmapping more pages than intended. Subsequently, this results in IO_PAGE_FAULT. Uses size_t instead of int

Re: [PATCH] soundwire: clarify SPDX use of GPL-2.0

2020-05-31 Thread Greg KH
On Mon, Jun 01, 2020 at 01:28:07AM +0800, Bard Liao wrote: > From: Pierre-Louis Bossart > > Change SPDX from GPL-2.0 to GPL-2.0-only for Intel-contributed > code. This was explicit before the transition to SPDX and lost in > translation. It is also explicit in the "GPL-2.0" lines as well, did yo

[tip:x86/build] BUILD SUCCESS 38f3e775e9c242f5430a9c08c11be7577f63a41c

2020-05-31 Thread kbuild test robot
-a004-20200529 i386 randconfig-a001-20200529 i386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386

[PATCH v2 2/2] vhost: convert get_user_pages() --> pin_user_pages()

2020-05-31 Thread John Hubbard
This code was using get_user_pages*(), in approximately a "Case 5" scenario (accessing the data within a page), using the categorization from [1]. That means that it's time to convert the get_user_pages*() + put_page() calls to pin_user_pages*() + unpin_user_pages() calls. There is some helpful ba

[PATCH v2 0/2] vhost, docs: convert to pin_user_pages(), new "case 5"

2020-05-31 Thread John Hubbard
This is based on Linux 5.7, plus one prerequisite patch: "mm/gup: update pin_user_pages.rst for "case 3" (mmu notifiers)" [1] Changes since v1: removed references to set_page_dirty*(), in response to Souptick Joarder's review (thanks!). Cover letter for v1, edited/updated slightly: It recentl

[PATCH v2 1/2] docs: mm/gup: pin_user_pages.rst: add a "case 5"

2020-05-31 Thread John Hubbard
There are four cases listed in pin_user_pages.rst. These are intended to help developers figure out whether to use get_user_pages*(), or pin_user_pages*(). However, the four cases do not cover all the situations. For example, drivers/vhost/vhost.c has a "pin, write to page, set page dirty, unpin" c

Re: [PATCH 2/3] mfd: madera: Fix minor formatting issues

2020-05-31 Thread Lee Jones
On Fri, 29 May 2020, Charles Keepax wrote: Still needs a commit log. > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c| 12 ++-- > drivers/mfd/madera-i2c.c | 1 - > include/linux/mfd/madera/pdata.h | 1 - > 3 files changed, 6 insertions(+), 8 deletions(

[PATCH] soundwire: clarify SPDX use of GPL-2.0

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart Change SPDX from GPL-2.0 to GPL-2.0-only for Intel-contributed code. This was explicit before the transition to SPDX and lost in translation. No change to the dual-license parts, the only clarification is to the GPL-2.0 term. Signed-off-by: Pierre-Louis Bossart Revie

Re: Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new

2020-05-31 Thread dinghao . liu
> > If there's *any* error, it'll check the pointer, if it's non-NULL, > > it'll call the destructor. If kzalloc() fails, the pointer will be > > NULL, there's no double-free bug. *every* subdev is written this way > > to avoid duplicating cleanup logic. > Actually, gm20b_clk_new_speedo0() may ha

[tip:auto-latest] BUILD SUCCESS 4e052965f46b6fd9641d79bf10208eac2631475f

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git auto-latest branch HEAD: 4e052965f46b6fd9641d79bf10208eac2631475f Merge branch 'efi/core' elapsed time: 5276m configs tested: 114 configs skipped: 8 The following configs have been built successfully. More configs m

[PATCH V4] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-31 Thread Sandipan Patra
Added support for dynamic clock freq configuration in pwm kernel driver. Earlier the pwm driver used to cache boot time clock rate by pwm clock parent during probe. Hence dynamically changing pwm frequency was not possible for all the possible ranges. With this change, dynamic calculation is enable

Re: [PATCH] staging: qlge: qlge_main.c: fixed spaces coding style issues

2020-05-31 Thread Benjamin Poirier
On 2020-05-29 17:17 +0200, Jil Rouceau wrote: > Fixed the missing spaces before and after binary operators. > > Signed-off-by: Jil Rouceau This patch does not apply cleanly. I think your base tree is missing commit ec269f1250c6 ("staging: qlge: Remove unnecessary spaces in qlge_main.c").

[tip:master] BUILD SUCCESS 14bf8733b3c1887abab08371c47e68f2afbc0b93

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 14bf8733b3c1887abab08371c47e68f2afbc0b93 Merge branch 'x86/urgent' elapsed time: 3625m configs tested: 118 configs skipped: 6 The following configs have been built successfully. More configs may be tes

[tip:efi/urgent] BUILD SUCCESS 9bb4cbf4862dfa139f73e12912129e5b76baea1a

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git efi/urgent branch HEAD: 9bb4cbf4862dfa139f73e12912129e5b76baea1a Merge tag 'efi-fixes-for-v5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent elapsed time: 13521m configs tested: 103

[tip:irq/core] BUILD SUCCESS 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0 Merge tag 'irqchip-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core elapsed time: 2567m configs tested: 146 configs skip

[tip:WIP.locking/core] BUILD SUCCESS 19f545b6e07f753c4dc639c2f0ab52345733b6a8

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git WIP.locking/core branch HEAD: 19f545b6e07f753c4dc639c2f0ab52345733b6a8 zram: Use local lock to protect per-CPU data elapsed time: 5454m configs tested: 126 configs skipped: 7 The following configs have been built s

[tip:x86/cleanups] BUILD SUCCESS 2ca41f555e857ec5beef6063bfa43a17ee76d7ec

2020-05-31 Thread kbuild test robot
randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006

[tip:locking/kcsan] BUILD SUCCESS f05e1242fbb2d149ceaa87310cf67d03fe007a25

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/kcsan branch HEAD: f05e1242fbb2d149ceaa87310cf67d03fe007a25 compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse i386-tinyconfig vmlinux size: +---++

[rcu:dev.2020.05.29a] BUILD SUCCESS f088eeb5bd99e97a2e8cea15279bbab273f2d7c8

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.29a branch HEAD: f088eeb5bd99e97a2e8cea15279bbab273f2d7c8 refperf: Work around 64-bit division i386-tinyconfig vmlinux size:

[tip:efi/core] BUILD SUCCESS e9524fb97ab5b41b85e1d3408f8e513433798f3c

2020-05-31 Thread kbuild test robot
i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig

[tip:x86/urgent] BUILD SUCCESS aa61b7bb00f7c0738823237a06161d568442b93c

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: aa61b7bb00f7c0738823237a06161d568442b93c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into x86/urgent i386-tinyconfig vmlinux size: ==

[rcu:master] BUILD SUCCESS 8747b07d19443724745de86964e8818404112220

2020-05-31 Thread kbuild test robot
randconfig-a004-20200529 x86_64 randconfig-a003-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfi

[tip:x86/entry] BUILD REGRESSION 5980d208e5ef28455e9e8b08f6250b443a2f0893

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry branch HEAD: 5980d208e5ef28455e9e8b08f6250b443a2f0893 x86/idt: Consolidate idt functionality Error/Warning in current branch: arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token arch/x86/kernel/i

[tip:x86/splitlock] BUILD SUCCESS 429ac8b75a0b1c3478ffd584de8a63075cbe25e7

2020-05-31 Thread kbuild test robot
randconfig-a001-20200529 i386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig

[tip:core/rcu] BUILD SUCCESS 806f04e9fd2c6ad1e39bc2dba77155be0e4becde

2020-05-31 Thread kbuild test robot
defconfig i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005-20200531 i386 randconfig-a001-20200531 i386

[PATCH v7 4/4] kasan: update documentation for generic kasan

2020-05-31 Thread Walter Wu
Generic KASAN will support to record the last two call_rcu() call stacks and print them in KASAN report. So that need to update documentation. Signed-off-by: Walter Wu Reviewed-and-tested-by: Dmitry Vyukov Reviewed-by: Andrey Konovalov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Jonathan

Re: [PATCH 1/2] docs: mm/gup: pin_user_pages.rst: add a "case 5"

2020-05-31 Thread John Hubbard
On 2020-05-31 00:11, Souptick Joarder wrote: ... diff --git a/Documentation/core-api/pin_user_pages.rst b/Documentation/core-api/pin_user_pages.rst index 4675b04e8829..b9f2688a2c67 100644 --- a/Documentation/core-api/pin_user_pages.rst +++ b/Documentation/core-api/pin_user_pages.rst @@ -171,6 +1

[PATCH v7 3/4] kasan: add tests for call_rcu stack recording

2020-05-31 Thread Walter Wu
Test call_rcu() call stack recording and verify whether it correctly is printed in KASAN report. Signed-off-by: Walter Wu Reviewed-and-tested-by: Dmitry Vyukov Reviewed-by: Andrey Konovalov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Matthias Brugger --- Changes since v6: - renamed the

[PATCH v7 2/4] kasan: record and print the free track

2020-05-31 Thread Walter Wu
Move free track from kasan_alloc_meta to kasan_free_meta in order to make struct kasan_alloc_meta and kasan_free_meta size are both 16 bytes. It is a good size because it is the minimal redzone size and a good number of alignment. For free track, we make some modifications as shown below: 1) Remov

[PATCH v7 1/4] rcu: kasan: record and print call_rcu() call stack

2020-05-31 Thread Walter Wu
This feature will record the last two call_rcu() call stacks and prints up to 2 call_rcu() call stacks in KASAN report. When call_rcu() is called, we store the call_rcu() call stack into slub alloc meta-data, so that the KASAN report can print rcu stack. [1]https://bugzilla.kernel.org/show_bug.cg

[PATCH v7 0/4] kasan: memorize and print call_rcu stack

2020-05-31 Thread Walter Wu
This patchset improves KASAN reports by making them to have call_rcu() call stack information. It is useful for programmers to solve use-after-free or double-free memory issue. The KASAN report was as follows(cleaned up slightly): BUG: KASAN: use-after-free in kasan_rcu_reclaim+0x58/0x60 Freed b

[PATCH v2] RISC-V: Don't mark init section as non-executable

2020-05-31 Thread Anup Patel
The head text section (i.e. _start, secondary_start_sbi, etc) and the init section fall under same page table level-1 mapping. Currently, the runtime CPU hotplug is broken because we are marking init section as non-executable which in-turn marks head text section as non-executable. Further invest

  1   2   3   4   5   6   >