Re: Fix hibernation in FIPS mode?

2021-03-30 Thread Chris von Recklinghausen
On 3/30/21 10:46 AM, Rafael J. Wysocki wrote: On Tue, Mar 30, 2021 at 12:14 AM Dexuan Cui wrote: Hi, MD5 was marked incompliant with FIPS in 2009: a3bef3a31a19 ("crypto: testmgr - Skip algs not flagged fips_allowed in fips mode") a1915d51e8e7 ("crypto: testmgr - Mark algs allowed in fips mode"

Re: [PATCH v1 1/4] docs: make reporting-issues.rst official and delete reporting-bugs.rst

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 04:13:04PM +0200, Thorsten Leemhuis wrote: > Remove the WIP and two FIXME notes in the text to make it official, as > it's now considered fully ready for consumption. To make sure this > step is okay for people the intent of this change and the latest version > of the text w

Re: [PATCH v1 1/4] docs: make reporting-issues.rst official and delete reporting-bugs.rst

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 04:13:04PM +0200, Thorsten Leemhuis wrote: > Removing Documentation/admin-guide/reporting-bugs.rst will break links > in some of the translations. I was unsure if simply changing them to > Documentation/admin-guide/reporting-issue.rst was wise, so I didn't > touch anything f

[PATCH] arm64: dts: ls1028a-rdb: enable optee node

2021-03-30 Thread Sahil Malhotra
From: Sahil Malhotra optee node was disabled by default, enabling it for ls1028a-rdb. Signed-off-by: Michael Walle Signed-off-by: Sahil Malhotra --- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi| 2 +- 2 files changed, 5 inserti

Re: [PATCH v2 3/7] USB: serial: xr: add support for multi-port XR21V141X variants

2021-03-30 Thread Johan Hovold
On Wed, Mar 24, 2021 at 08:41:07AM +0100, Mauro Carvalho Chehab wrote: > XR21V1412 and XR21V1414 have exactly the same interface, but > they support multiple 2 and 4 ports, respectively. > > On such devices, the "CDC Union" field shows how they're > grouped, as can be seen on those lsusb -v output

Re: [PATCH 0/4] USB: serial: add support for multi-interface functions

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 04:38:16PM +0200, Johan Hovold wrote: > A single USB function can be implemented using a group of interfaces and > this is for example commonly used for Communication Class devices. > > This series adds support for multi-interface functions to USB serial > core and expo

arch/arm64/kernel/hibernate.c:202:44: sparse: sparse: cast from restricted gfp_t

2021-03-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e43c377a79f9189fea8f2711b399d4e8b4e609b commit: 50f53fb721817a6efa541cca24f1b7caa84801c1 arm64: trans_pgd: make trans_pgd_map_page generic date: 9 weeks ago config: arm64-randconfig-s032-20210330

Re: [PATCH net-next v1 2/3] net: phy: at803x: AR8085: add loopback support

2021-03-30 Thread Andrew Lunn
On Tue, Mar 30, 2021 at 03:54:06PM +0200, Oleksij Rempel wrote: > PHY loopback is needed for the ethernet controller self test support. > This PHY was tested with the FEC sefltest. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/phy/at803x.c | 25 + > 1 file changed

Re: [PATCH v1 5/5] cpuidle: menu: Take negative "sleep length" values into account

2021-03-30 Thread Rafael J. Wysocki
On Tue, Mar 30, 2021 at 4:00 AM Zhou Ti (x2019cwm) wrote: > > On Mon 2021-03-29 14:37 Rafael J. Wysocki wrote: > > Make the menu governor check the tick_nohz_get_next_hrtimer() > > return value so as to avoid dealing with negative "sleep length" > > values and make it use that value directly when

Re: [PATCH] mm: page_alloc: ignore init_on_free=1 for page alloc

2021-03-30 Thread Andrey Konovalov
On Tue, Mar 30, 2021 at 12:07 AM Vlastimil Babka wrote: > > On 3/30/21 12:00 AM, Andrey Konovalov wrote: > > On Mon, Mar 29, 2021 at 2:10 PM Vlastimil Babka wrote: > >> > >> > commit 855a9c4018f3219db8be7e4b9a65ab22aebfde82 > >> > Author: Andrey Konovalov > >> > Date: Thu Mar 18 17:01:40 2021

[PATCH v6 9/9] soundwire: qcom: wait for enumeration to be complete in probe

2021-03-30 Thread Srinivas Kandagatla
Signed-off-by: Srinivas Kandagatla Reviewed-by: Pierre-Louis Bossart --- drivers/soundwire/qcom.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c index b1dbaf8263e5..b08ecb9b418c 100644 --- a/drivers/soundwire/qcom.c +++ b/drivers/soun

[PATCH v6 7/9] soundwire: export sdw_compare_devid, sdw_extract_slave_id and sdw_slave_add

2021-03-30 Thread Srinivas Kandagatla
Exporting these three functions makes sense as it can be used by other controllers like Qualcomm during auto-enumeration! Reported-by: kernel test robot Signed-off-by: Srinivas Kandagatla --- drivers/soundwire/bus.c | 4 +++- drivers/soundwire/slave.c | 1 + include/linux/soundwire/sd

[PATCH v6 8/9] soundwire: qcom: add auto enumeration support

2021-03-30 Thread Srinivas Kandagatla
Qualcomm SoundWire controller supports Auto Enumeration of the devices within the IP. This patch enables support for this feature. Signed-off-by: Srinivas Kandagatla Reviewed-by: Pierre-Louis Bossart --- drivers/soundwire/qcom.c | 86 +--- 1 file changed, 81

[PATCH v6 6/9] soundwire: qcom: add support to new interrupts

2021-03-30 Thread Srinivas Kandagatla
Add support to new interrupts which includes reporting some of the error interrupts and adding support to SLAVE pending interrupt! This patch also changes the interrupt handler behaviour on handling any pending interrupts by checking it before returning out of irq handler. Signed-off-by: Srinivas

[PATCH v6 5/9] soundwire: qcom: update register read/write routine

2021-03-30 Thread Srinivas Kandagatla
In the existing code every soundwire register read and register write are kinda blocked. Each of these are using a special command id that generates interrupt after it successfully finishes. This is really overhead, limiting and not really necessary unless we are doing something special. We can si

[PATCH v6 3/9] soundwire: qcom: set continue execution flag for ignored commands

2021-03-30 Thread Srinivas Kandagatla
version 1.5.1 and higher IPs of this controller required to set continue execution on ignored command flag. This patch sets this flag. Signed-off-by: Srinivas Kandagatla Reviewed-by: Pierre-Louis Bossart --- drivers/soundwire/qcom.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion

[PATCH v6 2/9] soundwire: qcom: add support to missing transport params

2021-03-30 Thread Srinivas Kandagatla
Some of the transport parameters derived from device tree are not fully parsed by the driver. This patch adds support to parse those missing parameters. Signed-off-by: Srinivas Kandagatla Reviewed-by: Pierre-Louis Bossart --- drivers/soundwire/qcom.c | 106 ++---

[PATCH v6 4/9] soundwire: qcom: start the clock during initialization

2021-03-30 Thread Srinivas Kandagatla
Start the clock during initialization, doing this explicitly will add more clarity when we are adding clock stop feature. Signed-off-by: Srinivas Kandagatla Reviewed-by: Pierre-Louis Bossart --- drivers/soundwire/qcom.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soundwire/qc

[PATCH v6 1/9] dt-bindings: soundwire: qcom: clarify data port bus parameters

2021-03-30 Thread Srinivas Kandagatla
Some of the parameters for data ports are not applicable or not implemented in IP. So mark them as invalid/not applicable in DT so that controller is aware of this. Add comment to these bindings to provide more clarity on the values! Signed-off-by: Srinivas Kandagatla Acked-by: Rob Herring Revi

[PATCH v6 0/9] soundwire: qcom: various improvements

2021-03-30 Thread Srinivas Kandagatla
Thanks for reviewing v5 of this patchset! During testing SoundWire controller on SM8250 MTP, we found few issues like all the interrupts are not handled, all transport parameters are not read from device tree. Patch to add Auto Enumeration supported by the controller is also part of this series.

Re: [PATCH v1 1/1] i2c: designware: Switch over to i2c_freq_mode_string()

2021-03-30 Thread kernel test robot
Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v5.12-rc5 next-20210330] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as doc

