[PATCH RESEND v4] soc: samsung: Add simple voltage coupler for Exynos5800

2020-06-15 Thread Marek Szyprowski
Add a simple custom voltage regulator coupler for Exynos5800 SoCs, which require coupling between "vdd_arm" and "vdd_int" regulators. This coupler ensures that the voltage values don't go below the bootloader-selected operation point during the boot process until a the clients sets their constraint

Re: [RFC PATCH] tick/sched: update full_nohz status after SCHED dep is cleared

2020-06-15 Thread Juri Lelli
On 15/06/20 23:07, Frederic Weisbecker wrote: > On Thu, May 21, 2020 at 07:00:20PM +0200, Juri Lelli wrote: [...] > > sysjitter-2377 [004] 100.438495: sched_switch: sysjitter:2377 > > [120] R ==> ksoftirqd/4:31 [120] > > ksoftirqd/4-31[004] 100.438497: softirq_entry:ve

[PATCH net-next 3/3] mptcp: add MP_FASTCLOSE suboption handling

2020-06-15 Thread Geliang Tang
Add handling for sending and receiving MP_FASTCLOSE suboption. Signed-off-by: Geliang Tang --- net/mptcp/options.c | 16 net/mptcp/protocol.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index 82b3d7c566b4..a99b3989fec1 1006

Re: [PATCH v2 1/1] s390: virtio: let arch accept devices without IOMMU feature

2020-06-15 Thread Christian Borntraeger
On 15.06.20 14:39, Pierre Morel wrote: > An architecture protecting the guest memory against unauthorized host > access may want to enforce VIRTIO I/O device protection through the > use of VIRTIO_F_IOMMU_PLATFORM. > > Let's give a chance to the architecture to accept or not devices > without V

[PATCH net-next 2/3] mptcp: add MP_FAIL suboption handling

2020-06-15 Thread Geliang Tang
Add handling for sending and receiving MP_FAIL suboption. Signed-off-by: Geliang Tang --- net/mptcp/options.c | 18 ++ net/mptcp/protocol.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index cc3039f0ac43..82b3d7c566b4 100644

Re: WARNING in enqueue_task_dl

2020-06-15 Thread Daniel Wagner
On Tue, Jul 23, 2019 at 09:45:16PM -0700, Eric Biggers wrote: > On Thu, Feb 07, 2019 at 10:35:04AM +0100, 'Dmitry Vyukov' via syzkaller-bugs > wrote: > > On Mon, Jan 7, 2019 at 5:19 PM Daniel Bristot de Oliveira > > wrote: > > > > > > On 11/19/18 4:32 PM, Juri Lelli wrote: > > > > From 9326fd2b20

Re: [LKP] [sched/fair] 070f5e860e: reaim.jobs_per_min -10.5% regression

2020-06-15 Thread Vincent Guittot
Hi Xing, Le mardi 16 juin 2020 à 11:17:16 (+0800), Xing Zhengjun a écrit : > > > On 6/15/2020 4:10 PM, Vincent Guittot wrote: > > Hi Xing, > > > > Le lundi 15 juin 2020 à 15:26:59 (+0800), Xing Zhengjun a écrit : > > > > > > > > > On 6/12/2020 7:06 PM, Hillf Danton wrote: > > > > > > > > O

[PATCH 2/2] ASoC: fsl_spdif: Add support for imx6sx platform

2020-06-15 Thread Shengjiu Wang
The one difference on imx6sx platform is that the root clock is shared with ASRC module, so we add a new flags "ind_root_clk" which means the root clock is independent, then we will not do the clk_set_rate and clk_round_rate to avoid impact ASRC module usage. As add a new flags, we include the soc

[PATCH 1/2] ASoC: bindings: fsl_spdif: Add new compatible string for imx6sx

2020-06-15 Thread Shengjiu Wang
Add new compatible string "fsl,imx6sx-spdif" in the binding document. And add compatible string "fsl,vf610-spdif" which was missed before. Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/fsl,spdif.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH net-next 1/3] mptcp: add MP_PRIO suboption handling

2020-06-15 Thread Geliang Tang
Add handling for sending and receiving MP_PRIO suboption. Signed-off-by: Geliang Tang --- net/mptcp/options.c | 14 ++ net/mptcp/protocol.h | 5 + 2 files changed, 19 insertions(+) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index 490b92534afc..cc3039f0ac43 100644 -

[PATCH v2] drm/mediatek: remove unnecessary conversion to bool

2020-06-15 Thread Bernard Zhao
In function mtk_dsi_clk_hs_state, remove unnecessary conversion to bool return, this change is to make the code a bit readable. Signed-off-by: Bernard Zhao --- Changes since V1: *optimize to make the code a bit more clear. Link for V1: *https://lore.kernel.org/patchwork/patch/1255327/ --- drive

Re: [PATCH 1/2] drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed

2020-06-15 Thread Christian König
Am 16.06.20 um 08:30 schrieb Chen Tao: Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when pm_runtime_get_sync failed. Fixes: a9ffe2a983383 ("drm/amdgpu/debugfs: properly handle runtime pm") Signed-off-by: Chen Tao Probably better to remove the duplication of result and r here an

[PATCH net-next 0/3] add MP_PRIO, MP_FAIL and MP_FASTCLOSE suboptions handling

