Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-09-01 Thread Viresh Kumar
On 31-08-20, 17:49, Stephan Gerhold wrote: > I appreciate it, thank you! But actually after our discussion regarding > the "manage multiple power domains which might not always need to be on" > use case I would like to explore that a bit further before we decide on > a final solution that

Re: [PATCH 4/5] ARM: dts: Aspeed: Tacoma: Add IBM Operation Panel I2C device

2020-09-01 Thread Joel Stanley
On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Set I2C bus 0 to multi-master mode and add the panel device that will > register as a slave. > > Signed-off-by: Eddie James Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 6 ++ > 1 file changed, 6

Re: [PATCH 5/5] ARM: dts: Aspeed: Rainier: Add IBM Operation Panel I2C device

2020-09-01 Thread Joel Stanley
On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Set I2C bus 7 to multi-master mode and add the panel device that will > register as a slave. > > Signed-off-by: Eddie James Same comments as for Tacoma. Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 6

[PATCH v1 1/2] scsi: dt-bindings: ufs: Add vcc-voltage-level for UFS

2020-09-01 Thread Bao D. Nguyen
UFS's specifications supports a range of Vcc operating voltage levels. Add documentation for the UFS's Vcc voltage levels setting. Signed-off-by: Can Guo Signed-off-by: Asutosh Das Signed-off-by: Bao D. Nguyen --- Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 2 ++ 1 file changed,

[PATCH v1 2/2] scsi: ufs: Support reading UFS's Vcc voltage from device tree

2020-09-01 Thread Bao D. Nguyen
The UFS specifications supports a range of Vcc operating voltage from 2.4-3.6V depending on the device and manufacturers. Allows selecting the UFS Vcc voltage level by setting the UFS's entry vcc-voltage-level in the device tree. If UFS's vcc-voltage-level setting is not found in the device tree,

Re: [PATCH 1/5] dt-bindings: input: Add documentation for IBM Operation Panel

2020-09-01 Thread Joel Stanley
On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Document the bindings for the IBM Operation Panel, which provides > a simple interface to control a server. It has a display and three > buttons. > Also update MAINTAINERS for the new file. > > Signed-off-by: Eddie James Acked-by: Joel

Re: [PATCH v6 2/5] perf/jevents: Add new structure to pass json fields.

2020-09-01 Thread kajoljain
On 8/31/20 2:13 PM, Jiri Olsa wrote: > On Thu, Aug 27, 2020 at 06:39:55PM +0530, Kajol Jain wrote: > > SNIP > >> -if (!*field)\ >> +#define TRY_FIXUP_FIELD(field) do { if (es->field && !je->field) {\ >> +je->field = strdup(es->field);

Re: [PATCH v6 3/5] perf jevents: Add support for parsing perchip/percore events

2020-09-01 Thread kajoljain
On 8/31/20 2:14 PM, Jiri Olsa wrote: > On Thu, Aug 27, 2020 at 06:39:56PM +0530, Kajol Jain wrote: >> Initially, every time we want to add new terms like chip, core thread etc, >> we need to create corrsponding fields in pmu_events and event struct. >> This patch adds an enum called

RE: Lockdep warning caused by "driver core: Fix sleeping in invalid context during device link deletion"

2020-09-01 Thread Peng Fan
> Subject: Re: Lockdep warning caused by "driver core: Fix sleeping in invalid > context during device link deletion" > > On Wed, Aug 26, 2020 at 10:17 PM Saravana Kannan > wrote: > > > > On Thu, Aug 20, 2020 at 8:50 PM Dong Aisheng > wrote: > > > > > > Hi ALL, > > > > > > We met the below

Re: [PATCH 4/5] ARM: dts: Aspeed: Tacoma: Add IBM Operation Panel I2C device

