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

2020-08-31 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) >> ^ >> driv

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

2020-08-31 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. Fixes

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

2020-08-31 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 updat

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

2020-08-31 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 5.10/scsi-queue.

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

2020-08-31 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: ‘gpmc_cs_get_

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

2020-08-31 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

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

2020-08-31 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 v2 01/23] asm-generic: add generic MMU versions of mmu context functions

2020-08-31 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 Pig

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

2020-08-31 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 additi

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

2020-08-31 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-08-31 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(), w

[PATCH -next] ACPI: Remove unused inline functions

2020-08-31 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 @

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

2020-08-31 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 Aisheng

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

2020-08-31 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 0/2] prandom_u32: make output less predictable

2020-08-31 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 (f227e3ec3

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

2020-08-31 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 t

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

2020-08-31 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 ris

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

2020-08-31 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] zram: add restriction on dynamic zram device creation

2020-08-31 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 b/drivers/b

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

2020-08-31 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 s

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

2020-08-31 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: [PATCH] coresight: cti: write regsiters directly in cti_enable_hw()

2020-08-31 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: [RFC v8 01/10] mm/damon/debugfs: Allow users to set initial monitoring target regions

2020-08-31 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 deb

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

2020-08-31 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

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

2020-08-31 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 t

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

2020-08-31 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 ar

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

2020-08-31 Thread Masami Hiramatsu
your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: > https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/tracing-boot-Add

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

2020-08-31 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(+), 4

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

2020-08-31 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 > >> ---

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

2020-08-31 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 vi

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

2020-08-31 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 & google,

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

2020-08-31 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 +- drivers/gpu/drm/drm_dp_

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

2020-08-31 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 inser

[PATCH 3/5] drm_dp_mst_topology: export two functions

2020-08-31 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 a/drivers/g

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

2020-08-31 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 ++

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

2020-08-31 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 R

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

2020-08-31 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’? >> [-Werror=implicit-f

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

2020-08-31 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 motivatio

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

2020-08-31 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: fsl_espi errors on v5.7.15

2020-08-31 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 Pigg

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

2020-08-31 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 < sizeo

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

2020-08-31 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 th

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

2020-08-31 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: F

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

2020-08-31 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 WARNI

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

2020-08-31 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 'aggr_mode_c

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

2020-08-31 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);

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

2020-08-31 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, u

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

2020-08-31 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 Stanley

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

2020-08-31 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,

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

2020-08-31 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 +++

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

2020-08-31 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 insert

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

2020-08-31 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 complicat

Re: [PATCH] openrisc: Reserve memblock for initrd

2020-08-31 Thread Mike Rapoport
On Tue, Sep 01, 2020 at 06:21:01AM +0900, Stafford Horne wrote: > Recently OpenRISC added support for external initrd images, but I found > some instability when using larger buildroot initrd images. It turned > out that I forgot to reserve the memblock space for the initrd image. > > This patch f

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

2020-08-31 Thread Joel Stanley
On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Add a driver to get the button events from the panel and provide > them to userspace with the input subsystem. The panel is > connected with I2C and controls the bus, so the driver registers > as an I2C slave device. > > Signed-off-by: Eddie Jam

Re: [PATCH v6 1/5] perf/jevents: Remove jevents.h file

2020-08-31 Thread kajoljain
On 8/31/20 2:31 PM, John Garry wrote: > On 31/08/2020 09:43, Jiri Olsa wrote: >> On Thu, Aug 27, 2020 at 06:39:54PM +0530, Kajol Jain wrote: >>> This patch removes jevents.h file and add its data inside >>> jevents.c as this file is only included there. >>> >>> Signed-off-by: Kajol Jain >>> ---

Re: [PATCH v7 2/3] dt-bindings: phy: intel: Add Keem Bay eMMC PHY bindings

2020-08-31 Thread Vinod Koul
On 01-09-20, 04:58, Wan Mohamad, Wan Ahmad Zainie wrote: > > > @@ -0,0 +1,44 @@ > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 > > > +--- > > > +$id: "http://devicetree.org/schemas/phy/intel,keembay-emmc- > > phy.yaml#" > > > +$schema: "http://devicetree.org/meta-schemas/cor

Re: [PATCH v6 1/5] perf/jevents: Remove jevents.h file

