[PATCH v2 1/5] ASoC: max98373: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai Fixes: 56a5b7910e96 ("ASoC: codecs: max98373: add SoundWire support") Signed-off-by: Vinod Koul ---

[PATCH v2 4/5] ASoC: rt715: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai Fixes: d1ede0641b05 ("ASoC: rt715: add RT715 codec driver") Signed-off-by: Vinod Koul ---

[PATCH v2 5/5] ASoC: rt700: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai Fixes: 7d2a5f9ae41e ("ASoC: rt700: add rt700 codec driver") Signed-off-by: Vinod Koul ---

Re: [PATCH 1/2] veth: Initialize dev->perm_addr

2020-08-26 Thread David Miller
From: Mira Ressel Date: Wed, 26 Aug 2020 16:29:01 + > On Wed, Aug 26, 2020 at 08:28:57AM -0700, David Miller wrote: >> From: Mira Ressel >> Date: Wed, 26 Aug 2020 15:20:00 + >> >> > I'm setting the peer->perm_addr, which would otherwise be zero, to its >> > dev_addr, which has been

[PATCH v2 3/5] ASoC: rt711: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai Fixes: 320b8b0d13b8 ("ASoC: rt711: add rt711 codec driver") Signed-off-by: Vinod Koul ---

[PATCH v2 2/5] ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai Fixes: a87a6653a28c ("ASoC: rt1308-sdw: add rt1308 SdW amplifier driver") Signed-off-by: Vinod Koul ---

[PATCH v2 0/5] ASoC: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
This series attempts to fix return check for devm_regmap_init_sdw() Changes in v2: - Add missing patch for rt711 - Add patch for rt700 Vinod Koul (5): ASoC: max98373: Fix return check for devm_regmap_init_sdw() ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw() ASoC: rt711:

Re: localmodconfig - "intel_rapl_perf config not found!!"

2020-08-26 Thread Changbin Du
On Tue, Aug 25, 2020 at 02:34:34PM -0700, Randy Dunlap wrote: > On 8/25/20 2:12 PM, Randy Dunlap wrote: > >> On Tue, Aug 25, 2020 at 2:13 PM Randy Dunlap wrote: > >>> > >>> so intel_rapl_perf is listed in your lsmod.cfg file: > >>> intel_rapl_perf16384 2 > >>> > >>> You say Linux 5.8.3.

[PATCH 3/3] crypto: ccree - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/ccree/cc_driver.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 1/3] crypto: sa2ul - Hide pointer and fix -Wpointer-to-int-cast in dev_dbg()

2020-08-26 Thread Krzysztof Kozlowski
Pointers should not be printed because they might leak important information about address space layout. Use %p to hash the value. This also fixes compilation warnings on 32-bit architecture: drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of different size

[PATCH 2/3] crypto: sa2ul - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/sa2ul.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git

[tip: x86/urgent] MAINTAINERS: Add entry for HPE Superdome Flex (UV) maintainers

2020-08-26 Thread tip-bot2 for Steve Wahl
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: d4f07268d035721dd055ceb0de98ace6ac5f858b Gitweb: https://git.kernel.org/tip/d4f07268d035721dd055ceb0de98ace6ac5f858b Author:Steve Wahl AuthorDate:Mon, 24 Aug 2020 17:14:39 -05:00 Committer:

Re: [PATCH 1/2] veth: Initialize dev->perm_addr

2020-08-26 Thread Mira Ressel
On Wed, Aug 26, 2020 at 08:28:57AM -0700, David Miller wrote: > From: Mira Ressel > Date: Wed, 26 Aug 2020 15:20:00 + > > > I'm setting the peer->perm_addr, which would otherwise be zero, to its > > dev_addr, which has been either generated randomly by the kernel or > > provided by userland

Re: [PATCH] intel_idle: Add ICL support

2020-08-26 Thread Artem Bityutskiy
On Wed, 2020-08-26 at 19:25 +0300, Artem Bityutskiy wrote: > C6 Ok, too long day, I meant C10 here...

Re: [PATCH 2/8] mm: Use find_get_swap_page in memcontrol