Re: [PATCH v2] dt-bindings: interrupt-controller: Convert bindings to yaml for qcom,pdc

2021-03-30 Thread Rob Herring
On Mon, Mar 22, 2021 at 04:00:15PM +0530, Maulik Shah wrote: > This change converts PDC interrupt controller bindings to yaml. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Maulik Shah > --- > This change depends on [1] which adds sc7280 compatible for PDC > > Changes in v2: > - Document o

Re: Fix hibernation in FIPS mode?

2021-03-30 Thread Rafael J. Wysocki
On Tue, Mar 30, 2021 at 12:14 AM Dexuan Cui wrote: > > Hi, > MD5 was marked incompliant with FIPS in 2009: > a3bef3a31a19 ("crypto: testmgr - Skip algs not flagged fips_allowed in fips > mode") > a1915d51e8e7 ("crypto: testmgr - Mark algs allowed in fips mode") > > But hibernation_e820_save() is

Re: [PATCH 06/11] cgroup: fix -Wzero-length-bounds warnings

2021-03-30 Thread Michal Koutný
On Tue, Mar 30, 2021 at 11:00:36AM +0200, Arnd Bergmann wrote: > Would it be possible to enclose most or all of kernel/cgroup/cgroup.c > in an #ifdef CGROUP_SUBSYS_COUNT block? Even without any controllers, there can still be named hierarchies (v1) or the default hierarchy (v2) (for instance) for

Re: [PATCH 3/4] USB: serial: add support for multi-interface functions

2021-03-30 Thread Oliver Neukum
Am Dienstag, den 30.03.2021, 16:38 +0200 schrieb Johan Hovold: > @@ -1115,6 +1161,8 @@ static void usb_serial_disconnect(struct usb_interface > *interface) > if (serial->type->disconnect) > serial->type->disconnect(serial); > > + release_sibling(serial, interface);