2020-08-31 Thread kajoljain
On 8/31/20 2:13 PM, Jiri Olsa wrote: > On Thu, Aug 27, 2020 at 06:39:54PM +0530, Kajol Jain wrote: >> This patch removes jevents.h file and add its data inside >> jevents.c as this file is only included there. >> >> Signed-off-by: Kajol Jain >> --- >> tools/perf/pmu-events/jevents.c | 9 +

Re: ERROR: "min_low_pfn" undefined!

2020-08-31 Thread Randy Dunlap
81f07a73442d809e28ab0 mm: add dummy can_do_mlock() > helper > date: 11 months ago > config: microblaze-randconfig-r031-20200831 (attached as .config) > compiler: microblaze-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget > https://raw.githubusercontent.

Re: [PATCH 5/6] Documentation: tracing: Add %return suffix description

2020-08-31 Thread Masami Hiramatsu
On Tue, 1 Sep 2020 07:27:45 +0900 Masami Hiramatsu wrote: > On Mon, 31 Aug 2020 11:50:20 -0700 > Randy Dunlap wrote: > > > On 8/31/20 5:46 AM, Masami Hiramatsu wrote: > > > Add a description of the %return suffix option for kprobe tracer. > > > > > > Signed-off-by: Masami Hiramatsu > > > ---

Re: [PATCH 01/19] drm/msm: remove dangling submitqueue references

2020-08-31 Thread Bjorn Andersson
On Tue 01 Sep 03:42 UTC 2020, Rob Clark wrote: > On Mon, Aug 31, 2020 at 7:35 PM Bjorn Andersson > wrote: > > > > On Fri 14 Aug 02:40 UTC 2020, Rob Clark wrote: > > > > > From: Rob Clark > > > > > > Currently it doesn't matter, since we free the ctx immediately. But > > > when we start refcnt'i

ERROR: "min_low_pfn" undefined!

2020-08-31 Thread kernel test robot
: microblaze-randconfig-r031-20200831 (attached as .config) compiler: microblaze-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout

Re: [PATCH 01/19] drm/msm: remove dangling submitqueue references

2020-08-31 Thread Bjorn Andersson
On Fri 14 Aug 02:40 UTC 2020, Rob Clark wrote: > From: Rob Clark > > Currently it doesn't matter, since we free the ctx immediately. But > when we start refcnt'ing the ctx, we don't want old dangling list > entries to hang around. > > Signed-off-by: Rob Clark Reviewed-by: Bjorn Andersson >

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-08-31 Thread Kuppuswamy, Sathyanarayanan
Hi Bjorn, On 7/24/20 12:07 PM, sathyanarayanan.kuppusw...@linux.intel.com wrote: From: Kuppuswamy Sathyanarayanan Current pcie_do_recovery() implementation has following two issues: 1. Fatal (DPC) error recovery is currently broken for non-hotplug capable devices. Current fatal error recovery

Re: [RFC PATCH 1/2] Documentation/admin-guide: README & svga: remove use of "rdev"

2020-08-31 Thread H. Peter Anvin
On 2020-08-31 22:38, Randy Dunlap wrote: > > --- linux-next-20200828.orig/Documentation/admin-guide/svga.rst > +++ linux-next-20200828/Documentation/admin-guide/svga.rst > @@ -12,7 +12,7 @@ Intro > This small document describes the "Video Mode Selection" feature which > allows the use of variou

[RFC PATCH 0/2] Documentation/admin-guide: remove use of "rdev"

2020-08-31 Thread Randy Dunlap
Remove mention of using "rdev" to set boot device, video mode, or ramdisk information for the booting kernel. FIX patch 1/2 Subject: Cc: Karel Zak Cc: Paul Gortmaker Cc: Jens Axboe Cc: linux-bl...@vger.kernel.org Cc: Alexander Viro Cc: Martin Mares Cc: linux-vi...@atrey.karlin.mff.cuni.cz

[RFC PATCH 1/2] Documentation/admin-guide: README & svga: remove use of "rdev"

2020-08-31 Thread Randy Dunlap
"rdev" is considered antiquated, ancient, archaic, obsolete, deprecated {choose any or all}. Remove use of "rdev" and "vidmode" (a symlink to rdev) in admin-guide/README.rst and admin-guide/svga.rst. "rdev" was removed from util-linux in 2010: https://git.kernel.org/pub/scm/utils/util-linux/ut