2020-06-15 Thread Geliang Tang
Add handling for sending and receiving the MP_PRIO, MP_FAIL, and MP_FASTCLOSE suboptions. Geliang Tang (3): mptcp: add MP_PRIO suboption handling mptcp: add MP_FAIL suboption handling mptcp: add MP_FASTCLOSE suboption handling net/mptcp/options.c | 48 +

[PATCH] kunit: kunit_tool: Fix invalid result when build fails

2020-06-15 Thread David Gow
When separating out different phases of running tests[1] (build/exec/parse/etc), the format of the KunitResult tuple changed (adding an elapsed_time variable). This is not populated during a build failure, causing kunit.py to crash. This fixes [1] to probably populate the result variable, causing

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-15 Thread Neal Liu
Hi Chun-Kuang, On Sat, 2020-06-13 at 07:20 +0800, Chun-Kuang Hu wrote: > Hi, Neal: > > Neal Liu 於 2020年6月9日 週二 下午6:25寫道: > > > > MT6873 bus frabric provides TrustZone security support and data > > protection to prevent slaves from being accessed by unexpected > > masters. > > The security viola

Re: [PATCH v4 1/3] mm/slab: Use memzero_explicit() in kzfree()

2020-06-15 Thread Michal Hocko
On Mon 15-06-20 21:57:16, Waiman Long wrote: > The kzfree() function is normally used to clear some sensitive > information, like encryption keys, in the buffer before freeing it back > to the pool. Memset() is currently used for the buffer clearing. However, > it is entirely possible that the comp

Re: [PATCH] powerpc/ptdump: Fix build failure in hashpagetable.c

2020-06-15 Thread Michael Ellerman
Christophe Leroy writes: > H_SUCCESS is only defined when CONFIG_PPC_PSERIES is defined. It's always defined in hvcall.h, but it doesn't always get included via plpar_wrappers.h. It looks to be CONFIG_SMP=n that causes that, for SMP=y we get a copy via asm/spinlock.h > != H_SUCCESS means != 0.

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

2020-06-15 Thread Krzysztof Kozlowski
On Mon, Jun 15, 2020 at 12:43:15PM +0200, Marek Szyprowski wrote: > Add a simple custom voltage regulator coupler for Exynos5800 SoCs, which > require coupling between "vdd_arm" and "vdd_int" regulators. This coupler > ensures that the voltage values don't go below the bootloader-selected > operati

Re: [PATCH v2 23/24] kset-example: add pr_debug()s for easy visibility of its operation

2020-06-15 Thread Greg KH
On Mon, Jun 15, 2020 at 04:18:38PM -0600, jim.cro...@gmail.com wrote: > On Sun, Jun 14, 2020 at 12:05 AM Greg KH wrote: > > > > On Sat, Jun 13, 2020 at 09:57:37AM -0600, Jim Cromie wrote: > > > put pr_debug()s into most functions, to easily see code operate when > > > module is loaded and used. >

Re: [PATCH v4 2/2] arm64: dts: qcom: sm8150: Add USB and PHY device nodes

2020-06-15 Thread Vinod Koul
On 10-04-20, 17:52, Wesley Cheng wrote: > From: Jack Pham > > Add device nodes for the USB3 controller, QMP SS PHY and > SNPS HS PHY. Bjorn, can you please review/pick this.. I dont see this in -rc1 > > Signed-off-by: Jack Pham > Signed-off-by: Wesley Cheng > Reviewed-by: Bjorn Andersson >

[RESENDx2][PATCH] sound: qcom: Kconfig: Tweak dependencies on SND_SOC_SDM845

2020-06-15 Thread John Stultz
CROS_EC isn't strictly required for audio to work on other SDM845 platforms (like the Dragonboard 845c). So lets remove the dependency and select the related CROS_EC options if CROS_EC is already enabled. Cc: Srinivas Kandagatla Cc: Rohit kumar Cc: Patrick Lai Cc: Banajit Goswami Cc: Liam Gir

[PATCH 2/2] drm/amdgpu/debugfs: fix memory leak when amdgpu_virt_enable_access_debugfs failed

2020-06-15 Thread Chen Tao
Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when amdgpu_virt_enable_access_debugfs failed. Fixes: 95a2f917387a2 ("drm/amdgpu: restrict debugfs register accessunder SR-IOV") Signed-off-by: Chen Tao --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +++- 1 file changed, 3 insert

[PATCH 1/2] drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed

2020-06-15 Thread Chen Tao
Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when pm_runtime_get_sync failed. Fixes: a9ffe2a983383 ("drm/amdgpu/debugfs: properly handle runtime pm") Signed-off-by: Chen Tao --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) d

Re: [PATCH 0/2] Update CascadelakeX and SkylakeX events list

2020-06-15 Thread Jin, Yao
Hi Ian, Arnaldo, On 6/16/2020 2:16 PM, Ian Rogers wrote: On Mon, Jun 15, 2020 at 6:00 PM Jin, Yao wrote: Hi Andi, Can I get an ACK for this patchset? Thanks Jin Yao On 6/3/2020 10:18 AM, Jin Yao wrote: This patchset updates CascadelakeX events to v1.08 and updates SkylakeX events to v1.21

Re: [PATCH v2 1/1] s390: virtio: let arch accept devices without IOMMU feature

