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

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

[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

[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] 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

[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

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 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

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

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: [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

[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: [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

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: [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 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

[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

[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 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 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

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 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: [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,

{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

[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

[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 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

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

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] 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

[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

[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 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

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 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

[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 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

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

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 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-05 Thread Gross, Mark
> -Original Message- > From: Greg KH > Sent: Saturday, December 5, 2020 12:40 AM > To: mark gross > Cc: markgr...@kernel.org; a...@arndb.de; b...@suse.de; > damien.lem...@wdc.com; dragan.cve...@xilinx.com; cor...@lwn.net; > leonard.cres...@nxp.com; palmerdabb...@google.com; > paul.walm

[PATCH 0/9] Convert all THP vmstat counters to pages

2020-12-05 Thread Muchun Song
Hi, This patch series is aimed to convert all THP vmstat counters to pages and the kernel stack vmstat counter to bytes. The unit of some vmstat counters are pages, the unit of some vmstat counters are bytes, the unit of some vmstat counters are HPAGE_PMD_NR, and the unit of some vmstat counters

Re: [linux-sunxi] Re: [PATCH 5/8] clk: sunxi-ng: Add support for the Allwinner H616 CCU

2020-12-05 Thread Icenowy Zheng
在 2020-12-02星期三的 23:06 +,André Przywara写道: > On 02/12/2020 21:03, Jernej Škrabec wrote: > > Dne sreda, 02. december 2020 ob 14:54:06 CET je Andre Przywara > > napisal(a): > > > While the clocks are fairly similar to the H6, many differ in > > > tiny > > > details, so a separate clock driver see

Re: [PATCH v3 2/3] iio: hid-sensors: Add hinge sensor driver

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 11:53:51 +0800 Ye Xiang wrote: > The Hinge sensor is a common custom sensor on laptops. It calculates > the angle between the lid (screen) and the base (keyboard). In addition, > it also exposes screen and the keyboard angles with respect to the > ground. Applications can easi

Re: [PATCH 1/2] cpufreq: sun50i: add a100 cpufreq support

2020-12-05 Thread Frank Lee
HI Maxime, Any comment? BR / Yangtao

Re: [PATCH net v1] net: dsa: ksz8795: use correct number of physical ports

2020-12-05 Thread Sven Van Asbroeck
Jakub, Andrew, On Fri, Dec 4, 2020 at 6:24 PM Jakub Kicinski wrote: > > All the port counts here are -1 compared to datasheets, so I'm assuming > the are not supposed to include the host facing port or something? > > Can you describe the exact problem you're trying to solve? > The ksz8795 driver

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-05 Thread Christoph Hellwig
Yes, I think at this point in the release cycle the specific powerpc fix is safer anyway. But this screams for an eventual general solution.

Re: [PATCH 1/2] soc: samsung: exynos-chipid: order list of SoCs by name

2020-12-05 Thread Krzysztof Kozlowski
On Wed, 2 Dec 2020 21:59:54 +0200, Krzysztof Kozlowski wrote: > Bring some order to the list of SoCs. No functional change. Applied, thanks! [1/2] soc: samsung: exynos-chipid: order list of SoCs by name [2/2] soc: samsung: exynos-chipid: initialize later - with arch_initcall commit: 3b4c36

Re: [PATCH 4/4] clk: Ingenic: Fill unused bits in parents and reformat code.

2020-12-05 Thread Zhou Yanjie
Hi Paul, On 2020/12/3 上午6:09, Paul Cercueil wrote: Hi Zhou, Le jeu. 26 nov. 2020 à 1:26, 周琰杰 (Zhou Yanjie) a écrit : 1.Fill unused bits in parents in jz4780-cgu.c, x1000-cgu.c,   and x1830-cgu.c, these bits should be filled with -1. 2.Reformat code, add missing blank lines, remove unnecessar

[PATCH 2/9] mm: memcontrol: fix NR_ANON_THPS account

2020-12-05 Thread Muchun Song
The unit of NR_ANON_THPS is HPAGE_PMD_NR already. So it should inc/dec by one rather than nr_pages. Fixes: 468c398233da ("mm: memcontrol: switch to native NR_ANON_THPS counter") Signed-off-by: Muchun Song --- mm/memcontrol.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[GIT PULL] Please pull powerpc/linux.git powerpc-5.10-5 tag

2020-12-05 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.10. The change to kernel/cpu.c is just adding an optional arch override, and has Peter's ack. cheers The following changes since commit b6b79dd53082db11070b4368d85dd6699ff0b063: powerpc/64s:

[PATCH 7/9] mm: memcontrol: convert NR_SHMEM_PMDMAPPED account to pages

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

Re: [PATCH 4/7] soundwire/regmap: use _no_pm functions in regmap_read/write

2020-12-05 Thread Pierre-Louis Bossart
-static int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) +int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) { return sdw_nwrite_no_pm(slave, addr, 1, &value); } +EXPORT_SYMBOL(sdw_write_no_pm); Why not export this is patch 1..? yes, good point. I g

Re: [PATCH 5/7] regmap: sdw: use no_pm routines for SoundWire 1.2 MBQ

2020-12-05 Thread Pierre-Louis Bossart
MODULE_DESCRIPTION("Regmap SoundWire MBQ Module"); -MODULE_LICENSE("GPL v2"); +MODULE_LICENSE("GPL"); Why do you want to change this ? We only use MODULE_LICENSE("GPL") for new contributions since 'GPL v2' does not bring any information on the license, is equivalent to 'GPL' and only ex

Re: [PATCH] staging: greybus: audio: Fix possible leak free widgets in gbaudio_dapm_free_controls

2020-12-05 Thread Vaibhav Agarwal
On Sat, Dec 5, 2020 at 4:02 PM Wang Hai wrote: > > In gbaudio_dapm_free_controls(), if one of the widgets is not found, an error > will be returned directly, which will cause the rest to be unable to be freed, > resulting in leak. > > This patch fixes the bug. If if one of them is not found, just

Re: [PATCH 3/4] clk: Ingenic: Add missing clocks for Ingenic SoCs.

2020-12-05 Thread Zhou Yanjie
Hi Paul, On 2020/12/3 上午6:18, Paul Cercueil wrote: Hi Zhou, Le jeu. 26 nov. 2020 à 1:26, 周琰杰 (Zhou Yanjie) a écrit : Add CIM, AIC, DMIC clocks for the X1000 SoC, and CIM, AIC, DMIC, I2S clocks for the X1830 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) ---  drivers/clk/ingenic/x1000-c

Re: [PATCH] memory: jz4780_nemc: Fix potential NULL dereference in jz4780_nemc_probe()

2020-12-05 Thread Krzysztof Kozlowski
On Fri, 4 Dec 2020 16:31:57 +0800, Zhang Changzhong wrote: > platform_get_resource() may fail and return NULL, so we should > better check it's return value to avoid a NULL pointer dereference > a bit later in the code. > > This is detected by Coccinelle semantic patch. > > @@ > expression pdev,

Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-05 Thread Krzysztof Kozlowski
On Fri, 4 Dec 2020 10:16:11 +0100, Arnd Bergmann wrote: > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' > defined but not used [-Werror=unused-fu

Re: [PATCH] pcmcia/electra_cf: Fix some return values in 'electra_cf_probe()' in case of error

2020-12-05 Thread Dominik Brodowski
Am Wed, Jun 17, 2020 at 09:53:26PM +0200 schrieb Christophe JAILLET: > 'status' is known to be 0 at this point. It must be set to a meaningful > value in order to return an error code if one of the 'of_get_property()' > call fails. > > Return -EINVAL in such a case. > > Fixes: 2b571a066a2f("pcmci

Re: [PATCH] memory: ti-emif-sram: only build for ARMv7

2020-12-05 Thread Krzysztof Kozlowski
On Fri, 4 Dec 2020 00:08:14 +0100, Arnd Bergmann wrote: > The driver can be compile-tested on all ARM machines, but > causes a failure when built for ARMv7-M: > > arm-linux-gnueabi-ld: error: drivers/memory/ti-emif-sram-pm.o: conflicting > architecture profiles A/M > > Limit the target machines

Re: [PATCH] i2c: mlxbf: select CONFIG_I2C_SLAVE

2020-12-05 Thread Wolfram Sang
On Thu, Dec 03, 2020 at 11:32:50PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > If this is not enabled, the interfaces used in this driver do not work: > > drivers/i2c/busses/i2c-mlxbf.c:1888:3: error: implicit declaration of > function 'i2c_slave_event' [-Werror,-Wimplicit-function-de

Re: [PATCH v11 00/10] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-12-05 Thread Krzysztof Kozlowski
On Thu, 3 Dec 2020 22:24:29 +0300, Dmitry Osipenko wrote: > This series brings initial support for memory interconnect to Tegra20, > Tegra30 and Tegra124 SoCs. > > For the starter only display controllers and devfreq devices are getting > interconnect API support, others could be supported later o

Re: [PATCH 2/2] arm64: dts: allwinner: a100: Add CPU Operating Performance Points table

2020-12-05 Thread Frank Lee
HI shuosheng, On Fri, Dec 4, 2020 at 3:11 PM Shuosheng Huang wrote: > > Add an Operating Performance Points table for the CPU cores to > enable Dynamic Voltage & Frequency Scaling on the A100. > > Signed-off-by: Shuosheng Huang > --- > .../allwinner/sun50i-a100-allwinner-perf1.dts | 5 ++ > ..

[PATCH v5 0/4] scsi: ufs: Refine error history and introduce event_notify vop

2020-12-05 Thread Stanley Chu
Hi, This series refines error history functions and introduces a new event_notify vop to allow vendor to get notification of important events. Changes since v4: - Seperate patch sets according to Avri's suggestion Changes since v3: - Fix build warning in patch [8/8] Changes since v2: - Ad

[PATCH v5 3/4] scsi: ufs: Introduce event_notify variant function

2020-12-05 Thread Stanley Chu
Introduce event_notify variant function to allow vendor to get notification of important events and connect to any proprietary debugging facilities. Reviewed-by: Asutosh Das Reviewed-by: Can Guo Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 2 ++ drivers/scsi/ufs/ufshcd.h | 11 ++

[PATCH v1 4/4] scsi: ufs-dwc: Use phy_initialization helper

2020-12-05 Thread Stanley Chu
Use phy_initialization helper instead of direct invoking. Reviewed-by: Avri Altman Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd-dwc.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd-dwc.c b/drivers/scsi/ufs/ufshcd-dwc.c index 6a9

[PATCH v1 2/4] scsi: ufs: Introduce phy_initialization helper

2020-12-05 Thread Stanley Chu
Introduce phy_initialization helper since this is the only one variant function without helper. Reviewed-by: Avri Altman Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h ind

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

2020-12-05 Thread Minh Bùi Quang
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? In my opinion, there is no difference in speed between 2 ways. When I compile this array initialization using gcc 5.4.0, this initial

[PATCH v1 3/4] scsi: ufs-cdns: Use phy_initialization helper

2020-12-05 Thread Stanley Chu
Use phy_initialization helper instead of direct function invoking. Reviewed-by: Avri Altman Signed-off-by: Stanley Chu --- drivers/scsi/ufs/cdns-pltfrm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c index d

[PATCH v5 4/4] scsi: ufs-mediatek: Introduce event_notify implementation

2020-12-05 Thread Stanley Chu
Introduce event_notify implementation on MediaTek UFS platform. A vendor-specific tracepoint is added that could be used for debugging purpose. Reviewed-by: Avri Altman Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek-trace.h | 37 +++ drivers/scsi/ufs/ufs-m

Re: [PATCH v6] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-05 Thread Joe Perches
On Sat, 2020-12-05 at 15:52 +0530, Aditya wrote: > On 4/12/20 8:10 pm, Aditya Srivastava wrote: > > Currently, checkpatch.pl warns us for BAD_SIGN_OFF on the usage of > > non-standard signatures. [] > > The standard signature equivalent for 'Co-authored-by' is > > 'Co-developed-by'. > > > > Provid

Re: WARN_ON_ONCE

2020-12-05 Thread Michael Ellerman
Alexey Kardashevskiy writes: > On 04/12/2020 12:25, Michael Ellerman wrote: >> Dmitry Vyukov writes: >>> On Thu, Dec 3, 2020 at 10:19 AM Dmitry Vyukov wrote: On Thu, Dec 3, 2020 at 10:10 AM Alexey Kardashevskiy wrote: > > Hi! > > Syzkaller triggered WARN_ON_ONCE at >>

[PATCH v1 0/4] scsi: ufs: Cleanup phy_initialization vop

2020-12-05 Thread Stanley Chu
Hi, This series simply cleans up UFS vops and shall not change any functionality. Stanley Chu (4): scsi: ufs: Remove unused setup_regulators variant function scsi: ufs: Introduce phy_initialization helper scsi: ufs-cdns: Use phy_initialization helper scsi: ufs-dwc: Use phy_initialization h

[PATCH v1 1/4] scsi: ufs: Remove unused setup_regulators variant function

2020-12-05 Thread Stanley Chu
Since setup_regulators variant function is not used by any vendors, simply remove it. Reviewed-by: Avri Altman Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 10 +- drivers/scsi/ufs/ufshcd.h | 10 -- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/driv

[PATCH v5 1/4] scsi: ufs: Add error history for abort event in UFS Device W-LUN

2020-12-05 Thread Stanley Chu
Add error history for abort event in UFS Device W-LUN. Besides, use specified value as parameter of ufshcd_update_reg_hist() to identify the aborted tag or LUNs. Reviewed-by: Asutosh Das Reviewed-by: Can Guo Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 6 -- 1 file changed, 4

Re: [PATCH v6] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-05 Thread Aditya
On 5/12/20 5:33 pm, Joe Perches wrote: > On Sat, 2020-12-05 at 15:52 +0530, Aditya wrote: >> On 4/12/20 8:10 pm, Aditya Srivastava wrote: >>> Currently, checkpatch.pl warns us for BAD_SIGN_OFF on the usage of >>> non-standard signatures. > [] >>> The standard signature equivalent for 'Co-authored-b

RE: [PATCH v4 0/8] Refine error history and introduce event_notify vop

2020-12-05 Thread Stanley Chu
Hi Avri, On Sat, 2020-12-05 at 16:05 +0800, Avri Altman wrote: > > > > Hi Stanley, > > Will you split this series to 3 separate series: > > Phy initialization cleanup, Error history, and event notification? > > As those 3 aren't really connected? > > > > Please maintain Can's reviewed-by tag for

[PATCH v5 2/4] scsi: ufs: Refine error history functions

2020-12-05 Thread Stanley Chu
Nowadays UFS error history does not only have "history of errors" but also have history of some other events which are not defined as errors. This patch fixes the confused naming of related functions, and change the way for updating and printing history as preparation of next patch. This patch sh

Re: [PATCH] MAINTAINERS: Update 68k Mac entry

2020-12-05 Thread Michael Ellerman
Finn Thain writes: > Two files under drivers/macintosh are actually m68k-only. I think that > patches for these files should be reviewed in the appropriate forum and > merged via the appropriate tree, rather than falling to the powerpc > maintainers to deal with. Update the "M68K ON APPLE MACINTOS

Re: [PATCHv2] clocksource: dw_apb_timer_of: add error handling if no clock available

2020-12-05 Thread Daniel Lezcano
On 05/12/2020 11:55, Dinh Nguyen wrote: > Hi Daniel, > > On 12/5/20 2:50 AM, Daniel Lezcano wrote: >> On 04/12/2020 23:39, Dinh Nguyen wrote: >>> >>> >>> On 12/4/20 2:00 PM, Daniel Lezcano wrote: On 04/12/2020 16:36, Dinh Nguyen wrote: > commit ("b0fc70ce1f02 arm64: berlin: Select DW_APB_

[PATCHv3] clocksource: dw_apb_timer_of: add error handling if no clock available

2020-12-05 Thread Dinh Nguyen
commit ("b0fc70ce1f02 arm64: berlin: Select DW_APB_TIMER_OF") added the support for the dw_apb_timer into the arm64 defconfig. However, for some platforms like the Intel Stratix10 and Agilex, the clock manager doesn't get loaded until after the timer driver get loaded. Thus, the driver hits the pan

Re: [PATCH] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-05 Thread Daniel Lezcano
On 04/12/2020 20:09, Manaf Meethalavalappu Pallikunhi wrote: > There is a possible chance that some cooling device stats buffer > allocation fails due to very high cooling device max state value. > Later cooling device update or cooling stats sysfs will try to > access stats data for the same cooli

Re: [PATCH 2/3] scsi: ufs: Keep device power on only fWriteBoosterBufferFlushDuringHibernate == 1

2020-12-05 Thread Bean Huo
On Thu, 2020-12-03 at 07:27 +, Avri Altman wrote: > > > > From: Bean Huo > > > > Keep device power mode as active power mode and VCC supply only if > > fWriteBoosterBufferFlushDuringHibernate setting 1 is successful. > Hi Avri Thanks so much taking time reiew. > Why would it fail? During

Re: [PATCH 1/7] net: 8021q: remove unneeded MODULE_VERSION() usage

2020-12-05 Thread Vladimir Oltean
On Wed, Dec 02, 2020 at 01:49:53PM +0100, Enrico Weigelt, metux IT consult wrote: > Remove MODULE_VERSION(), as it isn't needed at all: the only version > making sense is the kernel version. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > net/8021q/vlan.c | 8 +--- > 1 file chang

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

2020-12-05 Thread Daniel Lezcano
Hi Marc, are you fine with this patch ? On 04/12/2020 08:31, Keqian Zhu wrote: > ARM virtual counter supports event stream, it can only trigger an event > when the trigger bit (the value of CNTKCTL_EL1.EVNTI) of CNTVCT_EL0 changes, > so the actual period of event stream is 2^(cntkctl_evnti +

Re: [PATCH v4 00/10] Introduced new Cadence USBSSP DRD Driver.

2020-12-05 Thread Peter Chen
On 20-12-05 11:12:44, Aswath Govindraju wrote: > Hi, > On 04/12/20 6:49 am, Peter Chen wrote: > > > >> This patch introduce new Cadence USBSS DRD driver to linux kernel. > >> > >> The Cadence USBSS DRD Controller is a highly configurable IP Core which can > >> be instantiated as Dual-Role Device

[PATCH v5 2/2] usb: typec: tps6598x: Export some power supply properties

2020-12-05 Thread Guido Günther
This allows downstream supplies and userspace to detect whether external power is supplied. Signed-off-by: Guido Günther Reviewed-by: Heikki Krogerus Reviewed-by: Andy Shevchenko --- drivers/usb/typec/Kconfig| 1 + drivers/usb/typec/tps6598x.c | 103 +++ 2

Re:

2020-12-05 Thread Rasmus Villemoes
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 try to fix that, it causes bad code generation. It's hard, because ca

[PATCH v5 1/2] usb: typec: tps6598x: Select USB_ROLE_SWITCH and REGMAP_I2C

2020-12-05 Thread Guido Günther
This is more in line with what tcpm does and will be needed to avoid recursive dependency like > drivers/power/supply/Kconfig:2:error: recursive dependency detected! drivers/power/supply/Kconfig:2: symbol POWER_SUPPLY is selected by TYPEC_TPS6598X drivers/usb/typec/Kconfig:64: symbol TYPEC

[PATCH v5 0/2] usb: typec: tps6598x: Export some power supply properties

2020-12-05 Thread Guido Günther
This allows downstream supplies and userspace to detect whether external power is supplied. The Librem 5 has the tp65982 in front of bq25980 charge controller. Since that is capable of sinking and sourcing power the online property helps to decide what to do. It also makes upower happy. There wi

Re: [PATCH RFC] mm: Let readahead submit larger batches of pages in case of ra->ra_pages == 0

2020-12-05 Thread Bean Huo
On Fri, 2020-09-11 at 10:47 +0100, Christoph Hellwig wrote: > > Hi Andrew > > Sorry, I am still not quite understanding your above three > > questions. > > > > Based on my shallow understanding, ra_pages is associated with > > read_ahead_kb. Seems ra_pages controls the maximum read-ahead > > wind

Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.

2020-12-05 Thread Michael Ellerman
Michal Suchanek writes: > Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP > enabled") redefines __clear_user as inline function but does not remove > the export. > > Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled") > > Signed-off-by: Michal Suchanek > --- >

Re: [PATCHv2] clocksource: dw_apb_timer_of: add error handling if no clock available

2020-12-05 Thread Dinh Nguyen
Hi Daniel, On 12/5/20 2:50 AM, Daniel Lezcano wrote: On 04/12/2020 23:39, Dinh Nguyen wrote: On 12/4/20 2:00 PM, Daniel Lezcano wrote: On 04/12/2020 16:36, Dinh Nguyen wrote: commit ("b0fc70ce1f02 arm64: berlin: Select DW_APB_TIMER_OF") added the support for the dw_apb_timer into the arm64

<    1   2   3   4   5   >