2020-08-26 Thread Johannes Weiner
On Wed, Aug 26, 2020 at 03:54:14PM +0100, Matthew Wilcox wrote: > On Wed, Aug 26, 2020 at 10:20:02AM -0400, Johannes Weiner wrote: > > On Wed, Aug 19, 2020 at 07:48:44PM +0100, Matthew Wilcox (Oracle) wrote: > > > + return find_get_swap_page(vma->vm_file->f_mapping, > > > +

Re: [PATCH v6 0/9] Add UEFI support for RISC-V

2020-08-26 Thread Palmer Dabbelt
On Wed, 26 Aug 2020 04:22:07 PDT (-0700), a...@kernel.org wrote: On Tue, 25 Aug 2020 at 20:04, Palmer Dabbelt wrote: On Wed, 19 Aug 2020 15:24:16 PDT (-0700), Atish Patra wrote: > This series adds UEFI support for RISC-V. > > Linux kernel: v5.9-rc1 > U-Boot: v2020.07 > OpenSBI: master > >

Re: [PATCH] perf stat: update POWER9 metrics to utilize other metrics

2020-08-26 Thread Ian Rogers
On Fri, Aug 14, 2020 at 5:43 AM Arnaldo Carvalho de Melo wrote: > > Em Fri, Aug 14, 2020 at 11:20:42AM +0530, kajoljain escreveu: > > > > > > On 8/14/20 9:13 AM, Ian Rogers wrote: > > > On Thu, Aug 13, 2020 at 3:21 PM Paul A. Clarke wrote: > > >> > > >> These changes take advantage of the new

[PATCH] arm64: dts: diamonmesa: add device tree for Intel Diamond Mesa

2020-08-26 Thread richard . gong
From: Richard Gong Add the device tree files for Intel Diamond Mesa SoC Signed-off-by: Richard Gong --- arch/arm64/Kconfig.platforms | 5 + arch/arm64/boot/dts/intel/Makefile | 1 + arch/arm64/boot/dts/intel/socfpga_diamondmesa.dts | 41 ++

Re: [PATCH] intel_idle: Add ICL support

2020-08-26 Thread Artem Bityutskiy
On Wed, 2020-08-26 at 19:19 +0300, Artem Bityutskiy wrote: > May be there is a BIOS update that fixes this problem? May be Windows > user get it quickly because stuff like this is often well-integrated in > Windows? Would you please check if there is newer BIOS? Oh, wait a second. So ACPI_C3 is

Re: [PATCH] drm/i915/lspcon: Limits to 8 bpc for RGB/YCbCr444

2020-08-26 Thread Ville Syrjälä
On Wed, Aug 26, 2020 at 01:21:15PM +0800, Kai-Heng Feng wrote: > LSPCON only supports 8 bpc for RGB/YCbCr444. > > Set the correct bpp otherwise it renders blank screen. Hmm. Does git://github.com/vsyrjala/linux.git dp_downstream_ports_5 work? Actually better make that

[PATCH] arm64: defconfig: include Intel Diamond Mesa platform

2020-08-26 Thread richard . gong
From: Richard Gong Include Intel Diamond Mesa SoC platform to the arm64 defconfig so that we build the Diamond Mesa in the standard arm64 defconfig. Signed-off-by: Richard Gong --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig

Re: [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"

2020-08-26 Thread Alexei Starovoitov
On Wed, Aug 26, 2020 at 1:59 AM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake an a check error message. Fix it. Kinda ironic that you've made a spelling mistake in the commit log that fixes spelling in the test. Whatever scripts you use to detect spelling errors,

Re: [PATCH 4/6] pwm: sifive: Simplify with dev_err_probe()

2020-08-26 Thread Palmer Dabbelt
On Wed, 26 Aug 2020 07:47:45 PDT (-0700), k...@kernel.org wrote: Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/pwm/pwm-sifive.c | 8 +++- 1 file changed, 3

Re: [PATCH] intel_idle: Add ICL support

2020-08-26 Thread Rafael J. Wysocki
On Wed, Aug 26, 2020 at 6:02 PM Rafael J. Wysocki wrote: > > On Wed, Aug 26, 2020 at 4:04 PM Guilhem Lettron wrote: > > > > On Wed, 26 Aug 2020 at 15:41, Zhang Rui wrote: > > > > > > > > > This is really hard to read. > > > can you please attach the two turbostat output as attachments? > > > >

Re: [PATCH 4/4] ASoC: rt715: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Vinod Koul
On 26-08-20, 10:09, Pierre-Louis Bossart wrote: > > > On 8/26/20 7:28 AM, Vinod Koul wrote: > > devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on > > failure which should be checked with IS_ERR. Also use PTR_ERR for > > returning error codes. > > Do you mind changing these

Re: [PATCH v2 05/23] arm64: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Excerpts from Catalin Marinas's message of August 27, 2020 1:25 am: > On Thu, Aug 27, 2020 at 12:52:31AM +1000, Nicholas Piggin wrote: >> Cc: Catalin Marinas >> Cc: Will Deacon >> Cc: linux-arm-ker...@lists.infradead.org >> Signed-off-by: Nicholas Piggin > > Acked-by: Catalin Marinas >

Re: [PATCH V2 3/9] PCI/portdrv: Add pcie_walk_rcec() to walk RCiEPs associated with RCEC

2020-08-26 Thread Kuppuswamy, Sathyanarayanan
On 8/4/20 12:40 PM, Sean V Kelley wrote: From: Qiuxu Zhuo When an RCEC device signals error(s) to a CPU core, the CPU core needs to walk all the RCiEPs associated with that RCEC to check errors. So add the function pcie_walk_rcec() to walk all RCiEPs associated with the RCEC device. I

Re: [PATCH] intel_idle: Add ICL support

2020-08-26 Thread Artem Bityutskiy
Indeed, when I compare them: acpi_idle (without the patch): CPU%c1 CPU%c6 CPU%c7 CoreTmp PkgTmp GFX%rc6 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 PkgWatt 29.48 0.0060.71 58 58 97.96 16.96 0.000.000.00 0.000.000.006.08 intel_idle

Re: [PATCH v2] h8300: Replace by

2020-08-26 Thread Masahiro Yamada
On Mon, Aug 24, 2020 at 12:46 PM Yoshinori Sato wrote: > > On Wed, 19 Aug 2020 21:29:25 +0900, > Geert Uytterhoeven wrote: > > > > The H8/300 platform code is not a clock provider, and just needs to call > > of_clk_init(). > > > > Hence it can include instead of . > > > > Signed-off-by: Geert

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Andy Shevchenko
> >>> > >>>> Brooke Basile (2): > >>>> USB: gadget: u_f: add overflow checks to VLA macros > >>> Sorry, but the above patch breaks USB Ethernet Gadget operation. It also > >>> didn't get the proper testing in linux-next (next-

[PATCH v2] iio: adc: stm32: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Update also stm32-dfsdm-core and stm32-dac-core. 2. Wrap around 100 characters (accepted by checkpatch).

Re: [PATCH 08/16] iio: adc: stm32: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 04:51:45PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/iio/adc/stm32-adc-core.c | 62

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Marek Szyprowski
USB: gadget: u_f: add overflow checks to VLA macros >>> Sorry, but the above patch breaks USB Ethernet Gadget operation. It also >>> didn't get the proper testing in linux-next (next-20200826 is the first >>> one with this patch). >>> >>> This is

Re: [PATCH V2 2/9] PCI: Extend Root Port Driver to support RCEC

2020-08-26 Thread Kuppuswamy, Sathyanarayanan
On 8/4/20 12:40 PM, Sean V Kelley wrote: From: Qiuxu Zhuo If a Root Complex Integrated Endpoint (RCiEP) is implemented, errors may optionally be sent to a corresponding Root Complex Event Collector (RCEC). Each RCiEP must be associated with no more than one RCEC. Interface errors are

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Greg KH
; > > >USB: gadget: u_f: add overflow checks to VLA macros > > > > > > Sorry, but the above patch breaks USB Ethernet Gadget operation. It also > > > didn't get the proper testing in linux-next (next-20200826 is the first > > > one with this patc

[PATCH 2/2] iio: magnetometer: iio-mux: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/multiplexer/iio-mux.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] iio: magnetometer: mag3110: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/magnetometer/mag3110.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git

[PATCH v9 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-26 Thread Ben Levinsky
The driver was tested on Xilinx ZynqMP For sake of ease of review, only support ZynqMP. Once accepted, then add support for Versal platform and R5 loading onto OCM. v2: - remove domain struct as per review from Mathieu v3: - add xilinx-related platform mgmt fn's instead of wrapping around

[PATCH v9 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-26 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by: Ben

[PATCH v9 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-26 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different 2 configurations: split or lock-step. The Xilinx R5 Remoteproc Driver boots the R5's via calls to the Xilinx Platform Management Unit that handles the R5 configuration,

Re: [PATCH] x86/irq: Preserve vector in orig_ax for APIC code

2020-08-26 Thread Andy Lutomirski
On Wed, Aug 26, 2020 at 7:27 AM Thomas Gleixner wrote: > > On Wed, Aug 26 2020 at 13:53, Alexander Graf wrote: > > Commit 633260fa143 ("x86/irq: Convey vector as argument and not in ptregs") > > changed the handover logic of the vector identifier from ~vector in orig_ax > > to purely register

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 7:00 PM Kees Cook wrote: > On Wed, Aug 26, 2020 at 05:33:47PM +0200, Greg KH wrote: > > On Wed, Aug 26, 2020 at 05:02:38PM +0200, Marek Szyprowski wrote: > > > On 26.08.2020 15:43, Greg KH wrote: ... > > Why is slub.c erroring? How is this related to freeing memory? > >

Re: [PATCH v1] driver core: Annotate dev_err_probe() with __must_check

2020-08-26 Thread Joe Perches
On Wed, 2020-08-26 at 18:55 +0300, Andy Shevchenko wrote: > On Wed, Aug 26, 2020 at 08:44:30AM -0700, Joe Perches wrote: > > On Wed, 2020-08-26 at 13:44 +0300, Andy Shevchenko wrote: > > ... > > > > -int dev_err_probe(const struct device *dev, int err, const char *fmt, > > > ...); > > > +int

[PATCH v9 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-08-26 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v9 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-26 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note few things on code style of zynqmp_pm_request_wakeup and zynqmp_pm_force_pwrdwn: - in editor the args are properly aligned and this is reflected in that when running checkpatch.pl --strict on this patch the

Re: [PATCH 29/29] tools: Avoid comma separated statements

2020-08-26 Thread Thomas Renninger
Am Mittwoch, 26. August 2020, 16:45:24 CEST schrieb Joe Perches: > On Wed, 2020-08-26 at 11:30 +0200, Thomas Renninger wrote: > > Hi, > > > Read the block immediately below that too: > > "This does not apply if only one branch of a conditional statement is a > single statement; in the latter

[PATCH v9 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-08-26 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h | 19

Re: [PATCH] iio: light: as73211: Fix AS73211_CREG1_GAIN_1

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 12:55 PM Christian Eggers wrote: > > Wrong value was introduced during review process. Ooops, long reviews have their outcomes... Reviewed-by: Andy Shevchenko > Signed-off-by: Christian Eggers > --- > Patch against jic23/iio.git, branch testing > >

Re: [PATCH] writeback: clear auto_free in initializaiton

2020-08-26 Thread Jan Kara
On Tue 18-08-20 07:13:30, t...@redhat.com wrote: > From: Tom Rix > > Review fs/fs-writeback.c bdi_split_work_to_wbs > The CONFIG_CGROUP_WRITEBACK version contains this line > base_work->auto_free = 0; It is actually the !CONFIG_CGROUP_WRITEBACK version... > Which seems like a strange

Re: [PATCH 1/3] iio: gyro: adxrs290: Add triggered buffer support

2020-08-26 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 4:11 PM Nishant Malpani wrote: > > Provide a way for continuous data capture by setting up buffer support. The > data ready signal exposed at the SYNC pin of the ADXRS290 is exploited as > a hardware interrupt which triggers to fill the buffer. > > Triggered buffer setup

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Vladimir Oltean
On Wed, Aug 26, 2020 at 08:43:20PM +0530, Kuldip Dwivedi wrote: > Just a query, Can't we use meaningful HID for different SoC just like > compatible strings in DT ? > In this way Silicon parameters can also be added in > fsl_dspi_devtype_data structure , which is already exist in driver I don't

[tip: x86/cache] x86/resctrl: Enable user to view thread or core throttling mode

2020-08-26 Thread tip-bot2 for Fenghua Yu
The following commit has been merged into the x86/cache branch of tip: Commit-ID: 29b6bd41ee24f69a85666b9f68d500b382d408fd Gitweb: https://git.kernel.org/tip/29b6bd41ee24f69a85666b9f68d500b382d408fd Author:Fenghua Yu AuthorDate:Mon, 24 Aug 2020 12:11:21 -07:00 Committer:

[tip: x86/cache] x86/resctrl: Enumerate per-thread MBA controls

2020-08-26 Thread tip-bot2 for Fenghua Yu
The following commit has been merged into the x86/cache branch of tip: Commit-ID: e48cb1a3fb9165009fe318e1db2fde10d303c1d3 Gitweb: https://git.kernel.org/tip/e48cb1a3fb9165009fe318e1db2fde10d303c1d3 Author:Fenghua Yu AuthorDate:Mon, 24 Aug 2020 12:11:20 -07:00 Committer:

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-08-26 Thread Andrew Lunn
> (I can't imagine SPI being fast enough to be useful for ethernet...) There are plenty of IoT things which only need a few kbit/s. A VoIP phone can probably get by with 128Kbps, which a 50Mbps SPI bus has no problem to provide, etc. Andrew

Re: [PATCH V3 2/3] arm64: dts: qcom: sc7180: Add sleep pin ctrl for BT uart

2020-08-26 Thread skakit
Hi Matthias, On 2020-08-25 22:08, Matthias Kaehlcke wrote: On Tue, Aug 25, 2020 at 06:42:28PM +0530, ska...@codeaurora.org wrote: On 2020-08-21 22:52, Matthias Kaehlcke wrote: > On Thu, Aug 20, 2020 at 07:21:06PM +0530, satya priya wrote: > > Add sleep pin ctrl for BT uart, and also change the

Re: [PATCH v2] iio: dac: ad5593r: Dynamically set AD5593R channel modes

2020-08-26 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 1:19 PM William Sung wrote: > > To use ad5593r more flexibly, we use the module parameter to setting the > channel modes dynamically whenever the module probe up. Users can pass > the channel modes to the module parameter for allocating the > functionality of channels as

[PATCH v5 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-08-26 Thread Sumit Semwal
Novatek nt36672a is a display driver IC that can drive DSI panel. It is also present in the Tianma video mode panel, which is a FHD+ panel with a resolution of 1080x2246 and 6.18 inches size. It is found in some of the Poco F1 phones. This patch adds the display driver for the IC, with support

[PATCH v5 2/2] drm: panel: Add novatek nt36672a panel driver

2020-08-26 Thread Sumit Semwal
Novatek NT36672a is a generic DSI IC that drives command and video mode panels. Add the driver for it. Right now adding support for some Poco F1 phones that have an LCD panel from Tianma connected with this IC, with a resolution of 1080x2246 that operates in DSI video mode. During testing, Benni

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-08-26 Thread Andrew Lunn
> >> +module_param(comp, int, 0); > >> +MODULE_PARM_DESC(comp, "0=Non-Compression Mode, 1=Compression Mode"); > >> + > >> +module_param(ps_level, int, 0); > >> +MODULE_PARM_DESC(ps_level, > >> + "Power Saving Level (0:disable 1:level 1 2:level 2)"); > >> + > >> +module_param(msg_enable, int, 0);

[PATCH v5 0/2] Add support for Tianma nt36672a video mode panel

2020-08-26 Thread Sumit Semwal
Some Poco F1 phones from Xiaomi have a FHD+ video mode panel based on the Novatek NT36672A display controller; Add support for the same. Most of the panel data is taken from downstream panel dts, and is converted to drm-panel based driver by me. It has been validated with v5.9-rc1 based

Re: [PATCH] intel_idle: Add ICL support

2020-08-26 Thread Rafael J. Wysocki
On Wed, Aug 26, 2020 at 4:04 PM Guilhem Lettron wrote: > > On Wed, 26 Aug 2020 at 15:41, Zhang Rui wrote: > > > > > > This is really hard to read. > > can you please attach the two turbostat output as attachments? > > of course :) Thanks! A couple of things happen here AFAICS. First, your

Re: [PATCH 5/5] power: supply: lego_ev3: Simplify with dev_err_probe()

2020-08-26 Thread Sebastian Reichel
Hi, On Wed, Aug 26, 2020 at 10:11:02AM -0500, David Lechner wrote: > On 8/26/20 9:48 AM, Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > > dev_err_probe(). Less code and also it prints the error value. > > > > Signed-off-by: Krzysztof Kozlowski

Re: [PATCH 1/3] dt-bindings: Add support for Broadcom USB pin map driver

2020-08-26 Thread Alan Cooper
On Tue, Aug 25, 2020 at 11:46 AM Rob Herring wrote: > > +Linus W > > On Tue, Aug 25, 2020 at 6:26 AM Alan Cooper wrote: > > > > On Mon, Aug 24, 2020 at 7:30 PM Rob Herring wrote: > > > > > > On Wed, Aug 12, 2020 at 04:20:16PM -0400, Al Cooper wrote: > > > > Add DT bindings for the Broadcom USB

[PATCH 1/2] cpufreq: s5pv210: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/cpufreq/s5pv210-cpufreq.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

[PATCH 2/2] cpufreq: s5pv210: Use dev_err instead of pr_err in probe

2020-08-26 Thread Krzysztof Kozlowski
dev_err() allows easily to identify the device printing the message so no need for __func__. Signed-off-by: Krzysztof Kozlowski --- drivers/cpufreq/s5pv210-cpufreq.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c

Re: [PATCH v3] lib/string.c: implement stpcpy

2020-08-26 Thread Masahiro Yamada
On Tue, Aug 25, 2020 at 10:58 PM Nick Desaulniers wrote: > > LLVM implemented a recent "libcall optimization" that lowers calls to > `sprintf(dest, "%s", str)` where the return value is used to > `stpcpy(dest, str) - dest`. This generally avoids the machinery involved > in parsing format strings.

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Kees Cook
gt; >usb: hcd: Fix use after free in usb_hcd_pci_remove() > > > > > > Badhri Jagan Sridharan (1): > > >usb: typec: tcpm: Fix Fix source hard reset response for TDA > > > 2.3.1.1 and TDA 2.3.1.2 failures > > > > > > Bastien Nocera (2): > &

Re: [PATCH v2 0/2] ima: Fix keyrings race condition and other key related bugs

2020-08-26 Thread Nayna
On 8/11/20 3:26 PM, Tyler Hicks wrote: v2: - Always return an ERR_PTR from ima_alloc_rule_opt_list() (Nayna) - Add Lakshmi's Reviewed-by to both patches - Rebased on commit 3db0d0c276a7 ("integrity: remove redundant initialization of variable ret") of next-integrity v1:

Re: [PATCH v2] perf expr: Force encapsulation on expr_id_data

2020-08-26 Thread Jiri Olsa
On Wed, Aug 26, 2020 at 08:30:55AM -0700, Ian Rogers wrote: > This patch resolves some undefined behavior where variables in > expr_id_data were accessed (for debugging) without being defined. To > better enforce the tagged union behavior, the struct is moved into > expr.c and accessors provided.

Re: [PATCH 11/16] iio: chemical: scd30: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 05:34:34PM +0200, Tomasz Duszynski wrote: > On Wed, Aug 26, 2020 at 04:51:48PM +0200, Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > > dev_err_probe(). Less code and also it prints the error value. > > > > Signed-off-by:

Re: [PATCH v2] efi/efivars: Create efivars mount point via efivars abstraction

2020-08-26 Thread joeyli
Hi Ard, On Wed, Aug 26, 2020 at 02:08:18PM +0200, Ard Biesheuvel wrote: > On Wed, 26 Aug 2020 at 02:46, Lee, Chun-Yi wrote: > > > > This patch creates efivars mount point when active efivars abstraction > > be set. It is useful for userland to determine the availability of efivars > >

Re: [PATCH 2/2] drm/exynos: hdmi: Simplify with dev_err_probe()

2020-08-26 Thread Andrzej Hajda
On 26.08.2020 16:55, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andrzej Hajda Regards Andrzej

Re: [PATCH 12/30] wireless: ath: wil6210: wmi: Correct misnamed function parameter 'ptr_'

2020-08-26 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Function parameter or > member 'ptr_' not described in 'wmi_buffer_block' > drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Excess function > parameter 'ptr'

Re: [PATCH 1/2] drm/exynos: dsi: Simplify with dev_err_probe()

2020-08-26 Thread Andrzej Hajda
On 26.08.2020 16:55, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andrzej Hajda Regards Andrzej

Re: [PATCH 25/32] wireless: ath: wil6210: wmi: Fix formatting and demote non-conforming function headers

2020-08-26 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/ath/wil6210/wmi.c:52: warning: Incorrect use of > kernel-doc format: * Addressing - theory of operations > drivers/net/wireless/ath/wil6210/wmi.c:70: warning: Incorrect use of > kernel-doc format:

Re: [PATCH v1] driver core: Annotate dev_err_probe() with __must_check

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 08:44:30AM -0700, Joe Perches wrote: > On Wed, 2020-08-26 at 13:44 +0300, Andy Shevchenko wrote: ... > > -int dev_err_probe(const struct device *dev, int err, const char *fmt, ...); > > +int __must_check dev_err_probe(const struct device *dev, int err, const > > char

Re: [PATCH 0/4] TopDown metrics support for Ice Lake (perf tool)

2020-08-26 Thread Jiri Olsa
On Thu, Aug 20, 2020 at 09:45:28AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > The kernel patches have been merged into the tip's perf/core branch. > The patch set is on top of commit 2cb5383b30d4 ("perf/x86/intel: Support > per-thread RDPMC TopDown metrics") of the tip's

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Andy Shevchenko
; Sorry, but the above patch breaks USB Ethernet Gadget operation. It also > > didn't get the proper testing in linux-next (next-20200826 is the first > > one with this patch). > > > > This is how it explodes on Samsung Exynos (ARM 32bit) based board with > > g_ether mo

Re: [patch V2 34/46] PCI/MSI: Make arch_.*_msi_irq[s] fallbacks selectable

2020-08-26 Thread Thomas Gleixner
On Wed, Aug 26 2020 at 13:17, Thomas Gleixner wrote: > + * If CONFIG_PCI_MSI_ARCH_FALLBACKS is not selected they are replaced by > + * stubs with warnings. > */ > +#ifdef CONFIG_PCI_MSI_DISABLE_ARCH_FALLBACKS Groan, I obviously failed to pull that back from the test box where I fixed it. That

Re: [PATCH] Documentation: add minimum clang/llvm version

2020-08-26 Thread Sedat Dilek
On Wed, Aug 26, 2020 at 12:26 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start > small, supporting just one formal upstream release of LLVM for now. > > We can probably widen the support window of supported versions over

Re: [PATCH v5 0/7] make hdmi work on bananapi-r2

2020-08-26 Thread Frank Wunderlich
Just a gentle ping...any opinions? regards Frank

[PATCH] drm/vkms: replace deprecated functions in vkms_driver

2020-08-26 Thread Sidong Yang
gem_vm_ops and gem_free_object_unlocked function pointer is deprecated. This patch replace these functions with drm_gem_object_funcs. And functions used in drm_gem_object_funcs, vkms_gem_vm_ops and vkms_gem_free_object, are not used other file but vkms_gem.c. So these goes static functions. When

Re: [PATCH v2 2/2] MIPS: Add support for ZSTD-compressed kernels

2020-08-26 Thread kernel test robot
Hi Paul, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.9-rc2 next-20200826] [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 documented in https

Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field

2020-08-26 Thread Vivek Goyal
On Wed, Aug 26, 2020 at 04:06:35PM +0200, Miklos Szeredi wrote: > On Thu, Aug 20, 2020 at 12:21 AM Vivek Goyal wrote: > > > > The device communicates FUSE_SETUPMAPPING/FUSE_REMOVMAPPING alignment > > constraints via the FUST_INIT map_alignment field. Parse this field and > > ensure our DAX

Re: [PATCH 6/8] mm: Convert find_get_entry to return the head page

2020-08-26 Thread Matthew Wilcox
On Wed, Aug 26, 2020 at 11:09:25AM -0400, Johannes Weiner wrote: > On Wed, Aug 19, 2020 at 07:48:48PM +0100, Matthew Wilcox (Oracle) wrote: > > There are only three callers remaining of find_get_entry(). > > find_get_swap_page() is happy to get the head page instead of the subpage. > > Add

Re: [PATCH 11/16] iio: chemical: scd30: Simplify with dev_err_probe()

2020-08-26 Thread Tomasz Duszynski
On Wed, Aug 26, 2020 at 04:51:48PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/iio/chemical/scd30_core.c | 10

Re: [PATCH v1] driver core: Annotate dev_err_probe() with __must_check

2020-08-26 Thread Joe Perches
On Wed, 2020-08-26 at 13:44 +0300, Andy Shevchenko wrote: > We have got already new users of this API which interpret it differently > and miss the opportunity to optimize their code. > > In order to avoid similar cases in the future, annotate dev_err_probe() > with __must_check. > > Fixes:

Re: Issue with iwd + Linux 5.8.3 + WPA Enterprise

2020-08-26 Thread Ard Biesheuvel
On Wed, 26 Aug 2020 at 17:33, Denis Kenzior wrote: > > Hi Herbert, > > On 8/26/20 9:19 AM, Herbert Xu wrote: > > On Wed, Aug 26, 2020 at 08:57:17AM -0500, Denis Kenzior wrote: > >> > >> I'm just waking up now, so I might seem dense, but for my education, can > >> you > >> tell me why we need to

Re: [PATCH v3] lib/string.c: implement stpcpy

2020-08-26 Thread Sedat Dilek
On Tue, Aug 25, 2020 at 3:58 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > LLVM implemented a recent "libcall optimization" that lowers calls to > `sprintf(dest, "%s", str)` where the return value is used to > `stpcpy(dest, str) - dest`. This generally avoids the machinery involved > in

Re: [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG

2020-08-26 Thread kernel test robot
Hi YueHaibing, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux-nvdimm/libnvdimm-for-next] [also build test ERROR on v5.9-rc2 next-20200826] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Please Could you help me in this transaction?

2020-08-26 Thread Miss Nadal Aoussa
-- Hello Dear, I am very sorry that my letter may come as a surprise to you since we have never met each other before. I am Miss Nidal Aoussa. I am the only daughter of Cheikh Ag Aoussa, the President of (HCUA) in Mali who was assasinated on the octobre 2016. I have a business transaction which

Re: Issue with iwd + Linux 5.8.3 + WPA Enterprise

2020-08-26 Thread Denis Kenzior
Hi Herbert, On 8/26/20 9:19 AM, Herbert Xu wrote: On Wed, Aug 26, 2020 at 08:57:17AM -0500, Denis Kenzior wrote: I'm just waking up now, so I might seem dense, but for my education, can you tell me why we need to set MSG_MORE when we issue just a single sendmsg followed immediately by

[PATCH] hwrng: cctrn - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/char/hw_random/cctrng.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Greg KH
2): > >USB: Also match device drivers using the ->match vfunc > >USB: Fix device driver race > > > > Brooke Basile (2): > >USB: gadget: u_f: add overflow checks to VLA macros > > Sorry, but the above patch breaks USB Ethernet Gadget ope

Re: [PATCH 1/2] perf expr: Force encapsulation on expr_id_data

2020-08-26 Thread Ian Rogers
On Wed, Aug 26, 2020 at 4:34 AM Jiri Olsa wrote: > > On Tue, Aug 25, 2020 at 09:29:09PM -0700, Ian Rogers wrote: > > This patch resolves some undefined behavior where variables in > > expr_id_data were accessed (for debugging) without being defined. To > > better enforce the tagged union

Re: [PATCH] Documentation: add minimum clang/llvm version

2020-08-26 Thread Kees Cook
On Tue, Aug 25, 2020 at 03:25:51PM -0700, Nick Desaulniers wrote: > Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start > small, supporting just one formal upstream release of LLVM for now. > > We can probably widen the support window of supported versions over > time. Also,

[PATCH v2] perf expr: Force encapsulation on expr_id_data

2020-08-26 Thread Ian Rogers
This patch resolves some undefined behavior where variables in expr_id_data were accessed (for debugging) without being defined. To better enforce the tagged union behavior, the struct is moved into expr.c and accessors provided. Tag values (kinds) are explicitly identified. Signed-off-by: Ian

Re: [PATCH 1/2] leds: mt6360: Add LED driver for MT6360

2020-08-26 Thread Randy Dunlap
On 8/26/20 4:37 AM, Gene Chen wrote: > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index 1c181df..ce95ead 100644 > --- a/drivers/leds/Kconfig > +++ b/drivers/leds/Kconfig > @@ -271,6 +271,17 @@ config LEDS_MT6323 > This option enables support for on-chip LED drivers found on

Re: [PATCH 2/2] media: v4l2-mem2mem: simplify poll logic a bit

2020-08-26 Thread Hans Verkuil
On 26/08/2020 16:32, Ezequiel Garcia wrote: > On Wed, 26 Aug 2020 at 08:19, Alexandre Courbot wrote: >> >> Hi Ezequiel, thanks for the review! >> >> On Wed, Aug 26, 2020 at 1:15 PM Ezequiel Garcia >> wrote: >>> >>> Hi Alexandre, >>> >>> On Tue, 25 Aug 2020 at 11:56, Alexandre Courbot wrote:

Re: [PATCH 1/2] veth: Initialize dev->perm_addr

2020-08-26 Thread David Miller
From: Mira Ressel Date: Wed, 26 Aug 2020 15:20:00 + > I'm setting the peer->perm_addr, which would otherwise be zero, to its > dev_addr, which has been either generated randomly by the kernel or > provided by userland in a netlink attribute. Which by definition makes it not necessarily a

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