2020-06-15 Thread Jason Wang
On 2020/6/15 下午8:39, Pierre Morel wrote: An architecture protecting the guest memory against unauthorized host access may want to enforce VIRTIO I/O device protection through the use of VIRTIO_F_IOMMU_PLATFORM. Let's give a chance to the architecture to accept or not devices without VIRTIO_F_I

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-15 Thread Neal Liu
Hi Chun-Kuang, On Mon, 2020-06-15 at 23:51 +0800, Chun-Kuang Hu wrote: > Hi, Neal: > > Neal Liu 於 2020年6月9日 週二 下午6:25寫道: > > > > MT6873 bus frabric provides TrustZone security support and data > > protection to prevent slaves from being accessed by unexpected > > masters. > > The security violat

Re: [PATCH v3] exfat: remove EXFAT_SB_DIRTY flag

2020-06-15 Thread Markus Elfring
> remove EXFAT_SB_DIRTY flag and related codes. I propose to omit this sentence because a similar information is provided a bit later again for this change description. > If performe 'sync' in this state, VOL_DIRTY will not be cleared. Please improve this wording. Do you care to avoid a typo he

[PATCH for v5.8 1/3] mm: workingset: age nonresident information alongside anonymous pages

2020-06-15 Thread js1304
From: Johannes Weiner After ("mm: workingset: let cache workingset challenge anon fix"), we compare refault distances to active_file + anon. But age of the non-resident information is only driven by the file LRU. As a result, we may overestimate the recency of any incoming refaults and activate t

[PATCH for v5.8 2/3] mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous pages"

2020-06-15 Thread js1304
From: Joonsoo Kim Non-file-lru page could also be activated in mark_page_accessed() and we need to count this activation for nonresident_age. Note that it's better for this patch to be squashed into the patch "mm: workingset: age nonresident information alongside anonymous pages". Signed-off-by

[PATCH for v5.8 0/3] fix for "mm: balance LRU lists based on relative thrashing" patchset

2020-06-15 Thread js1304
From: Joonsoo Kim This patchset fixes some problems of the patchset, "mm: balance LRU lists based on relative thrashing", which is now merged on the mainline. Patch "mm: workingset: let cache workingset challenge anon fix" is the result of discussion with Johannes. See following link. http://lk

[PATCH for v5.8 3/3] mm/memory: fix IO cost for anonymous page

2020-06-15 Thread js1304
From: Joonsoo Kim With synchronous IO swap device, swap-in is directly handled in fault code. Since IO cost notation isn't added there, with synchronous IO swap device, LRU balancing could be wrongly biased. Fix it to count it in fault code. Signed-off-by: Joonsoo Kim --- mm/memory.c | 8 +

Re: [PATCH 0/2] Update CascadelakeX and SkylakeX events list

2020-06-15 Thread Ian Rogers
On Mon, Jun 15, 2020 at 6:00 PM Jin, Yao wrote: > > Hi Andi, > > Can I get an ACK for this patchset? > > Thanks > Jin Yao > > On 6/3/2020 10:18 AM, Jin Yao wrote: > > This patchset updates CascadelakeX events to v1.08 and > > updates SkylakeX events to v1.21. > > > > The events have been tested on

[PATCH 3/7] habanalabs: sync stream generic functionality

2020-06-15 Thread Oded Gabbay
From: Ofir Bitton Currently sync stream is limited only for external queues. We want to remove this constraint by adding a new queue property dedicated for sync stream. In addition we move the initialization and reset methods to the common code since we can re-use them with slight changes. Signe

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-15 Thread Alex Shi
在 2020/6/12 上午6:09, Hugh Dickins 写道: >>> I thought that a very safe change, but best to do some test runs with >>> it in before finalizing. And was then unpleasantly surprised to hit a >>> VM_BUG_ON_PAGE(lruvec_memcg(lruvec) != page->mem_cgroup) from >>> lock_page_lruvec_irqsave < relock_page_lr

[PATCH 4/7] habanalabs: Use mask instead of shift in sync stream registers

2020-06-15 Thread Oded Gabbay
From: Ofir Bitton Use proper bitfield masks instead of shifting values when configuring packets sent to device. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 70 ++- .../habanalabs/include/ga

[RFC][PATCH 1/5] irq: irqdomain: Export irq_domain_update_bus_token

2020-06-15 Thread John Stultz
Add export for irq_domain_update_bus_token() so that we can allow drivers like the qcom-pdc driver to be loadable as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linus Walleij Cc: Lina Iyer Cc: Saravana Kannan Cc:

[PATCH 6/7] habanalabs: align armcp_packet structure to 8 bytes

2020-06-15 Thread Oded Gabbay
Once there is a 64-bit field in a structure, GCC compiler for ARM aligns the structure to 8 bytes. In order to avoid confusion when these structures are being passed between CPUs from different architectures, we explicitly align the structure to 8 bytes. Signed-off-by: Oded Gabbay --- drivers/mi

[PATCH 5/7] uapi/habanalabs: fix some comments

2020-06-15 Thread Oded Gabbay
MAP/UNMAP are done also for device memory. Signed-off-by: Oded Gabbay --- include/uapi/misc/habanalabs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h index f6267a8d7416..f218d1c62c62 100644 --- a/include