Re: [PATCH v2 2/7] USB: serial: xr: use a table for device-specific settings

2021-03-30 Thread Johan Hovold
On Wed, Mar 24, 2021 at 08:41:06AM +0100, Mauro Carvalho Chehab wrote: > The same driver is used by a wide range of MaxLinear devices. > > Other models are close enough to use the same driver, but they > use a different register set. > > So, instead of having the registers hardcoded at the driver

Re: [PATCH] ARM: boot: dts: Fix a typo

2021-03-30 Thread Nicolas Ferre
On 18/03/2021 at 10:52, Bhaskar Chowdhury wrote: s/conlicts/conflicts/ Signed-off-by: Bhaskar Chowdhury Acked-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d

Re: [PATCH 5/6] mm: migrate: don't split THP for misplaced NUMA page

2021-03-30 Thread Gerald Schaefer
On Mon, 29 Mar 2021 11:33:11 -0700 Yang Shi wrote: > The old behavior didn't split THP if migration is failed due to lack of > memory on the target node. But the THP migration does split THP, so keep > the old behavior for misplaced NUMA page migration. > > Signed-off-by: Yang Shi > --- > mm/

RE: Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

2021-03-30 Thread Sahil Malhotra
Hi Guillaume, I tried the same on LS1028A-RDB board with 5.11 kernel and my submitted patch applied. Board booted up successfully: https://pastebin.com/15D91K5k I used OP-TEE from OP-TEE github repo: https://github.com/OP-TEE/optee_os with commit https://github.com/OP-TEE/optee_os/commit/d144

Re: [RFC PATCH 0/6] mm: thp: use generic THP migration for NUMA hinting fault

2021-03-30 Thread Gerald Schaefer
On Mon, 29 Mar 2021 11:33:06 -0700 Yang Shi wrote: > > When the THP NUMA fault support was added THP migration was not supported yet. > So the ad hoc THP migration was implemented in NUMA fault handling. Since > v4.14 > THP migration has been supported so it doesn't make too much sense to stil

Re: [PATCH v2 1/2] dt-bindings: remoteproc: stm32-rproc: add new mailbox channel for detach

2021-03-30 Thread Rob Herring
On Mon, 22 Mar 2021 10:26:50 +0100, Arnaud Pouliquen wrote: > Add the "detach" mailbox item, that allows to define a mailbox to > send a IPCC signal to the remote processor on remoteproc detach action. > > Signed-off-by: Arnaud Pouliquen > --- > update from V1: > > Fix indentation error reported

Re: [PATCH 1/2] dt-bindings: soc: qcom: Add bindings for Qualcomm Memshare service

2021-03-30 Thread Rob Herring
On Fri, Mar 19, 2021 at 10:23:20PM +0500, nikitos...@gmail.com wrote: > From: Nikita Travkin > > Add DT bindings for memshare: QMI service that allocates > memory per remote processor request. > > Signed-off-by: Nikita Travkin > --- > .../bindings/soc/qcom/qcom,memshare.yaml | 109 +++

[PATCH 02/12] USB: serial: xr: rename GPIO-mode defines

2021-03-30 Thread Johan Hovold
Rename the GPIO mode defines so that they reflect the datasheet and how they are used. Signed-off-by: Johan Hovold --- drivers/usb/serial/xr_serial.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/usb/serial/xr_serial.c b/drivers/usb/serial/xr_serial.c

Re: [PATCH net-next v1 1/3] net: phy: micrel: KSZ8081: add loopback support

2021-03-30 Thread Andrew Lunn
On Tue, Mar 30, 2021 at 03:54:05PM +0200, Oleksij Rempel wrote: > PHY loopback is needed for the ethernet controller self test support. > This PHY was tested with the FEC sefltest. > > Signed-off-by: Oleksij Rempel Apart from the typo Reviewed-by: Andrew Lunn Andrew

[PATCH 06/12] USB: serial: xr: add type abstraction

2021-03-30 Thread Johan Hovold
There are at least four types of Maxlinear/Exar USB UARTs which differ in various ways such as in their register layouts: XR21V141X XR21B142X XR21B1411 XR22804 It is not clear whether the device type can be inferred from the descriptors so encode it in the device-i

[PATCH 09/12] USB: serial: xr: add support for XR22801, XR22802, XR22804

2021-03-30 Thread Johan Hovold
The XR22801, XR22802 and XR22804 are compound devices with an embedded hub and up to seven downstream USB devices including one, two or four UARTs respectively. The UART function is similar to XR21B142X but most registers are offset by 0x40, the register requests are different and are directed at

[PATCH 07/12] USB: serial: xr: add support for XR21B1421, XR21B1422 and XR21B1424

2021-03-30 Thread Johan Hovold
The XR21B1421, XR21B1422 and XR21B1424 are the one-, two- and four-port models of a second XR21B142X type of the Maxlinear/Exar USB UARTs. The XR21B142X type differs from XR21V141X in several ways, including: - register layout - register width (16-bit instead of 8-bit) - v

