Re: [PATCH 01/16] memory: bt1-l2-ctl: Add blank lines after declarations

2020-07-27 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 08:23:13PM +0200, Krzysztof Kozlowski wrote: > Add blank lines to improve code readability. No functional change. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/bt1-l2-ctl.c | 2 ++ > 1 file changed, 2 insertions(+) Applied to drivers/memory tree. Best r

Re: [PATCH 02/16] memory: mvebu-devbus: Add missing braces to all arms of if statement

2020-07-27 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 08:23:14PM +0200, Krzysztof Kozlowski wrote: > Add missing braces to all arms of if statement to align with coding > convention. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/mvebu-devbus.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) App

Re: [PATCH 03/16] memory: mvebu-devbus: Align with open parenthesis

2020-07-27 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 08:23:15PM +0200, Krzysztof Kozlowski wrote: > The line continuation contained spaces but still failed to properly > align with open parenthesis. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/mvebu-devbus.c | 14 +++--- > 1 file changed, 7 insertio

Re: [PATCH v2 06/29] memory: Enable compile testing for most of the drivers

2020-07-27 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:15AM +0200, Krzysztof Kozlowski wrote: > Most of the memory controller drivers do not depend on architecture > specific code so can be compile tested to increase build coverage. > > When compile tested, do not enable them by default. > > Signed-off-by: Krzysztof Kozl

RE: [PATCH V2 1/4] gpio: mxc: Support module build

2020-07-27 Thread Anson Huang
Hi, Arnd > Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build > > On Wed, Jul 22, 2020 at 3:50 AM Anson Huang > wrote: > > > > Change config to tristate, add module device table, module author, > > description and license to support module build for i.MX GPIO driver. > > > > As this is

Re: [PATCH v2 1/2] memory: samsung: exynos5422-dmc: Adjust polling interval and uptreshold

2020-07-27 Thread Lukasz Luba
On 7/20/20 3:46 PM, Krzysztof Kozlowski wrote: On Fri, Jul 10, 2020 at 08:11:21PM +0100, Lukasz Luba wrote: In order to react faster and make better decisions under some workloads, benchmarking the memory subsystem behavior, adjust the polling interval and upthreshold value used by the simple

Re: [PATCH 4/4] x86/cpu: Use SERIALIZE in sync_core() when available

2020-07-27 Thread peterz
On Sun, Jul 26, 2020 at 09:31:32PM -0700, Ricardo Neri wrote: > +static inline void serialize(void) > +{ > + asm volatile(".byte 0xf, 0x1, 0xe8"); > +} Can we pretty please have a comment with the binutils version that has the mnomic? Such that when we increase the required binutils version we

Re: [PATCH v2 0/2] Exynos5422 DMC: adjust to new devfreq monitoring mechanism