[PATCH 7/7] habanalabs: calculate trace frequency from PLL

2020-06-15 Thread Oded Gabbay
From: Adam Aharon The profiler needs to know the PLL values for correctly showing the profiling data. Because our firmware can use different PLL configurations, we need to read the PLL values from the ASIC to pass them to the profiler. Signed-off-by: Adam Aharon Reviewed-by: Oded Gabbay Signed

[RFC][PATCH 0/5] Allow for qcom-pdc, pinctrl-msm and qcom-scm drivers to be loadable as modules

2020-06-15 Thread John Stultz
This patch series provides exports and config tweaks to allow the qcom-pdc, pinctrl-msm and qcom-scm drivers to be able to be configured as permement modules (particularlly useful for the Android Generic Kernel Image efforts). Feedback would be appreciated! thanks -john Cc: Andy Gross Cc: Bjorn

[RFC][PATCH 4/5] pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module

2020-06-15 Thread John Stultz
Tweaks to allow pinctrl-msm code to be loadable as a module. This is needed in order to support having the qcom-scm driver, which pinctrl-msm calls into, configured as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linu

[RFC][PATCH 2/5] irq: irqchip: Export irq_chip_retrigger_hierarchy and irq_chip_set_vcpu_affinity_parent

2020-06-15 Thread John Stultz
Add EXPORT_SYMBOL_GPL entries for irq_chip_retrigger_hierarchy() and irq_chip_set_vcpu_affinity_parent() so that we can allow drivers like the qcom-pdc driver to be loadable as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier

[PATCH 1/7] habanalabs: remove rate limiters from GAUDI

2020-06-15 Thread Oded Gabbay
We no longer need to initialize the rate limiters in GAUDI A1. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c| 126 +-- drivers/misc/habanalabs/habanalabs_drv.c | 1 - 2 files changed, 1 insertion(+), 126 deletions(-) diff --git a/drivers/misc/hab

[RFC][PATCH 3/5] irqchip: Allow QCOM_PDC to be loadable as a perment module

2020-06-15 Thread John Stultz
Allows qcom-pdc driver to be loaded as a permenent module Also, due to the fact that IRQCHIP_DECLARE becomes a no-op when building as a module, we have to add the platform driver hooks explicitly. Thanks to Saravana for his help on pointing out the IRQCHIP_DECLARE issue and guidance on a solution

[PATCH 2/7] habanalabs: Use pending CS amount per ASIC

2020-06-15 Thread Oded Gabbay
From: Ofir Bitton Training schemes requires much more concurrent command submissions than inference does. In addition, training command submissions can be completed in a non serialized manner. Hence, we add support in which each ASIC will be able to configure the amount of concurrent pending comm

[RFC][PATCH 5/5] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-06-15 Thread John Stultz
Allow the qcom_scm driver to be loadable as a permenent module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linus Walleij Cc: Lina Iyer Cc: Saravana Kannan Cc: Todd Kjos Cc: Greg Kroah-Hartman Cc: linux-arm-...@vger.kerne

Re: [PATCH] drm/noveau: fix reference count leak in nouveau_debugfs_strap_peek

2020-06-15 Thread Ben Skeggs
Thanks, I've grabbed this, and the others of the same sort you sent out at the same time. Ben. On Mon, 15 Jun 2020 at 17:29, Aditya Pakki wrote: > > nouveau_debugfs_strap_peek() calls pm_runtime_get_sync() that > increments the reference count. In case of failure, decrement the > ref count befo

Re: [PATCH v3 3/7] iommu/mediatek: Disable STANDARD_AXI_MODE in MISC_CTRL

2020-06-15 Thread chao hao
On Mon, 2020-05-25 at 14:14 +0800, Yong Wu wrote: > On Sat, 2020-05-09 at 16:36 +0800, Chao Hao wrote: > > In order to improve performance, we always disable STANDARD_AXI_MODE in > > MISC_CTRL. > > > > Signed-off-by: Chao Hao > > --- > > drivers/iommu/mtk_iommu.c | 8 +++- > > drivers/iommu/

Re: [PATCH] sched/fair: Optimize dequeue_task_fair()