2020-09-01 Thread Wolfram Sang
> > + ibm-panel@62 { > > + compatible = "ibm,op-panel"; > > + reg = <0x4062>; /* I2C_OWN_SLAVE_ADDRESS */ > > Other users of SLAVE_ADDRESS have included and > written the reg as follows: > > reg = <(I2C_OWN_SLAVE_ADDRESS | 0x62)> > > Which obviously has

Re: [PATCH v3 1/2] iommu/vt-d:Add support for detecting ACPI device in RMRR

2020-09-01 Thread Lu Baolu
Hi Felix, On 8/27/20 6:02 PM, FelixCuioc wrote: Some ACPI devices need to issue dma requests to access the reserved memory area.BIOS uses the device scope type ACPI_NAMESPACE_DEVICE in RMRR to report these ACPI devices. This patch add support for detecting ACPI devices in RMRR. Signed-off-by:

Re: [PATCH 2/5] input: misc: Add IBM Operation Panel driver

2020-09-01 Thread Wolfram Sang
> + switch (event) { > + case I2C_SLAVE_STOP: > + command_size = panel->idx; > + fallthrough; > + case I2C_SLAVE_WRITE_REQUESTED: > + panel->idx = 0; > + break; > + case I2C_SLAVE_WRITE_RECEIVED: > + if (panel->idx <

Re: fsl_espi errors on v5.7.15

2020-09-01 Thread Nicholas Piggin
Excerpts from Chris Packham's message of September 1, 2020 11:25 am: > > On 1/09/20 12:33 am, Heiner Kallweit wrote: >> On 30.08.2020 23:59, Chris Packham wrote: >>> On 31/08/20 9:41 am, Heiner Kallweit wrote: On 30.08.2020 23:00, Chris Packham wrote: > On 31/08/20 12:30 am, Nicholas

Re: [PATCH v2 10/23] microblaze: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Excerpts from Michal Simek's message of September 1, 2020 12:15 am: > > > On 26. 08. 20 16:52, Nicholas Piggin wrote: >> Cc: Michal Simek >> Signed-off-by: Nicholas Piggin >> --- >> arch/microblaze/include/asm/mmu_context_mm.h | 8 >> arch/microblaze/include/asm/processor.h | 3

Re: [PATCH] x86/platform/intel-mid: Fix build error without CONFIG_ACPI

2020-09-01 Thread Yuehaibing
On 2020/9/1 12:07, Randy Dunlap wrote: > On 8/31/20 8:58 PM, YueHaibing wrote: >> arch/x86/pci/intel_mid_pci.c: In function ‘intel_mid_pci_init’: >> arch/x86/pci/intel_mid_pci.c:303:2: error: implicit declaration of function >> ‘acpi_noirq_set’; did you mean ‘acpi_irq_get’? >>

Re: [PATCH v2 00/23] Use asm-generic for mmu_context no-op functions

2020-09-01 Thread Nicholas Piggin
Excerpts from Mike Rapoport's message of August 30, 2020 8:18 pm: > On Thu, Aug 27, 2020 at 12:52:26AM +1000, Nicholas Piggin wrote: >> It would be nice to be able to modify mmu_context functions or add a >> hook without updating all architectures, many of which will be no-ops. >> >> The

Re: [PATCH v3 2/2] iommu/vt-d:Add support for probing ACPI device in RMRR

2020-09-01 Thread Lu Baolu
Hi Felix, On 8/27/20 6:02 PM, FelixCuioc wrote: After acpi device in RMRR is detected,it is necessary to establish a mapping for these devices. In acpi_device_create_direct_mappings(),create a mapping for the acpi device in RMRR. Add a helper to achieve the acpi namespace device can access the

[PATCH 2/5] drm_dp_mst_topology: use correct AUX channel

2020-09-01 Thread Sam McNally
From: Hans Verkuil For adapters behind an MST hub use the correct AUX channel. Signed-off-by: Hans Verkuil [sa...@chromium.org: rebased, removing redundant changes] Signed-off-by: Sam McNally --- drivers/gpu/drm/drm_dp_mst_topology.c | 36 +++ 1 file changed, 36

[PATCH 3/5] drm_dp_mst_topology: export two functions

2020-09-01 Thread Sam McNally
From: Hans Verkuil These are required for the CEC MST support. Signed-off-by: Hans Verkuil Signed-off-by: Sam McNally --- drivers/gpu/drm/drm_dp_mst_topology.c | 6 ++ include/drm/drm_dp_mst_helper.h | 4 2 files changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 1/5] dp/dp_mst: Add support for sink event notify messages

2020-09-01 Thread Sam McNally
Sink event notify messages are used for MST CEC IRQs. Add parsing support for sink event notify messages in preparation for handling MST CEC IRQs. Signed-off-by: Sam McNally --- drivers/gpu/drm/drm_dp_mst_topology.c | 37 ++- include/drm/drm_dp_mst_helper.h | 14

[PATCH 4/5] drm_dp_cec: add plumbing in preparation for MST support

2020-09-01 Thread Sam McNally
From: Hans Verkuil Signed-off-by: Hans Verkuil [sa...@chromium.org: - rebased - removed polling-related changes - moved the calls to drm_dp_cec_(un)set_edid() into the next patch ] Signed-off-by: Sam McNally --- .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-

Re: [PATCH] Documentation/x86/boot.rst: minor improvement

2020-09-01 Thread Cao jin
On 9/1/20 1:35 PM, H. Peter Anvin wrote: > If you are going to fix the language... > > On 2020-08-31 22:25, Cao jin wrote: >> Sorry, I mis-copied 2 addresses. make sure they are CCed. >> >> On 9/1/20 11:41 AM, Cao jin wrote: >>> Typo fix & file name update >>> I did quick search in dict &

[PATCH 5/5] drm_dp_cec: add the implementation of MST support

2020-09-01 Thread Sam McNally
With DP v2.0 errata E5, CEC tunneling can be supported through an MST topology. There are some minor differences for CEC tunneling through an MST topology compared to CEC tunneling to an SST port: - CEC IRQs are delivered via a sink event notify message - CEC-related DPCD registers are accessed

Re: [PATCH v2 09/23] m68k: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Excerpts from Geert Uytterhoeven's message of August 27, 2020 7:33 pm: > On Wed, Aug 26, 2020 at 4:53 PM Nicholas Piggin wrote: >> Cc: Geert Uytterhoeven >> Cc: linux-m...@lists.linux-m68k.org >> Signed-off-by: Nicholas Piggin > > With the below fixed: > Acked-by: Geert Uytterhoeven > >> ---

Re: [PATCH 1/6] kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot

2020-09-01 Thread Masami Hiramatsu
On Tue, 1 Sep 2020 00:25:58 +0800 kernel test robot wrote: > Hi Masami, > > I love your patch! Yet something to improve: > > [auto build test ERROR on tip/perf/core] > [also build test ERROR on trace/for-next lwn/docs-next linus/master v5.9-rc3 > next-20200828] > [If your patch is applied to

Re: [PATCH -next] staging: spmi: hisi-spmi-controller: Use proper format in call to dev_err()

2020-09-01 Thread Mauro Carvalho Chehab
Em Tue, 1 Sep 2020 11:57:22 +0800 YueHaibing escreveu: > The correct format string for a size_t argument should be %zu. > > Signed-off-by: YueHaibing Reviewed-by: Mauro Carvalho Chehab > --- > drivers/staging/hikey9xx/hisi-spmi-controller.c | 8 > 1 file changed, 4 insertions(+),

Re: [PATCH v3 3/3] mm/armv6: work around armv6 cmpxchg support issue

2020-09-01 Thread Alex Shi
seems there are couples archs can not do cmpxchg1 So update the patch here. And it's easy to fix if more arch issue find here. >From cdf98ae7b5e83bb7210c927d4749f62fee4ed115 Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Mon, 31 Aug 2020 15:41:20 +0800 Subject: [PATCH v4 3/3] mm/pageblock: work

[PATCH] drm/radeon: Reset ASIC if suspend is not managed by platform firmware

2020-09-01 Thread Kai-Heng Feng
Suspend with s2idle or by the following steps cause screen frozen: # echo devices > /sys/power/pm_test # echo freeze > /sys/power/mem [ 289.625461] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: fence wait timed out. [ 289.625494] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed

[PATCH v2] coresight: cti: write regsiters directly in cti_enable_hw()

2020-09-01 Thread Tingwei Zhang
Deadlock as below is triggered by one CPU holds drvdata->spinlock and calls cti_enable_hw(). Smp_call_function_single() is called in cti_enable_hw() and tries to let another CPU write CTI registers. That CPU is trying to get drvdata->spinlock in cti_cpu_pm_notify() and doesn't response to IPI from

Re: [RFC v8 01/10] mm/damon/debugfs: Allow users to set initial monitoring target regions

2020-09-01 Thread SeongJae Park
On Mon, 31 Aug 2020 20:08:44 +0200 Marco Elver wrote: > On Mon, Aug 31, 2020 at 12:47PM +0200, SeongJae Park wrote: > [...] > > diff --git a/mm/damon.c b/mm/damon.c > > index 7e3c8c82a010..9815d22fc4de 100644 > > --- a/mm/damon.c > > +++ b/mm/damon.c > > @@ -2001,6 +2001,147 @@ static ssize_t

Re: [PATCH] coresight: cti: write regsiters directly in cti_enable_hw()

2020-09-01 Thread Tingwei Zhang
On Tue, Sep 01, 2020 at 04:28:19AM +0800, Mathieu Poirier wrote: > On Fri, Aug 28, 2020 at 11:18:18AM +0800, Tingwei Zhang wrote: > > On Fri, Aug 28, 2020 at 02:12:53AM +0800, Mathieu Poirier wrote: > > > Hi Tingwei, > > > > > > On Tue, Aug 18, 2020 at 07:10:57PM +0800, Tingwei Zhang wrote: > > >

Re: [PATCH v3 0/6] tracing: export event trace and trace_marker

2020-09-01 Thread Tingwei Zhang
Hi Mathieu, May I know your comments for this patch set? Thanks, Tingwei On Thu, Aug 13, 2020 at 09:45:46AM +0800, Tingwei Zhang wrote: > Ftrace has ability to export trace packets to other destination. > Currently, only function trace can be exported. This series extends the > support to event

Re: [RFC v8 00/10] DAMON: Support Physical Memory Address Space Monitoring

2020-09-01 Thread SeongJae Park
On Mon, 31 Aug 2020 12:47:20 +0200 SeongJae Park wrote: > From: SeongJae Park > > Changes from Previous Version > = > > - Add missed 'put_page()' calls > - Support unmapped LRU pages Forgot mentioning the people who suggested the changes, sorry. The first one is

[PATCH] zram: add restriction on dynamic zram device creation

2020-09-01 Thread Yi Wang
From: zhanglin Add max_num_devices to limit dynamic zram device creation to prevent potential OOM Signed-off-by: zhanglin --- drivers/block/zram/zram_drv.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/block/zram/zram_drv.c

Re: [PATCH v2 10/23] microblaze: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Michal Simek
On 01. 09. 20 8:15, Nicholas Piggin wrote: > Excerpts from Michal Simek's message of September 1, 2020 12:15 am: >> >> >> On 26. 08. 20 16:52, Nicholas Piggin wrote: >>> Cc: Michal Simek >>> Signed-off-by: Nicholas Piggin >>> --- >>> arch/microblaze/include/asm/mmu_context_mm.h | 8

[PATCH 2/2] random32: add noise from network and scheduling activity

2020-09-01 Thread Willy Tarreau
With the removal of the interrupt perturbations in previous random32 change (random32: make prandom_u32() output unpredictable), the PRNG has become 100% deterministic again. While SipHash is expected to be way more robust against brute force than the previous Tausworthe LFSR, there's still the

[PATCH 1/2] random32: make prandom_u32() output unpredictable

2020-09-01 Thread Willy Tarreau
From: George Spelvin Non-cryptographic PRNGs may have great statistical proprties, but are usually trivially predictable to someone who knows the algorithm, given a small sample of their output. An LFSR like prandom_u32() is particularly simple, even if the sample is widely scattered bits. It

[PATCH 0/2] prandom_u32: make output less predictable

2020-09-01 Thread Willy Tarreau
This is the cleanup of the latest series of prandom_u32 experimentations consisting in using SipHash instead of Tausworthe to produce the randoms used by the network stack. The changes to the files were kept minimal, and the controversial commit that used to take noise from the fast_pool

Re: Lockdep warning caused by "driver core: Fix sleeping in invalid context during device link deletion"

2020-09-01 Thread Saravana Kannan
On Mon, Aug 31, 2020 at 11:07 PM Peng Fan wrote: > > > Subject: Re: Lockdep warning caused by "driver core: Fix sleeping in invalid > > context during device link deletion" > > > > On Wed, Aug 26, 2020 at 10:17 PM Saravana Kannan > > wrote: > > > > > > On Thu, Aug 20, 2020 at 8:50 PM Dong

Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-09-01 Thread Ulf Hansson
+ Saravanna, Rafael, Lina On Mon, 31 Aug 2020 at 21:44, Paul E. McKenney wrote: > > On Mon, Aug 31, 2020 at 12:02:31PM +0530, Naresh Kamboju wrote: > > While booting linux mainline kernel on arm64 db410c this kernel warning > > noticed. > > > > metadata: > > git branch: master > > git repo:

[PATCH -next] ACPI: Remove unused inline functions

2020-09-01 Thread YueHaibing
There is no callers in tree. Signed-off-by: YueHaibing --- include/linux/acpi.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 17e80e182802..dd9b961628eb 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -979,8 +979,6

[PATCH v2] misc: rtsx: add power saving function and bios guide options

2020-09-01 Thread ricky_wu
From: Ricky Wu v2: fixed build WARNING v1: Added rts5227 rts5249 rts5260 rts5228 power saving functions, added BIOS guide MMC funciton and U_d3_en register support and fixed rts5260 driving parameter Signed-off-by: Ricky Wu --- drivers/misc/cardreader/rts5227.c | 115 ++-

Re: [PATCH net-next] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-09-01 Thread Eric Dumazet
On 8/31/20 5:55 PM, Yunsheng Lin wrote: > Currently there is concurrent reset and enqueue operation for the > same lockless qdisc when there is no lock to synchronize the > q->enqueue() in __dev_xmit_skb() with the qdisc reset operation in > qdisc_deactivate() called by dev_deactivate_queue(),

Re: [PATCH v2 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users)

2020-09-01 Thread Emmanuel Vadot
On Fri, 28 Aug 2020 16:44:28 +0100 André Przywara wrote: > On 28/08/2020 15:54, Linus Walleij wrote: > > Hi, > > > On Fri, Aug 28, 2020 at 4:20 PM Andre Przywara > > wrote: > > > >> This is the second attempt at converting the SP804 timer binding to yaml. > >> Compared to v1, I forbid

Re: [PATCH v2 01/23] asm-generic: add generic MMU versions of mmu context functions

2020-09-01 Thread Mike Rapoport
On Thu, Aug 27, 2020 at 12:52:27AM +1000, Nicholas Piggin wrote: > Many of these are no-ops on many architectures, so extend mmu_context.h > to cover MMU and NOMMU, and split the NOMMU bits out to nommu_context.h > > Cc: Arnd Bergmann > Cc: linux-a...@vger.kernel.org > Signed-off-by: Nicholas

[PATCH v2] misc: rtsx: add power saving function and bios guide options

2020-09-01 Thread ricky_wu
From: Ricky Wu v2: fixed build WARNING v1: Added rts5227 rts5249 rts5260 rts5228 power saving functions, added BIOS guide MMC funciton and U_d3_en register support and fixed rts5260 driving parameter Signed-off-by: Ricky Wu --- drivers/misc/cardreader/rts5227.c | 115 ++-

Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-09-01 Thread Ulf Hansson
+ Re-adding Peter (seems like the original address was wrong) On Tue, 1 Sep 2020 at 08:46, Ulf Hansson wrote: > > + Saravanna, Rafael, Lina > > On Mon, 31 Aug 2020 at 21:44, Paul E. McKenney wrote: > > > > On Mon, Aug 31, 2020 at 12:02:31PM +0530, Naresh Kamboju wrote: > > > While booting linux

Re: [PATCH -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread Krzysztof Kozlowski
On Tue, Sep 01, 2020 at 11:56:42AM +0800, YueHaibing wrote: > drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not > used [-Wunused-function] > static int gpmc_cs_remap(int cs, u32 base) > ^ > drivers/memory/omap-gpmc.c:926:20: warning:

[PATCH v10 0/4] scsi: ufs: Add Host Performance Booster Support

2020-09-01 Thread Daejun Park
Changelog: v9 -> v10 1. Fix 64-bit division error 2. Fix problems commentted in Bart's review. v8 -> v9 1. Change sysfs initialization. 2. Change reading descriptor during HPB initialization 3. Fix problems commentted in Bart's review. 4. Change base commit from 5.9/scsi-queue to

Re: [PATCH v2 00/23] Use asm-generic for mmu_context no-op functions

2020-09-01 Thread Mike Rapoport
On Tue, Sep 01, 2020 at 04:17:00PM +1000, Nicholas Piggin wrote: > Excerpts from Mike Rapoport's message of August 30, 2020 8:18 pm: > > On Thu, Aug 27, 2020 at 12:52:26AM +1000, Nicholas Piggin wrote: > >> It would be nice to be able to modify mmu_context functions or add a > >> hook without

[PATCH] net: ipv6: fix __rt6_purge_dflt_routers when forwarding is not set on all ifaces

2020-09-01 Thread Brian Vazquez
The problem is exposed when the system has multiple ifaces and forwarding is enabled on a subset of them, __rt6_purge_dflt_routers will clean the default route on all the ifaces which is not desired. This patches fixes that by cleaning only the routes where the iface has forwarding enabled.

Re: [PATCH -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread Yuehaibing
On 2020/9/1 14:52, Krzysztof Kozlowski wrote: > On Tue, Sep 01, 2020 at 11:56:42AM +0800, YueHaibing wrote: >> drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not >> used [-Wunused-function] >> static int gpmc_cs_remap(int cs, u32 base) >> ^ >>

[PATCH V10 1/4] scsi: ufs: Add HPB feature related parameters

2020-09-01 Thread Daejun Park
This is a patch for parameters to be used for HPB feature. Reviewed-by: Bart Van Assche Reviewed-by: Can Guo Acked-by: Avri Altman Tested-by: Bean Huo Signed-off-by: Daejun Park --- drivers/scsi/ufs/ufs.h | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH 1/4] mm: Trial do_wp_page() simplification

2020-09-01 Thread Hugh Dickins
I am not happy with this patch. But every time I come back to it, I realize that you've written more to justify it here or there, that I haven't fully digested; yet if I wait until I've grasped it all, I shall never arrive at responding at all, so let's wade in now. (Sometimes I wonder why I say

[PATCH V10 4/4] scsi: ufs: Prepare HPB read for cached sub-region

2020-09-01 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the

Re: [PATCH] iio: sx9310: Prefer async probe

2020-09-01 Thread Stephen Boyd
Quoting Doug Anderson (2020-08-31 11:59:37) > On Sat, Aug 29, 2020 at 10:18 AM Jonathan Cameron wrote: > > Agreed. However, I'd like a comment next to the place we turn it on > > saying what delays we are trying to mitigate by enabling it in this > > driver. > > OK, I used function graph to get

[PATCH V10 2/4] scsi: ufs: Introduce HPB feature

2020-09-01 Thread Daejun Park
This is a patch for the HPB feature. This patch adds HPB function calls to UFS core driver. Acked-by: Bart Van Assche Acked-by: Avri Altman Tested-by: Bean Huo Signed-off-by: Daejun Park --- drivers/scsi/ufs/Kconfig | 9 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufshcd.c | 60

[PATCH V10 3/4] scsi: ufs: L2P map management for HPB read

2020-09-01 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called

Re: [PATCH v2 09/23] m68k: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Geert Uytterhoeven
Hi Nick, On Tue, Sep 1, 2020 at 8:23 AM Nicholas Piggin wrote: > Excerpts from Geert Uytterhoeven's message of August 27, 2020 7:33 pm: > > On Wed, Aug 26, 2020 at 4:53 PM Nicholas Piggin wrote: > >> Cc: Geert Uytterhoeven > >> Cc: linux-m...@lists.linux-m68k.org > >> Signed-off-by: Nicholas

Re: [LKP] Re: [rcuperf] 4e88ec4a9e: UBSAN:division-overflow_in_arch/x86/include/asm/div64.h

2020-09-01 Thread Rong Chen
On 8/31/20 11:50 PM, Paul E. McKenney wrote: On Mon, Aug 31, 2020 at 08:01:22PM +0800, kernel test robot wrote: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 4e88ec4a9eb17527e640b063f79e5b875733eb53 ("rcuperf: Change rcuperf to rcuscale")

[PATCH] PM: s2idle: Introduce syscore callbacks in s2idle flow

2020-09-01 Thread Claude Yen
This series based on 5.9-rc1 This patch makes s2idle call existing syscore callbacks. Currently, when s2idle is selected as system suspend method, callbacks hooked by register_syscore_ops() will not be triggered. This may induce unexpected results. For example, sched_clock_suspend() was added to

[PATCH] mwifiex: Remove unnecessary braces from HostCmd_SET_SEQ_NO_BSS_INFO

2020-09-01 Thread Nathan Chancellor
A new warning in clang points out when macro expansion might result in a GNU C statement expression. There is an instance of this in the mwifiex driver: drivers/net/wireless/marvell/mwifiex/cmdevt.c:217:34: warning: '}' and ')' tokens terminating statement expression appear in different macro

Re: [fs] ef30fb3c60: kernel write not supported for file /sys/kernel/softlockup_panic

2020-09-01 Thread Christoph Hellwig
Looks like since the start of this series we've grown new code to use kernel_write on sysctl files based on boot parameters. The good news is that this just means I need to resurrect the sysctl series as all that work was done already.

[PATCH -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread YueHaibing
drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not used [-Wunused-function] static int gpmc_cs_remap(int cs, u32 base) ^ drivers/memory/omap-gpmc.c:926:20: warning: ‘gpmc_cs_get_name’ defined but not used [-Wunused-function] static const char

[PATCH v2 -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread YueHaibing
If CONFIG_OF is not set, make W=1 warns: drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not used [-Wunused-function] static int gpmc_cs_remap(int cs, u32 base) ^ drivers/memory/omap-gpmc.c:926:20: warning: ‘gpmc_cs_get_name’ defined but not used

Re: [PATCH v2 10/23] microblaze: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Excerpts from Michal Simek's message of September 1, 2020 4:41 pm: > > > On 01. 09. 20 8:15, Nicholas Piggin wrote: >> Excerpts from Michal Simek's message of September 1, 2020 12:15 am: >>> >>> >>> On 26. 08. 20 16:52, Nicholas Piggin wrote: Cc: Michal Simek Signed-off-by: Nicholas

Re: [PATCH v6 00/29] Warn on orphan section placement

2020-09-01 Thread Ingo Molnar
* Kees Cook wrote: > On Fri, Aug 21, 2020 at 12:42:41PM -0700, Kees Cook wrote: > > Hi Ingo, > > > > Based on my testing, this is ready to go. I've reviewed the feedback on > > v5 and made a few small changes, noted below. > > If no one objects, I'll pop this into my tree for -next. I'd

Re: [PATCH -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread Yuehaibing
Pls ignore this. On 2020/9/1 15:07, YueHaibing wrote: > drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not > used [-Wunused-function] > static int gpmc_cs_remap(int cs, u32 base) > ^ > drivers/memory/omap-gpmc.c:926:20: warning:

Re: [PATCH] [v2] HID: elan: Fix memleak in elan_input_configured

2020-09-01 Thread Jiri Kosina
On Mon, 31 Aug 2020, Dinghao Liu wrote: > When input_mt_init_slots() fails, input should be freed > to prevent memleak. When input_register_device() fails, > we should call input_mt_destroy_slots() to free memory > allocated by input_mt_init_slots(). > > Signed-off-by: Dinghao Liu > --- > >

Re: [PATCH v2 01/23] asm-generic: add generic MMU versions of mmu context functions

2020-09-01 Thread Nicholas Piggin
Excerpts from Mike Rapoport's message of September 1, 2020 4:49 pm: > On Thu, Aug 27, 2020 at 12:52:27AM +1000, Nicholas Piggin wrote: >> Many of these are no-ops on many architectures, so extend mmu_context.h >> to cover MMU and NOMMU, and split the NOMMU bits out to nommu_context.h >> >> Cc:

[PATCH v2] coccinelle: misc: add uninitialized_var.cocci script

2020-09-01 Thread Denis Efremov
Commit 63a0895d960a ("compiler: Remove uninitialized_var() macro") and commit 4b19bec97c88 ("docs: deprecated.rst: Add uninitialized_var()") removed uninitialized_var() and deprecated it. The purpose of this script is to prevent new occurrences of open-coded variants of uninitialized_var(). Cc:

WARNING in trace_hardirqs_on

2020-09-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:15bc20c6 Merge tag 'tty-5.9-rc3' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=140de7e590 kernel config: https://syzkaller.appspot.com/x/.config?x=891ca5711a9f1650

Re: [PATCH v11] Fixup for "powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32"

2020-09-01 Thread Michal Suchánek
Hello, can you add Fixes: ? Thanks Michal On Tue, Sep 01, 2020 at 05:28:57AM +, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/vdso/gettimeofday.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v8 0/3] make dma_alloc_coherent NUMA-aware by per-NUMA CMA

2020-09-01 Thread Christoph Hellwig
Thanks, applied to the dma-mapping tree.

Re: [PATCH 08/32] usb: typec: tcpm: tcpm: Remove dangling unused 'struct tcpm_altmode_ops'

2020-09-01 Thread Hans de Goede
Hi, On 9/1/20 4:32 AM, Badhri Jagan Sridharan wrote: Hi Hans, Kernel test robot is still reporting this issue. I have my repo synced to ToT usb-next: Output of git repo: 5fedf0d295d3 (origin/usb-testing, origin/usb-next) Merge 5.9-rc3 into usb-next f75aef392f86 (tag: v5.9-rc3,

Re: [PATCH] remoteproc: stm32: Fix pointer assignement

2020-09-01 Thread Arnaud POULIQUEN
Hi Mathieu, On 8/31/20 11:37 PM, Mathieu Poirier wrote: > Fix the assignment of the @state pointer - it is obviously wrong. > > Fixes: 376ffdc04456 ("remoteproc: stm32: Properly set co-processor state when > attaching") > Reported-by: kernel test robot > Signed-off-by: Mathieu Poirier

Re: [PATCH v11] Fixup for "powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32"

2020-09-01 Thread Christophe Leroy
Le 01/09/2020 à 09:19, Michal Suchánek a écrit : Hello, can you add Fixes: ? That's a commit which is still in powerpc/next-test. My intention was to provide something that Michael can squash/fixup into the culprit commit. Christophe Thanks Michal On Tue, Sep 01, 2020 at 05:28:57AM

Re: [PATCH net-next] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-09-01 Thread Yunsheng Lin
On 2020/9/1 14:48, Eric Dumazet wrote: > > > On 8/31/20 5:55 PM, Yunsheng Lin wrote: >> Currently there is concurrent reset and enqueue operation for the >> same lockless qdisc when there is no lock to synchronize the >> q->enqueue() in __dev_xmit_skb() with the qdisc reset operation in >>

Re: [PATCH] drivers: reduce the param length of the line

2020-09-01 Thread Heiner Kallweit
On 01.09.2020 04:28, Tong Chen wrote: > Reduce the param length of the line from 79 chars to 52 chars, > which complies with kernel preferences. Apart from formal issues with the patch (missing net/net-next annotation, wrong prefix): Did you get a checkpatch warning? Or what's the source of your

Re: [PATCH v2 16/23] powerpc: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Michael Ellerman
Nicholas Piggin writes: > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: linuxppc-...@lists.ozlabs.org > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/include/asm/mmu_context.h | 22 +++--- > 1 file changed, 7 insertions(+), 15 deletions(-)

Re: [PATCH] drm: Parse Colorimetry data block from EDID

2020-09-01 Thread crj
Hi, 在 2020/9/1 3:53, Ville Syrjälä 写道: On Fri, Aug 28, 2020 at 09:07:13AM +0800, crj wrote: Hi Ville Syrjälä, 在 2020/8/27 18:57, Ville Syrjälä 写道: On Wed, Aug 26, 2020 at 10:23:28PM +0800, Algea Cao wrote: CEA 861.3 spec adds colorimetry data block for HDMI. Parsing the block to get the

Re: [PATCH V2 3/8] drm/msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-01 Thread Rajendra Nayak
On 8/28/2020 11:37 AM, Viresh Kumar wrote: dev_pm_opp_of_remove_table() doesn't report any errors when it fails to find the OPP table with error -ENODEV (i.e. OPP table not present for the device). And we can call dev_pm_opp_of_remove_table() unconditionally here. Its a little tricky to call

Re: [PATCH v3 4/5] ASoC: qcom: Add support for audio over DP

2020-09-01 Thread Stephen Boyd
Quoting Srinivasa Rao Mandadapu (2020-08-30 23:39:23) > diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c > index 167bf2c..cea7ae7 100644 > --- a/sound/soc/qcom/lpass-sc7180.c > +++ b/sound/soc/qcom/lpass-sc7180.c > @@ -190,15 +232,92 @@ static struct lpass_variant

Re: [PATCH 1/2] drm/virtio: fix unblank

2020-09-01 Thread Daniel Vetter
On Fri, Aug 28, 2020 at 01:27:59PM +0200, Gerd Hoffmann wrote: > On Mon, Aug 24, 2020 at 09:24:40AM +0200, Jiri Slaby wrote: > > On 18. 08. 20, 9:25, Gerd Hoffmann wrote: > > > When going through a disable/enable cycle without changing the > > > framebuffer the optimization added by commit

[PATCH] ASoC: tlv320adcx140: Fix accessing uninitialized abcx140->dev

2020-09-01 Thread Camel Guo
From: Camel Guo in adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Signed-off-by: Camel Guo --- sound/soc/codecs/tlv320adcx140.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/tlv320adcx140.c

[PATCH] powerpc/powermac: Fix low_sleep_handler with KUAP and KUEP

2020-09-01 Thread Christophe Leroy
low_sleep_handler() has an hardcoded restore of segment registers that doesn't take KUAP and KUEP into account. Use head_32's load_segment_registers() routine instead. Signed-off-by: Christophe Leroy Fixes: a68c31fc01ef ("powerpc/32s: Implement Kernel Userspace Access Protection") Fixes:

Re: [RESEND][PATCH 0/7] Avoid overflow at boundary_size

2020-09-01 Thread Christoph Hellwig
I really don't like all the open coded smarts in the various drivers. What do you think about a helper like the one in the untested patch below (on top of your series). Also please include the original segment boundary patch with the next resend so that the series has the full context. diff

Re: [PATCH v3 3/5] ASoC: qcom: Add support for lpass hdmi driver

2020-09-01 Thread Stephen Boyd
Quoting Srinivasa Rao Mandadapu (2020-08-30 23:39:22) > diff --git a/sound/soc/qcom/lpass-hdmi.c b/sound/soc/qcom/lpass-hdmi.c > new file mode 100644 > index 000..7e18113 > --- /dev/null > +++ b/sound/soc/qcom/lpass-hdmi.c > @@ -0,0 +1,684 @@ > +// SPDX-License-Identifier: GPL-2.0-only [...] >

Re: fsl_espi errors on v5.7.15

2020-09-01 Thread Heiner Kallweit
On 01.09.2020 04:52, Chris Packham wrote: > > On 1/09/20 12:33 am, Heiner Kallweit wrote: >> On 30.08.2020 23:59, Chris Packham wrote: >>> On 31/08/20 9:41 am, Heiner Kallweit wrote: On 30.08.2020 23:00, Chris Packham wrote: > On 31/08/20 12:30 am, Nicholas Piggin wrote: >> Excerpts

Re: Kernel crash due to memory corruption with v5.4.26-rt17 and PowerPC e500

2020-09-01 Thread 'Sebastian Andrzej Siewior'
On 2020-08-12 14:45:22 [+0200], Thomas Graziadei wrote: > Hi Sebastian, Hi Thomas, > any progress on your side? > > Do you think the patch could be applied for the next versions? Yes. The ->active_mm change needs to be protected against scheduling regardless of the arch/mmu. Otherwise the mm

Re: [PATCH v3 0/4] Some clean-ups for bio merge

2020-09-01 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v2 1/2] drm: allow limiting the scatter list size.

2020-09-01 Thread Daniel Vetter
On Tue, Aug 18, 2020 at 11:20:16AM +0200, Gerd Hoffmann wrote: > Add max_segment argument to drm_prime_pages_to_sg(). When set pass it > through to the __sg_alloc_table_from_pages() call, otherwise use > SCATTERLIST_MAX_SEGMENT. > > Also add max_segment field to drm driver and pass it to >

Re: [PATCH v9 2/3] drm: bridge: Add support for Cadence MHDP8546 DPI/DP bridge

2020-09-01 Thread Tomi Valkeinen
Hi Swapnil, On 31/08/2020 11:23, Swapnil Jakhade wrote: > +static int cdns_mhdp_validate_mode_params(struct cdns_mhdp_device *mhdp, > + const struct drm_display_mode *mode, > + struct drm_bridge_state *bridge_state) > +{

Re: [PATCH] drm/crc-debugfs: Fix memleak in crc_control_write

2020-09-01 Thread Daniel Vetter
On Wed, Aug 19, 2020 at 02:55:15PM +0300, Laurent Pinchart wrote: > Hi Dinghao, > > Thank you for the patch. > > On Wed, Aug 19, 2020 at 04:22:28PM +0800, Dinghao Liu wrote: > > When verify_crc_source() fails, source needs to be freed. > > However, current code is returning directly and ends up

Re: Adjust interrupt Priority for ARM64 GIC

2020-09-01 Thread Marc Zyngier
Hi Dongjiu, In the future, please use my kernel.org address, as I don't work for ARM anymore, and would have missed this email if I wasn't pointed to it. On 2020-08-14 18:10, Dongjiu Geng wrote: Hi Marc, In the Linux kernel, we can not adjust the interrupt Priority, For all the interrupts,

Re: [PATCH v2 09/23] m68k: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Excerpts from Geert Uytterhoeven's message of September 1, 2020 5:03 pm: > Hi Nick, > > On Tue, Sep 1, 2020 at 8:23 AM Nicholas Piggin wrote: >> Excerpts from Geert Uytterhoeven's message of August 27, 2020 7:33 pm: >> > On Wed, Aug 26, 2020 at 4:53 PM Nicholas Piggin wrote: >> >> Cc: Geert

Re: [RESEND][PATCH 0/7] Avoid overflow at boundary_size

2020-09-01 Thread Nicolin Chen
Hi Christoph, On Tue, Sep 01, 2020 at 09:36:23AM +0200, Christoph Hellwig wrote: > I really don't like all the open coded smarts in the various drivers. > What do you think about a helper like the one in the untested patch A helper function will be actually better. I was thinking of one yet not

[PATCH 01/13] ARM: dts: exynos: Correct compatible for Exynos5 GIC

2020-09-01 Thread Krzysztof Kozlowski
Exynos5250 and Exynso54xx SoCs have ARM GIC 400. Correct the compatibles to match dtschema and fix the dtbs_check warnings like: arch/arm/boot/dts/exynos5420-peach-pit.dt.yaml: interrupt-controller@10481000: compatible: ['arm,gic-400', 'arm,cortex-a15-gic', 'arm,cortex-a9-gic'] is not

[PATCH 04/13] ARM: dts: exynos: Correct S3C RTC bindings in SMDK5410

2020-09-01 Thread Krzysztof Kozlowski
The S3C RTC requires 32768 Hz clock as input which is provided by PMIC. However the PMIC is not described in DTS at all so at least add a workaround to model its clock with a fixed-clock. This fixes S3C RTC and silences dtbs_check warnings like: arch/arm/boot/dts/exynos5410-smdk5410.dt.yaml:

[PATCH 05/13] ARM: dts: exynos: Silence i2c-gpio dtschema warning in Exynos5250 Arndale

2020-09-01 Thread Krzysztof Kozlowski
The name of I2C controller over GPIO lines node ends with '-gpio' which confuses dtschema: arch/arm/boot/dts/exynos5250-arndale.dt.yaml: soc: i2c-gpio: {'pinctrl-names': ['default'], ... 'phandle': [[65]]} is not of type 'array' From schema:

  1   2   3   4   5   6   7   8   9   10   >