[RFC PATCH 2/2] Documentation/admin-guide: blockdev/ramdisk: remove use of "rdev"

2020-08-31 Thread Randy Dunlap
Remove use of "rdev" from blockdev/ramdisk.rst and update admin-guide/kernel-parameters.txt. "rdev" is considered antiquated, ancient, archaic, obsolete, deprecated {choose any or all}. "rdev" was removed from util-linux in 2010: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/c

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

2020-08-31 Thread H. Peter Anvin
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 >> >> Signed-off-by: Cao jin >> --- >> Documentation/x86/boot.rst | 4 ++-- >> 1 file cha

Re: [PATCH 19/19] drm/msm: show process names in gem_describe

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Rob Clark > > In $debugfs/gem we already show any vma(s) associated with an object. > Also show process names if the vma's address space is a per-process > address space. > Reviewed-by: Bjorn Andersson > Signed-off-by: Rob Clark > --- >

Re: [PATCH 04/11] block: Add bio_for_each_thp_segment_all

2020-08-31 Thread Christoph Hellwig
On Mon, Aug 31, 2020 at 08:48:37PM +0100, Matthew Wilcox wrote: > static void iomap_read_end_io(struct bio *bio) > { > int i, error = blk_status_to_errno(bio->bi_status); > > for (i = 0; i < bio->bi_vcnt; i++) { > struct bio_vec *bvec = &bio->bi_io_vec[i]; This sho

Re: [PATCH 18/19] iommu/arm-smmu: add a way for implementations to influence SCTLR

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Rob Clark > > For the Adreno GPU's SMMU, we want SCTLR.HUPCF set to ensure that > pending translations are not terminated on iova fault. Otherwise > a terminated CP read could hang the GPU by returning invalid > command-stream data. > Rev

Re: [PATCH] Documentation: kunit: Add naming guidelines

2020-08-31 Thread David Gow
On Tue, Sep 1, 2020 at 7:47 AM Kees Cook wrote: > > On Fri, Aug 28, 2020 at 12:17:05AM +0800, David Gow wrote: > > On Thu, Aug 27, 2020 at 9:14 PM Marco Elver wrote: > > > Just an idea: Maybe the names are also an opportunity to distinguish > > > real _unit_ style tests and then the rarer integra

Re: [PATCH 15/19] drm/msm: Add support for private address space instances

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Add support for allocating private address space instances. Targets that > support per-context pagetables should implement their own function to > allocate private address spaces. > > The default will return a pointer to t

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

2020-08-31 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/vdso/gettimeofday.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h index 59a609a48b63..8da84722729b 100644 --- a/arch/powerpc/include/as

Re: [PATCH 14/19] drm/msm: Add support to create a local pagetable

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Add support to create a io-pgtable for use by targets that support > per-instance pagetables. In order to support per-instance pagetables the > GPU SMMU device needs to have the qcom,adreno-smmu compatible string and > spli

Re: [PATCH v2 00/28] The new cgroup slab memory controller

2020-08-31 Thread Bharata B Rao
On Fri, Aug 28, 2020 at 12:47:03PM -0400, Pavel Tatashin wrote: > There appears to be another problem that is related to the > cgroup_mutex -> mem_hotplug_lock deadlock described above. > > In the original deadlock that I described, the workaround is to > replace crash dump from piping to Linux tr

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

2020-08-31 Thread Cao jin
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 > > Signed-off-by: Cao jin > --- > Documentation/x86/boot.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/x86/boot.rst b/Doc

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-08-31 Thread Kishon Vijay Abraham I
Hi, On 28/08/20 4:04 pm, Cornelia Huck wrote: On Thu, 9 Jul 2020 14:26:53 +0800 Jason Wang wrote: [Let me note right at the beginning that I first noted this while listening to Kishon's talk at LPC on Wednesday. I might be very confused about the background here, so let me apologize beforehand

Re: [PATCH 13/19] drm/msm: Set the global virtual address range from the IOMMU domain

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Use the aperture settings from the IOMMU domain to set up the virtual > address range for the GPU. This allows us to transparently deal with > IOMMU side features (like split pagetables). > Reviewed-by: Bjorn Andersson

Re: [PATCH v4] iomap: fix WARN_ON_ONCE() from unprivileged users

2020-08-31 Thread Christoph Hellwig
On Mon, Aug 31, 2020 at 02:23:53PM -0400, Qian Cai wrote: > It is trivial to trigger a WARN_ON_ONCE(1) in iomap_dio_actor() by > unprivileged users which would taint the kernel, or worse - panic if > panic_on_warn or panic_on_taint is set. Hence, just convert it to > pr_warn_ratelimited() to let us

Re: [PATCH 2/2] mm/migrate: preserve soft dirty in remove_migration_pte()

2020-08-31 Thread Christoph Hellwig
On Mon, Aug 31, 2020 at 02:22:22PM -0700, Ralph Campbell wrote: > The code to remove a migration PTE and replace it with a device private > PTE was not copying the soft dirty bit from the migration entry. > This could lead to page contents not being marked dirty when faulting > the page back from d

Re: [PATCH 1/2] mm/migrate: remove unnecessary is_zone_device_page() check

2020-08-31 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

Re: [PATCH v3 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2020-08-31 Thread kernel test robot
Hi Konstantin, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.9-rc3 next-20200828] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented i

Re: [RFC PATCH v7 08/23] sched: Add core wide task selection and scheduling.

2020-08-31 Thread Joel Fernandes
On Sat, Aug 29, 2020 at 09:47:19AM +0200, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 06:02:25PM -0400, Vineeth Pillai wrote: > > On 8/28/20 4:51 PM, Peter Zijlstra wrote: > > > > So where do things go side-ways? > > > During hotplug stress test, we have noticed that while a sibling is

Re: [PATCH 12/19] drm/msm: Drop context arg to gpu->submit()

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Now that we can get the ctx from the submitqueue, the extra arg is > redundant. > Reviewed-by: Bjorn Andersson > Signed-off-by: Jordan Crouse > [split out of previous patch to reduce churny noise] > Signed-off-by: Rob

Re: [PATCH 11/19] drm/msm: Add a context pointer to the submitqueue

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Each submitqueue is attached to a context. Add a pointer to the > context to the submitqueue at create time and refcount it so > that it stays around through the life of the queue. > Reviewed-by: Bjorn Andersson > Co-d

Re: [PATCH 10/19] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Every Qcom Adreno GPU has an embedded SMMU for its own use. These > devices depend on unique features such as split pagetables, > different stall/halt requirements and other settings. Identify them > with a compatible strin

[PATCH 1/2] usb: serial: option: Fix the lackage for Quectel EG95 LTE modem support

2020-08-31 Thread William Sung
* Add reset-resume callback for resetting USB devices after MCU exits from suspend/sleep mode. * Because Quectel EG95 uses USB interface 4 as a USB network device, so return from option_startup() to prevent being used as a USB serial device. Fixes: da6902e5b6db ("USB: serial: option: add Quectel

[PATCH 2/2] usb: serial: usb_wwan: Fix lackage for Quectel EG95 LTE modem support

2020-08-31 Thread William Sung
As required by the USB protocol, add zero packet support for Quectel EG95 LTE modem module. Fixes: f815dd5cf48b ("net: usb: qmi_wwan: add support for Quectel EG95 LTE modem" Signed-off-by: William Sung --- drivers/usb/serial/usb_wwan.c | 12 ++-- 1 file changed, 10 insertions(+), 2 dele

Re: [PATCH 09/19] iommu/arm-smmu-qcom: Add implementation for the adreno GPU SMMU

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Jordan Crouse > > Add a special implementation for the SMMU attached to most Adreno GPU > target triggered from the qcom,adreno-smmu compatible string. > > The new Adreno SMMU implementation will enable split pagetables > (TTBR1) for the do

RE: [PATCH v7 2/3] dt-bindings: phy: intel: Add Keem Bay eMMC PHY bindings

2020-08-31 Thread Wan Mohamad, Wan Ahmad Zainie
> -Original Message- > From: Vinod Koul > Sent: Monday, August 31, 2020 5:10 PM > To: Wan Mohamad, Wan Ahmad Zainie > > Cc: kis...@ti.com; robh...@kernel.org; Shevchenko, Andriy > ; eswara.k...@linux.intel.com; > vadivel.muruganx.ramuthe...@linux.intel.com; Raja Subramanian, Lakshmi >

Re: [PATCH v2 7/7] compiler-gcc: improve version error

2020-08-31 Thread Nathan Chancellor
On Mon, Aug 31, 2020 at 05:23:26PM -0700, Nick Desaulniers wrote: > As Kees suggests, do so provides developers with two useful pieces of > information: > - The kernel build was attempting to use GCC. > (Maybe they accidentally poked the wrong configs in a CI.) > - They need 4.9 or better. > ("

Re: [PATCH v2 6/7] kasan: Remove mentions of unsupported Clang versions

2020-08-31 Thread Nathan Chancellor
On Mon, Aug 31, 2020 at 05:23:25PM -0700, Nick Desaulniers wrote: > From: Marco Elver > > Since the kernel now requires at least Clang 10.0.1, remove any mention > of old Clang versions and simplify the documentation. > > Reviewed-by: Andrey Konovalov > Signed-off-by: Marco Elver > Signed-off-

Re: [PATCH 07/19] drm/msm: set adreno_smmu as gpu's drvdata

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Rob Clark > > This will be populated by adreno-smmu, to provide a way for coordinating > enabling/disabling TTBR0 translation. > Reviewed-by: Bjorn Andersson > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/adreno/adreno_device.c

Re: [PATCH v2 5/7] Partial revert "ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer"

2020-08-31 Thread Nathan Chancellor
Nit: Partially in commit message? On Mon, Aug 31, 2020 at 05:23:24PM -0700, Nick Desaulniers wrote: > This partially reverts commit b0fe66cf095016e0b238374c10ae366e1f087d11. > > The minimum supported version of clang is now clang 10.0.1. We still > want to pass -meabi=gnu. Thank you for calling

Re: [PATCH v2 4/7] Revert "arm64: vdso: Fix compilation with clang older than 8"

2020-08-31 Thread Nathan Chancellor
On Mon, Aug 31, 2020 at 05:23:23PM -0700, Nick Desaulniers wrote: > This reverts commit 3acf4be235280f14d838581a750532219d67facc. > > The minimum supported version of clang is clang 10.0.1. > > Suggested-by: Nathan Chancellor > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor >

Re: [PATCH v2 3/7] Revert "arm64: bti: Require clang >= 10.0.1 for in-kernel BTI support"

2020-08-31 Thread Nathan Chancellor
On Mon, Aug 31, 2020 at 05:23:22PM -0700, Nick Desaulniers wrote: > This reverts commit b9249cba25a5dce5de87e5404503a5e11832c2dd. > > The minimum supported version of clang is now 10.0.1. > > Suggested-by: Nathan Chancellor > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor > -

Re: [PATCH 08/19] iommu/arm-smmu: constify some helpers

2020-08-31 Thread Bjorn Andersson
On Thu 13 Aug 21:41 CDT 2020, Rob Clark wrote: > From: Rob Clark > > Sprinkle a few `const`s where helpers don't need write access. > Reviewed-by: Bjorn Andersson > Signed-off-by: Rob Clark > --- > drivers/iommu/arm/arm-smmu/arm-smmu.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 delet

Re: [PATCH v2 2/7] Revert "kbuild: disable clang's default use of -fmerge-all-constants"

2020-08-31 Thread Nathan Chancellor
On Mon, Aug 31, 2020 at 05:23:21PM -0700, Nick Desaulniers wrote: > This reverts commit 87e0d4f0f37fb0c8c4aeeac46fff5e957738df79. > > This was fixed in clang-6; the minimum supported version of clang in the > kernel is clang-10 (10.0.1). > > Link: https://reviews.llvm.org/rL329300. > Link: https:

RE: [PATCH v7 3/3] phy: intel: Add Keem Bay eMMC PHY support

2020-08-31 Thread Wan Mohamad, Wan Ahmad Zainie
Hi Vinod. Thanks for the review. > -Original Message- > From: Vinod Koul > Sent: Monday, August 31, 2020 5:20 PM > To: Wan Mohamad, Wan Ahmad Zainie > > Cc: kis...@ti.com; robh...@kernel.org; Shevchenko, Andriy > ; eswara.k...@linux.intel.com; > vadivel.muruganx.ramuthe...@linux.intel.c

  1   2   3   4   5   6   7   8   9   10   >