2020-06-15 Thread Peng Wang
On 6/15/20 11:09 PM, Vincent Guittot wrote: On Mon, 15 Jun 2020 at 16:20, Peng Wang wrote: While looking at enqueue_task_fair and dequeue_task_fair, it occurred to me that dequeue_task_fair can also be optimized as Vincent described in commit 7d148be69e3a ("sched/fair: Optimize enqueue_task_fa

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-15 Thread Neal Liu
Hi Chun-Kuang, On Mon, 2020-06-15 at 22:17 +0800, Chun-Kuang Hu wrote: > Chun-Kuang Hu 於 2020年6月15日 週一 下午10:14寫道: > > > > Hi, Neal: > > > > Neal Liu 於 2020年6月15日 週一 上午10:43寫道: > > > > > > Hi Chun-Kuang, > > > > > > > > > On Sun, 2020-06-14 at 11:26 +0800, Chun-Kuang Hu wrote: > > > > Hi, Neal: >

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

2020-06-15 Thread Joonsoo Kim
2020년 6월 15일 (월) 오후 10:41, Johannes Weiner 님이 작성: > > On Fri, Jun 12, 2020 at 12:19:58PM +0900, Joonsoo Kim wrote: > > 2020년 6월 5일 (금) 오전 12:06, Johannes Weiner 님이 작성: > > > > > > On Thu, Jun 04, 2020 at 03:35:27PM +0200, Vlastimil Babka wrote: > > > > On 6/1/20 10:44 PM, Johannes Weiner wrote: > >

[PATCH v2] sched/fair: Optimize dequeue_task_fair()

2020-06-15 Thread Peng Wang
While looking at enqueue_task_fair and dequeue_task_fair, it occurred to me that dequeue_task_fair can also be optimized as Vincent described in commit 7d148be69e3a ("sched/fair: Optimize enqueue_task_fair()"). When encountering throttled cfs_rq, dequeue_throttle label can ensure se not to be NULL

Re: [PATCH v2 1/7] Bluetooth: Add definitions for advertisement monitor features

2020-06-15 Thread Miao-chen Chou
Hi Marcel, https://patchwork.kernel.org/patch/11606491/ was uploaded for review. Thanks, Miao On Fri, Jun 12, 2020 at 11:17 PM Marcel Holtmann wrote: > > Hi Miao-chen, > > > The name in the mgmt-api.txt doc is "Add Advertisement Patterns > > Monitor Command", and Luiz changed the name from > >

Re: [PATCH 4/4] pci: export untrusted attribute in sysfs

2020-06-15 Thread Greg Kroah-Hartman
On Mon, Jun 15, 2020 at 06:17:42PM -0700, Rajat Jain wrote: > This is needed to allow the userspace to determine when an untrusted > device has been added, and thus allowing it to bind the driver manually > to it, if it so wishes. This is being done as part of the approach > discussed at https://lk

Re: [PATCH v8 4/4] gpio: xilinx: Utilize for_each_set_clump macro

2020-06-15 Thread Syed Nayyar Waris
-Nayyar-Waris/Introduce-the-for_each_set_clump-macro/20200615-205729 > base:444fc5cde64330661bf59944c43844e7d4c2ccd8 > config: sparc64-randconfig-s032-20200615 (attached as .config) > compiler: sparc64-linux-gcc (GCC) 9.3.0 > reproduce: > # apt-get install sparse > #

[PATCH] usb: gadget: u_serial.h: increase MAX_U_SERIAL_PORTS to 8

2020-06-15 Thread Macpaul Lin
Mediatek's LTE modem needs up to 8 ports to connect to PC for logging and debugging under some scenarios. Hence we suggest to increase the definition of MAX_U_SERIAL_PORTS to 8 for some complex embedded systems. Signed-off-by: Macpaul Lin --- drivers/usb/gadget/function/u_serial.h |2 +- 1 f

[PATCH] clk: Provide future parent in clk notification

2020-06-15 Thread Ikjoon Jang
Current clk notification handlers cannot know its new parent in PRE_RATE_CHANGE event. This patch simply adds parent clk to clk_notifier_data so the child clk is now able to know its future parent prior to reparenting. Change-Id: I099a784d5302a93951bdc6254d85f8df8c770462 Signed-off-by: Ikjoon Jang

Re: [PATCH v4 02/11] fs: Move __scm_install_fd() to __fd_install_received()

2020-06-15 Thread Kees Cook
On Tue, Jun 16, 2020 at 05:29:41AM +, Sargun Dhillon wrote: > On Mon, Jun 15, 2020 at 08:25:15PM -0700, Kees Cook wrote: > > +/** > > + * __fd_install_received() - Install received file into file descriptor > > table > > + * > > + * @fd: fd to install into (if negative, a new fd will be alloca

Re: [PATCH v2 13/24] dyndbg: combine flags & mask into a struct, use that

2020-06-15 Thread jim . cromie
On Mon, Jun 15, 2020 at 9:14 AM Petr Mladek wrote: > > On Sat 2020-06-13 09:57:27, Jim Cromie wrote: > > combine flags & mask into a struct, and replace those 2 parameters in > > 3 functions: ddebug_change, ddebug_parse_flags, ddebug_read_flags, > > altering the derefs in them accordingly. > > > >

[PATCH V2 2/2] dt-bindings: input: Convert imx keypad to json-schema

2020-06-15 Thread Anson Huang
Convert the i.MX KEYPAD binding to DT schema format using json-schema Signed-off-by: Anson Huang --- Changes since V1: - include matrix-keymap.yaml and "linux,keymap" is unnecessary now, remove it. --- .../devicetree/bindings/input/imx-keypad.txt | 53 -- .../devicetre

[PATCH V2 1/2] dt-bindings: input: Convert matrix-keymap to json-schema

2020-06-15 Thread Anson Huang
Convert the matrix-keymap binding to DT schema format using json-schema Signed-off-by: Anson Huang --- New patch. --- .../devicetree/bindings/input/matrix-keymap.txt| 28 + .../devicetree/bindings/input/matrix-keymap.yaml | 46 ++ 2 files changed, 47 inserti

Re: [PATCH] staging: android: ashmem.c: Cleanup

2020-06-15 Thread kernel test robot
Hi Dio, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [cannot apply to aa5af974127d317071d6225a0f3678c5f520e7ce] url: https://github.com/0day-ci/linux/commits/Dio-Putra/staging-android-ashmem-c-Cleanup/20200614-013821 base: http

arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no member named 'vz_cpucfg_exits'; did you mean

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3 date: 9 days ago :: branch date: 16 hours ago :: commit date

[PATCH v2] exfat: call sync_filesystem for read-only remount

2020-06-15 Thread Hyunchul Lee
We need to commit dirty metadata and pages to disk before remounting exfat as read-only. This fixes a failure in xfstests generic/452 generic/452 does the following: cp something / mount -o remount,ro the /something is corrupted. because while exfat is remounted as read-only, exfat doesn't have

Re: [PATCH] ovl: inode reference leak in ovl_is_inuse true case.

2020-06-15 Thread Amir Goldstein
Hi youngjun! Thank you for your patch. You asked for guidance about posting patch revisions so let me repeat my comment in a more clear way (see below). On Tue, Jun 16, 2020 at 7:46 AM youngjun wrote: > When posting a revision of a patch already posted, the practice is to use the subject prefi

[PATCH] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM

2020-06-15 Thread James Hilliard
This is UPB(Universal Powerline Bus) PIM(Powerline Interface Module) which allows for controlling multiple UPB comaptible devices from Linux. This device internally uses a Cypress HID->COM interface. Signed-off-by: James Hilliard --- drivers/usb/serial/cypress_m8.c | 2 ++ drivers/usb/serial/cy

Re: [PATCH v4 02/11] fs: Move __scm_install_fd() to __fd_install_received()

2020-06-15 Thread Sargun Dhillon
On Mon, Jun 15, 2020 at 08:25:15PM -0700, Kees Cook wrote: > In preparation for users of the "install a received file" logic outside > of net/ (pidfd and seccomp), relocate and rename __scm_install_fd() from > net/core/scm.c to __fd_install_received() in fs/file.c, and provide a > wrapper named fd_

Re: [PATCH] mm/pgtable: Move extern zero_pfn outside __HAVE_COLOR_ZERO_PAGE

2020-06-15 Thread Anshuman Khandual
On 06/16/2020 09:38 AM, Anshuman Khandual wrote: > zero_pfn variable is required whether __HAVE_COLOR_ZERO_PAGE is enabled > or not. Also it should not really be declared individually in all functions > where it gets used. Just move the declaration outside, which also makes it > available for other

Re: [PATCH v3] ASoC: fsl_ssi: Fix bclk calculation for mono channel

2020-06-15 Thread Nicolin Chen
On Tue, Jun 16, 2020 at 10:53:48AM +0800, Shengjiu Wang wrote: > For mono channel, SSI will switch to Normal mode. > > In Normal mode and Network mode, the Word Length Control bits > control the word length divider in clock generator, which is > different with I2S Master mode (the word length is f

drivers/pci/controller/pci-mvebu.c:368:17: sparse: sparse: restricted __le16 degrades to integer

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d commit: e0d9d30b73548fbfe5c024ed630169bdc9a08aee PCI: pci-bridge-emul: Fix big-endian support date: 8 months ago :: branch date: 2 hours ago :: commit date:

Re: [RFC PATCH] seccomp: Add extensibility mechanism to read notifications

2020-06-15 Thread Sargun Dhillon
On Mon, Jun 15, 2020 at 11:36:22AM +0200, Jann Horn wrote: > On Sat, Jun 13, 2020 at 9:26 AM Sargun Dhillon wrote: > > This introduces an extensibility mechanism to receive seccomp > > notifications. It uses read(2), as opposed to using an ioctl. The listener > > must be first configured to write

Re: [PATCH 1/4] proc/bootconfig: Fix to use correct quotes for value

2020-06-15 Thread Joe Perches
On Mon, 2020-06-15 at 16:12 -0700, Randy Dunlap wrote: > On 6/15/20 3:42 PM, Steven Rostedt wrote: > > On Mon, 15 Jun 2020 15:30:41 -0700 > > Randy Dunlap wrote: > > > > > > > Please don't infect kernel sources with that style oddity. > > > > > > > > What do you mean? It's already "infected" a

linux-next: removal of the cisco tree

2020-06-15 Thread Stephen Rothwell
Hi, I have removed the cisco tree (https://github.com/daniel-walker/cisco-linux.git#for-next) from linux-next because it has not been updated in more than a year. If you would like it reinstated, please just reply and let me know. -- Cheers, Stephen Rothwell pgpcjFh295WI1.pgp Description: Open

linux-next: removal of the md tree

2020-06-15 Thread Stephen Rothwell
Hi, I have removed the md tree (git://git.kernel.org/pub/scm/linux/kernel/git/shli/md.gi#for-next) from linux-next because it has not been updated in more than a year. If you would like it reinstated, please just reply and let me know. -- Cheers, Stephen Rothwell pgp5kSl9PQV5r.pgp Description:

linux-next: removal of the sifive tree

2020-06-15 Thread Stephen Rothwell
Hi, I have removed the sifive tree (git://git.kernel.org/pub/scm/linux/kernel/git/pjw/sifive.git#for-next) from linux-next because it has not been updated in more than a year. If you would like it reinstated, please just reply and let me know. -- Cheers, Stephen Rothwell pgpg4ltc_N53R.pgp Desc

[PATCHv3] coresight: tmc: Add shutdown callback for TMC ETR

2020-06-15 Thread Sai Prakash Ranjan
Implement a shutdown callback to ensure ETR hardware is properly shutdown in reboot/shutdown path. This is required for ETR which has SMMU address translation enabled like on SC7180 SoC and few others. If the hardware is still accessing memory after SMMU translation is disabled as part of SMMU shut

linux-next: removal of the c6x tree

2020-06-15 Thread Stephen Rothwell
Hi, I have removed the c6x tree (git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git#for-linux-next) from linux-next because it has not been updated in more than a year. If you would like it reinstated, please just reply and let me know. -- Cheers, Stephen Rothwell pgpNbJQudE3RW.pgp Des

[PATCH] coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb()

2020-06-15 Thread Sai Prakash Ranjan
Reading TMC mode register without proper coresight power management can lead to exceptions like the one in the call trace below in tmc_read_unprepare_etb() when the trace data is read after the sink is disabled. So fix this by having a check for coresight sysfs mode before reading TMC mode manageme

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-06-15 Thread Sandeep Maheswaram (Temp)
On 6/16/2020 1:12 AM, Matthias Kaehlcke wrote: On Thu, Jun 04, 2020 at 04:16:31AM -0700, Stephen Boyd wrote: Quoting Sandeep Maheswaram (Temp) (2020-06-04 02:43:09) On 6/3/2020 11:06 PM, Stephen Boyd wrote: Quoting Sandeep Maheswaram (2020-03-31 22:15:43) diff --git a/drivers/usb/dwc3/dwc3-

linux-next: removal of the leaks tree

2020-06-15 Thread Stephen Rothwell
Hi, I have removed the leaks tree (https://git.kernel.org/pub/scm/linux/kernel/git/tobin/leaks.git#leaks-next) from linux-next because it has not been updated in more than a year. If you would like it reinstated, please just reply and let me know. -- Cheers, Stephen Rothwell pgpNcys1RS6xP.pgp

Re: mm lock issue while booting Linux on 5.8-rc1 for RISC-V

2020-06-15 Thread Stafford Horne
On Tue, Jun 16, 2020 at 06:57:47AM +0900, Stafford Horne wrote: > On Mon, Jun 15, 2020 at 12:28:11AM -0700, Atish Patra wrote: > > Hi, > > I encountered the following issue while booting 5.8-rc1 on Qemu for RV64. > > I added additional dump_stack and observed that it's happening in bpf free > > pa

[PATCH 1/2] ALSA: hda: Make codec controlled LED support more generic

2020-06-15 Thread Kai-Heng Feng
Currently, only HDA codec GPIO controlled LED class is supported, and only via platform specific quirk. There are systems that control LED via COEF instead of GPIO, and to support those systems, move the LED class registration to snd_hda_gen_add_micmute_led(), so all systems can facilitate the sam

[PATCH 2/2] ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems

2020-06-15 Thread Kai-Heng Feng
There are two more HP systems control mute LED from HDA and control micmute LED from SoF. Add IDs to support them. Signed-off-by: Kai-Heng Feng --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c in

[PATCH] ovl: inode reference leak in ovl_is_inuse true case.

2020-06-15 Thread youngjun
When "ovl_is_inuse" true case, trap inode reference not put. plus adding the comment explaining sequence of ovl_is_inuse after ovl_setup_trap. Signed-off-by: youngjun --- fs/overlayfs/super.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fs/overlayfs/super.c b/fs/

[GIT PULL v2] flexible-array member conversion patches for 5.8-rc2

2020-06-15 Thread Gustavo A. R. Silva
Hi Linus, v2 of today's pull request. I considerably reduced the size of the changelog text for all the patches, while at the same time, pointing people to where they can read further details about the changes, in case they want/need to. I also reduced the size and modified the commit message for

Re: [PATCH 5/5] fpga manager: xilinx-spi: check INIT_B pin during write_init

2020-06-15 Thread Moritz Fischer
Hi Luca, On Thu, Jun 11, 2020 at 11:11:44PM +0200, Luca Ceresoli wrote: > The INIT_B reports the status during startup and after the end of the > programming process. However the current driver completely ignores it. > > Check the pin status during startup to make sure programming is never > star

Re: [PATCH][next] scsi: fnic: Replace vmalloc() + memset() with vzalloc() and use array_size()

2020-06-15 Thread Joe Perches
On Tue, 2020-06-16 at 00:19 +, Satish Kharat (satishkh) wrote: > Reviewed-by: Satish Kharat >  > > On 6/15/20, 3:49 PM, "Gustavo A. R. Silva" wrote: > > Use vzalloc() instead of the vmalloc() and memset. Also, use array_size() > instead of the open-coded version. > > This

Re: [PATCH 1/5] dt-bindings: fpga: xilinx-slave-serial: valid for the 7 Series too

2020-06-15 Thread Moritz Fischer
On Thu, Jun 11, 2020 at 11:11:40PM +0200, Luca Ceresoli wrote: > The Xilinx 7-series uses the same protocol, mention that. > > Signed-off-by: Luca Ceresoli Acked-by: Moritz Fischer > --- > .../devicetree/bindings/fpga/xilinx-slave-serial.txt | 9 ++--- > 1 file changed, 6 insertions(+),

[rcu:lkmm-dev] BUILD SUCCESS 29ecbc5a484349975eb1173c79538d4de418f966

2020-06-15 Thread kernel test robot
onfig i386 randconfig-a006-20200615 i386 randconfig-a002-20200615 i386 randconfig-a001-20200615 i386 randconfig-a004-20200615 i386 randconfig-a005-20200615 i386 randconfig-a003-20200615 x86_64 randconfig-a015-20200

[PATCH V3 1/3] dt-bindings: spi: Convert mxs spi to json-schema

2020-06-15 Thread Anson Huang
Convert the MXS SPI binding to DT schema format using json-schema Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- Changes since V2: - drop "clock-frequency" property's type. --- Documentation/devicetree/bindings/spi/mxs-spi.txt | 26 -- Documentation/devicetree/bindings

[rcu:lkmm] BUILD SUCCESS a08ae995e32ffd5e54b714f941c7cdde4a83eade

2020-06-15 Thread kernel test robot
-20200615 i386 randconfig-a002-20200615 i386 randconfig-a001-20200615 i386 randconfig-a004-20200615 i386 randconfig-a005-20200615 i386 randconfig-a003-20200615 i386 randconfig-a006-20200616 i386

[PATCH V3 2/3] dt-bindings: spi: Convert imx cspi to json-schema

2020-06-15 Thread Anson Huang
Convert the i.MX CSPI binding to DT schema format using json-schema, update compatible, remove obsolete properties "fsl,spi-num-chipselects" and update the example based on latest DT file. Signed-off-by: Anson Huang --- Changes since V2: - remove redundant "maxItems" in "clocks" and "cloc

[PATCH V3 0/3] Convert mxs/imx spi/cspi/lpspi binding to json-schema

2020-06-15 Thread Anson Huang
This patch series converts mxs/imx spi/cspi/lpspi binding to json-schema. In fsl-imx-cspi.yaml, also update compatible, remove obsolete properties "fsl,spi-num-chipselects" and update the example based on latest DT file; In spi-fsl-lpspi.yaml, the original maintainer's email address pandy@nxp

[PATCH V3 3/3] dt-bindings: spi: Convert imx lpspi to json-schema

2020-06-15 Thread Anson Huang
Convert the i.MX LPSPI binding to DT schema format using json-schema Signed-off-by: Anson Huang --- Changes since V2: - remove redundant "maxItems" in "clocks" and "clock-names". --- .../devicetree/bindings/spi/spi-fsl-lpspi.txt | 29 --- .../devicetree/bindings/spi/spi-fsl-

Re: [PATCH 2/2] cpufreq: Specify default governor on command line

2020-06-15 Thread Viresh Kumar
On 15-06-20, 17:55, Quentin Perret wrote: > +static void cpufreq_get_default_governor(void) > +{ > + default_governor = cpufreq_parse_governor(cpufreq_param_governor); > + if (!default_governor) { > + if (*cpufreq_param_governor) > + pr_warn("Failed to find %

Re: [PATCH 1/2] cpufreq: Register governors at core_initcall

2020-06-15 Thread Viresh Kumar
On 15-06-20, 17:55, Quentin Perret wrote: > Currently, most CPUFreq governors are registered at core_initcall time > when used as default, and module_init otherwise. In preparation for > letting users specify the default governor on the kernel command line, > change all of them to use core_initcall

Re: [PATCH v2 4/6] regulator: Add support for QCOM PMIC VBUS booster

2020-06-15 Thread Wesley Cheng
On 6/15/2020 5:00 AM, Mark Brown wrote: > On Fri, Jun 12, 2020 at 04:19:16PM -0700, Wesley Cheng wrote: > >> +++ b/drivers/regulator/qcom_usb_vbus-regulator.c >> @@ -0,0 +1,147 @@ >> +// SPDX-License-Identifier: GPL-2.0-only >> +/* >> + * Copyright (c) 2020, The Linux Foundation. All rights res

Re: [PATCH v2 4/6] regulator: Add support for QCOM PMIC VBUS booster

2020-06-15 Thread Wesley Cheng
On 6/12/2020 8:28 PM, Randy Dunlap wrote: > On 6/12/20 4:19 PM, Wesley Cheng wrote: >> diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig >> index 074a2ef55943..f9165f9f9051 100644 >> --- a/drivers/regulator/Kconfig >> +++ b/drivers/regulator/Kconfig >> @@ -797,6 +797,16 @@ confi

[PATCH v7 5/7] fpga: dfl: fme: add interrupt support for global error reporting

2020-06-15 Thread Xu Yilun
Error reporting interrupt is very useful to notify users that some errors are detected by the hardware. Once users are notified, they could query hardware logged error states, no need to continuously poll on these states. This patch adds interrupt support for fme global error reporting sub feature

[PATCH v7 7/7] Documentation: fpga: dfl: add descriptions for interrupt related interfaces.

2020-06-15 Thread Xu Yilun
This patch adds introductions of interrupt related interfaces for FME error reporting, port error reporting and AFU user interrupts features. Signed-off-by: Luwei Kang Signed-off-by: Wu Hao Signed-off-by: Xu Yilun Reviewed-by: Marcelo Tosatti Acked-by: Wu Hao --- v2: Update Documents cause ch

  1   2   3   4   5   6   7   8   9   10   >