Re: [PATCH 29/29] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name

2020-11-10 Thread Serge Semin
Hello Jun and Bjorn. On Tue, Nov 03, 2020 at 05:23:47PM -0600, Bjorn Andersson wrote: > On Mon 02 Nov 01:34 CST 2020, Jun Li wrote: > > > Serge Semin ???2020???10???20? > > ??8:04? > > > > > > In accordance with the DWC USB3 bindings the corresponding node > > > name is supp

Re: [PATCH v21 00/19] per memcg lru lock

2020-11-10 Thread Alex Shi
Hi All, Is any more comments of this version? Thanks Alex 在 2020/11/5 下午4:55, Alex Shi 写道: > This version rebase on next/master 20201104, with much of Johannes's > Acks and some changes according to Johannes comments. And add a new patch > v21-0006-mm-rmap-stop-store-reordering-issue-on-page-map

RE: [f2fs-dev] [PATCH] f2fs: compress: support chksum

2020-11-10 Thread David Laight
From: Chao Yu > Sent: 10 November 2020 06:28 ... > Actually, I think the both results are the same, inode chksum doesn't match > inode > metadata, like current case that cluster chksum doesn't match cluster data, it > doesn't matter how it becomes mismatched. > > And also, in those inode corrupte

Re: [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node

2020-11-10 Thread Tony Lindgren
* Grygorii Strashko [201029 19:13]: > Hi Tony, > > On 01/10/2020 22:20, Grygorii Strashko wrote: > > Fix compatible the new CPSW switchdev DT node to avoid probing of legacy > > CPSW driver which fails: > > [2.781009] cpsw 4a10.switch: invalid resource > > > > Fixes: 7bf8f37aea82 ("ARM:

Re: [PATCH v5 1/1] sched/uclamp: add SCHED_FLAG_UTIL_CLAMP_RESET flag to reset uclamp

2020-11-10 Thread Peter Zijlstra
On Fri, Nov 06, 2020 at 11:36:48AM +0100, Patrick Bellasi wrote: > > +static int uclamp_reset(enum uclamp_id clamp_id, unsigned long flags) > > +{ > > + /* No _UCLAMP_RESET flag set: do not reset */ > > + if (!(flags & SCHED_FLAG_UTIL_CLAMP_RESET)) > > + return false; > > + > > + /

Re: [PATCH 1/8] usb: typec: Correct the bit values for the Thunderbolt rounded/non-rounded cable support

2020-11-10 Thread Heikki Krogerus
On Mon, Nov 09, 2020 at 04:37:09PM -0800, Utkarsh Patel wrote: > Rounded and non-rounded Thunderbolt cables are represented by two bits as > per USB Type-C Connector specification v2.0 section F.2.6. > Corrected that in the Thunderbolt 3 cable discover mode VDO. > > Fixes: ca469c292edc ("usb: type

Re: [PATCH 2/8] platform/chrome: cros_ec_typec: Correct the Thunderbolt rounded/non-rounded cable support

2020-11-10 Thread Heikki Krogerus
On Mon, Nov 09, 2020 at 04:37:10PM -0800, Utkarsh Patel wrote: > Thunderbolt rounded/non-rounded cable support is two bits value. Correcting > it as per the Thunderbolt 3 cable discover mode VDO changes done in the > Thunderbolt 3 alternate mode header. > > Fixes: 5b30bd35aab4 ("platform/chrome: c

Re: [PATCHv7 2/7] iommu/arm-smmu: Add domain attribute for system cache

2020-11-10 Thread Will Deacon
On Fri, Oct 30, 2020 at 02:53:09PM +0530, Sai Prakash Ranjan wrote: > Add iommu domain attribute for using system cache aka last level > cache by client drivers like GPU to set right attributes for caching > the hardware pagetables into the system cache. > > Signed-off-by: Sai Prakash Ranjan > --

Re: [PATCHv7 1/7] iommu/io-pgtable-arm: Add support to use system cache

2020-11-10 Thread Will Deacon
On Fri, Oct 30, 2020 at 02:53:08PM +0530, Sai Prakash Ranjan wrote: > Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the > attributes set in TCR for the page table walker when > using system cache. > > Signed-off-by: Sai Prakash Ranjan > --- > drivers/iommu/io-pgtable-arm.c | 7 ++- > in

Re: [PATCH 4/8] usb: typec: Remove one bit support for the Thunderbolt rounded/non-rounded cable

2020-11-10 Thread Heikki Krogerus
On Mon, Nov 09, 2020 at 04:37:12PM -0800, Utkarsh Patel wrote: > Two bits support for the Thunderbolt rounded/non-rounded cable has been > added to the header file. > Hence, removing unused TBT_CABLE_ROUNDED definition from the header file. > > Fixes: ca469c292edc ("usb: typec: Add definitions for

[PATCH] mm: memblock: always inline memblock_alloc

2020-11-10 Thread Faiyaz Mohammed
Since memblock_alloc is not getting inlined, memblock_reserve owner info is lost. Below information is not enough for memory accounting. for example: [0.00] memblock_alloc_try_nid: 1490 bytes align=0x40 nid=-1 from=0x max_addr=0x memblock_alloc+0x20/0x2c [

[PATCH] mm: memblock: add more debug logs

2020-11-10 Thread Faiyaz Mohammed
Exact caller of memblock_phys_alloc_range is not available with "memblock=debug". Below information is not enough for memory accounting. for example: [0.00] memblock_reserve: [0x00023fc6b000-0x00023fc6bfff] memblock_alloc_range_nid+0xc0/0x188 To enhance the memblock_dbg informatio

Re: [PATCH v5 1/1] sched/uclamp: add SCHED_FLAG_UTIL_CLAMP_RESET flag to reset uclamp

2020-11-10 Thread Peter Zijlstra
On Tue, Nov 03, 2020 at 10:37:56AM +0800, Yun Hsiang wrote: > If the user wants to stop controlling uclamp and let the task inherit > the value from the group, we need a method to reset. > > Add SCHED_FLAG_UTIL_CLAMP_RESET flag to allow the user to reset uclamp via > sched_setattr syscall. > > Th

Re: [PATCH v3 2/2] usb: typec: Expose Product Type VDOs via sysfs

2020-11-10 Thread Greg KH
On Tue, Nov 10, 2020 at 01:54:53PM +0200, Heikki Krogerus wrote: > On Fri, Oct 23, 2020 at 02:43:28PM -0700, Prashant Malani wrote: > > A PD-capable device can return up to 3 Product Type VDOs as part of its > > DiscoverIdentity Response (USB PD Spec, Rev 3.0, Version 2.0, Section > > 6.4.4.3.1). A

Re: [PATCH 03/24] perf: Add build id data in mmap2 event

2020-11-10 Thread Peter Zijlstra
On Tue, Nov 10, 2020 at 08:54:26AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 10, 2020 at 09:07:16AM +0100, Peter Zijlstra escreveu: > > On Mon, Nov 09, 2020 at 10:53:54PM +0100, Jiri Olsa wrote: > > > Adding support to carry build id data in mmap2 event. > > > > > > The build id data re

OIL BUSINESS PARTNERSHIP!

2020-11-10 Thread Saudi Aramco Crude Oil Company
Saudi Aramco Crude Oil Company. P.O. Box 5000. Dhahran 31311, Dhahran-Saudi Arabia. Hello, I have a legit and genuine lucrative business deal to discuss with you. Can i trust you to be a sincere partner to handle the business? For more information reply back. Mrs.Reem Nasser, Sales/Marketing M

Re: [PATCH] mm/zsmalloc: include sparsemem.h for MAX_PHYSMEM_BITS

2020-11-10 Thread Stefan Agner
[adding Russell King for ARM] On 2020-11-10 12:21, Arnd Bergmann wrote: > On Tue, Nov 10, 2020 at 10:58 AM Mike Rapoport wrote: >> > > >> > > asm/sparsemem.h is not available on some architectures. >> > > It's better to use linux/mmzone.h instead. > > Ah, I missed that, too. > >> > Hm, linux/mm

Re: [PATCH] mmc: dw_mmc: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-11-10 Thread Ulf Hansson
On Fri, 6 Nov 2020 at 02:56, Tian Tao wrote: > > The code has been in a irq-disabled context since it is hard IRQ. There > is no necessity to do it again. > > Signed-off-by: Tian Tao Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/dw_mmc.c | 17 - > 1 fil

Re: [PATCH AUTOSEL 5.9 26/55] wireguard: selftests: check that route_me_harder packets use the right sk

2020-11-10 Thread Jason A. Donenfeld
Note that this requires https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=46d6c5ae953cc0be38efd0e469284df7c4328cf8 And that commit should be backported to every kernel ever, since the bug is so old.

[PATCH v3 0/7] gpio: exar: refactor the driver

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I just wanted to convert the driver to using simpler IDA API but ended up quickly converting it to using regmap. Unfortunately I don't have the HW to test it so marking the patches that introduce functional change as RFT and Cc'ing the original author. v1 -> v2: - add n

Re: [PATCH v1] i2c: nvidia-gpu: drop empty stub for runtime pm

2020-11-10 Thread Jarkko Nikula
On 11/7/20 11:04 AM, Vaibhav Gupta wrote: On Sat, Nov 07, 2020 at 01:51:51PM +0530, Vaibhav Gupta wrote: After the commit c5eb1190074c ("PCI / PM: Allow runtime PM without callback functions") we no more need empty stubs for runtime-pm to work. The driver has no device specific task(s) for .sus

[PATCH v3 6/7] gpio: exar: switch to using regmap

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We can simplify the code in gpio-exar by using regmap. This allows us to drop the mutex (regmap provides its own locking) and we can also reuse regmap's bit operations instead of implementing our own update function. Signed-off-by: Bartosz Golaszewski --- drivers/gpio

[PATCH v3 3/7] gpio: exar: switch to a simpler IDA interface

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We don't need to specify any ranges when allocating IDs so we can switch to ida_alloc() and ida_free() instead of the ida_simple_ counterparts. ida_simple_get(ida, 0, 0, gfp) is equivalent to ida_alloc_range(ida, 0, UINT_MAX, gfp) which is equivalent to ida_alloc(ida, g

[PATCH v3 0/7] gpio: exar: refactor the driver

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I just wanted to convert the driver to using simpler IDA API but ended up quickly converting it to using regmap. Unfortunately I don't have the HW to test it so marking the patches that introduce functional change as RFT and Cc'ing the original author. v1 -> v2: - add n

[PATCH v3 2/7] gpio: exar: include idr.h

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This driver uses IDA APIs but doesn't include the relevant header. This fixes it. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-exar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-exar.c b/drivers/gpio/gpio-exar.c index 4202dd363a11

[PATCH v3 7/7] gpio: exar: use devm action for freeing the IDA and drop remove()

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We can simplify the error path in probe() and drop remove() entirely if we provide a devm action for freeing the device ID. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-exar.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions

[PATCH v3 5/7] gpio: exar: unduplicate address and offset computation

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide and use helpers for calculating the register address and bit offset instead of hand coding it in every function. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-exar.c | 40 1 file changed, 28 insertions(+), 12

Re: [PATCH v3 0/7] gpio: exar: refactor the driver

2020-11-10 Thread Bartosz Golaszewski
On Tue, Nov 10, 2020 at 1:33 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > I just wanted to convert the driver to using simpler IDA API but ended up > quickly converting it to using regmap. Unfortunately I don't have the HW > to test it so marking the patches that introduce func

linux-kernel@vger.kernel.org

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski It's more elegant to use a helper local variable to store the address of the underlying struct device than to dereference pdev everywhere. It also has the benefit of avoiding unnecessary line breaks. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-exar.c | 15

[PATCH v3 1/7] gpio: exar: add a newline after the copyright notice

2020-11-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski It's customary to have a newline between the copyright header and the includes. Add one to gpio-exar. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-exar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-exar.c b/drivers/gpio/gpio-exar.

Re: [PATCH v12 4/4] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

2020-11-10 Thread William Breathitt Gray
On Tue, Nov 10, 2020 at 11:02:43AM +0100, Michal Simek wrote: > > > On 09. 11. 20 18:31, William Breathitt Gray wrote: > > On Mon, Nov 09, 2020 at 07:22:20PM +0200, Andy Shevchenko wrote: > >> On Mon, Nov 09, 2020 at 12:11:40PM -0500, William Breathitt Gray wrote: > >>> On Mon, Nov 09, 2020 at 10

Re: [PATCH v2 1/4] cpufreq: Introduce governor flags

2020-11-10 Thread Rafael J. Wysocki
On Tue, Nov 10, 2020 at 3:41 AM Viresh Kumar wrote: > > On 09-11-20, 17:51, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > A new cpufreq governor flag will be added subsequently, so replace > > the bool dynamic_switching fleid in struct cpufreq_governor with a > > flags field and in

Re: [PATCH v2] PCI: check also dynamic IDs for duplicate in new_id_store()

2020-11-10 Thread Zhenzhong Duan
Hi Bjorn, This patch got reviewed-by, could you kindly check if it can be upstreamed? Thanks very much. Zhenzhong On Tue, Oct 27, 2020 at 3:52 PM Christoph Hellwig wrote: > > On Mon, Oct 26, 2020 at 11:57:10AM +0800, Zhenzhong Duan wrote: > > When a device ID data is writen to /sys/bus/pci/driv

Re: [PATCH v2 3/4] cpufreq: Add strict_target to struct cpufreq_policy

2020-11-10 Thread Rafael J. Wysocki
On Tue, Nov 10, 2020 at 3:47 AM Viresh Kumar wrote: > > On 09-11-20, 17:53, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Add a new field to be set when the CPUFREQ_GOV_FLAG_STRICT_TARGET > > flag is set for the current governor to struct cpufreq_policy, so > > that the drivers nee

[PATCH][next] Bluetooth: btrtl: fix incorrect skb allocation failure check

2020-11-10 Thread Colin King
From: Colin Ian King Currently the check for a failed bt_skb_alloc allocation is incorrectly checking using IS_ERR and this can lead to a null pointer dereference. Fix this by checking for a null pointer return using the !skb idiom. Addresses-Coverity: ("Dereference null return") Fixes: 1996d9ca

Re: [PATCH 0/9] cpufreq: Add missing modalias for tristate drivers

2020-11-10 Thread Rafael J. Wysocki
On Tue, Nov 10, 2020 at 3:35 AM Viresh Kumar wrote: > > On 09-11-20, 15:18, Rafael J. Wysocki wrote: > > On Tue, Nov 3, 2020 at 4:14 PM Pali Rohár wrote: > > > > > > Some of cpufreq drivers are tristate, can be compiled as modules, but do > > > not have defined modalias for automatic loading. Thi

Re: [PATCH v8 3/6] software node: implement reference properties

2020-11-10 Thread Heikki Krogerus
On Mon, Nov 09, 2020 at 09:05:51PM +0200, Andy Shevchenko wrote: > On Mon, Nov 09, 2020 at 10:53:05AM -0800, Dmitry Torokhov wrote: > > On Mon, Nov 09, 2020 at 07:18:37PM +0100, Lukasz Stelmach wrote: > > > It was <2020-11-09 pon 19:24>, when Andy Shevchenko wrote: > > ... > > > > Probably I have

[PATCH 1/1] dt-bindings: phy: phy-stm32-usbphyc: convert bindings to json-schema

2020-11-10 Thread Amelie Delaunay
Convert the STM32 USB PHY Controller (USBPHYC) bindings to DT schema format using json-schema. Signed-off-by: Amelie Delaunay --- .../bindings/phy/phy-stm32-usbphyc.txt| 73 -- .../bindings/phy/phy-stm32-usbphyc.yaml | 136 ++ 2 files changed, 136 insertion

[tip: perf/urgent] perf/arch: Remove perf_sample_data::regs_user_copy

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 76a4efa80900fc40e0fdf243b42aec9fb8c35d24 Gitweb: https://git.kernel.org/tip/76a4efa80900fc40e0fdf243b42aec9fb8c35d24 Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 12:14:21 +01:00 Commit

[tip: perf/urgent] perf: Optimize get_recursion_context()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 09da9c81253dd8e43e0d2d7cea02de6f9f19499d Gitweb: https://git.kernel.org/tip/09da9c81253dd8e43e0d2d7cea02de6f9f19499d Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 13:43:16 +01:00 Commit

[tip: perf/urgent] perf: Simplify group_sched_in()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 251ff2d49347793d348babcff745289b11910e96 Gitweb: https://git.kernel.org/tip/251ff2d49347793d348babcff745289b11910e96 Author:Peter Zijlstra AuthorDate:Thu, 29 Oct 2020 16:29:15 +01:00 Commit

[tip: perf/urgent] perf/x86: Reduce stack usage for x86_pmu::drain_pebs()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 Gitweb: https://git.kernel.org/tip/9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 14:58:48 +01:00 Commit

Re: [PATCH] drm: omapdrm: Replace HTTP links with HTTPS ones

2020-11-10 Thread Tomi Valkeinen
On 13/07/2020 15:28, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain `\bxmlns\b

[RFC 00/11] arm64: coresight: Enable ETE and TRBE

2020-11-10 Thread Anshuman Khandual
This series enables future IP trace features Embedded Trace Extension (ETE) and Trace Buffer Extension (TRBE). This series depends on the ETM system register instruction support series [0] and the v8.4 Self hosted tracing support series (Jonathan Zhou) [1]. The tree is available here [2] for quick

[tip: perf/urgent] perf: Fix get_recursion_context()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 Gitweb: https://git.kernel.org/tip/ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 12:49:45 +01:00 Commit

[tip: perf/urgent] perf: Reduce stack usage of perf_output_begin()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 267fb27352b6fc9fdbad753127a239f75618ecbc Gitweb: https://git.kernel.org/tip/267fb27352b6fc9fdbad753127a239f75618ecbc Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 15:50:32 +01:00 Commit

[tip: perf/urgent] perf: Simplify group_sched_out()

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 8c7855d82933bab7fa5e96f0e568fc125c2e1ab4 Gitweb: https://git.kernel.org/tip/8c7855d82933bab7fa5e96f0e568fc125c2e1ab4 Author:Peter Zijlstra AuthorDate:Thu, 29 Oct 2020 16:28:25 +01:00 Commit

[RFC 03/11] coresight: Do not scan for graph if none is present

2020-11-10 Thread Anshuman Khandual
From: Suzuki K Poulose If a graph node is not found for a given node, of_get_next_endpoint() will emit the following error message : OF: graph: no port node found in / If the given component doesn't have any explicit connections (e.g, ETE) we could simply ignore the graph parsing. Signed-off-

[RFC 02/11] coresight: etm-perf: Allow an event to use different sinks

2020-11-10 Thread Anshuman Khandual
From: Suzuki K Poulose When there are multiple sinks on the system, in the absence of a specified sink, it is quite possible that a default sink for an ETM could be different from that of another ETM. However we do not support having multiple sinks for an event yet. This patch allows the event to

[RFC 01/11] arm64: Add TRBE definitions

2020-11-10 Thread Anshuman Khandual
This adds TRBE related registers and corresponding feature macros. Signed-off-by: Anshuman Khandual --- arch/arm64/include/asm/sysreg.h | 49 + 1 file changed, 49 insertions(+) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h

[RFC 10/11] coresgith: etm-perf: Connect TRBE sink with ETE source

2020-11-10 Thread Anshuman Khandual
Unlike traditional sink devices, individual TRBE instances are not detected via DT or ACPI nodes. Instead TRBE instances are detected during CPU online process. Hence a path connecting ETE and TRBE on a given CPU would not have been established until then. This adds two coresight helpers that will

[RFC 06/11] coresight: ete: Detect ETE as one of the supported ETMs

2020-11-10 Thread Anshuman Khandual
From: Suzuki K Poulose Add ETE as one of the supported device types we support with ETM4x driver. The devices are named following the existing convention as ete. ETE mandates that the trace resource status register is programmed before the tracing is turned on. For the moment simply write to it

[tip: perf/urgent] perf: Tweak perf_event_attr::exclusive semantics

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 1908dc911792067287458fdb0800f036f4f4e0f6 Gitweb: https://git.kernel.org/tip/1908dc911792067287458fdb0800f036f4f4e0f6 Author:Peter Zijlstra AuthorDate:Thu, 29 Oct 2020 16:32:22 +01:00 Commit

[RFC 11/11] dts: bindings: Document device tree binding for Arm TRBE

2020-11-10 Thread Anshuman Khandual
This patch documents the device tree binding in use for Arm TRBE. Signed-off-by: Anshuman Khandual --- Documentation/devicetree/bindings/arm/trbe.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/trbe.txt diff --git a/Docum

[RFC 04/11] coresight: etm4x: Add support for PE OS lock

2020-11-10 Thread Anshuman Khandual
From: Suzuki K Poulose ETE may not implement the OS lock and instead could rely on the PE OS Lock for the trace unit access. This is indicated by the TRCOLSR.OSM == 0b100. Add support for handling the PE OS lock Signed-off-by: Suzuki K Poulose Signed-off-by: Anshuman Khandual --- drivers/hwtr

[RFC 09/11] coresight: etm-perf: Disable the path before capturing the trace data

2020-11-10 Thread Anshuman Khandual
perf handle structure needs to be shared with the TRBE IRQ handler for capturing trace data and restarting the handle. There is a probability of an undefined reference based crash when etm event is being stopped while a TRBE IRQ also getting processed. This happens due the release of perf handle vi

[RFC 05/11] coresight: ete: Add support for sysreg support

2020-11-10 Thread Anshuman Khandual
From: Suzuki K Poulose This adds sysreg support for ETE. Signed-off-by: Suzuki K Poulose Signed-off-by: Anshuman Khandual --- drivers/hwtracing/coresight/coresight-etm4x-core.c | 39 drivers/hwtracing/coresight/coresight-etm4x.h | 42 +- 2 files c

[RFC 07/11] coresight: sink: Add TRBE driver

2020-11-10 Thread Anshuman Khandual
Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is accessible via the system registers. The TRBE supports different addressing modes including CPU virtual address and buffer modes including the circular buffer mode. The TRBE buffer is addressed by a base pointer (TRBBASER_EL1)

[tip: perf/urgent] perf/x86: Make dummy_iregs static

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: e506d1dac0edb2df82f2aa0582e814f9cd9aa07d Gitweb: https://git.kernel.org/tip/e506d1dac0edb2df82f2aa0582e814f9cd9aa07d Author:Peter Zijlstra AuthorDate:Fri, 30 Oct 2020 12:15:06 +01:00 Commit

[RFC 08/11] coresight: etm-perf: Truncate the perf record if handle has no space

2020-11-10 Thread Anshuman Khandual
While starting off the etm event, just abort and truncate the perf record if the perf handle as no space left. This avoids configuring both source and sink devices in case the data cannot be consumed in perf. Signed-off-by: Anshuman Khandual --- drivers/hwtracing/coresight/coresight-etm-perf.c |

[tip: perf/urgent] perf/x86/intel: Make anythread filter support conditional

2020-11-10 Thread tip-bot2 for Stephane Eranian
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: cadbaa039b99a6d5c26ce1c7f2fc0325943e605a Gitweb: https://git.kernel.org/tip/cadbaa039b99a6d5c26ce1c7f2fc0325943e605a Author:Stephane Eranian AuthorDate:Wed, 28 Oct 2020 12:42:47 -07:00 Comm

[tip: perf/urgent] perf: Fix event multiplexing for exclusive groups

2020-11-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 2714c3962f304d031d5016c963c4b459337b0749 Gitweb: https://git.kernel.org/tip/2714c3962f304d031d5016c963c4b459337b0749 Author:Peter Zijlstra AuthorDate:Thu, 29 Oct 2020 16:29:53 +01:00 Commit

Re: [PATCH v8 3/6] software node: implement reference properties

2020-11-10 Thread Rafael J. Wysocki
On Tue, Nov 10, 2020 at 1:39 PM Heikki Krogerus wrote: > > On Mon, Nov 09, 2020 at 09:05:51PM +0200, Andy Shevchenko wrote: > > On Mon, Nov 09, 2020 at 10:53:05AM -0800, Dmitry Torokhov wrote: > > > On Mon, Nov 09, 2020 at 07:18:37PM +0100, Lukasz Stelmach wrote: > > > > It was <2020-11-09 pon 19:

Re: [PATCH 00/19] Second step support for A100

2020-11-10 Thread Vinod Koul
On 10-11-20, 16:51, Frank Lee wrote: > On Tue, Nov 10, 2020 at 4:43 PM Krzysztof Kozlowski wrote: > > > > On Tue, 10 Nov 2020 at 07:00, Frank Lee wrote: > > > > > > It seems that sending too many e-mails at one time will cause some > > > emails to fail to be sent out. I will try again. > > > > Hi

Re: [PATCH 1/2] console: Remove dummy con_font_op() callback implementations

2020-11-10 Thread Daniel Vetter
On Fri, Nov 06, 2020 at 11:50:58AM +0100, Greg Kroah-Hartman wrote: > On Sat, Oct 31, 2020 at 03:24:41AM -0400, Peilin Ye wrote: > > `struct console_font` is a UAPI structure, thus ideally should not be > > used for kernel internal abstraction. Remove some dummy .con_font_set, > > .con_font_default

[PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread Nikolay Borisov
data_alloc's 2nd argument is always rb::text_data_ring and that functino always takes a struct printk_ringbuffer. Instead of passing the data ring buffer as an argument simply make it a local variable. Signed-off-by: Nikolay Borisov --- kernel/printk/printk_ringbuffer.c | 9 - 1 file cha

Re: [PATCH 4/4] powercap/drivers/dtpm: Add CPU energy model based support

2020-11-10 Thread Lukasz Luba
On 10/6/20 1:20 PM, Daniel Lezcano wrote: With the powercap dtpm controller, we are able to plug devices with power limitation features in the tree. The following patch introduces the CPU power limitation based on the energy model and the performance states. The power limitation is done at t

Re: [PATCH] cpufreq: stats: Switch to ktime and msec instead of jiffies and usertime

2020-11-10 Thread Thomas Renninger
Am Dienstag, 10. November 2020, 12:07:37 CET schrieb Viresh Kumar: > The cpufreq and thermal core, both provide sysfs statistics to help > userspace learn about the behavior of frequencies and cooling states. > > This is how they look: > /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state:

Re: [PATCH v4 0/3] sched: Get rid of select_task_rq()'s sd_flag parameter

2020-11-10 Thread Peter Zijlstra
On Mon, Nov 02, 2020 at 06:45:11PM +, Valentin Schneider wrote: > Hi folks, > > This is v4 of that one series I've had stashed for a while [1]. I haven't > revisited the outstanding discussion bits, the most interesting part being > that > we could get rid of the for_each_domain() loop in sel

Re: [PATCH] [v2] drm/omap: Fix runtime PM imbalance on error

2020-11-10 Thread Tomi Valkeinen
On 22/08/2020 09:57, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter > even when it returns an error code. However, users of its > direct wrappers in omapdrm assume that PM usage counter will > not change on error. Thus a pairing decrement is needed on > the error

Re: [PATCH 3/4] powercap/drivers/dtpm: Add API for dynamic thermal power management

2020-11-10 Thread Daniel Lezcano
Hi Lukasz, thanks for the review On 10/11/2020 10:59, Lukasz Luba wrote: [ ... ] >> +/* Init section thermal table */ >> +extern struct dtpm_descr *__dtpm_table[]; >> +extern struct dtpm_descr *__dtpm_table_end[]; >> + >> +#define DTPM_TABLE_ENTRY(name)    \ >> +    static typeof(name

Re: [PATCH] sched/fair: ensure tasks spreading in LLC during LB

2020-11-10 Thread Peter Zijlstra
On Mon, Nov 02, 2020 at 11:24:57AM +0100, Vincent Guittot wrote: > schbench shows latency increase for 95 percentile above since: > commit 0b0695f2b34a ("sched/fair: Rework load_balance()") > > Align the behavior of the load balancer with the wake up path, which tries > to select an idle CPU whi

[PATCH v3] clk: renesas: r8a774c0: Add RPC clocks

2020-11-10 Thread Lad Prabhakar
Describe the RPCSRC internal clock and the RPC[D2] clocks derived from it, as well as the RPC-IF module clock, in the RZ/G2E (R8A774C0) CPG/MSSR driver. Add new clk type CLK_TYPE_GEN3E3_RPCSRC to register rpcsrc as a fixed clock on R-Car Gen3 E3 (and also RZ/G2E which is identical to E3 SoC), pare

Re: [PATCH] mtd: spi-nor: winbond: Add support for w25m512jw

2020-11-10 Thread Vignesh Raghavendra
On 10/16/20 5:25 PM, Lad Prabhakar wrote: > This chip is (nearly) identical to the Winbond w25m512jv which is > already supported by Linux. Compared to the w25m512jv, the 'jw' > has a different JEDEC ID. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das I believe this was tested on a

Re: [PATCH] cpufreq: stats: Switch to ktime and msec instead of jiffies and usertime

2020-11-10 Thread Rafael J. Wysocki
On Tue, Nov 10, 2020 at 12:07 PM Viresh Kumar wrote: > > The cpufreq and thermal core, both provide sysfs statistics to help > userspace learn about the behavior of frequencies and cooling states. > > This is how they look: > > /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state:208000 11

Re: [PATCH v1 23/24] kvm: arm64: Trap host SMCs in protected mode.

2020-11-10 Thread David Brazdil
> > +++ b/arch/arm64/kvm/hyp/nvhe/hyp-init.S > > @@ -88,6 +88,12 @@ SYM_CODE_END(__kvm_hyp_init) > > * x0: struct kvm_nvhe_init_params PA > > */ > > SYM_CODE_START(___kvm_hyp_init) > > +alternative_cb kvm_patch_hcr_flags > > + mov_q x1, HCR_HOST_NVHE_FLAGS > > You really want to be carefu

Re: [PATCH net-next] MAINTAINERS: Add entry for Hirschmann Hellcreek Switch Driver

2020-11-10 Thread Vladimir Oltean
On Tue, Nov 10, 2020 at 08:18:29AM +0100, Kurt Kanzenbach wrote: > Add myself to cover the Hirschmann Hellcreek TSN Ethernet Switch Driver. > > Suggested-by: Andrew Lunn > Signed-off-by: Kurt Kanzenbach > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/MAINT

Re: [PATCH] bpf: Fix unsigned 'datasec_id' compared with zero in check_pseudo_btf_id

2020-11-10 Thread Denis Kirjanov
On 11/10/20, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > The unsigned variable datasec_id is assigned a return value from the call > to check_pseudo_btf_id(), which may return negative error code. > > Fixes coccicheck warning: > > ./kernel/bpf/verifier.c:9616:5-15: WARNING: Unsigned expre

Re: [PATCH 0/2] arm64: Allow the rescheduling IPI to bypass irq_enter/exit

2020-11-10 Thread Peter Zijlstra
On Mon, Nov 02, 2020 at 10:30:50AM +, Valentin Schneider wrote: > Now, I'd like to pen exactly why we think it's okay to forgo irq_{enter, > exit}() for that one IRQ and not any other. Thomas already said a few words on this, but basically scheduler_ipi() is a NOP (*almost*), the IPI has no b

[PATCH] Documentation: ACPI: fix spelling mistakes

2020-11-10 Thread Flavio Suligoi
Signed-off-by: Flavio Suligoi --- Documentation/firmware-guide/acpi/acpi-lid.rst | 8 Documentation/firmware-guide/acpi/method-tracing.rst | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/firmware-guide/acpi/acpi-lid.rst b/Documentation/firmware

[PATCH] mfd: rt5033: fix errorneous defines

2020-11-10 Thread michael . srba
From: Michael Srba Fix regulators on rt5033 by converting some values to bitmasks which were errorneously not defined as such in the header file. Cc: Beomho Seo Fixes: 0b271258544b ("mfd: rt5033: Add Richtek RT5033 driver core.") Signed-off-by: Michael Srba --- Tested on Samsung Galaxy A3 (s

[PATCH v2 1/2] phy: stm32: don't print an error on probe deferral

2020-11-10 Thread Amelie Delaunay
Change stm32-usbphyc driver to not print an error message when the device probe operation is deferred. Signed-off-by: Etienne Carriere Signed-off-by: Amelie Delaunay --- v2: add missing return --- drivers/phy/st/phy-stm32-usbphyc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) d

Re: [PATCH v5 0/3] mtd: spi-nor: keep lock bits if they are non-volatile

2020-11-10 Thread Vignesh Raghavendra
On 10/28/20 3:56 AM, Michael Walle wrote: > Am 2020-10-03 17:32, schrieb Michael Walle: >> I bundled this as a series, because otherwise there will be conflicts >> because the "remove global protection flag" patches modify the same lines >> as the main patch. >> >> See invdividual patches for th

Re: [PATCH v12 00/10] NTFS read-write driver GPL implementation by Paragon Software

2020-11-10 Thread Aurélien Aptel
Hi Konstantin, Have you looked at Eric Biggers last comments regarding KASAN and lockdep? You can enable KASAN in menuconfig in Kernel hacking > Memory debugging > KASAN. With v12 I'm still seeing the out-of-bound read and potential deadlock. The bad read: [ 69.496132] BUG: KASAN: stack-out-

[PATCH 1/1] ARM: dts: stm32: adjust USB OTG gadget fifo sizes in stm32mp151

2020-11-10 Thread Amelie Delaunay
Defaut use case on stm32mp151 USB OTG is ethernet gadget, using EP1 bulk endpoint (MPS=512 bytes) and EP2 interrupt endpoint (MPS=16 bytes). This patch optimizes USB OTG FIFO sizes accordingly. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp151.dtsi | 4 ++-- 1 file changed, 2 inser

Re: Subject: [RFC] clang tooling cleanups

2020-11-10 Thread Tom Rix
On 11/9/20 6:52 PM, Joe Perches wrote: > On Tue, 2020-10-27 at 09:42 -0700, t...@redhat.com wrote: >> This rfc will describe >> An upcoming treewide cleanup. >> How clang tooling was used to programatically do the clean up. >> Solicit opinions on how to generally use clang tooling. >> >> The clan

Re: [PATCH v5 07/17] virt: acrn: Introduce an ioctl to set vCPU registers state

2020-11-10 Thread Shuo A Liu
Hi Greg, On Mon 9.Nov'20 at 18:09:40 +0100, Greg Kroah-Hartman wrote: On Mon, Oct 19, 2020 at 02:17:53PM +0800, shuo.a@intel.com wrote: From: Shuo Liu A virtual CPU of User VM has different context due to the different registers state. ACRN userspace needs to set the virtual CPU register

Re: [PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread John Ogness
On 2020-11-10, Nikolay Borisov wrote: > data_alloc's 2nd argument is always rb::text_data_ring and that functino > always takes a struct printk_ringbuffer. Instead of passing the data > ring buffer as an argument simply make it a local variable. This is a relic of when we had a second data ring (

Re: [PATCH] mtd: spi-nor: Fix multiple typos

2020-11-10 Thread Vignesh Raghavendra
Hi, On 11/7/20 7:11 PM, Jonathan Neuschäfer wrote: > Signed-off-by: Jonathan Neuschäfer Thanks for the patch, but a commit msg is expected however trivial the patch maybe. scripts/checkpatch.pl --strict complains about the same: WARNING: Missing commit description - Add an appropriate one Rega

Re: [PATCH 0/2] AMR: DTS: fix and extension for Pandaboard ES

2020-11-10 Thread Tony Lindgren
* H. Nikolaus Schaller [201030 09:09]: > ping > > > Am 03.10.2020 um 16:09 schrieb H. Nikolaus Schaller : > > > > * fix wrong pinmux offset preventing the user button from working > > * add uart connection for bluetooth wl1271 hci > > > > H. Nikolaus Schaller (2): > > ARM: dts: pandaboard: fix

Re: [PATCH 03/29] arm: dts: am437x: Correct DWC USB3 compatible string

2020-11-10 Thread Tony Lindgren
* Krzysztof Kozlowski [201020 12:31]: > On Tue, Oct 20, 2020 at 02:59:33PM +0300, Serge Semin wrote: > > Syonpsys IP cores are supposed to be defined with "snps" vendor-prefix. > > Use it instead of the deprecated "synopsys" one. > > > > Signed-off-by: Serge Semin > > --- > > arch/arm/boot/dts/

Re: [PATCH v2 2/2] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl

2020-11-10 Thread Vivek Unune
On Mon, Nov 9, 2020 at 12:24 PM Florian Fainelli wrote: > > On Wed, 4 Nov 2020 15:29:52 -0500, Vivek Unune > wrote: > > Now that we have a pin controller, use that instead of manuplating the > > mdio/mdc pins directly. i.e. we no longer require the mdio-mii-mux > > > > Signed-off-by: Vivek Unun

Re: [PATCH] rtc: at91rm9200: add correction support

2020-11-10 Thread Nicolas Ferre
Hi Alexandre, Thanks you for adding this feature to newest at91 RTC IPs. On 09/11/2020 at 00:20, Alexandre Belloni wrote: The sama5d4 and sama5d2 RTCs are able to correct for imprecise crystals, up FYI, sam9x60 RTC has the same correction capability. ... and I now realize that sam9x60 using

Re: [PATCH 22/29] arm: dts: omap5: Harmonize DWC USB3 DT nodes name

2020-11-10 Thread Tony Lindgren
* Krzysztof Kozlowski [201020 12:41]: > On Tue, Oct 20, 2020 at 02:59:52PM +0300, Serge Semin wrote: > > In accordance with the DWC USB3 bindings the corresponding node > > name is suppose to comply with the Generic USB HCD DT schema, which > > requires the USB nodes to have the name acceptable by

Re: [PATCH v3 1/4] pinctrl: amd: fix incorrect way to disable debounce filter

2020-11-10 Thread Linus Walleij
On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu wrote: > The correct way to disable debounce filter is to clear bit 5 and 6 > of the register. > > Cc: Hans de Goede > Link: > https://lore.kernel.org/linux-gpio/df2c008b-e7b5-4fdd-42ea-4d1c62b52...@redhat.com/ > Signed-off-by: Coiby Xu This patch appl

Re: [PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread Nikolay Borisov
On 10.11.20 г. 15:14 ч., John Ogness wrote: > On 2020-11-10, Nikolay Borisov wrote: >> data_alloc's 2nd argument is always rb::text_data_ring and that functino >> always takes a struct printk_ringbuffer. Instead of passing the data >> ring buffer as an argument simply make it a local variable.

Re: [PATCH v3 2/4] pinctrl: amd: use higher precision for 512 RtcClk

2020-11-10 Thread Linus Walleij
On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu wrote: > RTC is 32.768kHz thus 512 RtcClk equals 15625 usec. The documentation > likely has dropped precision and that's why the driver mistakenly took > the slightly deviated value. > > Reported-by: Andy Shevchenko > Suggested-by: Andy Shevchenko > Sugg

Re: [PATCH 10/10] dt-bindings: net: dsa: b53: Add YAML bindings

2020-11-10 Thread Kurt Kanzenbach
On Mon Nov 09 2020, Florian Fainelli wrote: > From: Kurt Kanzenbach > > Convert the b53 DSA device tree bindings to YAML in order to allow > for automatic checking and such. > > Suggested-by: Florian Fainelli > Signed-off-by: Kurt Kanzenbach > --- > .../devicetree/bindings/net/dsa/b53.txt

Re: [PATCH v3 3/4] pinctrl: amd: print debounce filter info in debugfs

2020-11-10 Thread Linus Walleij
On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu wrote: > Print the status of debounce filter as follows, > $ cat /sys/kernel/debug/gpio > pin129 interrupt is disabled| interrupt is masked| disable wakeup in > S0i3 state| disable wakeup in S3 state| > disable wakeup in S4/S5 state| input is hi

Re: [PATCH v3 4/4] pinctrl: amd: remove debounce filter setting in IRQ type setting

2020-11-10 Thread Linus Walleij
On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu wrote: > Debounce filter setting should be independent from IRQ type setting > because according to the ACPI specs, there are separate arguments for > specifying debounce timeout and IRQ type in GpioIo() and GpioInt(). > > This will fix broken touchpads fo

<    1   2   3   4   5   6   7   8   9   10   >