[GIT PULL] TTY / Serial fixes for 5.11-rc5

2021-01-24 Thread Greg KH
The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.11-rc5 for you to fetch changes up to 17749851eb9ca2298e7c3

[GIT PULL] Staging/IIO driver fixes for 5.11-rc5

2021-01-24 Thread Greg KH
The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837: Linux 5.11-rc3 (2021-01-10 14:34:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.11-rc5 for you to fetch changes up to a1bfb0ccf94d

[GIT PULL] Char/Misc driver fixes for 5.11-rc5

2021-01-24 Thread Greg KH
The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837: Linux 5.11-rc3 (2021-01-10 14:34:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.11-rc5 for you to fetch changes up to 31b08106

[GIT PULL] Driver core fixes for 5.11-rc5

2021-01-24 Thread Greg KH
The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.11-rc5 for you to fetch changes up to e020

Re: [PATCH v2 RFC net-next 09/18] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-01-24 Thread Russell King - ARM Linux admin
On Sun, Jan 24, 2021 at 01:43:58PM +0200, stef...@marvell.com wrote: > diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > index 9d69752..0f5069f 100644 > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > +++ b/drivers/net/ethern

Re: [PATCH AUTOSEL 5.10 26/45] x86/xen: Fix xen_hvm_smp_init() when vector callback not available

2021-01-24 Thread Sasha Levin
On Tue, Jan 19, 2021 at 08:35:04PM -0500, Boris Ostrovsky wrote: On 1/19/21 8:25 PM, Sasha Levin wrote: From: David Woodhouse [ Upstream commit 3d7746bea92530e8695258a3cf3ddec7a135edd6 ] Sasha, you will also want https://lore.kernel.org/lkml/20210115191123.27572-1-rdun...@infradead.org/,

Re: [PATCH 2/3] hid-sensor-common: Add relative sensitivity check

2021-01-24 Thread Jonathan Cameron
On Wed, 20 Jan 2021 15:47:05 +0800 Ye Xiang wrote: > Some hid sensors may use relative sensitivity such as als sensor. > This patch add relative sensitivity check for all hid-sensors. > > Signed-off-by: Ye Xiang > --- > .../iio/common/hid-sensors/hid-sensor-attributes.c| 11 ++- >

Re: [PATCH v2 RFC net-next 04/18] net: mvpp2: add PPv23 version definition

2021-01-24 Thread Russell King - ARM Linux admin
On Sun, Jan 24, 2021 at 01:43:53PM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > This patch add PPv23 version definition. > PPv23 is new packet processor in CP115. > Everything that supported by PPv22, also supported by PPv23. > No functional changes in this stage. > > Signed-off-

Re: [PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-24 Thread Jonathan Cameron
On Sun, 24 Jan 2021 00:21:13 +0100 Linus Walleij wrote: > On Sat, Jan 23, 2021 at 4:35 PM Jonathan Cameron wrote: > > [Me] > > > Next, I think it is better to let suspend/resume, i.e. system PM > > > reuse runtime PM since you're implementing that. This is why > > > we invented PM runtime forc

RE: [EXT] Re: [PATCH v2 RFC net-next 09/18] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-01-24 Thread Stefan Chulski
> > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > @@ -1154,6 +1154,9 @@ static void mvpp2_interrupts_mask(void *arg) > > mvpp2_thread_write(port->priv, > >mvpp2_cpu_to_thread(port->priv, > smp_processo

Re: [PATCH v2] usb: typec: tcpci_maxim: remove redundant assignment

2021-01-24 Thread Greg KH
On Sun, Jan 24, 2021 at 09:31:37PM +0800, angkery wrote: > From: Junlin Yang > > PTR_ERR(chip->tcpci) has been used as a return value, > it is not necessary to assign it to ret, so remove it. > And add terminating '\n' to the formats where missed too. > > Signed-off-by: Junlin Yang > --- > v2:

Re: [PATCH] ACPI: thermal: Do not call acpi_thermal_check() directly

2021-01-24 Thread Stephen Berman
On Fri, 22 Jan 2021 17:42:59 +0100 "Rafael J. Wysocki" wrote: > On Fri, Jan 22, 2021 at 5:39 PM Stephen Berman wrote: >> >> On Fri, 22 Jan 2021 17:23:36 +0100 "Rafael J. Wysocki" >> wrote: >> >> > On Thu, Jan 14, 2021 at 7:35 PM Rafael J. Wysocki >> > wrote: >> >> >> >> From: Rafael J. Wyso

[BACKPORT 5.4 PATCH] pinctrl: ingenic: Fix JZ4760 support

2021-01-24 Thread Paul Cercueil
- JZ4760 and JZ4760B have a similar register layout as the JZ4740, and don't use the new register layout, which was introduced with the JZ4770 SoC and not the JZ4760 or JZ4760B SoCs. - The JZ4740 code path only expected two function modes to be configurable for each pin, and wouldn't work wi

Re: [BACKPORT 5.4 PATCH] pinctrl: ingenic: Fix JZ4760 support

2021-01-24 Thread Paul Cercueil
Le dim. 24 janv. 2021 à 13:47, Paul Cercueil a écrit : - JZ4760 and JZ4760B have a similar register layout as the JZ4740, and don't use the new register layout, which was introduced with the JZ4770 SoC and not the JZ4760 or JZ4760B SoCs. - The JZ4740 code path only expected two function

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2021-01-24 Thread Stephen Berman
On Mon, 04 Jan 2021 16:38:43 +0100 Stephen Berman wrote: > On Thu, 31 Dec 2020 21:46:11 +0100 "Rafael J. Wysocki" > wrote: > >> ATM, I'm tempted to do something like the patch below (with the rationale >> that it shouldn't be necessary to read the temperature right after updating >> the trip p

RE: [EXT] Re: [PATCH v2 RFC net-next 04/18] net: mvpp2: add PPv23 version definition

2021-01-24 Thread Stefan Chulski
> > Signed-off-by: Stefan Chulski > > --- > > drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 24 -- > -- > > drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 17 +- > > 2 files changed, 25 insertions(+), 16 deletions(-) > > > > diff --git a/drivers/net/ethernet/mar

[PATCH 0/3] Add initial support for BQ Aquaris X5

2021-01-24 Thread Jonathan Albrieux
Aquaris X5 (Longcheer L8910) is a smartphone released by BQ in 2015. As part of msm8916-mainline project, this series aims to bring initial mainline support for it. Features added: - SDHCI (internal and external storage) - USB Device Mode - UART - Regulators - WiFi/BT - Volume buttons - Vi

[PATCH 1/3] arm64: dts: qcom: Add device tree for BQ Aquaris X5 (Longcheer L8910)

2021-01-24 Thread Jonathan Albrieux
BQ Aquaris X5 (Longcheer L8910) is a smartphone using the MSM8916 SoC. Add device tree with initial support for: - SDHCI (internal and external storage) - USB Device Mode - UART - Regulators - WiFi/BT - Volume buttons - Vibrator - Touchkeys backlight This device tree is based on downstre

[PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support

2021-01-24 Thread Iskren Chernev
From: Brian Masney Add support for the a3xx GPU Signed-off-by: Brian Masney Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov Reviewed-by: Brian Masney --- Changes in v2: - base set to next-20210122 - add tags from v1 replies - add Signed-off-by: me on first three patches - add com

[PATCH 2/3] arm64: dts: qcom: msm8916: Add blsp_i2c3

2021-01-24 Thread Jonathan Albrieux
MSM8916 has another I2C QUP controller that can be enabled on GPIO 10 and 11. Add blsp_i2c3 to msm8916.dtsi and disable it by default. Signed-off-by: Jonathan Albrieux --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 16 arch/arm64/boot/dts/qcom/msm8916.dtsi | 15 +

[PATCH 4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators

2021-01-24 Thread Iskren Chernev
s1 and l12 regulators are used for the memory and cache on the Samsung S5 (klte). If they are turned off the phone shuts down. So mark them as always-on to prevent that from happening. Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt

[PATCH 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer

2021-01-24 Thread Jonathan Albrieux
BQ Aquaris X5 (Longcheer L8910) has: - BMI160 accelerometer and gyroscope sensor - AK09911 magnetometer sensor Add them to the device tree. This patch depends on patch "arm64: dts: qcom: msm8916: Add blsp_i2c3". Signed-off-by: Jonathan Albrieux --- .../boot/dts/qcom/msm8916-longcheer-l8910.dt

[PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display

2021-01-24 Thread Iskren Chernev
From: Samuel Pascua Add initial support for the display found on the Samsung Galaxy 5 (klte) phone. This is based on work from Jonathan Marek & Brian Masney. Signed-off-by: Samuel Pascua Signed-off-by: Iskren Chernev --- .../boot/dts/qcom-msm8974-samsung-klte.dts| 58 +++

[PATCH 2/4] ARM: dts: qcom: msm8974-klte: add support for GPU

2021-01-24 Thread Iskren Chernev
From: Samuel Pascua Enable adreno and opp_table dt nodes. Signed-off-by: Samuel Pascua Signed-off-by: Iskren Chernev Tested-by: Alexey Minnekhanov --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-sa

Re: [PATCH] selinux: include a consumer of the new IMA critical data hook

2021-01-24 Thread Mimi Zohar
On Fri, 2021-01-22 at 15:24 -0500, Paul Moore wrote: > On Thu, Jan 14, 2021 at 2:15 PM Lakshmi Ramasubramanian > wrote: > > > > SELinux stores the active policy in memory, so the changes to this data > > at runtime would have an impact on the security guarantees provided > > by SELinux. Measuring

[PATCH v2 6/7] fs: use HKDF implementation from kernel crypto API

2021-01-24 Thread Stephan Müller
As the kernel crypto API implements HKDF, replace the file-system-specific HKDF implementation with the generic HKDF implementation. Signed-off-by: Stephan Mueller --- fs/crypto/Kconfig | 2 +- fs/crypto/hkdf.c | 98 +-- 2 files changed, 20 insertion

[PATCH v2 5/7] security: DH - use KDF implementation from crypto API

2021-01-24 Thread Stephan Müller
The kernel crypto API provides the SP800-108 counter KDF implementation. Thus, the separate implementation provided as part of the keys subsystem can be replaced with calls to the KDF offered by the kernel crypto API. The keys subsystem uses the counter KDF with a hash primitive. Thus, it only use

[PATCH v2 1/7] crypto: Add key derivation self-test support code

2021-01-24 Thread Stephan Müller
As a preparation to add the key derivation implementations, the self-test data structure definition and the common test code is made available. The test framework follows the testing applied by the NIST CAVP test approach. The structure of the test code follows the implementations found in crypto

[PATCH v2 2/7] crypto: add SP800-108 counter key derivation function

2021-01-24 Thread Stephan Müller
SP800-108 defines three KDFs - this patch provides the counter KDF implementation. The KDF is implemented as a service function where the caller has to maintain the hash / HMAC state. Apart from this hash/HMAC state, no additional state is required to be maintained by either the caller or the KDF

[PATCH v2 3/7] crypto: add RFC5869 HKDF

2021-01-24 Thread Stephan Müller
RFC5869 specifies an extract and expand two-step key derivation function. The HKDF implementation is provided as a service function that operates on a caller-provided HMAC handle. The caller has to allocate the HMAC shash handle and then can invoke the HKDF service functions. The HKDF implementatio

[PATCH v2 0/7] Add KDF implementations to crypto API

2021-01-24 Thread Stephan Müller
Hi, The key derviation functions are considered to be a cryptographic operation. As cryptographic operations are provided via the kernel crypto API, this patch set consolidates the KDF implementations into the crypto API. The KDF implementations are provided as service functions. Yet, the interfa

[PATCH v2 4/7] security: DH - remove dead code for zero padding

2021-01-24 Thread Stephan Müller
Remove the specific code that adds a zero padding that was intended to be invoked when the DH operation result was smaller than the modulus. However, this cannot occur any more these days because the function mpi_write_to_sgl is used in the code path that calculates the shared secret in dh_compute_

Re: [PATCH v7 45/72] x86/entry/64: Add entry code for #VC handler

2021-01-24 Thread Lai Jiangshan
> + > + /* > +* No need to switch back to the IST stack. The current stack is > either > +* identical to the stack in the IRET frame or the VC fall-back stack, > +* so it is definitly mapped even with PTI enabled. > +*/ > + jmp paranoid_exit > + > H

[PATCH v2 7/7] fs: HKDF - remove duplicate memory clearing

2021-01-24 Thread Stephan Müller
The clearing of the OKM memory buffer in case of an error is already performed by the HKDF implementation crypto_hkdf_expand. Thus, the code clearing is not needed any more in the file system code base. Signed-off-by: Stephan Mueller --- fs/crypto/hkdf.c | 9 +++-- 1 file changed, 3 insertio

Re: [PATCH v2 0/7] Add KDF implementations to crypto API

2021-01-24 Thread Ard Biesheuvel
On Sun, 24 Jan 2021 at 15:10, Stephan Müller wrote: > > Hi, > > The key derviation functions are considered to be a cryptographic > operation. As cryptographic operations are provided via the kernel > crypto API, this patch set consolidates the KDF implementations into the > crypto API. > > The KD

Re: [PATCH] iio: st_sensors: fix typo in comment

2021-01-24 Thread Jonathan Cameron
On Thu, 21 Jan 2021 16:39:44 +0100 Ahmad Fatoum wrote: > s/timetamping/timestamping/ > > Cc: triv...@kernel.org > Signed-off-by: Ahmad Fatoum Applied, Thanks, Jonathan > --- > drivers/iio/common/st_sensors/st_sensors_buffer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Helge Deller
On some of my parisc machines, this patch c055e3eae0f1 ("crypto: xor - use ktime for template benchmarking") triggers a dividy-by-zero exception because "min" becomes zero, which then leads to a kernel crash. It's not clear yet, why I see the issue only on some machines. At least on those the meas

Re: [PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Ard Biesheuvel
On Sun, 24 Jan 2021 at 15:28, Helge Deller wrote: > > On some of my parisc machines, this patch c055e3eae0f1 ("crypto: xor - > use ktime for template benchmarking") triggers a dividy-by-zero > exception because "min" becomes zero, which then leads to a kernel > crash. > > It's not clear yet, why I

Re: [PATCH v2 0/7] Add KDF implementations to crypto API

2021-01-24 Thread Ard Biesheuvel
On Sun, 24 Jan 2021 at 15:23, Ard Biesheuvel wrote: > > On Sun, 24 Jan 2021 at 15:10, Stephan Müller wrote: > > > > Hi, > > > > The key derviation functions are considered to be a cryptographic > > operation. As cryptographic operations are provided via the kernel > > crypto API, this patch set c

Re: [PATCH v3 1/2] dt-bindings: counter: add gpio-pulse-counter binding

2021-01-24 Thread Jonathan Cameron
On Fri, 22 Jan 2021 12:24:33 +0100 Oleksij Rempel wrote: > Add binding for GPIO based pulse counter node > This does make me wonder a bit on whether we are going to soon need a provider / consumer interface for the counter subsystem. Afterall, this pulse is coming from something and I doubt it

[PATCH] smackfs: restrict bytes count in smackfs write functions

2021-01-24 Thread Sabyrzhan Tasbolatov
syzbot found WARNINGs in several smackfs write operations where bytes count is passed to memdup_user_nul which exceeds GFP MAX_ORDER. Check count size if bigger SMK_LONGLABEL, for smk_write_syslog if bigger than PAGE_SIZE - 1. Reported-by: syzbot+a71a442385a0b2815...@syzkaller.appspotmail.com Sign

Re: [PATCH v2 0/7] Add KDF implementations to crypto API

2021-01-24 Thread Stephan Müller
Am Sonntag, 24. Januar 2021, 15:23:29 CET schrieb Ard Biesheuvel: Hi Ard, > On Sun, 24 Jan 2021 at 15:10, Stephan Müller wrote: > > Hi, > > > > The key derviation functions are considered to be a cryptographic > > operation. As cryptographic operations are provided via the kernel > > crypto API

Re: [PATCH v2 0/7] Add KDF implementations to crypto API

2021-01-24 Thread Stephan Müller
Am Sonntag, 24. Januar 2021, 15:32:59 CET schrieb Ard Biesheuvel: Hi Ard, > On Sun, 24 Jan 2021 at 15:23, Ard Biesheuvel wrote: > > On Sun, 24 Jan 2021 at 15:10, Stephan Müller wrote: > > > Hi, > > > > > > The key derviation functions are considered to be a cryptographic > > > operation. As cr

RE: [EXT] Re: [PATCH v2 RFC net-next 08/18] net: mvpp2: add FCA periodic timer configurations

2021-01-24 Thread Stefan Chulski
> > -- > On Sun, Jan 24, 2021 at 01:43:57PM +0200, stef...@marvell.com wrote: > > +/* Set Flow Control timer x140 faster than pause quanta to ensure > > +that link > > + * partner won't send taffic if port in XOFF mode. > > Can y

Re: [PATCH v3 2/2] counter: add GPIO based pulse counters

2021-01-24 Thread Jonathan Cameron
On Fri, 22 Jan 2021 12:24:34 +0100 Oleksij Rempel wrote: > Add simple GPIO base pulse counter. This device is used to measure > rotation speed of some agricultural devices, so no high frequency on the > counter pin is expected. > > The maximal measurement frequency depends on the CPU and system

Re: [PATCH v10 09/12] mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c

2021-01-24 Thread Christoph Hellwig
On Sun, Jan 24, 2021 at 06:22:27PM +1000, Nicholas Piggin wrote: > This is a generic kernel virtual memory mapper, not specific to ioremap. Looks good: Reviewed-by: Christoph Hellwig Although it would be nice if you could fix up the > 80 lines while you're at it.

Re: [PATCH v10 10/12] mm/vmalloc: add vmap_range_noflush variant

2021-01-24 Thread Christoph Hellwig
On Sun, Jan 24, 2021 at 06:22:28PM +1000, Nicholas Piggin wrote: > As a side-effect, the order of flush_cache_vmap() and > arch_sync_kernel_mappings() calls are switched, but that now matches > the other callers in this file. > > Signed-off-by: Nicholas Piggin Looks good, Reviewed-by: Christoph

Re: [PATCH v2] IMA: Measure kernel version in early boot

2021-01-24 Thread Mimi Zohar
On Fri, 2021-01-22 at 15:28 -0800, Raphael Gianotti wrote: > The integrity of a kernel can be verified by the boot loader on cold > boot, and during kexec, by the current running kernel, before it is > loaded. However, it is still possible that the new kernel being > loaded is older than the curren

Re: [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support

2021-01-24 Thread Konrad Dybcio
Hi, > + gpu_opp_table: opp_table { > + status = "disabled"; Is there a good reason to disable this? > + opp-8 { > + opp-hz = /bits/ 64 <8>; > + }; No. A330 can't go lightspeed

Re: [PATCH 0/2] Remove the IIO counter ABI

2021-01-24 Thread Jonathan Cameron
On Sun, 24 Jan 2021 16:42:22 +0900 William Breathitt Gray wrote: > The IIO counter driver has been superseded by the Counter subsystem as > discussed in [1]. This patchset removes the IIO counter ABI code and > documentation. > > [1] https://lore.kernel.org/lkml/20210119104105.1...@huawei.co

Re: [PATCH 2/4] ARM: dts: qcom: msm8974-klte: add support for GPU

2021-01-24 Thread Konrad Dybcio
> + opp_table { > + status = "ok"; > + }; > + > + adreno@fdb0 { > + status = "ok"; > + }; > }; Could you use &label instead? Reminds me that I should perhaps finally submit my 8974 cleanups one day.. Konrad

Re: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display

2021-01-24 Thread Konrad Dybcio
> + mdss@fd90 { > + status = "ok"; > + > + mdp@fd90 { > + status = "ok"; > + }; > + > + dsi@fd922800 { > + status = "ok"; > + > + vdda-supply = <&pma8084_l2>; > +

Re: [PATCH 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer

2021-01-24 Thread Konrad Dybcio
> +&blsp_i2c3 { > + status = "okay"; > + > + imu@68 { > + compatible = "bosch,bmi160"; > + reg = <0x68>; > + > + vdd-supply = <&pm8916_l17>; > + vddio-supply = <&pm8916_l6>; > + > + mount-matrix = "0", "1", "0", > +

[PATCH v2] usb: typec: tcpci_maxim: remove redundant assignment

2021-01-24 Thread angkery
From: Junlin Yang PTR_ERR(chip->tcpci) has been used as a return value, it is not necessary to assign it to ret, so remove it. And add terminating '\n' to the formats where missed too. Signed-off-by: Junlin Yang --- v2: add terminating '\n' to the formats where missed too. drivers/usb/typec/t

Re: [PATCH v10 11/12] mm/vmalloc: Hugepage vmalloc mappings

2021-01-24 Thread Christoph Hellwig
On Sun, Jan 24, 2021 at 06:22:29PM +1000, Nicholas Piggin wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 24862d15f3a3..f87feb616184 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -724,6 +724,16 @@ config HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD > config HAVE_ARCH_HUGE_VMAP > bool

Re: [PATCH v3] selftests: drivers: fpga: A test for interrupt support

2021-01-24 Thread Tom Rix
On 1/23/21 8:24 PM, Moritz Fischer wrote: > Tom, > > On Sun, Jan 17, 2021 at 08:18:15AM -0800, t...@redhat.com wrote: >> From: Tom Rix >> >> Check that the ioctl DFL_FPGA_PORT_ERR_GET_IRQ_NUM returns >> an expected result. >> >> Tested on vf device 0xbcc1 >> >> Sample run with >> # make -C tool

[PATCH 0/2] Add support of Lontium lt8912 MIPI to HDMI bridge

2021-01-24 Thread Adrien Grassein
Hello, this patch set adds the support of the Lontium lt8912 MIPI to HDMI bridge in the kernel. It's only support the video part, not the audio part yet since I don't have the datasheet of this component. I get the current i2c configuration from Digi and Boundary drivers. Developed using the DB_D

[PATCH 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-01-24 Thread Adrien Grassein
Lontium Lt8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- MAINTAINERS | 1 + drivers/gpu/drm/bridge/Kconfig | 14 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/lontium-lt8912.c | 749 4

[PATCH 1/2] dt-bindings: display: bridge: Add documentation for LT8912

2021-01-24 Thread Adrien Grassein
Lontium LT8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- .../display/bridge/lontium,lt8912.yaml| 92 +++ MAINTAINERS | 5 + 2 files changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/displa

[PATCH 1/2] dt-bindings: display: bridge: Add documentation for LT8912

2021-01-24 Thread Adrien Grassein
Lontium LT8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- .../display/bridge/lontium,lt8912.yaml| 92 +++ MAINTAINERS | 5 + 2 files changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/displa

Re: [PATCH 2/3] arm64: dts: qcom: msm8916: Add blsp_i2c3

2021-01-24 Thread Konrad Dybcio
On 24.01.2021 14:54, Jonathan Albrieux wrote: > MSM8916 has another I2C QUP controller that can be enabled on > GPIO 10 and 11. > > Add blsp_i2c3 to msm8916.dtsi and disable it by default. > > Signed-off-by: Jonathan Albrieux > --- > arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 16 +

[PATCH v2 0/3] PCI: endpoint: Add endpoint restart management support

2021-01-24 Thread Kunihiko Hayashi
Add new functions to manage recovery of configuration for endpoint controller and restart the controller when asserting bus-reset from root complex (RC). This feature is only available if bus-reset (PERST#) line is physically routed between RC and endpoint, and the signal from RC also resets the e

[PATCH v2 2/3] PCI: endpoint: Add endpoint restart management

2021-01-24 Thread Kunihiko Hayashi
Add new functions to manage recovery of configuration parameters and restart the controller when asserting bus-reset from root-complex (RC). This feature is only available if bus-reset (PERST#) line is physically routed between RC and endpoint and the signal from RC affects endpoint. This feature

[PATCH v2 1/3] PCI: endpoint: Add 'started' to pci_epc to set whether the controller is started

2021-01-24 Thread Kunihiko Hayashi
This adds a member 'started' as a boolean value to struct pci_epc to set whether the controller is started, and also adds a function to get the value. Signed-off-by: Kunihiko Hayashi --- drivers/pci/endpoint/pci-epc-core.c | 2 ++ include/linux/pci-epc.h | 7 +++ 2 files changed,

[PATCH v2 3/3] PCI: uniphier-ep: Add EPC restart management support

2021-01-24 Thread Kunihiko Hayashi
Set the polling function and call the init function to enable EPC restart management. The polling function detects that the bus-reset signal is a rising edge. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/Kconfig| 1 + drivers/pci/controller/dwc/pcie-uniphier-ep.c |

[PATCH] can: mcba_usb: remove h from printk format specifier

2021-01-24 Thread trix
From: Tom Rix This change fixes the checkpatch warning described in this commit commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") Standard integer promotion is already done and %hx and %hhx is useless so do not encourage the use of %hh[xud

Re: [PATCH 1/3] arm64: dts: qcom: Add device tree for BQ Aquaris X5 (Longcheer L8910)

2021-01-24 Thread Konrad Dybcio
The sorting on smd_rpm_regulators & msmgpio seems off.. unless it's the new thing to put it at the end? Also, did you forget the copyright header or is that on purpose? Otherwise, LGTM Konrad

Re: [PATCH 2/2] iio:adc:ti-ads124s08: Fix packet read from the ADC

2021-01-24 Thread Jonathan Cameron
On Thu, 21 Jan 2021 13:14:31 -0600 Dan Murphy wrote: > Fix the spi_transfer array in the reading of the data from the ADC. > > Fixes: ("e717f8c6dfec iio: adc: Add the TI ads124s08 ADC code") > Signed-off-by: Dan Murphy I'm not really following the changes below.. > --- > drivers/iio/adc/ti-a

Re: [PATCH 4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators

2021-01-24 Thread Konrad Dybcio
On 24.01.2021 14:56, Iskren Chernev wrote: > s1 and l12 regulators are used for the memory and cache on the Samsung > S5 (klte). If they are turned off the phone shuts down. So mark them as > always-on to prevent that from happening. > > Signed-off-by: Iskren Chernev > Tested-by: Alexey Minnekha

Re: [PATCH v2] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-24 Thread Jonathan Cameron
On Fri, 22 Jan 2021 12:33:55 +0100 Ahmad Fatoum wrote: > For non-DMA usage, we have an easy way to associate a timestamp with a > sample: iio_pollfunc_store_time stores a timestamp in the primary > trigger IRQ handler and stm32_adc_trigger_handler runs in the IRQ thread > to push out the buffer a

Re: [PATCH v27 08/12] landlock: Add syscall implementations

2021-01-24 Thread Mickaël Salaün
After further though, I think that the third syscall currently called "landlock_enforce_ruleset_self" may be better named "landlock_restrict_self". I want to keep the "self" part because, as explained in the changelog and previous discussions, we may want to be able to restrict other processes (e.g

[PATCH] power: supply: axp20x_usb_power: Init work before enabling IRQs

2021-01-24 Thread Samuel Holland
The IRQ handler calls mod_delayed_work() on power->vbus_detect. However, that work item is not initialized until after the IRQs are enabled. If an IRQ is already pending when the driver is probed, the driver calls mod_delayed_work() on an uninitialized work item, which causes an oops. Fixes: bcfb7

[PATCH v3 1/2] usb: typec: tcpci_maxim: remove redundant assignment

2021-01-24 Thread angkery
From: Junlin Yang PTR_ERR(chip->tcpci) has been used as a return value, it is not necessary to assign it to ret, so remove it. Signed-off-by: Junlin Yang --- v3:remove the newline modification. drivers/usb/typec/tcpm/tcpci_maxim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb

Re: usb: dwc3: gadget: skip pullup and set_speed after suspend

2021-01-24 Thread Felipe Balbi
Hi, Daehwan Jung writes: > Sometimes dwc3_gadget_pullup and dwc3_gadget_set_speed are called after > entering suspend. That's why it needs to check whether suspend > > 1. dwc3 sends disconnect uevent and turn off. (suspend) > 2. Platform side causes pullup or set_speed(e.g., adbd closes ffs node

YOU HAVE WON

2021-01-24 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Hello

2021-01-24 Thread Sabrina montana
May Almighty God Bless You!!! I wish to approach you with a request that would be of immense benefit to both of us.I came across your profile and I picked interest to contact you, please can we be friends? Looking forward to your response. Yours Faithfully, Ms Sabrina montana.

[PATCH] fbtft: add tearing signal detect

2021-01-24 Thread Carlis
From: "carlis.zhang_cp" For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: carlis.zhang_cp --- drivers/staging/fbtft/fb_st7789v.c | 133 - drivers/staging/fbtft/fbtft.h | 1 + 2 files changed, 133 insertions(+), 1 deletion

Re: [PATCH v3 2/2] usb: typec: tcpci_maxim: add terminating newlines to logging

2021-01-24 Thread Guenter Roeck
On Sun, Jan 24, 2021 at 10:39:47PM +0800, angkery wrote: > From: Junlin Yang > > Add terminating '\n' to the formats where missed. > > Signed-off-by: Junlin Yang Reviewed-by: Guenter Roeck > --- > v3:Modify it again and submit it separately from patch 1. > > drivers/usb/typec/tcpm/tcpci_ma

Re: [watchdog v2] watchdog: mei_wdt: request stop on unregister

2021-01-24 Thread Guenter Roeck
On Sun, Jan 24, 2021 at 01:49:38PM +0200, Tomas Winkler wrote: > From: Alexander Usyskin > > The MEI bus has a special behavior on suspend it destroys > all the attached devices, this is due to the fact that also > firmware context is not persistent across power flows. > > If watchdog on MEI bus

Re: [PATCH v3 1/2] usb: typec: tcpci_maxim: remove redundant assignment

2021-01-24 Thread Guenter Roeck
On Sun, Jan 24, 2021 at 10:38:53PM +0800, angkery wrote: > From: Junlin Yang > > PTR_ERR(chip->tcpci) has been used as a return value, > it is not necessary to assign it to ret, so remove it. > > Signed-off-by: Junlin Yang Reviewed-by: Guenter Roeck > --- > v3:remove the newline modification

Re: [PATCH 1/3] arm64: dts: qcom: Add device tree for BQ Aquaris X5 (Longcheer L8910)

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 04:12:30PM +0100, Konrad Dybcio wrote: > The sorting on smd_rpm_regulators & msmgpio seems off.. unless it's the new > thing to put it at the end? > It's consistent like this for all MSM8916 device trees at least. Back when I converted them I thought that it's kind of an

YOU HAVE WON

2021-01-24 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Re: [PATCH 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 04:07:19PM +0100, Konrad Dybcio wrote: > > +&blsp_i2c3 { > > + status = "okay"; > > + > > + imu@68 { > > + compatible = "bosch,bmi160"; > > + reg = <0x68>; > > + > > + vdd-supply = <&pm8916_l17>; > > + vddio-supply = <&pm8916_l6>;

Re: [PATCH 2/3] arm64: dts: qcom: msm8916: Add blsp_i2c3

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 02:54:06PM +0100, Jonathan Albrieux wrote: > MSM8916 has another I2C QUP controller that can be enabled on > GPIO 10 and 11. > > Add blsp_i2c3 to msm8916.dtsi and disable it by default. > > Signed-off-by: Jonathan Albrieux Reviewed-by: Stephan Gerhold > --- > arch/arm

Re: [PATCH v4 14/21] arm64: Honor VHE being disabled from the command-line

2021-01-24 Thread Marc Zyngier
On Sat, 23 Jan 2021 14:07:53 +, Catalin Marinas wrote: > > On Mon, Jan 18, 2021 at 09:45:26AM +, Marc Zyngier wrote: > > diff --git a/arch/arm64/kernel/hyp-stub.S b/arch/arm64/kernel/hyp-stub.S > > index 59820f9b8522..bbab2148a2a2 100644 > > --- a/arch/arm64/kernel/hyp-stub.S > > +++ b/ar

[PATCH] habanalabs: add new mem ioctl op for mapping hw blocks

2021-01-24 Thread Oded Gabbay
From: Ofir Bitton For future ASIC support the driver allows user to map certain regions in the device's configuration space for direct access from userspace. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/device.c | 3 +

RE: [PATCH v4 07/15] x86/paravirt: switch time pvops functions to use static_call()

2021-01-24 Thread Michael Kelley
From: Juergen Gross Sent: Wednesday, January 20, 2021 5:56 AM > > The time pvops functions are the only ones left which might be > used in 32-bit mode and which return a 64-bit value. > > Switch them to use the static_call() mechanism instead of pvops, as > this allows quite some simplification

Re: [PATCH 2/3] hid-sensor-common: Add relative sensitivity check

2021-01-24 Thread Srinivas Pandruvada
On Sun, 2021-01-24 at 13:14 +, Jonathan Cameron wrote: > On Wed, 20 Jan 2021 15:47:05 +0800 > Ye Xiang wrote: > > > Some hid sensors may use relative sensitivity such as als sensor. > > This patch add relative sensitivity check for all hid-sensors. > > > > Signed-off-by: Ye Xiang > > --- >

Re: [PATCH v4 12/21] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-01-24 Thread Marc Zyngier
On Sat, 23 Jan 2021 13:43:52 +, Catalin Marinas wrote: > > On Mon, Jan 18, 2021 at 09:45:24AM +, Marc Zyngier wrote: > > +struct reg_desc { > > + const char * const name; > > + u64 * const val; > > + u64 * const mask; > > + struct { > > + con

Re: [PATCH] Added AMS/TAOS tsl2591 driver implementation

2021-01-24 Thread Jonathan Cameron
On Sat, 23 Jan 2021 23:32:36 + Joe Sandom wrote: > Driver implementation for AMS/TAOS tsl2591 ambient light sensor. > > This driver supports configuration via device tree and sysfs. > Supported channels for raw infrared light, raw visible light, > raw combined light and combined lux value. >

Re: [PATCH 2/7] uapi: virtio_snd: add the sound device header file

2021-01-24 Thread Anton Yakovlev
Hello, Michael. Thanks you for your comments! On 20.01.2021 09:19, Michael S. Tsirkin wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Jan 20, 2021 at 01:36:30

Re: [PATCH] trace: Fix race in trace_open and buffer resize call

2021-01-24 Thread Steven Rostedt
On Sun, 24 Jan 2021 11:05:28 +0100 Greg KH wrote: > On Sun, Jan 24, 2021 at 03:26:33PM +0530, Gaurav Kohli wrote: > > Below race can come, if trace_open and resize of > > > > You forgot to cc: stable, and put the git id that this patch is > upstream... Hi Greg, Sorry for the confusion. I w

Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist

2021-01-24 Thread Guenter Roeck
On Sat, Jan 23, 2021 at 06:46:08PM -0800, Thomas Hebb wrote: > It has been reported[0] that the Dell XPS 15 L502X exhibits similar > freezing behavior to the other systems[1] on this blacklist. The issue > was exposed by a prior change of mine to automatically load > dell_smm_hwmon on a wider set o

Re: [PATCH 3/4] tpm: in tpm2_del_space check if ops pointer is still valid

2021-01-24 Thread Lino Sanfilippo
Hi Jarkko, On 17.01.21 at 19:13, Jarkko Sakkinen wrote: > > I have hard time to believe that any of these patches are based on > actual regressions. > > /Jarko > patch 1 is indeed wrong (I oversaw the action call in case of error), so please ignore it. However patches 2 and 3 are based on bugs

Re: [PATCH 3/7] ALSA: virtio: add virtio sound driver

2021-01-24 Thread Anton Yakovlev
On 20.01.2021 09:26, Michael S. Tsirkin wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Jan 20, 2021 at 01:36:31AM +0100, Anton Yakovlev wrote: Introduce ske

Re: [PATCH 4/7] ALSA: virtio: handling control and I/O messages for the PCM device

2021-01-24 Thread Anton Yakovlev
On 20.01.2021 09:29, Michael S. Tsirkin wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Jan 20, 2021 at 01:36:32AM +0100, Anton Yakovlev wrote: The driver im

Re: [PATCH 5/7] ALSA: virtio: PCM substream operators

2021-01-24 Thread Anton Yakovlev
On 20.01.2021 09:36, Michael S. Tsirkin wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Jan 20, 2021 at 01:36:33AM +0100, Anton Yakovlev wrote: Introduce the

Re: [PATCH 0/7] ALSA: add virtio sound driver

2021-01-24 Thread Anton Yakovlev
Hi, Liam! On 20.01.2021 11:10, Girdwood, Liam R wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Anton, On Wed, 2021-01-20 at 01:36 +0100, Anton Yakovlev wrote: Th

[PATCH v2 3/9] ALSA: virtio: handling control messages

2021-01-24 Thread Anton Yakovlev
The control queue can be used by different parts of the driver to send commands to the device. Control messages can be either synchronous or asynchronous. The lifetime of a message is controlled by a reference count. Introduce a module parameter to set the message completion timeout: msg_timeout

[PATCH v2 2/9] ALSA: virtio: add virtio sound driver

2021-01-24 Thread Anton Yakovlev
Introduce skeleton of the virtio sound driver. The driver implements the virtio sound device specification, which has become part of the virtio standard. Initial initialization of the device, virtqueues and creation of an empty ALSA sound device. Also, handling DEVICE_NEEDS_RESET device status. S

<    1   2   3   4   5   >