[PATCH 04/12] USB: serial: xr: move pin configuration to probe

2021-03-30 Thread Johan Hovold
There's no need to configure the pins on every open and judging from the vendor driver and datasheet it can be done before enabling the UART. Move pin configuration from open() to port probe and make sure to deassert DTR and RTS after configuring all pins as GPIO. Signed-off-by: Johan Hovold ---

[PATCH 01/12] USB: serial: xr: add support for XR21V1412 and XR21V1414

2021-03-30 Thread Johan Hovold
Add support for the two- and four-port variants of XR21V1410. Use the interface number of each control interface (e.g. 0, 2, 4, 6) to derive the zero-based channel index: XR21V1410 0 XR21V1412 0, 1 XR21V1414 0, 1, 2, 3 Note that the UART registers reside

[PATCH 03/12] USB: serial: xr: rename GPIO-pin defines

2021-03-30 Thread Johan Hovold
Rename the GPIO-pin defines so that they reflect how they are used. Signed-off-by: Johan Hovold --- drivers/usb/serial/xr_serial.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/usb/serial/xr_serial.c b/drivers/usb/serial/xr_seria

[PATCH 00/12] USB: serial: xr: add support for more device types

2021-03-30 Thread Johan Hovold
This series adds support for another nine models of Maxlinerar/Exar USB UARTs to the xr driver. The various models can be divided into four types: XR21V141X XR21B142X XR21B1411 XR22804 with different register layouts and features. All types can be used in

[PATCH 05/12] USB: serial: xr: drop type prefix from shared defines

2021-03-30 Thread Johan Hovold
In preparation for adding support for further types, drop the type prefix from defines that are not specific to XR21V141X. Signed-off-by: Johan Hovold --- drivers/usb/serial/xr_serial.c | 122 - 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/drive

[PATCH 08/12] USB: serial: xr: add support for XR21B1411

2021-03-30 Thread Johan Hovold
The single-port XR21B1411 is similar to the XR21B142X type but uses 12-bit registers and 16-bit register addresses, the register requests are different and are directed at the device rather than interface, and 5 and 6-bit words are not supported. The register layout is very similar to XR21B142X ex

[PATCH 3/4] USB: serial: add support for multi-interface functions

2021-03-30 Thread Johan Hovold
A single USB function can be implemented using a group of interfaces and this is for example commonly used for Communication Class devices. Add support for multi-interface functions to USB serial core and export an interface that allows drivers to claim a second sibling interface. The interface co

[PATCH 0/4] USB: serial: add support for multi-interface functions

2021-03-30 Thread Johan Hovold
A single USB function can be implemented using a group of interfaces and this is for example commonly used for Communication Class devices. This series adds support for multi-interface functions to USB serial core and exports an interface that allows drivers to claim a second sibling interface

[PATCH 4/4] USB: serial: xr: claim both interfaces

2021-03-30 Thread Johan Hovold
Use the new multi-interface support in USB serial core to properly claim also the control interface during probe. This prevents having another driver claim the control interface and makes core allocate resources also for the interrupt endpoint (currently unused). Switch to probing only Communicati

[PATCH 1/4] USB: serial: drop unused suspending flag

2021-03-30 Thread Johan Hovold
The suspending flag was added back in 2009 but no users ever followed. Remove it. Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 8 +--- include/linux/usb/serial.h | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/usb/serial/usb-serial.c b/d

[PATCH 2/4] USB: serial: refactor endpoint classification

2021-03-30 Thread Johan Hovold
Refactor endpoint classification and replace the build-time endpoint-array sanity checks with runtime checks in preparation for handling endpoints from a sibling interface. Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 51 - 1 file changed, 31

[PATCH] USB: serial: xr: fix CSIZE handling

2021-03-30 Thread Johan Hovold
The XR21V141X does not have a 5- or 6-bit mode, but the current implementation failed to properly restore the old setting when CS5 or CS6 was requested. Instead an invalid request would be sent to the device. Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver") Signed-off-b

Re: [PATCH v2 0/7] Add support for the other MaxLinear/Exar UARTs

2021-03-30 Thread Johan Hovold
On Wed, Mar 24, 2021 at 08:41:04AM +0100, Mauro Carvalho Chehab wrote: > The current version of the xr_serial driver handles one one of the several > MaxLinear/Exar UARTs and UART bridges. There are currently 12 such > models. Only one is currently supported. As I mentioned earlier, proper handlin

Re: How long should be PCIe card in Warm Reset state?

2021-03-30 Thread Maciej W. Rozycki
On Tue, 30 Mar 2021, Pali Rohár wrote: > > If I were to implement this stuff, for good measure I'd give it a safety > > margin beyond what the spec requires and use a timeout of say 2-4s while > > actively querying the status of the device. The values given in the spec > > are only the minimu

Re: [PATCH] printk: rename vprintk_func to vprintk

