Re: [PATCH 3/9] mm: memcontrol: convert kernel stack account to byte-sized

2020-12-05 Thread Greg KH
On Sat, Dec 05, 2020 at 09:02:18PM +0800, Muchun Song wrote: > The kernel stack account is the only one that counts in KiB. > This patch convert it from KiB to byte. > > Signed-off-by: Muchun Song > --- > drivers/base/node.c| 2 +- > fs/proc/meminfo.c | 2 +- > include/linux/mmzone.h |

Re: [PATCH 2/8] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-12-05 Thread Andy Lutomirski
> On Dec 5, 2020, at 12:00 AM, Nicholas Piggin wrote: > > > I disagree. Until now nobody following it noticed that the mm gets > un-lazied in other cases, because that was not too clear from the > code (only indirectly using non-standard terminology in the arch > support document). > In other

[PATCH v5 00/19] dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema

2020-12-05 Thread Serge Semin
We've performed some work on the Generic USB HCD, xHCI and DWC USB3 DT bindings in the framework of the Baikal-T1 SoC support integration into the kernel. This patchset is a result of that work. First of all we moved the generic USB properties from the legacy text bindings to the USB DT schema. Th

[PATCH v5 03/19] dt-bindings: usb: usb-drd: Add "otg-rev" property constraints

2020-12-05 Thread Serge Semin
There are only four OTG revisions are currently supported by the kernel: 0x0100, 0x0120, 0x0130, 0x0200. Any another value is considered as invalid. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v4: - Move the constraints to the usb-drd.yaml schema where the otg-rev prope

[PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-12-05 Thread Serge Semin
There can be three distinctive types of the USB controllers: USB hosts, USB peripherals/gadgets and USB OTG, which can switch from one role to another. In order to have that hierarchy handled in the DT binding files, we need to collect common properties in a common DT schema and specific properties

Re: [PATCH] kasan: fix slab double free when cpu-hotplug

2020-12-05 Thread Kuan-Ying Lee
On Fri, 2020-12-04 at 17:25 -0800, Andrew Morton wrote: > On Fri, 4 Dec 2020 20:01:35 +0800 Kuan-Ying Lee > wrote: > > > > diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c > > > index d98b516f372f..55783125a767 100644 > > > --- a/mm/kasan/quarantine.c > > > +++ b/mm/kasan/quarantine.c

[PATCH 3/8] tty: serial: jsm: Fixed file by added more spacing in line 612

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 202d6ba93313..2bc5f32e59f4 100644 --- a/drive

[PATCH 0/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Stefan Eschenbacher
According to the TODO comment in hyperv_vmbus.h the value in macro MAX_NUM_CHANNELS_SUPPORTED should be configurable. The first patch accomplishes that by introducting uint max_num_channels_supported as module parameter. Also macro MAX_NUM_CHANNELS_SUPPORTED_DEFAULT is introduced with value 256, wh

[PATCH net-next] bonding: set xfrm feature flags more sanely

2020-12-05 Thread Jarod Wilson
We can remove one of the ifdef blocks here, and instead of setting both the xfrm hw_features and features flags, then unsetting the the features flags if not in AB, wait to set the features flags if we're actually in AB mode. Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Cc: "David

Re: [PATCH] fix namespaced fscaps when !CONFIG_SECURITY

2020-12-05 Thread Serge E. Hallyn
How odd - where did that come from? James, I force-pushed that with corrected bugzilla link to 2020-11-29/fix-nscaps. Sorry about that. On Fri, Dec 04, 2020 at 07:58:14AM -0800, Andrew G. Morgan wrote: > The correct bug reference for this patch is: > > https://bugzilla.kernel.org/show_bug.cgi?i

Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

2020-12-05 Thread Eric W. Biederman
Linus Torvalds writes: > On Fri, Dec 4, 2020 at 11:35 AM Eric W. Biederman > wrote: >> >> From a deadlock perspective the change is strictly better than what we >> have today. The readers will no longer block on each other. > > No, agreed, it's better regardless. > >> For the specific case tha

Re: [PATCH 3/7] mm,madvise: call soft_offline_page() without MF_COUNT_INCREASED

2020-12-05 Thread Oscar Salvador
On Fri, Dec 04, 2020 at 06:25:31PM +0100, Vlastimil Babka wrote: > OK, so that means we don't introduce this race for MADV_SOFT_OFFLINE, but it's > already (and still) there for MADV_HWPOISON since Dan's 23e7b5c2e271 ("mm, > madvise_inject_error: Let memory_failure() optionally take a page referenc

[PATCH v5 02/19] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-12-05 Thread Serge Semin
The generic USB properties have been described in the legacy bindings text file: Documentation/devicetree/bindings/usb/generic.txt . Let's convert its content into the generic USB, USB HCD and USB DRD DT schemas. So the Generic USB schema will be applicable to all USB controllers, USB HCD - for the

[PATCH net-next] net: dsa: print the MTU value that could not be set

2020-12-05 Thread Rasmus Villemoes
These warnings become somewhat more informative when they include the MTU value that could not be set and not just the errno. Signed-off-by: Rasmus Villemoes --- net/dsa/master.c | 7 --- net/dsa/slave.c | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/net/dsa/master

[PATCH v5 10/19] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-12-05 Thread Serge Semin
DWC USB3 DT node is supposed to be compliant with the Generic xHCI Controller schema, but with additional vendor-specific properties, the controller-specific reference clocks and PHYs. So let's convert the currently available legacy text-based DWC USB3 bindings to the DT schema and make sure the DW

{United Nations for Strategic Coordination}

2020-12-05 Thread United Nations Organization
United Nations Assistant Secretary-General for Development Coordination. Congratulations, Your email was randomly selected for the 2020 Relief Compensation of $1.5M Package for Third Quarter Reimbursement via certified ATM CARD. Please reach Mrs. Mariam AlMeer for more information. Name: Mrs

Re: [External] Re: [PATCH 5/9] mm: memcontrol: convert NR_FILE_THPS account to pages

2020-12-05 Thread Greg KH
On Sun, Dec 06, 2020 at 12:52:34AM +0800, Muchun Song wrote: > On Sun, Dec 6, 2020 at 12:32 AM Greg KH wrote: > > > > On Sat, Dec 05, 2020 at 11:39:24PM +0800, Muchun Song wrote: > > > On Sat, Dec 5, 2020 at 11:32 PM Greg KH > > > wrote: > > > > > > > > On Sat, Dec 05, 2020 at 11:29:26PM +0800,

[PATCH v3 05/10] powerpc: dts: akebono: Harmonize EHCI/OHCI DT nodes name

2020-12-05 Thread Serge Semin
In accordance with the Generic EHCI/OHCI 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 the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

[PATCH v5 17/19] dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node

2020-12-05 Thread Serge Semin
TI Keystone DWC3 compatible DT node is supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Since DWC USB3 has now got a DT schema describing its DT node, let's make sure the TI Keystone DWC3 sub-node passes validation against it. Signed-off-by: Serge Semi

Re: [PATCH v4 0/3] improve get_feat.pl output when all features are displayed

2020-12-05 Thread Mauro Carvalho Chehab
Em Fri, 4 Dec 2020 14:48:43 -0700 Jonathan Corbet escreveu: > On Fri, 4 Dec 2020 16:32:27 +0100 > Mauro Carvalho Chehab wrote: > > > As requested, those patches improve the output of the script, when all > > features > > are displayed. > > > > The first patch was already posted as-is at v3.

Re: [PATCH v10 17/19] ARM: tegra: Add EMC OPP properties to Tegra20 device-trees

2020-12-05 Thread Krzysztof Kozlowski
On Fri, Dec 04, 2020 at 04:54:55PM +0100, Thierry Reding wrote: > On Tue, Dec 01, 2020 at 01:57:44AM +0300, Dmitry Osipenko wrote: > > 01.12.2020 00:17, Jon Hunter пишет: > > > Hi Dmitry, > > > > > > On 23/11/2020 00:27, Dmitry Osipenko wrote: > > >> Add EMC OPP DVFS tables and update board device

[PATCH 8/8] tty: serial: jsm: Removed assignment in if statement

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index eab82fb6b384..bfd4b55e6c74 100644 -

Re: BUG: KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick

2020-12-05 Thread Thomas Gleixner
On Fri, Dec 04 2020 at 20:53, Marco Elver wrote: > On Fri, 4 Dec 2020 at 20:04, Naresh Kamboju wrote: >> LKFT started testing KCSAN enabled kernel from the linux next tree. >> Here we have found BUG: KCSAN: data-race in tick_nohz_next_event / >> tick_nohz_stop_tick > > Thank you for looking into K

[PATCH v3 04/10] arm: dts: lpc18xx: Harmonize EHCI/OHCI DT nodes name

2020-12-05 Thread Serge Semin
In accordance with the Generic EHCI/OHCI 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 the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

[PATCH] arm64: enable GENERIC_FIND_FIRST_BIT

2020-12-05 Thread Yury Norov
ARM64 doesn't implement find_first_{zero}_bit in arch code and doesn't enable it in config. It leads to using find_next_bit() which is less efficient: : 0: aa0003e4mov x4, x0 4: aa0103e0mov x0, x1 8: b4000181cbz x1, 38 c: f9

[PATCH v3 07/10] arm: dts: stih407-family: Harmonize DWC USB3 DT nodes name

2020-12-05 Thread Serge Semin
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 the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

[PATCH v3 03/10] arc: dts: Harmonize EHCI/OHCI DT nodes name

2020-12-05 Thread Serge Semin
In accordance with the Generic EHCI/OHCI 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 the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

Re: [PATCH v3 2/2] clocksource: arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI

2020-12-05 Thread Marc Zyngier
Hi Daniel, On 2020-12-05 11:15, Daniel Lezcano wrote: Hi Marc, are you fine with this patch ? I am, although there still isn't any justification for the pos/lsb rework in the commit message (and calling that variable lsb is somewhat confusing). If you are going to apply it, please consider ad

Re: [PATCH] mm/memblock:use a more appropriate order calculation when free memblock pages

2020-12-05 Thread Anders Roxell
On Sat, 5 Dec 2020 at 18:09, Anders Roxell wrote: > > On Fri, 4 Dec 2020 at 18:44, Jon Hunter wrote: > > > > > > On 04/12/2020 16:07, Marek Szyprowski wrote: > > > Hi All, > > > > > > On 04.12.2020 14:42, Qian Cai wrote: > > >> On Thu, 2020-12-03 at 23:23 +0800, carver4...@163.com wrote: > > >>>

Re: [PATCH] ACPI: scan: Add PNP0D80 to the _DEP exceptions list

2020-12-05 Thread Hans de Goede
Hi, On 12/5/20 4:29 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The PNP0D80 ("Windows-compatible System Power Management Controller") > device ID is used for identifying the special device object providing > the LPI (Low-power S0 Idle) _DSM interface [1]. That device object > doe

Re: [Bug 202453] TRACE irq/18-i801_smb Tainted when enabled threadirqs in kernel commandline.

2020-12-05 Thread Thomas Gleixner
On Fri, Dec 04 2020 at 21:19, Oleksandr Natalenko wrote: > On Thu, Dec 03, 2020 at 07:04:00PM +, bugzilla-dae...@bugzilla.kernel.org > wrote: >>2) Have a wrapper around handle_generic_irq() which ensures that >> interrupts are disabled before invoking it. > The question is whether i

[PATCH 1/9] mm: vmstat: fix stat_threshold for NR_KERNEL_STACK_KB

2020-12-05 Thread Muchun Song
The kernel stack is being accounted in KiB not page, so the stat_threshold should also adjust to byte. Signed-off-by: Muchun Song --- mm/vmstat.c | 4 1 file changed, 4 insertions(+) diff --git a/mm/vmstat.c b/mm/vmstat.c index 8d77ee426e22..f7857a7052e4 100644 --- a/mm/vmstat.c +++ b/mm/v

Re: [RFC PATCH 0/5] iio: move 'modes' initialization to core

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 12:04:18 +0200 Alexandru Ardelean wrote: > I stumbled over this, while trying to implement some changes to the IIO > buffer logic. > Seems that most drivers have a INDIO_DIRECT_MODE, and some have > INDIO_BUFFER_SOFTWARE only as a workaround for not having multiple IIO > buffer

Re: Patch "spi: Fix controller unregister order" has been added to the 4.4-stable tree

2020-12-05 Thread Lukas Wunner
On Sat, Oct 10, 2020 at 04:41:09PM +0800, yangerkun wrote: > ?? 2020/6/16 9:56, Sasha Levin : > > This is a note to let you know that I've just added the patch titled > > > > spi: Fix controller unregister order > > > > to the 4.4-stable tree which can be found at: [...] > > --- a/driver

Re: [PATCH] acpi: resource: Use AE_ABORT_METHOD to terminate acpi_dev_get_resources()

2020-12-05 Thread Dan Scally
On 05/12/2020 15:21, Rafael J. Wysocki wrote: > On Friday, December 4, 2020 1:27:40 AM CET Daniel Scally wrote: >> Switching this function to AE_CTRL_TERMINATE broke the documented >> behaviour of acpi_dev_get_resources() - AE_CTRL_TERMINATE does not, in >> fact, terminate the resource walk because

Re: [PATCH] USB: dummy-hcd: Fix uninitialized array use in init()

2020-12-05 Thread Alan Stern
On Sat, Dec 05, 2020 at 07:47:01PM +0700, Minh Bùi Quang wrote: > Vào Th 6, 4 thg 12, 2020 vào lúc 23:12 Alan Stern > đã viết: > > Does this initialization end up using less memory than an explicit > > memset() call? > > You mean speed? No, I mean memory space. A memset call requires a certai

Re: [PATCH v2 2/2] iio: dac: ad5766: add driver support for AD5766

2020-12-05 Thread Jonathan Cameron
On Fri, 4 Dec 2020 20:20:43 +0200 Cristian Pop wrote: > The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs > Digital-to-Analog converters. > > This change adds support for these DACs. > > Link: > https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766

[PATCH 7/8] tty: serial: jsm: Fixed file by added more spacing in line 616

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 19d2f0bc6c10..eab82fb6b384 100644 --- a/drive

[PATCH 6/8] tty: serial: jsm: Fixed file by added more spacing in line 615

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 75c9bfa5077c..19d2f0bc6c10 100644 --- a/drive

[PATCH 3/9] mm: memcontrol: convert kernel stack account to byte-sized

2020-12-05 Thread Muchun Song
The kernel stack account is the only one that counts in KiB. This patch convert it from KiB to byte. Signed-off-by: Muchun Song --- drivers/base/node.c| 2 +- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 2 +- kernel/fork.c | 8 mm/memcontrol.c| 2 +- mm/

[no subject]

2020-12-05 Thread george mike
Hallo Mein Name ist George Mike. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der mi

Re: [PATCH v2 3/5] ARM: dts: meson: fix PHY deassert timing requirements

2020-12-05 Thread Martin Blumenstingl
Hi Stefan, On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: > > According to the datasheet (Rev. 1.9) the RTL8211F requires at least > 72ms "for internal circuits settling time" before accessing the PHY > egisters. On similar boards with the same PHY this fixes an issue where there's a typo her

[PATCH 2/8] tty: serial: jsm: Fixed file by added more spacing in line 611

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 512b77195e9f..202d6ba93313 100644 --- a/drivers/tty/s

[PATCH 4/9] mm: memcontrol: convert NR_ANON_THPS account to pages

2020-12-05 Thread Muchun Song
Convert the NR_ANON_THPS account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c | 3 +-- fs/proc/meminfo.c | 2 +- mm/huge_memory.c| 3 ++- mm/memcontrol.c | 20 ++-- mm/page_alloc.c | 2 +- mm/rmap.c | 7 --- 6 files changed, 15 ins

Re: [PATCH] arm64: dts: meson: add KHAMSIN IR remote node to SML5442TW

2020-12-05 Thread Martin Blumenstingl
On Thu, Nov 26, 2020 at 6:05 AM Christian Hewitt wrote: > > Set the IR keymap to the KHAMSIN remote shipped with the SML5442TW. > > Signed-off-by: Christian Hewitt Reviewed-by: Martin Blumenstingl

Re: [External] Re: [PATCH 5/9] mm: memcontrol: convert NR_FILE_THPS account to pages

2020-12-05 Thread Muchun Song
On Sun, Dec 6, 2020 at 12:32 AM Greg KH wrote: > > On Sat, Dec 05, 2020 at 11:39:24PM +0800, Muchun Song wrote: > > On Sat, Dec 5, 2020 at 11:32 PM Greg KH wrote: > > > > > > On Sat, Dec 05, 2020 at 11:29:26PM +0800, Muchun Song wrote: > > > > On Sat, Dec 5, 2020 at 10:09 PM Greg KH > > > > wro

Re: [PATCH v3 2/2] clocksource: arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI

2020-12-05 Thread Daniel Lezcano
Hi Marc, On 05/12/2020 19:22, Marc Zyngier wrote: > Hi Daniel, > > On 2020-12-05 11:15, Daniel Lezcano wrote: >> Hi Marc, >> >> are you fine with this patch ? > > I am, although there still isn't any justification for the pos/lsb > rework in the commit message (and calling that variable lsb is

[PATCH 9/9] mm: memcontrol: make the slab calculation consistent

2020-12-05 Thread Muchun Song
Although the ratio of the slab is one, we also should read the ratio from the related memory_stats instead of hard-coding. And the local variable of size is already the value of slab_unreclaimable. So we do not need to read again. Signed-off-by: Muchun Song --- mm/memcontrol.c | 112

[PATCH 1/8] tty: serial: jsm: Fixed file by added more spacing in line 610

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 689774c073ca..512b77195e9f 100644 --- a/drivers/tty/serial/js

[PATCH 8/9] mm: memcontrol: convert NR_FILE_PMDMAPPED account to pages

2020-12-05 Thread Muchun Song
Convert NR_FILE_PMDMAPPED account to pages Signed-off-by: Muchun Song --- drivers/base/node.c | 3 +-- fs/proc/meminfo.c | 2 +- mm/rmap.c | 6 -- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/node.c index fe90888f90a8..679215cd

Re: [PATCH] arm64: dts: meson: fix spi-max-frequency on Khadas VIM2

2020-12-05 Thread Martin Blumenstingl
On Wed, Nov 25, 2020 at 3:40 AM Christian Hewitt wrote: > > From: Artem Lapkin > > The max frequency for the w25q32 (VIM v1.2) and w25q128 (VIM v1.4) spifc > chip should be 104Mhz not 30MHz. > > Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2") > Signed-off-by: Artem Lapk

Re:

2020-12-05 Thread Yury Norov
On Sat, Dec 5, 2020 at 3:10 AM Rasmus Villemoes wrote: > > On 03/12/2020 19.46, Yury Norov wrote: > > > I would prefer to avoid changing the find*bit() semantics. As for now, > > if any of find_*_bit() > > finds nothing, it returns the size of the bitmap it was passed. > > Yeah, we should actually

Re: [PATCH v2] arm64: dts: meson-sm1: fix typo in opp table

2020-12-05 Thread Martin Blumenstingl
On Mon, Nov 30, 2020 at 7:04 AM Dongjin Kim wrote: > > The freqency 151200 should be 15. there's a typo in "frequency". I hope that Kevin can fix this up while applying the patch > > Signed-off-by: Dongjin Kim apart from the typo above: Reviewed-by: Martin Blumenstingl (while review

[PATCH 5/8] tty: serial: jsm: Fixed file by added more spacing in line 614

2020-12-05 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 45e212be64c4..75c9bfa5077c 100644 --- a/drive

[PATCH net v1 1/2] net: dsa: microchip: fix devicetree parsing of cpu node

2020-12-05 Thread Sven Van Asbroeck
From: Sven Van Asbroeck On the ksz8795, if the devicetree contains a cpu node, devicetree parsing fails and the whole driver errors out. Fix the devicetree parsing code by making it use the correct number of ports. Fixes: 912aae27c6af ("net: dsa: microchip: really look for phy-mode in port nod

[GIT PULL] SCSI fixes for 5.10-rc6

2020-12-05 Thread James Bottomley
Four small fixes in two drivers. The mpt3sas fixes are all timeout under unusual conditions problems and the storvsc is a missed incoming packet validation and a missed error return. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short ch

Re: [External] Re: [PATCH 5/9] mm: memcontrol: convert NR_FILE_THPS account to pages

2020-12-05 Thread Muchun Song
On Sat, Dec 5, 2020 at 10:09 PM Greg KH wrote: > > On Sat, Dec 05, 2020 at 09:02:20PM +0800, Muchun Song wrote: > > Converrt NR_FILE_THPS account to pages. > > > > Signed-off-by: Muchun Song > > --- > > drivers/base/node.c | 3 +-- > > fs/proc/meminfo.c | 2 +- > > mm/filemap.c| 2 +- >

[PATCH net v1 2/2] net: dsa: microchip: improve port count comments

2020-12-05 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Port counts in microchip dsa drivers can be quite confusing: on the ksz8795, ksz_chip_data->port_cnt excludes the cpu port, yet on the ksz9477, it includes the cpu port. Add comments to document this situation explicitly. Fixes: 912aae27c6af ("net: dsa: microchip: really

Re: [PATCH v2 4/5] arm64: dts: meson: g12a: x96-max: fix PHY deassert timing requirements

2020-12-05 Thread Martin Blumenstingl
On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: > > According to the datasheet (Rev. 1.9) the RTL8211F requires at least > 72ms "for internal circuits settling time" before accessing the PHY > egisters. On similar boards with the same PHY this fixes an issue where > Ethernet link would not come

[PATCH 6/9] mm: memcontrol: convert NR_SHMEM_THPS account to pages

2020-12-05 Thread Muchun Song
Convert NR_SHMEM_THPS account to pages Signed-off-by: Muchun Song --- drivers/base/node.c | 3 +-- fs/proc/meminfo.c | 2 +- mm/filemap.c| 2 +- mm/huge_memory.c| 3 ++- mm/khugepaged.c | 2 +- mm/memcontrol.c | 26 ++ mm/page_alloc.c | 2 +

Re: [PATCH v2 5/5] arm64: dts: meson: g12b: w400: fix PHY deassert timing requirements

2020-12-05 Thread Martin Blumenstingl
On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: > > According to the datasheet (Rev. 1.9) the RTL8211F requires at least > 72ms "for internal circuits settling time" before accessing the PHY > egisters. On similar boards with the same PHY this fixes an issue where > Ethernet link would not come

RE: [PATCH 0/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Michael Kelley
From: Stefan Eschenbacher > > According to the TODO comment in hyperv_vmbus.h the value in macro > MAX_NUM_CHANNELS_SUPPORTED should be configurable. The first patch > accomplishes that by introducting uint max_num_channels_supported as > module parameter. > Also macro MAX_NUM_CHANNELS_SUPPORTED_

Re: [PATCH 3/8] Documentation: HID: hiddev editing & corrections

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 22:20:17 -0800 Randy Dunlap wrote: > Do basic editing & correction to hiddev.rst: > - use HID instead of hid consistently One case inline, where I think the usage of hid-core might have been deliberate. > - add hyphenation of multi-word adjectives > - drop a duplicate word >

[PATCH 1/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Stefan Eschenbacher
To make the number of supported channels configurable, this patch introduces uint max_num_channels_supported as module parameter. Also macro MAX_NUM_CHANNELS_SUPPORTED_DEFAULT is introduced with value 256, which is the currently used macro value. MAX_NUM_CHANNELS_SUPPORTED was found and replaced in

[PATCH 3/3] drivers/hv: add default number of vmbus channels to Kconfig

2020-12-05 Thread Stefan Eschenbacher
The default number of vmbus channels (macro MAX_NUM_CHANNELS_SUPPORTED_DEFAULT) is made configurable through the new Kconfig option HYPERV_VMBUS_DEFAULT_CHANNELS. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/Kconfig| 13 +++

[PATCH 2/3] drivers/hv: fix misleading typo in comment

2020-12-05 Thread Stefan Eschenbacher
Fixes a misleading typo in the comment for the macro MAX_NUM_CHANNELS, where two digits have been twisted. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/hyperv_vmbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH v5 18/19] dt-bindings: usb: qcom,dwc3: Validate DWC3 sub-node

2020-12-05 Thread Serge Semin
Qualcomm msm8996/sc7180/sdm845 DWC3 compatible DT nodes are supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Let's use the available DWC USB3 DT schema to validate the Qualcomm DWC3 sub-nodes. Note since the generic DWC USB3 DT node is supposed to be n

[PATCH v5 15/19] dt-bindings: usb: meson-g12a-usb: Fix FL-adj property value

2020-12-05 Thread Serge Semin
An empty snps,quirk-frame-length-adjustment won't cause any change performed by the driver. Moreover the DT schema validation will fail, since it expects the property being assigned with some value. So set fix the example by setting a valid FL-adj value in accordance with Neil Armstrong comment. L

[PATCH v5 07/19] dt-bindings: usb: Convert xHCI bindings to DT schema

2020-12-05 Thread Serge Semin
Currently the DT bindings of Generic xHCI Controllers are described by means of the legacy text file. Since such format is deprecated in favor of the DT schema, let's convert the Generic xHCI Controllers bindings file to the corresponding yaml files. There will be two of them: a DT schema for the x

[PATCH net v4] bonding: fix feature flag setting at init time

2020-12-05 Thread Jarod Wilson
Don't try to adjust XFRM support flags if the bond device isn't yet registered. Bad things can currently happen when netdev_change_features() is called without having wanted_features fully filled in yet. This code runs both on post-module-load mode changes, as well as at module init time, and when

Re: [PATCH v2 00/18] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi S500 SoCs

2020-12-05 Thread Cristian Ciocaltea
Hi Mani, On Sat, Dec 05, 2020 at 11:41:15AM +0530, Manivannan Sadhasivam wrote: > Hi Cristi, > > On Fri, Nov 20, 2020 at 01:55:54AM +0200, Cristian Ciocaltea wrote: > > Hi, > > > > This patchset brings a series of improvements for the Actions Semi S500 > > SoCs family, by adding support for Cloc

[PATCH 5/9] mm: memcontrol: convert NR_FILE_THPS account to pages

2020-12-05 Thread Muchun Song
Converrt NR_FILE_THPS account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c | 3 +-- fs/proc/meminfo.c | 2 +- mm/filemap.c| 2 +- mm/huge_memory.c| 3 ++- mm/khugepaged.c | 2 +- mm/memcontrol.c | 5 ++--- 6 files changed, 8 insertions(+), 9 deletions(-) di

Re: [PATCH 2/8] Documentation: HID: amd-sfh-hid editing & corrections

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 22:20:16 -0800 Randy Dunlap wrote: > Do basic editing & correction to amd-sfh-hid.rst: > - fix punctuation > - use HID instead of hid consistently > - fix grammar, verb tense > > Signed-off-by: Randy Dunlap > Cc: Jiri Kosina > Cc: Jonathan Cameron > Cc: Srinivas Pandruvada

[PATCH RESEND v3 00/10] dt-bindings: usb: Harmonize xHCI/EHCI/OHCI/DWC3 nodes name

2020-12-05 Thread Serge Semin
As the subject states this series is an attempt to harmonize the xHCI, EHCI, OHCI and DWC USB3 DT nodes with the DT schema introduced in the framework of the patchset [1]. Firstly as Krzysztof suggested we've deprecated a support of DWC USB3 controllers with "synopsys,"-vendor prefix compatible st

[PATCH v3 10/10] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name

2020-12-05 Thread Serge Semin
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 the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

Re: [PATCH v2 2/5] arm64: dts: meson: fix PHY deassert timing requirements

2020-12-05 Thread Martin Blumenstingl
On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: > > According to the datasheet (Rev. 1.9) the RTL8211F requires at least > 72ms "for internal circuits settling time" before accessing the PHY > egisters. This fixes an issue seen on ODROID-C2 where the Ethernet > link doesn't come up when using i

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-05 Thread Sean Young
Hello Uwe, On Sat, Dec 05, 2020 at 12:28:34AM +0100, Uwe Kleine-König wrote: > Hello Sean, > > On Fri, Dec 04, 2020 at 11:38:46AM +, Sean Young wrote: > > On Fri, Dec 04, 2020 at 12:13:26PM +0100, Uwe Kleine-König wrote: > > > On Fri, Dec 04, 2020 at 08:44:17AM +, Sean Young wrote: > > >

[PATCH v3 06/10] arm: dts: keystone: Harmonize DWC USB3 DT nodes name

2020-12-05 Thread Serge Semin
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 the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

[PATCH v5 06/19] dt-bindings: usb: Add generic "usb-phy" property

2020-12-05 Thread Serge Semin
Even though the Generic PHY framework is the more preferable way of setting the USB PHY up, there are still many dts-files and DT bindings which rely on having the legacy "usb-phy" specified to attach particular USB PHYs to USB cores. Let's have the "usb-phy" property described in the generic USB H

[PATCH v3 08/10] arm64: dts: apm: Harmonize DWC USB3 DT nodes name

2020-12-05 Thread Serge Semin
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 the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named despite of the warning

[PATCH v5 16/19] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

2020-12-05 Thread Serge Semin
Amlogic G12A USB DT sub-nodes are supposed to be compatible with the generic DWC USB2 and USB3 devices. Since now we've got DT schemas for both of the later IP cores let's make sure that the Amlogic G12A USB DT nodes are fully evaluated including the DWC sub-nodes. Signed-off-by: Serge Semin Revi

[PATCH v5 14/19] dt-bindings: usb: dwc3: Add Frame Length Adj constraints

2020-12-05 Thread Serge Semin
In accordance with the IP core databook the snps,quirk-frame-length-adjustment property can be set within [0, 0x3F]. Let's make sure the DT schema applies a correct constraints on the property. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/usb/snps,dw

[PATCH v3 09/10] usb: dwc3: qcom: Detect DWC3 DT-nodes with "usb"-prefixed names

2020-12-05 Thread Serge Semin
In accordance with the USB HCD/DRD schema all the USB controllers are supposed to have DT-nodes named with prefix "^usb(@.*)?". Since the existing DT-nodes will be renamed in a subsequent patch let's first make sure the DWC3 Qualcomm driver supports them and second falls back to the deprecated nam

[PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node

2020-12-05 Thread Serge Semin
Intel Keem Bay DWC3 compatible DT nodes are supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Let's use the available DWC USB3 DT schema to validate the Qualcomm DWC3 sub-nodes. Note since the generic DWC USB3 DT node is supposed to be named as generic

[PATCH v5 08/19] dt-bindings: usb: xhci: Add Broadcom STB v2 compatible device

2020-12-05 Thread Serge Semin
For some reason the "brcm,xhci-brcm-v2" compatible string has been missing in the original bindings file. Add it to the Generic xHCI Controllers DT schema since the controller driver expects it to be supported. Signed-off-by: Serge Semin Acked-by: Florian Fainelli Reviewed-by: Rob Herring ---

[PATCH RESEND v4 0/3] usb: dwc3: ulpi: Fix UPLI registers read/write ops

2020-12-05 Thread Serge Semin
Our Baikal-T1 SoC is equipped with DWC USB3 IP core as a USB2.0 bus controller. In general the DWC USB3 driver is working well for it except the ULPI-bus part. We've found out that the DWC USB3 ULPI-bus driver detected PHY with VID:PID tuple as 0x:0x, which of course wasn't true since it wa

[PATCH v4 1/3] usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion

2020-12-05 Thread Serge Semin
In accordance with [1] the DWC_usb3 core sets the GUSB2PHYACCn.VStsDone bit when the PHY vendor control access is done and clears it when the application initiates a new transaction. The doc doesn't say anything about the GUSB2PHYACCn.VStsBsy flag serving for the same purpose. Moreover we've discov

Re: [PATCH] spi: dw: Fix error return code in dw_spi_bt1_probe()

2020-12-05 Thread Serge Semin
Hello Zhang On Fri, Dec 04, 2020 at 04:42:37PM +0800, Zhang Changzhong wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: abf00907538e ("spi: dw: Add Baikal-T1 SPI Controller glue driver") > Reported-by: Hulk Ro

Re: [PATCH 1/7] soundwire: bus: use sdw_update_no_pm when initializing a device

2020-12-05 Thread Pierre-Louis Bossart
Thanks for the review Vinod. On 12/5/20 1:45 AM, Vinod Koul wrote: On 03-12-20, 04:46, Bard Liao wrote: From: Pierre-Louis Bossart When a Slave device is resumed, it may resume the bus and restart the enumeration. During that process, we absolutely don't want to call regular read/write routin

Re: [PATCH v4 11/19] sched/core: Make migrate disable and CPU hotplug cooperative

2020-12-05 Thread Valentin Schneider
On 04/12/20 21:19, Qian Cai wrote: > On Tue, 2020-11-17 at 19:28 +, Valentin Schneider wrote: >> We did have some breakage in that area, but all the holes I was aware of >> have been plugged. What would help here is to see which tasks are still >> queued on that outgoing CPU, and their recent

[PATCH v4 2/3] usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one

2020-12-05 Thread Serge Semin
Originally the procedure of the ULPI transaction finish detection has been developed as a simple busy-loop with just decrementing counter and no delays. It's wrong since on different systems the loop will take a different time to complete. So if the system bus and CPU are fast enough to overtake th

[PATCH v4 3/3] usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression

2020-12-05 Thread Serge Semin
First of all the commit e0082698b689 ("usb: dwc3: ulpi: conditionally resume ULPI PHY") introduced the Suspend USB2.0 HS/FS/LS PHY regression, as by design of the fix any attempt to read/write from/to the PHY control registers will completely disable the PHY suspension, which consequently will incr

[PATCH v5 12/19] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string

2020-12-05 Thread Serge Semin
The DWC USB3 driver and some DTS files like Exynos 5250, Keystone k2e, etc expects the DWC USB3 DT node to have the compatible string with the "synopsys" vendor prefix. Let's add the corresponding compatible string to the controller DT schema, but mark it as deprecated seeing the Synopsys, Inc. is

[PATCH v5 13/19] dt-bindings: usb: dwc3: Add Tx De-emphasis constraints

2020-12-05 Thread Serge Semin
In accordance with the driver comments the PIPE3 de-emphasis can be tuned to be either -6dB, -2.5dB or disabled. Let's add the de-emphasis property constraints so the DT schema would make sure the controller DT node is equipped with correct value. Signed-off-by: Serge Semin Reviewed-by: Rob Herri

Re: [PATCH] fix namespaced fscaps when !CONFIG_SECURITY

2020-12-05 Thread Serge E. Hallyn
Oh, I see you'd changed it inline :) Thanks On Sat, Dec 05, 2020 at 11:40:00AM -0600, Serge E. Hallyn wrote: > How odd - where did that come from? > > James, I force-pushed that with corrected bugzilla link to > 2020-11-29/fix-nscaps. Sorry about that. > > On Fri, Dec 04, 2020 at 07:58:14AM -0

Re: [PATCH] interconnect: qcom: fix rpmh link failures

2020-12-05 Thread Arnd Bergmann
On Sat, Dec 5, 2020 at 12:27 AM Bjorn Andersson wrote: > On Fri 04 Dec 10:50 CST 2020, Arnd Bergmann wrote: > > Your patch looks correct to me, so: > Reviewed-by: Bjorn Andersson > > > But we're going to have to sprinkle a handful of these throughout the > tree and we're not a lot of people who

[PATCH v5 11/19] dt-bindings: usb: dwc3: Add interrupt-names property support

2020-12-05 Thread Serge Semin
The controller driver supports two types of DWC USB3 devices: with a common interrupt lane and with individual interrupts for each mode. Add support for both these cases to the DWC USB3 DT schema. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v2: - Grammar fix: "s/both of t

[PATCH v5 05/19] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-12-05 Thread Serge Semin
The host controller device might be designed to work for the particular products or applications. In that case its DT node is supposed to be equipped with the tpl-support property. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v2: - Grammar fix: "s/it'/its" - Discard '|' fr

Re: [PATCH 1/8] tty: serial: jsm: Fixed file by added more spacing in line 610

2020-12-05 Thread Greg KH
On Sat, Dec 05, 2020 at 07:50:08PM +0530, Clement Smith wrote: > Fixed a coding style issue > > Signed-off-by: Clement Smith > --- > drivers/tty/serial/jsm/jsm_tty.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) The subject lines in this series is really funny. Please don't do this.

Re: [PATCH 4/8] Documentation: HID: intel-ish-hid editing & corrections

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 22:20:18 -0800 Randy Dunlap wrote: > Do basic editing & correction to intel-ish-hid.rst: > - fix grammar, verb tense, punctutation, and word phrasing > - fix spellos > - hyphenate multi-word adjectives > - collapse 2 spaces to one space in the middle of sentences > - use "I2C"

<    1   2   3   4   5   >