2020-07-27 Thread Lukasz Luba
On 7/24/20 2:40 AM, Chanwoo Choi wrote: Hi Lukasz, On 7/11/20 4:11 AM, Lukasz Luba wrote: Hi all, This is a v2 patch set adjusting Exynos5422 DMC to the new devfreq monitoring mechanism. This time the IRQ mode is explicitly controlled using module parameter (in default the driver uses polli

[PATCH v2] tpm: Fix the description error of the help information in Kconfig

2020-07-27 Thread Tianjia Zhang
SPI protocol standardized by the TCG is described in the TCG PTP specification 1.3 (chapter 6.4.6 SPI Bit Protocol), It was published by TCG_PCClientTPMInterfaceSpecification_TIS__1-3_27_03212013.pdf. The TPM version number in the help message is wrong, which will cause confusion. This patch fixes

Re: [PATCH 4/4] x86/cpu: Use SERIALIZE in sync_core() when available

2020-07-27 Thread peterz
On Sun, Jul 26, 2020 at 09:31:32PM -0700, Ricardo Neri wrote: > @@ -75,6 +77,12 @@ static inline void sync_core(void) >* Like all of Linux's memory ordering operations, this is a >* compiler barrier as well. >*/ > + > + if (boot_cpu_has(X86_FEATURE_SERIALIZE)) { > +

Re: [PATCH] Replace HTTP links with HTTPS ones: PWM SUBSYSTEM

2020-07-27 Thread Thierry Reding
On Wed, Jul 08, 2020 at 07:59:24PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn

Re: [PATCH] tpm: Fix the description error of the help information in Kconfig

2020-07-27 Thread Tianjia Zhang
Thanks for your advice, I have submitted a v2 patch. Thanks, Tianjia On 2020/7/27 15:10, Arnd Bergmann wrote: On Mon, Jul 27, 2020 at 4:54 AM Tianjia Zhang wrote: Obviously, the TPM version number in the help message is wrong, which will cause confusion. This patch fixes it. How is this "o

[PATCH] MAINTAINERS: Update GENI I2C maintainers list

2020-07-27 Thread Akash Asthana
Alok Chauhan has moved out of GENI team, he no longer supports GENI I2C driver, remove him from maintainer list. Add Akash Asthana & Mukesh Savaliya as maintainers for GENI I2C drivers. Signed-off-by: Akash Asthana --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

Re: [PATCH 2/6] rtlwifi: Remove unnecessary parenthese in rtl_dbg uses

2020-07-27 Thread Joe Perches
On Mon, 2020-07-27 at 06:07 +, Pkshih wrote: > On Sat, 2020-07-25 at 12:55 -0700, Joe Perches wrote: > > Make these statements a little simpler. [] > > diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c [] > > @@ -874,11 +874,10 @@ static void halbtc_display_wifi_status(

Re: [PATCH v4] pwm: bcm-iproc: handle clk_get_rate() return

2020-07-27 Thread Thierry Reding
On Fri, Jul 17, 2020 at 09:46:06PM -0700, Scott Branden wrote: > From: Rayagonda Kokatanur > > Handle clk_get_rate() returning 0 to avoid possible division by zero. > > Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller") > Signed-off-by: Rayagonda Kokatanur > Signed-off-b

Include krzk/linux-mem-ctrl (for drivers/memory) in next

2020-07-27 Thread Krzysztof Kozlowski
Hi, Please include in linux-next a new tree for drivers/memory: URL: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git branches: 1. for-next into next, 2. fixes into pending fixes (for current cycle), The tree will have patches later send via pull-request to arm-soc (

Re: [PATCH] io: Fix return type of _inb and _inl

2020-07-27 Thread John Garry
On 27/07/2020 09:04, Arnd Bergmann wrote:> On Sun, Jul 26, 2020 at 2:53 PM Stafford Horne wrote: On Sun, Jul 26, 2020 at 12:00:37PM +0300, Andy Shevchenko wrote: On Sun, Jul 26, 2020 at 6:14 AM Stafford Horne wrote: The return type of functions _inb, _inw and _inl are all u16 which looks wr

Re: [PATCH v2] tpm: Fix the description error of the help information in Kconfig

2020-07-27 Thread Arnd Bergmann
On Mon, Jul 27, 2020 at 10:22 AM Tianjia Zhang wrote: > > SPI protocol standardized by the TCG is described in the TCG PTP > specification 1.3 (chapter 6.4.6 SPI Bit Protocol), It was published by > TCG_PCClientTPMInterfaceSpecification_TIS__1-3_27_03212013.pdf. I'm still not convinced you got th

RE: [PATCH] tpm: Fix the description error of the help information in Kconfig

2020-07-27 Thread Peter.Huewe
Hi, On 2020/7/27 15:10, Arnd Bergmann wrote: > On Mon, Jul 27, 2020 at 4:54 AM Tianjia Zhang > wrote: >> >> Obviously, the TPM version number in the help message is wrong, which >> will cause confusion. This patch fixes it. > > How is this "obvious"? I tried finding the specification and could

Re: [PATCH RFC 2/6] pwm: core: Add option to config PWM duty/period with u64 data length

2020-07-27 Thread Uwe Kleine-König
Hello Martin, On Mon, Jul 27, 2020 at 09:58:01AM +0200, Martin Botka wrote: > > I hit "reply-to-all" and the mail only was sent to you because you wrote > > to only me. > > Yes my reply was only to you. But your original message was sent only to me > too. > So when i clicked reply to all it was

Re: [PATCH v2 2/5] powerpc: Allow 4224 bytes of stack expansion for the signal frame

2020-07-27 Thread Gabriel Paubert
On Fri, Jul 24, 2020 at 07:25:25PM +1000, Michael Ellerman wrote: > We have powerpc specific logic in our page fault handling to decide if > an access to an unmapped address below the stack pointer should expand > the stack VMA. > > The code was originally added in 2004 "ported from 2.4". The roug

[PATCH v3 1/4] dt-bindings: usb: Add Microchip USB253x/USB3x13/USB46x4 support

2020-07-27 Thread Christian Eggers
Add DT bindings for Microchip USB253x/USB3x13/USB46x4 driver. Signed-off-by: Christian Eggers --- .../devicetree/bindings/usb/usb253x.yaml | 234 ++ 1 file changed, 234 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/usb253x.yaml diff --git a/Documen

[PATCH v3 2/4] usb: misc: Add USB253x/xi Hi-Speed Hub Controller Driver

2020-07-27 Thread Christian Eggers
This patch adds a driver for configuration of the Microchip USB253x/xi USB 2.0 hub controller series with USB 2.0 upstream connectivity, SMBus configuration interface and two to four USB 2.0 downstream ports. Furthermore add myself as a maintainer for this driver. The datasheet can be found at th

Re: [PATCH] jbd2: fix incorrect code style

2020-07-27 Thread Jan Kara
On Sat 18-07-20 08:57:37, Xianting Tian wrote: > Remove unnecessary blank. > > Signed-off-by: Xianting Tian Looks fine. Feel free to add: Reviewed-by: Jan Kara Honza > --- > fs/jbd2/journal.c | 12 ++-- > 1 file changed

Re: [PATCH] memory: samsung: exynos5422-dmc: Do not ignore return code of regmap_read()

2020-07-27 Thread Lukasz Luba
Hi Krzysztof, On 7/20/20 12:03 PM, Krzysztof Kozlowski wrote: Check for regmap_read() return code before using the read value in following write in exynos5_switch_timing_regs(). Pass reading error code to the callers. This does not introduce proper error handling for such failed reads (and obv

[PATCH v3 3/4] dt-bindings: usb: Add Microchip USB47xx/USB49xx support

2020-07-27 Thread Christian Eggers
Add DT bindings for Microchip USB47xx/USB49xx driver. Signed-off-by: Christian Eggers --- .../devicetree/bindings/usb/usb49xx.yaml | 238 ++ 1 file changed, 238 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/usb49xx.yaml diff --git a/Documentation/d

Re: [PATCH v3 4/6] pwm: cros-ec: Accept more error codes from cros_ec_cmd_xfer_status

2020-07-27 Thread Thierry Reding
On Sun, Jul 26, 2020 at 03:00:59PM -0700, Guenter Roeck wrote: > Since commit c5cd2b47b203 ("platform/chrome: cros_ec_proto: Report command > not supported") we can no longer assume that cros_ec_cmd_xfer_status() > reports -EPROTO for all errors returned by the EC itself. A follow-up > patch will c

[PATCH v3 4/4] usb: misc: Add USB49xx/xi Hi-Speed Hub Controller Driver

2020-07-27 Thread Christian Eggers
This patch adds a driver for configuration of the Microchip USB49xx/xi USB 2.0 hub controller series with USB 2.0 upstream connectivity, SMBus configuration interface and two to four USB 2.0 downstream ports. Furthermore add myself as a maintainer for this driver. The datasheet can be found at th

Re: [PATCH 4/4] x86/cpu: Use SERIALIZE in sync_core() when available

2020-07-27 Thread peterz
On Sun, Jul 26, 2020 at 10:55:15PM -0700, h...@zytor.com wrote: > For a really overenginered solution, but which might perform > unnecessary poorly on existing hardware: > > asm volatile("1: .byte 0xf, 0x1, 0xe8; 2:" > _ASM_EXTABLE(1b,2b)); Ha! cute, you take an #UD ? We

Re: [PATCH v2] i2c: i2c-qcom-geni: Fix DMA transfer race

2020-07-27 Thread Akash Asthana
On 7/26/2020 6:17 PM, Wolfram Sang wrote: On Thu, Jul 23, 2020 at 09:56:34PM +0200, Wolfram Sang wrote: On Wed, Jul 22, 2020 at 03:00:21PM -0700, Douglas Anderson wrote: When I have KASAN enabled on my kernel and I start stressing the touchscreen my system tends to hang. The touchscreen is one

Re: [PATCH] io: Fix return type of _inb and _inl

2020-07-27 Thread Arnd Bergmann
On Mon, Jul 27, 2020 at 10:30 AM John Garry wrote: > On 27/07/2020 09:04, Arnd Bergmann wrote:> On Sun, Jul 26, 2020 at 2:53 > PM Stafford Horne wrote: > >> > >> On Sun, Jul 26, 2020 at 12:00:37PM +0300, Andy Shevchenko wrote: > >>> On Sun, Jul 26, 2020 at 6:14 AM Stafford Horne wrote: > >

[PATCH v4 02/10] arm64: sparx5: Add support for Microchip 2xA53 SoC

2020-07-27 Thread Lars Povlsen
This adds support for the Microchip Sparx5 ARMv8-based SoC family of TSN-capable gigabit switches. Signed-off-by: Lars Povlsen --- MAINTAINERS | 8 arch/arm64/Kconfig.platforms | 14 ++ 2 files changed, 22 insertions(+) diff --git a/MAINTAINERS b/MAINTAINE

[PATCH v4 08/10] clk: sparx5: Add Sparx5 SoC DPLL clock driver

2020-07-27 Thread Lars Povlsen
This adds a device driver for the Sparx5 SoC DPLL clock Signed-off-by: Lars Povlsen --- drivers/clk/Makefile | 1 + drivers/clk/clk-sparx5.c | 295 +++ 2 files changed, 296 insertions(+) create mode 100644 drivers/clk/clk-sparx5.c diff --git a/drivers/

[PATCH v4 03/10] arm64: dts: sparx5: Add basic cpu support

2020-07-27 Thread Lars Povlsen
This adds the basic DT structure for the Microchip Sparx5 SoC, and the reference boards, pcb125, pcb134 and pcb135. The two latter have a NAND vs a eMMC centric variant (as a mount option). Signed-off-by: Lars Povlsen --- MAINTAINERS | 1 + arch/arm64/boot/dts

Re: [PATCH v2 4/4] xen: add helpers to allocate unpopulated memory

2020-07-27 Thread Roger Pau Monné
On Fri, Jul 24, 2020 at 12:36:33PM -0400, Boris Ostrovsky wrote: > On 7/24/20 10:34 AM, David Hildenbrand wrote: > > CCing Dan > > > > On 24.07.20 14:42, Roger Pau Monne wrote: > >> + > >> +#include > >> +#include > >> +#include > >> +#include > >> +#include > >> +#include > >> + > >> +#inclu

[PATCH v4 04/10] arm64: dts: sparx5: Add pinctrl support

2020-07-27 Thread Lars Povlsen
This add pinctrl support to the Microchip Sparx5 SoC. Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 26 +++ .../dts/microchip/sparx5_pcb134_board.dtsi| 5 .../dts/microchip/sparx5_pcb135_board.dtsi| 5 3 files changed, 36 inse

[PATCH v4 10/10] arm64: dts: sparx5: Add i2c devices, i2c muxes

2020-07-27 Thread Lars Povlsen
This patch adds i2c devices and muxes to the Sparx5 reference boards. Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 38 +++ .../boot/dts/microchip/sparx5_pcb125.dts | 4 + .../dts/microchip/sparx5_pcb134_board.dtsi| 237 ++ .../dts/mi

[PATCH v4 09/10] arm64: dts: sparx5: Add Sparx5 SoC DPLL clock

2020-07-27 Thread Lars Povlsen
This adds a DPLL clock to the Sparx5 SoC. It is used to generate clock to misc peripherals, specifically the SDHCI/eMMC controller. Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 39 +-- 1 file changed, 23 insertions(+), 16 deletions(-) diff --gi

[PATCH v4 06/10] dt-bindings: clock: sparx5: Add Sparx5 SoC DPLL clock

2020-07-27 Thread Lars Povlsen
This add the DT bindings documentation for the Sparx5 SoC DPLL clock Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- .../bindings/clock/microchip,sparx5-dpll.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/mic

[PATCH v4 01/10] dt-bindings: arm: sparx5: Add documentation for Microchip Sparx5 SoC

2020-07-27 Thread Lars Povlsen
This adds the main Sparx5 SoC DT documentation file, with information abut the supported board types. Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- .../bindings/arm/microchip,sparx5.yaml| 65 +++ .../devicetree/bindings/mfd/syscon.yaml | 1 + 2 files ch

[PATCH v4 07/10] dt-bindings: clock: sparx5: Add bindings include file

2020-07-27 Thread Lars Povlsen
The Sparx5 support 9 different clock outputs. This include file has defines for each supported clock ordinal. Signed-off-by: Lars Povlsen Reviewed-by: Stephen Boyd Reviewed-by: Rob Herring --- include/dt-bindings/clock/microchip,sparx5.h | 23 1 file changed, 23 insertions

[PATCH v4 05/10] pinctrl: ocelot: Add Sparx5 SoC support

2020-07-27 Thread Lars Povlsen
This add support for Sparx5 pinctrl, using the ocelot drives as basis. It adds pinconfig support as well, as supported by the platform. Signed-off-by: Lars Povlsen Reviewed-by: Linus Walleij --- drivers/pinctrl/pinctrl-ocelot.c | 430 ++- 1 file changed, 429 insertio

[PATCH v4 00/10] Adding support for Microchip Sparx5 SoC

2020-07-27 Thread Lars Povlsen
This patch series adds support for Microchip Sparx5 SoC, the CPU system of a advanced, TSN capable gigabit switch. The CPU is an armv8 x 2 CPU core (A53). Although this is an ARM core, it shares some peripherals with the Microsemi Ocelot MIPS SoC. NB: This version *only* updates the drivers/clk/c

[PATCH V7] GCOV: Add config to check the preqequisites situation

2020-07-27 Thread gengcixi
From: Cixi Geng Introduce new configuration option GCOV_PROFILE_PREREQS that can be used to check whether the prerequisites for enabling gcov profiling for specific files and directories are met. Only add SERIAL_GCOV for an example. Signed-off-by: Cixi Geng --- drivers/tty/serial/Kconfig |

Re: [PATCH 11/21] iommu/mediatek: Add power-domain operation

2020-07-27 Thread chao hao
On Sat, 2020-07-11 at 14:48 +0800, Yong Wu wrote: > In the previous SoC, the M4U HW is in the EMI power domain which is > always on. the latest M4U is in the display power domain which may be > turned on/off, thus we have to add pm_runtime interface for it. > > we should enable its power before M4

Re: [v3 PATCH RESEND] printk: Make linux/printk.h self-contained

2020-07-27 Thread Sergey Senozhatsky
On (20/07/21 16:22), Herbert Xu wrote: > As it stands if you include printk.h by itself it will fail to > compile because it requires definitions from ratelimit.h. However, > simply including ratelimit.h from printk.h does not work due to > inclusion loops involving sched.h and kernel.h. > > This

Re: [PATCH v2][next] printk: ringbuffer: support dataless records

2020-07-27 Thread Sergey Senozhatsky
On (20/07/21 15:31), John Ogness wrote: > With commit ("printk: use the lockless ringbuffer"), printk() > started silently dropping messages without text because such > records are not supported by the new printk ringbuffer. > > Add support for such records. > > Currently dataless records are den

Re: [PATCH v1] dmaengine: pch_dma: use generic power management

2020-07-27 Thread Vinod Koul
Hi Vaibhav, On 20-07-20, 17:07, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above mentioned, dev

Re: [PATCH] coresight: etm4x: Fix etm4_count race using atomic variable

2020-07-27 Thread Sai Prakash Ranjan
On 2020-07-27 11:37, Sai Prakash Ranjan wrote: etm4_count keeps track of number of ETMv4 registered and on some systems, a race is observed on etm4_count variable which can lead to multiple calls to cpuhp_setup_state_nocalls_cpuslocked(). This function internally calls cpuhp_store_callbacks() whi

Re: [PATCH] jbd2: check bh2jh() before accessing it

2020-07-27 Thread Jan Kara
On Sat 18-07-20 09:28:03, Xianting Tian wrote: > We met a crash issue when testing nbd device on kernel 4.14.0-115, > the scenario of the issue is "nbd device disconnected before unmounting > ext4 filesystem". > The call trace of the crash as below: > [346961.426274] block nbd2: Connection timed ou

Re: [PATCH] reiserfs: reiserfs.h: delete a duplicated word

2020-07-27 Thread Jan Kara
On Sun 19-07-20 17:14:31, Randy Dunlap wrote: > Drop the repeated word "than" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Jan Kara > Cc: Jeff Mahoney > Cc: reiserfs-de...@vger.kernel.org Thanks! Applied. Honza > --- > f

Re: [PATCH] ext2: ext2.h: fix duplicated word + typos

2020-07-27 Thread Jan Kara
On Sun 19-07-20 17:13:27, Randy Dunlap wrote: > Change the repeated word "the" in "it the the" to "it is the". > Fix typo "recentl" to "recently". > Fix verb "give" to "gives". > > Signed-off-by: Randy Dunlap > Cc: Jan Kara > Cc: linux-e...@vger.kernel.org Thanks! Applied.

Re: [PATCH] udf: osta_udf.h: delete a duplicated word

2020-07-27 Thread Jan Kara
On Sun 19-07-20 17:14:55, Randy Dunlap wrote: > Drop the repeated word "struct" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Jan Kara Thanks! Applied. Honza > --- > fs/udf/osta_udf.h |2 +- > 1 file changed, 1 inserti

Re: [PATCH v8 00/10] dmaengine: dw: Take Baikal-T1 SoC DW DMAC peculiarities into account

2020-07-27 Thread Vinod Koul
On 23-07-20, 03:58, Serge Semin wrote: > In the previous patchset I've written the next message: > > > Folks, note I've removed the next patches from the series: > > [PATCH v7 04/11] dmaengine: Introduce max SG list entries capability > > [PATCH v7 11/11] dmaengine: dw: Initialize max_sg_nents cap

Re: [PATCH] thermal: Fix zone lookup by ID

2020-07-27 Thread Thierry Reding
On Fri, Jul 24, 2020 at 07:12:49PM +0200, Daniel Lezcano wrote: > Hi Thierry, > > Applied, thanks for the fix! I ran into this as I was experimenting with the new netlink interface and got things wrong. Do you have any userspace that you use for testing this that I can use as a reference? I have

[PATCH v1] platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver

2020-07-27 Thread Shravan Kumar Ramani
The performance modules in BlueField are present in several hardware blocks and each block provides access to these stats either through counters that can be programmed to monitor supported events or through memory-mapped registers that hold the relevant information. The hardware blocks that includ

Re: Re: [PATCH v18 06/14] mm/damon: Implement callbacks for the virtual memory address spaces

2020-07-27 Thread SeongJae Park
On Mon, 27 Jul 2020 00:34:54 -0700 Greg Thelen wrote: > SeongJae Park wrote: > > > From: SeongJae Park > > > > This commit introduces a reference implementation of the address space > > specific low level primitives for the virtual address space, so that > > users of DAMON can easily monitor t

Re: [PATCH] thermal: Fix zone lookup by ID

2020-07-27 Thread Daniel Lezcano
Hi Thierry, thanks for testing the code. On 27/07/2020 11:01, Thierry Reding wrote: > On Fri, Jul 24, 2020 at 07:12:49PM +0200, Daniel Lezcano wrote: >> Hi Thierry, >> >> Applied, thanks for the fix! > > I ran into this as I was experimenting with the new netlink interface > and got things wro

Re: [PATCH 3/4] clk: mediatek: Add configurable enable control to mtk_pll_data

2020-07-27 Thread Weiyi Lu
On Thu, 2020-07-23 at 15:51 +0800, Nicolas Boichat wrote: > On Thu, Jul 23, 2020 at 10:57 AM Weiyi Lu wrote: > > > > On Wed, 2020-07-22 at 16:51 +0800, Nicolas Boichat wrote: > > > On Wed, Jul 22, 2020 at 2:50 PM Weiyi Lu wrote: > > > > > > > > In all MediaTek PLL design, bit 0 of CON0 register i

Re: [PATCH 2/6] rtlwifi: Remove unnecessary parenthese in rtl_dbg uses

2020-07-27 Thread Pkshih
On Mon, 2020-07-27 at 01:27 -0700, Joe Perches wrote: > On Mon, 2020-07-27 at 06:07 +, Pkshih wrote: > > On Sat, 2020-07-25 at 12:55 -0700, Joe Perches wrote: > > > Make these statements a little simpler. > [] > > > diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c > []

RE: [PATCH v1] platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver

2020-07-27 Thread Vadim Pasternak
> -Original Message- > From: Shravan Kumar Ramani > Sent: Monday, July 27, 2020 12:02 PM > To: Andy Shevchenko ; Darren Hart > ; Vadim Pasternak > Cc: Shravan Ramani ; Jiri Pirko > ; platform-driver-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [PATCH v1] platform/mel

Re: [PATCH v3 01/16] media: mtk-vcodec: abstract firmware interface

2020-07-27 Thread Alexandre Courbot
On Thu, Jul 23, 2020 at 6:23 AM Ezequiel Garcia wrote: > > On Mon, 13 Jul 2020 at 03:09, Alexandre Courbot wrote: > > > > From: Yunfei Dong > > > > MT8183's codec firwmare is run by a different remote processor from > > MT8173. While the firmware interface is basically the same, the way to > > i

Re: [PATCH 00/10] media: mtk-vcodec: venc: support for MT8183

2020-07-27 Thread Alexandre Courbot
Hey, thanks for the review! On Sun, Jul 26, 2020 at 11:33 PM Ezequiel Garcia wrote: > > +Enric > > Hello Alexandre, > > Thanks for the series. > > On Wed, 20 May 2020 at 05:27, Alexandre Courbot wrote: > > > > This series adds support for the encoder present on MT8183. It is very > > similar >

[PATCH 0/2] Small fixes for ASMedia host controllers

2020-07-27 Thread Forest Crossman
The first patch just defines some host controller device IDs to make the code a bit easier to read (since the controller part number is not always the same as the DID) and to prepare for the next patch. The second patch defines a new device ID for the ASM1142 and enables the XHCI_NO_64BIT_SUPPORT

Re: [PATCH v3 04/16] media: mtk-vcodec: venc: support SCP firmware

2020-07-27 Thread Alexandre Courbot
On Sat, Jul 25, 2020 at 6:13 AM Ezequiel Garcia wrote: > > Hi Alexandre, > > I'm slowly making progress on the series. Here's some more comments. > > On Mon, 13 Jul 2020 at 03:10, Alexandre Courbot wrote: > > > > From: Yunfei Dong > > > > Support the new extended firmware used by MT8183's encode

Re: [PATCH v3 07/16] media: mtk-vcodec: venc: specify supported formats per-chip

2020-07-27 Thread Alexandre Courbot
On Sun, Jul 26, 2020 at 11:29 PM Ezequiel Garcia wrote: > > Hi Alexandre, > > Last review on my side, this series looks mostly good. Thanks for taking the time to look at it! I know it's not the best looking code out there. ^_^; > > On Mon, 13 Jul 2020 at 03:09, Alexandre Courbot wrote: > > > >

Re: [PATCH v3 02/16] dt-bindings: media: mtk-vcodec: document SCP node

2020-07-27 Thread Alexandre Courbot
On Thu, Jul 23, 2020 at 6:37 AM Ezequiel Garcia wrote: > > On Mon, 13 Jul 2020 at 03:09, Alexandre Courbot wrote: > > > > The mediatek codecs can use either the VPU or the SCP as their interface > > to firmware. Reflect this in the DT bindings. > > > > Signed-off-by: Alexandre Courbot > > Acked-

Re: [PATCH v3 03/16] media: mtk-vcodec: add SCP firmware ops

2020-07-27 Thread Alexandre Courbot
On Thu, Jul 23, 2020 at 6:40 AM Ezequiel Garcia wrote: > > On Mon, 13 Jul 2020 at 03:09, Alexandre Courbot wrote: > > > > From: Yunfei Dong > > > > Add support for communicating with the SCP firmware, which will be used > > by MT8183. > > > > Signed-off-by: Yunfei Dong > > [acourbot: refactor,

Re: [Patch v1 2/4] dma: tegra: Adding Tegra GPC DMA controller driver

2020-07-27 Thread Vinod Koul
On 20-07-20, 12:04, Rajesh Gumasta wrote: > v4 changes: Removed pending dma desc list and other unused > data structures > > v3 changes: Removed free list for dma_desc and sg This is v1 patch and we have v3/v4 stuff! Anyway this can go after the marker succeeding sob line or cover! > > Adding G

[PATCH v3] Add two new configuration drivers for Microchip USB hubs

2020-07-27 Thread Christian Eggers
On Sonday, greg k-h wrote: > Please resend the whole series, not just a single patch, as it makes it > very difficult to pick the "correct" patches to be applied... Changes in v3: - none (only resend the whole series) Changes in v2: - added property description for ocs-min-width-ms - fixed pro

[PATCH 1/2] usb: xhci: define IDs for various ASMedia host controllers

2020-07-27 Thread Forest Crossman
Signed-off-by: Forest Crossman --- drivers/usb/host/xhci-pci.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 9234c82e70e4..baa5af88ca67 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhc

[PATCH 2/2] usb: xhci: Fix ASMedia ASM1142 DMA addressing

2020-07-27 Thread Forest Crossman
I've confirmed that the ASMedia ASM1142 has the same problem as the ASM2142/ASM3142, in that it too reports that it supports 64-bit DMA addresses when in fact it does not. As with the ASM2142/ASM3142, this can cause problems on systems where the upper bits matter, and adding the XHCI_NO_64BIT_SUPPO

Re: [PATCH v7 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml

2020-07-27 Thread Vinod Koul
On 19-07-20, 23:11, Amit Singh Tomar wrote: > Converts the device tree bindings for the Actions Semi Owl SoCs DMA > Controller over to YAML schemas. > > It also adds new compatible string "actions,s700-dma". Applied, thanks -- ~Vinod

Re: [PATCH net-next v3 3/7] net: macb: parse PHY nodes found under an MDIO node

2020-07-27 Thread Codrin.Ciubotariu
On 24.07.2020 20:40, Florian Fainelli wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 7/24/20 3:50 AM, Codrin Ciubotariu wrote: >> The MACB embeds an MDIO bus controller. For this reason, the PHY nodes >> were represented as sub-nodes i

Re: [PATCH v7 02/10] dmaengine: Actions: get rid of bit fields from dma descriptor

2020-07-27 Thread Vinod Koul
On 19-07-20, 23:11, Amit Singh Tomar wrote: > At the moment, Driver uses bit fields to describe registers of the DMA > descriptor structure that makes it less portable and maintainable, and > Andre suugested(and even sketched important bits for it) to make use of > array to describe this DMA descri

Re: [PATCH v7 03/10] dmaengine: Actions: Add support for S700 DMA engine

2020-07-27 Thread Vinod Koul
On 19-07-20, 23:12, Amit Singh Tomar wrote: > DMA controller present on S700 SoC is compatible with the one on S900 > (as most of registers are same), but it has different DMA descriptor > structure where registers "fcnt" and "ctrlb" uses different encoding. > > For instance, on S900 "fcnt" starts

[PATCH v3 0/4] xen/balloon: fixes for memory hotplug

2020-07-27 Thread Roger Pau Monne
Hello, The following series contain some fixes in order to split Xen unpopulated memory handling from the ballooning driver if ZONE_DEVICE is available, so that physical memory regions used to map foreign pages are not tied to memory hotplug. First two patches are bugfixes that IMO should be back

[PATCH v3 1/4] xen/balloon: fix accounting in alloc_xenballooned_pages error path

2020-07-27 Thread Roger Pau Monne
target_unpopulated is incremented with nr_pages at the start of the function, but the call to free_xenballooned_pages will only subtract pgno number of pages, and thus the rest need to be subtracted before returning or else accounting will be skewed. Signed-off-by: Roger Pau Monné Reviewed-by: Ju

[PATCH v3 2/4] xen/balloon: make the balloon wait interruptible

2020-07-27 Thread Roger Pau Monne
So it can be killed, or else processes can get hung indefinitely waiting for balloon pages. Signed-off-by: Roger Pau Monné Reviewed-by: Juergen Gross Cc: sta...@vger.kernel.org --- Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: xen-de...@lists.xenproject.org --- drivers/xen

[PATCH v3 3/4] Revert "xen/balloon: Fix crash when ballooning on x86 32 bit PAE"

2020-07-27 Thread Roger Pau Monne
This reverts commit dfd74a1edfaba5864276a2859190a8d242d18952. This has been fixed by commit dca4436d1cf9e0d237c which added the out of bounds check to __add_memory, so that trying to add blocks past MAX_PHYSMEM_BITS will fail. Note the check in the Xen balloon driver was bogus anyway, as it check

[PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-27 Thread Roger Pau Monne
To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory devices in order to create struct pages and kernel virtual mappings for the IOMEM areas of such devices. Note that on kernels without support for ZONE_DEVICE Xen will fallbac

Re: [PATCH 2/2] iio: afe: rescale: Implement write_raw

2020-07-27 Thread Peter Rosin
Hi! Sorry for the delay. Vacation... On 2020-07-26 14:41, Jonathan Cameron wrote: > On Tue, 21 Jul 2020 01:16:55 +0200 > Paul Cercueil wrote: > >> Hi Jonathan, >> >> Le sam. 15 févr. 2020 à 18:32, Jonathan Cameron a >> écrit : >>> On Mon, 10 Feb 2020 19:54:38 -0300 >>> Paul Cercueil wrote: >

Re: [PATCH] block: bfq fix blkio cgroup leakage v3

2020-07-27 Thread Oleksandr Natalenko
On 27.07.2020 10:01, Dmitry Monakhov wrote: commit db37a34c563b ("block, bfq: get a ref to a group when adding it to a service tree") introduce leak forbfq_group and blkcg_gq objects because of get/put imbalance. See trace balow: -> blkg_alloc -> bfq_pq_alloc -> bfqg_get (+1) ->bfq_activa

Re: [PATCH] media: v4l2-dev/ioctl: Fix document for VIDIOC_QUERYCAP

2020-07-27 Thread Alexandre Courbot
On Tue, Jul 21, 2020 at 4:45 AM Helen Koike wrote: > > Hi, > > On 7/20/20 6:29 AM, Jian-Jia Su wrote: > > V4L2_CAP_VIDEO_M2M is documented as 0x4000 > > V4L2_CAP_VIDEO_M2M_MPLANE is documented as 0x8000 > > This is different from the definition in include/uapi/linux/videodev2.h > > > > Nic

RE: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-27 Thread Peng Fan
> Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early > boot > > On Mon, Jul 27, 2020 at 06:44:32AM +, Peng Fan wrote: > > Hi Oleksij, > > > > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and > > > early boot > > > > > > Hi, > > > > > > On Fri, Jul 24

Re: arch/alpha/include/asm/xchg.h:234:32: sparse: sparse: cast truncates bits from constant value (5f0ecafe becomes fe)

2020-07-27 Thread Gao Xiang
Hi, On Sat, Jul 25, 2020 at 03:15:39PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 23ee3e4e5bd27bdbc0f1785eef7209ce872794c7 > commit: 47e4937a4a7ca4184fd282791dfee76c6799966a erofs: move erofs out of > staging >

Schönen Tag

2020-07-27 Thread Mr.Ahmed Muzashah
Schönen Tag, Bitte entschuldigen Sie, dass Sie einen Überraschungsbrief geschrieben haben. Ich bin Herr Ahmed Muzashah, Account Manager bei einer Investmentbank hier in Burkina Faso. Ich habe ein sehr wichtiges Geschäft, das ich mit Ihnen besprechen möchte. In meinem Konto ist ein Kontoentwurf erö

Re: [PATCH v2 1/3] dt-bindings: rtc: pcf8523: add DSM pm option for battery switch-over

2020-07-27 Thread Jon Nettleton
On Thu, Jul 23, 2020 at 10:41 PM Miguel Borges de Freitas wrote: > > Hi Alexandre, > > Having a way to dynamically change the configuration would definitely > be helpful in most cases. I decided to go with a DT property because > in the case this patch tries to solve (the cubox-i) there isn't simp

Re: [PATCH] PCI/P2PDMA: Add AMD Zen 2 root complex to the list of allowed bridges

2020-07-27 Thread Jonathan Cameron
On Fri, 24 Jul 2020 09:56:39 -0600 Logan Gunthorpe wrote: > [+cc Jonathan] > > On 2020-07-24 9:06 a.m., Bjorn Helgaas wrote: > > On Thu, Jul 23, 2020 at 02:10:52PM -0600, Logan Gunthorpe wrote: > >> On 2020-07-23 1:57 p.m., Bjorn Helgaas wrote: > >>> On Thu, Jul 23, 2020 at 02:01:17PM -0400,

[PATCH v5 02/10] net: eth: altera: set rx and tx ring size before init_dma call

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen It is more appropriate to set the rx and tx ring size before calling the init function for the dma. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Thayer --- v2: no change v3: no change v4: no change v5: no change --- drivers/net/ethernet/

[PATCH v5 03/10] net: eth: altera: fix altera_dmaops declaration

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen The declaration of struct altera_dmaops does not have identifier names. Add identifier names to confrom with required coding styles. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Thayer --- v2: no change v3: no change v4: no change v5: no

[PATCH v5 01/10] net: eth: altera: tse_start_xmit ignores tx_buffer call response

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen The return from tx_buffer call in tse_start_xmit is inapropriately ignored. tse_buffer calls should return 0 for success or NETDEV_TX_BUSY. tse_start_xmit should return not report a successful transmit when the tse_buffer call returns an error condition. In addition to

Re: [PATCH 1/2] iio: afe: rescale: Add support for converting scale avail table

2020-07-27 Thread Peter Rosin
Hi! On 2020-02-10 23:54, Paul Cercueil wrote: > When the IIO channel has a scale_available attribute, we want the values > contained to be properly converted the same way the scale value is. > > Signed-off-by: Paul Cercueil > --- > drivers/iio/afe/iio-rescale.c | 125 +++

Re: [PATCH] video: fbdev: added driver for sharp memory lcd displays

2020-07-27 Thread Daniel Vetter
On Sun, Jul 26, 2020 at 7:22 PM Sam Ravnborg wrote: > > Hi Rodrigo. > > On Fri, Jul 24, 2020 at 05:34:04PM -0300, Rodrigo Alencar wrote: > > The supported displays are ls027b7dh01 (tested), ls044q7dh01, > > ls013b7dh05, ls013b7dh03 > > > > Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.

[PATCH v5 00/10] net: eth: altera: tse: Add PTP and mSGDMA prefetcher

2020-07-27 Thread Ooi, Joyce
From: Joyce Ooi This patch series cleans up the Altera TSE driver and adds support for the newer msgdma prefetcher as well as ptp support when using the msgdma prefetcher. v2: Rename altera_ptp to intel_fpga_tod, modify msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and mino

[PATCH v5 06/10] net: eth: altera: Add missing identifier names to function declarations

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen The sgdma and msgdma header files included function declarations without identifier names for pointers. Add appropriate identifier names. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Thayer --- v2: this patch is added in patch version 2

[PATCH v5 04/10] net: eth: altera: add optional function to start tx dma

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen Allow for optional start up of tx dma if the start_txdma function is defined in altera_dmaops. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Thayer --- v2: no change v3: no change v4: no change v5: no change --- drivers/net/ethernet/alter

[PATCH v5 05/10] net: eth: altera: Move common functions to altera_utils

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen Move request_and_map and other shared functions to altera_utils. This is the first step to moving common code out of tse specific code so that it can be shared with future altera ethernet ip. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Th

[PATCH v4 0/3] Add USB role switch support to DWC2

2020-07-27 Thread Amelie Delaunay
When using usb-c connector (but it can also be the case with a micro-b connector), iddig, avalid, bvalid, vbusvalid input signals may not be connected to the DWC2 OTG controller. DWC2 OTG controller features an overriding control of the PHY voltage valid and ID input signals. So, missing signals ca

[PATCH v5 07/10] net: eth: altera: change tx functions to type netdev_tx_t

2020-07-27 Thread Ooi, Joyce
From: Dalon Westergreen Modify all msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and also modify main tx function to be of netdev_tx_t type. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Thor Thayer --- v2: this patch is added in patch version 2 v3:

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