2021-03-30 Thread Petr Mladek
On Tue 2021-03-30 14:59:31, John Ogness wrote: > On 2021-03-30, Petr Mladek wrote: > > On Tue 2021-03-23 15:42:01, Rasmus Villemoes wrote: > >> The printk code is already hard enough to understand. Remove an > >> unnecessary indirection by renaming vprintk_func to vprintk (adding > >> the asmlinka

[gustavoars-linux:testing/wab/hfsplus] BUILD REGRESSION 2f8c736b120301c5b6bcbddcfa2cb60182b4bc71

2021-03-30 Thread kernel test robot
lpha-allyesconfig | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-entry-is-out-of-the-bounds-of-referenced-subobject-user-with-type-struct-DInfo-at-offset | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-entry-i

Re: [PATCH] kernel/printk.c: Fixed mundane typos

2021-03-30 Thread Petr Mladek
On Tue 2021-03-30 14:53:52, John Ogness wrote: > On 2021-03-30, Petr Mladek wrote: > > On Sun 2021-03-28 10:09:32, Bhaskar Chowdhury wrote: > >> > >> s/sempahore/semaphore/ > >> s/exacly/exactly/ > >> s/unregistred/unregistered/ > >> s/interation/iteration/ > >> > >> > >> Signed-off-by: Bhaskar

Re: [PATCH] mmc: dw_mmc-k3: use the correct HiSilicon copyright

2021-03-30 Thread fanghao (A)
On 2021/3/30 21:43, Pavel Machek wrote: Hi! On Tue, 30 Mar 2021 at 08:43, Hao Fang wrote: s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang /* * Copyright (c) 2013 Linaro Ltd. - * Copyright (c) 2013 Hi

Re: [PATCH v2 0/7] remove different PHY fixups

2021-03-30 Thread Andrew Lunn
On Tue, Mar 30, 2021 at 11:00:52AM -0300, Fabio Estevam wrote: > Hi Oleksij, > > On Tue, Mar 9, 2021 at 8:26 AM Oleksij Rempel wrote: > > > > changes v2: > > - rebase against latest kernel > > - fix networking on RIoTBoard > > > > This patch series tries to remove most of the imx6 and imx7 board

Re: [PATCH] mmc: dw_mmc-k3: use the correct HiSilicon copyright

2021-03-30 Thread fanghao (A)
On 2021/3/30 18:38, Ulf Hansson wrote: On Tue, 30 Mar 2021 at 08:43, Hao Fang wrote: s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/mmc/host/dw_mmc-k3.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] irqchip/gic-v3: Fix IPRIORITYR can't perform byte operations in GIC-600

2021-03-30 Thread Lecopzer Chen
[...] > > > > > > > > From the architecture spec: > > > > > > > > > > > > 11.1.3 GIC memory-mapped register access > > > > > > > > In any system, access to the following registers must be supported: > > > > > > > > [...] > > > > * Byte accesses to: > > > > - GICD_IPRIORITYR. > > > >

Re: [PATCH] ASoC: amd: Add support for ALC1015P codec in acp3x machine driver

2021-03-30 Thread Pierre-Louis Bossart
static const struct acpi_device_id acp3x_audio_acpi_match[] = { { "AMDI5682", (unsigned long)&acp3x_5682}, { "AMDI1015", (unsigned long)&acp3x_1015}, + { "AMDP1015", (unsigned long)&acp3x_1015p}, This isn't a valid ACPI ID. AMDP does not exist in https://uefi.org/acpi_

Re: [PATCH bpf-next] bpf: check flags in 'bpf_ringbuf_discard()' and 'bpf_ringbuf_submit()'

2021-03-30 Thread Pedro Tammela
Em seg., 29 de mar. de 2021 às 13:10, Song Liu escreveu: > > > > > On Mar 28, 2021, at 9:10 AM, Pedro Tammela wrote: > > > > The current code only checks flags in 'bpf_ringbuf_output()'. > > > > Signed-off-by: Pedro Tammela > > --- > > include/uapi/linux/bpf.h | 8 > > kernel/bpf/

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Arnd Bergmann
On Tue, Mar 30, 2021 at 3:23 PM Fawad Lateef wrote: > On Mon, 29 Mar 2021 at 22:06, Arnd Bergmann wrote: > > > > On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wr

[PATCH v5 4/5] MAINTAINERS: Add maintainer for HiSilicon I2C driver

2021-03-30 Thread Yicong Yang
Add maintainer for HiSilicon I2C driver. Signed-off-by: Yicong Yang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d23b0e..da2754a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8040,6 +8040,13 @@ F: drivers/crypto/hisilicon/hpre

[PATCH v5 0/5] Add support for HiSilicon I2C controller

2021-03-30 Thread Yicong Yang
Add driver and MAINTAINERS for HiSilicon I2C controller on Kunpeng SoC. Also provide the devm_*() variants for adding the I2C adapters. Add a public api to provide I2C frequency mode strings and convert designware driver to use it. Change since v4: - and Andy's review-by - attach Andy's patch of s

[PATCH v5 3/5] i2c: add support for HiSilicon I2C controller

2021-03-30 Thread Yicong Yang
Add HiSilicon I2C controller driver for the Kunpeng SoC. It provides the access to the i2c busses, which connects to the eeprom, rtc, etc. The driver works with IRQ mode, and supports basic I2C features and 10bit address. The DMA is not supported. Reviewed-by: Andy Shevchenko Signed-off-by: Yico

[PATCH 5/5] i2c: designware: Switch over to i2c_freq_mode_string()

2021-03-30 Thread Yicong Yang
From: Andy Shevchenko Use generic i2c_freq_mode_string() helper to print chosen bus speed. Signed-off-by: Andy Shevchenko Signed-off-by: Yicong Yang --- drivers/i2c/busses/i2c-designware-master.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers

[PATCH v5 2/5] i2c: core: add api to provide frequency mode strings

2021-03-30 Thread Yicong Yang
Some I2C drivers like Designware and HiSilicon will print the bus frequency mode information, so add a public one that everyone can make use of. Reviewed-by: Andy Shevchenko Signed-off-by: Yicong Yang --- include/linux/i2c.h | 20 1 file changed, 20 insertions(+) diff --gi

[PATCH v5 1/5] i2c: core: add managed function for adding i2c adapters

2021-03-30 Thread Yicong Yang
Some I2C controller drivers will only unregister the I2C adapter in their .remove() callback, which can be done by simply using a managed variant to add the I2C adapter. So add the managed functions for adding the I2C adapter. Reviewed-by: Andy Shevchenko Signed-off-by: Yicong Yang --- drivers

RE: [PATCH] firmware: stratix10-svc: extend SVC driver to get the firmware version

2021-03-30 Thread David Laight
From: richard.g...@linux.intel.com > Sent: 30 March 2021 15:33 > > Extend Intel service layer driver to get the firmware version running at > FPGA device. Therefore FPGA manager driver, one of Intel service layer > driver's client, can decide whether to handle the newly added bitstream > authentic

Re: [PATCH v3 0/1] drm/tiny: add support for Waveshare 2inch LCD module

2021-03-30 Thread David Lechner
On 3/30/21 3:08 AM, Carlis wrote: From: Xuezhi Zhang This adds a new module for the ST7789V controller with parameters for the Waveshare 2inch LCD module. Signed-off-by: Xuezhi Zhang --- v2:change compatible value. v3:change author name. --- MAINTAINERS| 8 + drivers/

[PATCH] firmware: stratix10-svc: extend SVC driver to get the firmware version

2021-03-30 Thread richard . gong
From: Richard Gong Extend Intel service layer driver to get the firmware version running at FPGA device. Therefore FPGA manager driver, one of Intel service layer driver's client, can decide whether to handle the newly added bitstream authentication function based on the retrieved firmware versio

[PATCH] A patch for Intel service layer driver

2021-03-30 Thread richard . gong
From: Richard Gong Hi Greg, Please take this stratix10-svc patch, which has been reviewed on the mailing list and applied cleanly on current linux-next and char-misc-testing. Thanks, Richard Richard Gong (1): firmware: stratix10-svc: extend SVC driver to get the firmware version drivers/f

[PATCH v1 2/4] MAINTAINERS: add entry for Documentation/admin-guide/reporting-issues.rst

2021-03-30 Thread Thorsten Leemhuis
Thorsten will keep an eye on the new document about reporting issues (aka bugs). Signed-off-by: Thorsten Leemhuis --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e66ff3daf23c..b5d38fedff6c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -54

[PATCH v1 3/4] docs: reporting-issues.rst: reshuffle and improve TLDR

2021-03-30 Thread Thorsten Leemhuis
Make the TLDR a bit shorter while improving it at the same time by going straight to the aspects readers are more interested it. The change makes the process especially more straight-forward for people that hit a regression in a stable or longterm kernel. Due to the changes the TLDR now also matche

[PATCH v1 4/4] docs: reporting-issues: reduce quoting and assorted fixes

2021-03-30 Thread Thorsten Leemhuis
A pile of small fixes: - don't quote terms like vanilla, mainline, and stable, unless in they occur in places where readers new to the kernel might see them for the first time - make people rule out that vendor patches are interfering if they face a regression in a stable or longterm kernel

[PATCH v1 1/4] docs: make reporting-issues.rst official and delete reporting-bugs.rst

2021-03-30 Thread Thorsten Leemhuis
Remove the WIP and two FIXME notes in the text to make it official, as it's now considered fully ready for consumption. To make sure this step is okay for people the intent of this change and the latest version of the text were posted to ksummit-discuss; nobody complained, thus lets move ahead. Ad

[PATCH v1 0/4] Improve reporting-issues.rst and make it official

2021-03-30 Thread Thorsten Leemhuis
This patchset makes reporting-issues.rst fully official and thus removes reporting-bugs.rst. It also adds an entry for the text in MAINTAINERS as discussed earlier. Then there is the new text for the TLDR already posted as a draft and a patch which assorted fixes and small enhancements. Thorsten L

Re: [PATCH] irqchip/gic-v3: Fix IPRIORITYR can't perform byte operations in GIC-600

2021-03-30 Thread Marc Zyngier
On Tue, 30 Mar 2021 14:06:37 +0100, Lorenzo Pieralisi wrote: > > On Tue, Mar 30, 2021 at 12:05:46PM +0100, Lorenzo Pieralisi wrote: > > On Tue, Mar 30, 2021 at 11:33:13AM +0100, Marc Zyngier wrote: > > > [+Lorenzo, +Julien on an actual email address] > > > > > > On Tue, 30 Mar 2021 11:06:19 +010

[PATCH v2 3/3] bindings: ipmi: Add binding for Aspeed SSIF BMC driver

2021-03-30 Thread Quan Nguyen
Add device tree binding document for the Aspeed SSIF BMC driver. Signed-off-by: Quan Nguyen --- .../bindings/ipmi/aspeed-ssif-bmc.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/ipmi/aspeed-ssif-bmc.txt diff --git a/Do

[PATCH v2 1/3] i2c: i2c-core-smbus: Expose PEC calculate function for generic use

2021-03-30 Thread Quan Nguyen
Expose the PEC calculation i2c_smbus_pec() for generic use. Signed-off-by: Quan Nguyen --- drivers/i2c/i2c-core-smbus.c | 12 ++-- include/linux/i2c.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/i2c-core-smbus.c b/drivers/i2c/i2c-core-smbu

[PATCH v2 0/3] Add Aspeed SSIF BMC driver

2021-03-30 Thread Quan Nguyen
This series add support for the Aspeed specific SSIF BMC driver which is to perform in-band IPMI communication with the host in management (BMC) side. v2: + Fixed compiling error with COMPILE_TEST for arc Quan Nguyen (3): i2c: i2c-core-smbus: Expose PEC calculate function for generic use dr

[PATCH v2 2/3] drivers: char: ipmi: Add Aspeed SSIF BMC driver

2021-03-30 Thread Quan Nguyen
The SMBus system interface (SSIF) IPMI BMC driver can be used to perform in-band IPMI communication with their host in management (BMC) side. This commits adds support specifically for Aspeed AST2500 which commonly used as Board Management Controllers. Signed-off-by: Quan Nguyen --- drivers/cha

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-30 Thread Waiman Long
On 3/29/21 11:13 PM, Guo Ren wrote: On Mon, Mar 29, 2021 at 8:50 PM Peter Zijlstra wrote: On Mon, Mar 29, 2021 at 08:01:41PM +0800, Guo Ren wrote: u32 a = 0x55aa66bb; u16 *ptr = &a; CPU0 CPU1 = = xchg16(ptr, new) while(1)

Re: [PATCH net-next v1 2/3] net: phy: at803x: AR8085: add loopback support

2021-03-30 Thread Marc Kleine-Budde
On 3/30/21 3:54 PM, Oleksij Rempel wrote: > PHY loopback is needed for the ethernet controller self test support. > This PHY was tested with the FEC sefltest. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/phy/at803x.c | 25 + > 1 file changed, 25 insertions(+) >

Re: [PATCH net-next v1 1/3] net: phy: micrel: KSZ8081: add loopback support

2021-03-30 Thread Marc Kleine-Budde
On 3/30/21 3:54 PM, Oleksij Rempel wrote: > PHY loopback is needed for the ethernet controller self test support. > This PHY was tested with the FEC sefltest. selftest Same typo is in the other patches, too. Marc -- Pengutronix e.K. | Marc Klei

RE: [PATCH net-next v2 0/6] stmmac: Add XDP support

2021-03-30 Thread Ong, Boon Leong
>Are there any (developer) boards available that can be bought online? >(that have HW for this Ethernet driver stmmac) At this point of time, I am not aware of any commercially available platform yet as the EHL product is newly launched but we expect some of board vendors will be start shipping th

Re: [PATCH 09/12] i2c: icy: Constify the software node

2021-03-30 Thread Max Staudt
This looks great, thank you for constifying this. Finally it's clean again, yet much more flexible than the original platform_data approach when I first submitted the driver. Thanks everyone for your work Max

[PATCH 3/4] ksm: remove dedicated macro KSM_FLAG_MASK

2021-03-30 Thread Miaohe Lin
The macro KSM_FLAG_MASK is used in rmap_walk_ksm() only. So we can replace ~KSM_FLAG_MASK with PAGE_MASK to remove this dedicated macro and make code more consistent because PAGE_MASK is used elsewhere in this file. Signed-off-by: Miaohe Lin --- mm/ksm.c | 4 +--- 1 file changed, 1 insertion(+),

[PATCH 1/4] ksm: remove redundant VM_BUG_ON_PAGE() on stable_tree_search()

2021-03-30 Thread Miaohe Lin
The same VM_BUG_ON_PAGE() check is already done in the callee. Remove these extra caller one to simplify code slightly. Signed-off-by: Miaohe Lin --- mm/ksm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/ksm.c b/mm/ksm.c index 1f2c62e1d797..359afb3023b4 100644 --- a/mm/ksm.c +++ b/mm/

[PATCH 4/4] ksm: fix potential missing rmap_item for stable_node

2021-03-30 Thread Miaohe Lin
When remove rmap_item from stable tree, STABLE_FLAG of rmap_item is cleared with head reserved. So the following scenario might happen: For ksm page with rmap_item1: cmp_and_merge_page stable_node->head = &migrate_nodes; remove_rmap_item_from_tree, but head still equal to stable_node; try_to_

[PATCH 2/4] ksm: use GET_KSM_PAGE_NOLOCK to get ksm page in remove_rmap_item_from_tree()

2021-03-30 Thread Miaohe Lin
It's unnecessary to lock the page when get ksm page if we're going to remove the rmap item as page migration is irrelevant in this case. Use GET_KSM_PAGE_NOLOCK instead to save some page lock cycles. Signed-off-by: Miaohe Lin --- mm/ksm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH 0/4] Cleanup and fixup for ksm

2021-03-30 Thread Miaohe Lin
Hi all, This series contains cleanups to remove unnecessary VM_BUG_ON_PAGE and dedicated macro KSM_FLAG_MASK. Also this fixes potential missing rmap_item for stable_node which would result in failed rmap_walk_ksm(). More details can be found in the respective changelogs. Thanks! Miaohe Lin (4):

Re: [PATCH v2 09/14] drm/edid: Use the cached EDID in drm_get_edid() if eDP

2021-03-30 Thread Ville Syrjälä
On Mon, Mar 29, 2021 at 07:53:40PM -0700, Douglas Anderson wrote: > Each time we call drm_get_edid() we: > 1. Go out to the bus and ask for the EDID. > 2. Cache the EDID. > > We can improve this to actually use the cached EDID so that if > drm_get_edid() is called multiple times then we don't need

Re: [PATCH v2 0/7] remove different PHY fixups

2021-03-30 Thread Fabio Estevam
Hi Oleksij, On Tue, Mar 9, 2021 at 8:26 AM Oleksij Rempel wrote: > > changes v2: > - rebase against latest kernel > - fix networking on RIoTBoard > > This patch series tries to remove most of the imx6 and imx7 board > specific PHY configuration via fixup, as this breaks the PHYs when > connected

Re: [PATCH v5 07/19] arm64: kvm: Enable access to TRBE support for host

2021-03-30 Thread Marc Zyngier
On Tue, 30 Mar 2021 14:34:23 +0100, Suzuki K Poulose wrote: > > On 30/03/2021 13:15, Marc Zyngier wrote: > > On Tue, 30 Mar 2021 12:12:49 +0100, > > Suzuki K Poulose wrote: [...] > >> May be we could do this check at kvm_arch_vcpu_load()/put() ? > > > > That would extend the tracing blackout

Re: [PATCH linux-next 1/1] phy: Sparx5 Eth SerDes: Use direct register operations

2021-03-30 Thread Steen Hegelund
Hi Andrew, On Tue, 2021-03-30 at 15:34 +0200, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > > > > +static int sparx5_sd25g28_apply_params(struct sparx5_serdes_macro > > > > *macro, > > > > +

Re: [PATCH v1 1/4] dt-bindings: memory: Add binding for MediaTek Common DRAM Controller

2021-03-30 Thread Rob Herring
On Tue, Mar 30, 2021 at 01:22:08PM +0800, Po-Kai Chi wrote: > This patch adds the documentation of the device-tree binding for > MediaTek Common DRAM Controller. > > Signed-off-by: Po-Kai Chi > --- > .../memory-controllers/mediatek,dramc.yaml | 155 > > 1 file chan

[PATCH] riscv/mm: Use BUG_ON instead of if condition followed by BUG.

2021-03-30 Thread zhouchuangao
BUG_ON() uses unlikely in if(), which can be optimized at compile time. Signed-off-by: zhouchuangao --- arch/riscv/mm/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index 067583a..a7fa5e2 100644 --- a/arch/riscv/mm/init.

[PATCH net-next v1 0/3] provide basic selftest support for the ethernet FEC driver

2021-03-30 Thread Oleksij Rempel
This patch set provides diagnostic capabilities for some iMX based boards. So far I add only initial infrastructure with basic tests and fixed some PHY drivers. To validate this tests, I made some common missconfigurations like wrong RGMII type, not configured clock providers and so on. Oleksij Re

[PATCH net-next v1 2/3] net: phy: at803x: AR8085: add loopback support

2021-03-30 Thread Oleksij Rempel
PHY loopback is needed for the ethernet controller self test support. This PHY was tested with the FEC sefltest. Signed-off-by: Oleksij Rempel --- drivers/net/phy/at803x.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at

[PATCH net-next v1 3/3] net: fec: add basic selftest support

2021-03-30 Thread Oleksij Rempel
Port some parts of the stmmac selftest to the FEC. This patch was tested on iMX6DL. With this tests it is possible to detect some basic issues like: - MAC loopback fail: most probably wrong clock configuration. - PHY loopback fail: incorrect RGMII timings, damaged traces, etc Signed-off-by: Oleksi

<    5   6   7   8   9   10   11   12   13   14   >