[PATCH v1] net: phy: at803x: add cable test support

2020-05-13 Thread Oleksij Rempel
The cable test seems to be support by all of currently support Atherso PHYs, so add support for all of them. This patch was tested only on AR9331 PHY with following results: - No cable is detected as short - A 15m long cable connected only on one side is detected as 9m open. - A cable test with

Re: [PATCH v3 1/6] irqchip: Add Loongson HyperTransport Vector support

2020-05-13 Thread Thomas Gleixner
Jiaxun Yang writes: > +static void htvec_mask_irq(struct irq_data *d) > +{ > + struct htvec *priv = irq_data_get_irq_chip_data(d); > + void __iomem *addr = priv->base + HTVEC_EN_OFF; > + unsigned long flags; > + u32 reg; > + > + raw_spin_lock_irqsave(>htvec_lock, flags); No

Re: [PATCH V3] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-13 Thread John Oldman
yea I agree, will re-submit... Cheers john On Wed, 13 May 2020 at 12:58, Greg KH wrote: > > On Sun, May 10, 2020 at 11:13:08AM +0100, John Oldman wrote: > > Coding style issue > > This patch clears the checkpatch.pl "Block comments should align the * on > > each line" warning. > > > >

Re: [PATCH v7 2/2] mmc: host: meson-mx-sdhc: new driver for the Amlogic Meson SDHC host

2020-05-13 Thread Ulf Hansson
On Tue, 12 May 2020 at 22:42, Martin Blumenstingl wrote: > > The SDHC MMC host controller on Amlogic SoCs provides an eMMC and MMC > card interface with 1/4/8-bit bus width. > It supports eMMC spec 4.4x/4.5x including HS200 (up to 100MHz clock). > > The public S805 datasheet [0] contains a short

Re: [PATCH 2/5] dt-bindings: usb: ehci: Add missing 2nd register region

2020-05-13 Thread Greg Kroah-Hartman
On Tue, May 12, 2020 at 03:45:40PM -0500, Rob Herring wrote: > The 'ibm,usb-ehci-440epx' compatible has a 2nd 'reg' region, but the > schema says there is only 1 region. Fix this. > > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Signed-off-by: Rob Herring > --- > Please ack,

Re: [PATCH v2 0/3] printk: replace ringbuffer

2020-05-13 Thread Prarit Bhargava
On 5/1/20 5:40 AM, John Ogness wrote: > Hello, > > Here is a v2 for the first series to rework the printk subsystem. The > v1 and history are here [0]. This first series only replaces the > existing ringbuffer implementation. No locking is removed. No > semantics/behavior of printk are

Re: [PATCH] staging: android: ashmem: Fixed a issue related to file_operations

2020-05-13 Thread Greg KH
On Wed, May 13, 2020 at 05:11:16PM +0530, Anmol wrote: > From: Anmol > > Fixed a issue related to struct file_operations which should normally be > const. > > Signed-off-by: Anmol > --- > drivers/staging/android/ashmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

RE: [PATCH v4 38/38] videobuf2: use sgtable-based scatterlist wrappers

2020-05-13 Thread Ruhl, Michael J
>-Original Message- >From: Marek Szyprowski >Sent: Tuesday, May 12, 2020 4:34 PM >To: Ruhl, Michael J ; dri- >de...@lists.freedesktop.org; io...@lists.linux-foundation.org; linaro-mm- >s...@lists.linaro.org; linux-kernel@vger.kernel.org >Cc: Pawel Osciak ; Bartlomiej Zolnierkiewicz >;

RE: [PATCHv2 10/10] net: eth: altera: update devicetree bindings documentation

2020-05-13 Thread Ooi, Joyce
> -Original Message- > From: Rob Herring > Sent: Wednesday, May 13, 2020 6:53 AM > To: Ooi, Joyce > Cc: Thor Thayer ; David S . Miller > ; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Westergreen, Dalon > ; Tan, Ley Foon ; > See, Chin Liang ; Nguyen, Dinh > ;

Re: [PATCH v4 00/12] PCI: aardvark: Fix support for Turris MOX and Compex wifi cards

2020-05-13 Thread Pali Rohár
On Wednesday 13 May 2020 12:33:14 Lorenzo Pieralisi wrote: > On Wed, May 13, 2020 at 01:16:51PM +0200, Pali Rohár wrote: > > On Thursday 30 April 2020 10:06:13 Pali Rohár wrote: > > > Hello, > > > > > > this is the fourth version of the patch series for Armada 3720 PCIe > > > controller

Re: [PATCH -next 010/491] ARM/SAMSUNG EXYNOS ARM ARCHITECTURES: Use fallthrough;

2020-05-13 Thread Sylwester Nawrocki
On 14.03.2020 02:17, Stephen Boyd wrote: > Quoting Joe Perches (2020-03-10 21:51:24) >> Convert the various uses of fallthrough comments to fallthrough; >> >> Done via script >> Link: >> https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe.com/ >> > > This

Re: [PATCH V3] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-13 Thread Greg KH
On Sun, May 10, 2020 at 11:13:08AM +0100, John Oldman wrote: > Coding style issue > This patch clears the checkpatch.pl "Block comments should align the * on > each line" warning. > > Signed-off-by: John Oldman > --- > v1: Initial attempt. > v2: Resubmitted with shorter comment line, as

Re: [V3 PATCH 2/2] ASoC: max98390: Added Amplifier Driver

2020-05-13 Thread Tzung-Bi Shih
On Wed, May 13, 2020 at 6:53 PM Mark Brown wrote: > > On Wed, May 13, 2020 at 04:45:23PM +0900, Steve Lee wrote: > > > Changes since V2: > > * Removed warn massage in max98390_dsm_calib_get func > > and add comment. > > The problem isn't the warning, the problem is that you have an

[PATCHv1 1/2] power: supply: gpio-charger: add charge-current-limit feature

2020-05-13 Thread Sebastian Reichel
Add new charge-current-limit feature to gpio-charger. This also makes the online status GPIO optional, since hardware might only expose the charge-current-limit feature and there is no good reason to have it mandatory now that different GPIOs are supported. Signed-off-by: Sebastian Reichel ---

Re: [PATCH 08/17] spi: dw: Clear DMAC register when done or stopped

2020-05-13 Thread Serge Semin
On Fri, May 08, 2020 at 06:31:34PM +0100, Mark Brown wrote: > On Fri, May 08, 2020 at 04:29:33PM +0300, Serge Semin wrote: > > If DMAC register is left uncleared any further DMAless transfers > > may cause the DMAC hardware handshaking interface getting activated. > > So the next DMA-based Rx/Tx

Re: [PATCH v4 00/12] PCI: aardvark: Fix support for Turris MOX and Compex wifi cards

2020-05-13 Thread Thomas Petazzoni
Hello, On Thu, 30 Apr 2020 10:06:13 +0200 Pali Rohár wrote: > Marek Behún (5): > PCI: aardvark: Improve link training > PCI: aardvark: Add PHY support > dt-bindings: PCI: aardvark: Describe new properties > arm64: dts: marvell: armada-37xx: Set pcie_reset_pin to gpio function > arm64:

[PATCHv1 2/2] dt-bindings: power: supply: gpio-charger: convert to yaml

2020-05-13 Thread Sebastian Reichel
Convert the gpio-charger bindings from text format to new YAML based representation. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/gpio-charger.txt| 38 -- .../bindings/power/supply/gpio-charger.yaml | 75 +++ 2 files changed, 75 insertions(+), 38

Re: [PATCH v2 2/2] staging: vt6655: vt6656: change order of makefile variable definitions

2020-05-13 Thread Greg Kroah-Hartman
On Sun, May 10, 2020 at 12:13:35PM +0200, Matej Dujava wrote: > This patch will add indentation to multiline variable and put obj-$(CONFIG_X) > at the begining of the file. Why change the order? What does that fix? Why do this? You say what you do here, but not why. And without that, I can't

Re: [PATCH net 2/2 RESEND] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-13 Thread Stephen Rothwell
Hi all, On Tue, 12 May 2020 10:47:05 +0530 Madhuparna Bhowmik wrote: > > > > I think what is happening is this: > > > > ipmr_net_init() -> ipmr_rules_init() -> ipmr_new_table() > > > > ipmr_new_table() returns an existing table if there is one, but > > obviously none can exist at init. So a

Re: [PATCH v2 1/2] staging: vt6656: vt6655: clean Makefiles

2020-05-13 Thread Greg Kroah-Hartman
On Sun, May 10, 2020 at 12:13:34PM +0200, Matej Dujava wrote: > This patch is removing CFLAGS that are defining flags that are not used. > > Signed-off-by: Matej Dujava > --- > drivers/staging/vt6655/Makefile | 3 --- > drivers/staging/vt6655/device_main.c | 1 - This file is not a

Re: [PATCH v2 22/91] reset: Move reset-simple header out of drivers/reset

2020-05-13 Thread Maxime Ripard
Hi Philipp, On Wed, May 06, 2020 at 11:26:34AM +0200, Philipp Zabel wrote: > On Fri, 2020-04-24 at 17:34 +0200, Maxime Ripard wrote: > > The reset-simple code can be useful for drivers outside of drivers/reset > > that have a few reset controls as part of their features. Let's move it to > >

Re: [PATCH] Fix suspicious RCU usage warning

2020-05-13 Thread Stephen Rothwell
Hi all, On Wed, 13 May 2020 11:46:10 +0530 madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > This patch fixes the following warning: > > = > WARNING: suspicious RCU usage > 5.7.0-rc4-next-20200507-syzkaller #0 Not tainted >

[PATCH] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Rodrigo Rolim Mendes de Alencar
This patch provides support for displays like VGM128064B0W10, which requires a column offset of 2, i.e., its segments starts in SEG2 and ends in SEG129. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- Documentation/devicetree/bindings/display/ssd1307fb.txt | 1 +

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Marco Elver
On Wed, 13 May 2020 at 13:11, Peter Zijlstra wrote: > > On Tue, May 12, 2020 at 10:31:44PM +0200, Marco Elver wrote: > > On Tue, 12 May 2020 at 21:08, Peter Zijlstra wrote: > > > > data_race() will include active calls to kcsan_{dis,en}able_current(), > > > and this must not happen. > > > > Only

Re: [PATCH v3 24/75] x86/boot/compressed/64: Unmap GHCB page before booting the kernel

2020-05-13 Thread Borislav Petkov
On Wed, May 13, 2020 at 01:30:11PM +0200, Joerg Roedel wrote: > Yeah, I had this this way in v2, but changed it upon you request[1] :) Yeah, I was wondering why this isn't a separate function - you like them so much. :-P > [1] https://lore.kernel.org/lkml/20200402114941.ga9...@zn.tnic/ But that

Re: [PATCH v7 2/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-05-13 Thread Laurent Pinchart
Hi Kishon, On Wed, May 13, 2020 at 08:16:19AM +0530, Kishon Vijay Abraham I wrote: > On 5/8/2020 6:23 AM, Laurent Pinchart wrote: > > On Thu, May 07, 2020 at 10:14:45AM +0530, Kishon Vijay Abraham I wrote: > >> On 4/2/2020 3:40 AM, Laurent Pinchart wrote: > >>> From: Anurag Kumar Vulisha > >>> >

Re: R: [PATCH v3 08/11] devicetree: bindings: pci: document PARF params bindings

2020-05-13 Thread Stanimir Varbanov
On 5/12/20 6:45 PM, Rob Herring wrote: > On Thu, May 07, 2020 at 09:34:35PM +0200, ansuels...@gmail.com wrote: >>> On Fri, May 01, 2020 at 12:06:15AM +0200, Ansuel Smith wrote: It is now supported the editing of Tx De-Emphasis, Tx Swing and Rx equalization params on ipq8064. Document

[RFC PATCH 0/3] drm: introduce new method of creating debugfs files.

2020-05-13 Thread Wambui Karuga
Hi All, Currently drm debugfs files are created using drm_debugfs_create_files() on request. This series introduces new functions and infrastructure that will enable the mass creation of debugfs files during drm_dev_register(). Drivers can request for the creation of debugfs files at any time

[RFC PATCH 2/3] drm/vc4: use new debugfs functions for file creation.

2020-05-13 Thread Wambui Karuga
Currently, vc4 delays adding of debugfs files until drm_dev_register() calls vc4_debugfs_init() on each registered minor. This change removes this infrastructure and uses the new drm_debugfs_add_file() function and drm_device->debugfs_list to track debugfs files which are added at

[RFC PATCH 1/3] drm/debugfs: create debugfs files during drm_dev_register().

2020-05-13 Thread Wambui Karuga
Introduce the ability to track requests for the addition of drm debugfs files at any time and have them added all at once during drm_dev_register(). Drivers can add drm debugfs file requests to a new list tied to drm_device. During drm_dev_register(), the new function drm_debugfs_create_file()

Re: [PATCH 00/17] spi: dw: Add generic DW DMA controller support

2020-05-13 Thread Serge Semin
On Wed, May 13, 2020 at 12:21:16PM +0100, Mark Brown wrote: > On Wed, May 13, 2020 at 02:04:07PM +0300, Serge Semin wrote: > > On Wed, May 13, 2020 at 11:23:24AM +0100, Mark Brown wrote: > > > > The conversion to YAML format should be the very last thing in the patch > > > series, > > > Hm,

[RFC PATCH 3/3] drm: use new debugfs functions for various files.

2020-05-13 Thread Wambui Karuga
Replace the use of drm_debugfs_create_files with the new drm_debugfs_add_files() to create various drm core debugfs files. DRM debugfs files are also represented using the new drm_simple_info struct for use with the new functions. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/drm_atomic.c

[PATCH] staging: android: ashmem: Fixed a issue related to file_operations

2020-05-13 Thread Anmol
From: Anmol Fixed a issue related to struct file_operations which should normally be const. Signed-off-by: Anmol --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index

Re: [PATCH v3] perf record: Use an eventfd to wakeup when done

2020-05-13 Thread Jiri Olsa
On Wed, May 13, 2020 at 12:20:23PM +1000, Anand K Mistry wrote: > The setting and checking of 'done' contains a rare race where the signal > handler setting 'done' is run after checking to break the loop, but > before waiting in evlist__poll(). In this case, the main loop won't wake > up until

Re: [PATCH v3 09/11] PCI: qcom: add ipq8064 rev2 variant and set tx term offset

2020-05-13 Thread Stanimir Varbanov
Hi Ansuel, On 5/1/20 1:06 AM, Ansuel Smith wrote: > From: Sham Muthayyan > > Add tx term offset support to pcie qcom driver need in some revision of > the ipq806x SoC. > Ipq8064 have tx term offset set to 7. > Ipq8064-v2 revision and ipq8065 have the tx term offset set to 0. > > Signed-off-by:

Re: [PATCH] dmaengine: sf-pdma: Simplify the error handling path in 'sf_pdma_probe()'

2020-05-13 Thread Vinod Koul
On 01-05-20, 12:08, Christophe JAILLET wrote: > There is no need to explicitly free memory that have been 'devm_kzalloc'ed. > Simplify the probe function accordingly. Applied, thanks -- ~Vinod

Re: [PATCH 07/17] spi: dw: Add Tx/Rx finish wait methods to DMA

2020-05-13 Thread Mark Brown
On Wed, May 13, 2020 at 02:35:55PM +0300, Serge Semin wrote: > On Fri, May 08, 2020 at 06:30:23PM +0100, Mark Brown wrote: > > > + while (dw_spi_dma_tx_busy(dws) && retry--) > > > + ndelay(ns); > > How deep can the FIFO be with this IP - could we end up ndelay()ing for > > non-trivial

Re: [PATCH 4/4] perf expr: Report line number with error

2020-05-13 Thread Jiri Olsa
On Wed, May 13, 2020 at 12:09:30AM -0700, Ian Rogers wrote: > On Mon, May 11, 2020 at 1:54 PM Jiri Olsa wrote: > > > > Display line number on when parsing custom metrics file, like: > > > > $ cat metrics > > // IPC > > mine1 = inst_retired.any / cpu_clk_unhalted.thread; > > > > krava > >

Re: [PATCH 3/4] perf stat: Add --metrics-file option

2020-05-13 Thread Jiri Olsa
On Wed, May 13, 2020 at 12:04:55AM -0700, Ian Rogers wrote: SNIP > > +METRICS FILE > > + > > +The file with metrics has following syntax: > > + > > + NAME = EXPRESSION ; > > + NAME = EXPRESSION ; > > + ... > > + > > +where NAME is unique identifier of the metric, which is later

Re: [PATCH v4 00/12] PCI: aardvark: Fix support for Turris MOX and Compex wifi cards

2020-05-13 Thread Lorenzo Pieralisi
On Wed, May 13, 2020 at 01:16:51PM +0200, Pali Rohár wrote: > On Thursday 30 April 2020 10:06:13 Pali Rohár wrote: > > Hello, > > > > this is the fourth version of the patch series for Armada 3720 PCIe > > controller (aardvark). It's main purpose is to fix some bugs regarding > > buggy ath10k

Re: [PATCH 6/9] fs/ext4: Only change S_DAX on inode load

2020-05-13 Thread Jan Kara
On Tue 12-05-20 22:43:21, ira.we...@intel.com wrote: > From: Ira Weiny > > To prevent complications with in memory inodes we only set S_DAX on > inode load. FS_XFLAG_DAX can be changed at any time and S_DAX will > change after inode eviction and reload. > > Add init bool to

Re: [PATCH] dmaengine: qcom_hidma: use true,false for bool variable

2020-05-13 Thread Vinod Koul
On 04-05-20, 19:34, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/dma/qcom/hidma.c:553:1-17: WARNING: Assignment of 0/1 to bool > variable Applied, thanks -- ~Vinod

Re: [PATCH v3 24/75] x86/boot/compressed/64: Unmap GHCB page before booting the kernel

2020-05-13 Thread Joerg Roedel
On Wed, May 13, 2020 at 01:13:40PM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:34PM +0200, Joerg Roedel wrote: > > @@ -302,9 +313,13 @@ void do_boot_page_fault(struct pt_regs *regs, unsigned > > long error_code) > > * - User faults > > * - Reserved bits set >

Re: [PATCH 00/19 V2] mm: memcontrol: charge swapin pages on instantiation

2020-05-13 Thread Balbir Singh
On Fri, May 08, 2020 at 02:30:47PM -0400, Johannes Weiner wrote: > This patch series reworks memcg to charge swapin pages directly at > swapin time, rather than at fault time, which may be much later, or > not happen at all. > > Changes in version 2: > - prevent double charges on pre-allocated

Re: [PATCH 5/9] fs/ext4: Update ext4_should_use_dax()

2020-05-13 Thread Jan Kara
On Tue 12-05-20 22:43:20, ira.we...@intel.com wrote: > From: Ira Weiny > > S_DAX should only be enabled when the underlying block device supports > dax. > > Change ext4_should_use_dax() to check for device support prior to the > over riding mount option. > > While we are at it change the

[PATCH] Kconfig: default to CC_OPTIMIZE_FOR_PERFORMANCE_O3 for gcc >= 10

2020-05-13 Thread Artem S. Tashkinov
> GCC 10 appears to have changed -O2 in order to make compilation time faster when using -flto, seemingly at the expense of performance, in particular with regards to how the inliner works. Since -O3 these days shouldn't have the same set of bugs as 10 years ago, this commit defaults new kernel

Re: [PATCH v8 0/4] USB: pci-quirks: Add Raspberry Pi 4 quirk

2020-05-13 Thread Nicolas Saenz Julienne
On Wed, 2020-05-13 at 12:17 +0100, Lorenzo Pieralisi wrote: > On Tue, May 05, 2020 at 06:13:13PM +0200, Nicolas Saenz Julienne wrote: > > On the Raspberry Pi 4, after a PCI reset, VL805's firmware may either be > > loaded directly from an EEPROM or, if not present, by the SoC's > > co-processor,

Re: [PATCH 4/9] fs/ext4: Change EXT4_MOUNT_DAX to EXT4_MOUNT_DAX_ALWAYS

2020-05-13 Thread Jan Kara
On Tue 12-05-20 22:43:19, ira.we...@intel.com wrote: > From: Ira Weiny > > In prep for the new tri-state mount option which then introduces > EXT4_MOUNT_DAX_NEVER. > > Signed-off-by: Ira Weiny Looks good to me. You can add: Reviewed-by: Jan Kara

Re: [PATCH 1/4] perf expr: Add parsing support for multiple expressions

2020-05-13 Thread Jiri Olsa
On Tue, May 12, 2020 at 11:50:18PM -0700, Ian Rogers wrote: > On Mon, May 11, 2020 at 1:54 PM Jiri Olsa wrote: > > > > Adding support to parse metric difinitions in following form: > > Typo on definitions. right SNIP > > +int expr__parse_custom(struct expr_parse_ctx *ctx, const char *expr) >

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-13 Thread Tetsuo Handa
On 2020/05/13 19:49, Michal Hocko wrote: > On Wed 13-05-20 12:04:13, Petr Mladek wrote: >> What is so special about OOM dump task so that it would deserve such >> complications? > > Nothing really. Except for the potential amount of the output. "echo t > /proc/sysrq-trigger" from userspace

Re: [PATCH] MIPS: Only include the platform file needed

2020-05-13 Thread Thomas Bogendoerfer
On Sun, May 10, 2020 at 01:01:47AM +0200, Thomas Bogendoerfer wrote: > Instead of including all Platform files, we simply include the > needed one and avoid clashes with makefile variables. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/Kbuild.platforms | 73 >

Re: [PATCH v5 0/5] Allow ld.lld to link the MIPS VDSO

2020-05-13 Thread Thomas Bogendoerfer
On Tue, May 12, 2020 at 01:28:43AM -0700, Nathan Chancellor wrote: > On Tue, May 12, 2020 at 10:05:09AM +0200, Thomas Bogendoerfer wrote: > > On Tue, Apr 28, 2020 at 03:14:14PM -0700, Nathan Chancellor wrote: > > > [..] > > > Please let me know if there are any issues! > > > > I found no issues

Re: [PATCH 00/17] spi: dw: Add generic DW DMA controller support

2020-05-13 Thread Mark Brown
On Wed, May 13, 2020 at 02:04:07PM +0300, Serge Semin wrote: > On Wed, May 13, 2020 at 11:23:24AM +0100, Mark Brown wrote: > > The conversion to YAML format should be the very last thing in the patch > > series, > Hm, haven't heard about this requirement. Could you point me out to a doc or >

Re: [PATCH v5 5/6] doc: Add documentation for the fs.open_mayexec_enforce sysctl

2020-05-13 Thread Mickaël Salaün
On 13/05/2020 00:00, Kees Cook wrote: > On Tue, May 05, 2020 at 05:31:55PM +0200, Mickaël Salaün wrote: >> This sysctl enables to propagate executable permission to userspace >> thanks to the O_MAYEXEC flag. >> >> Signed-off-by: Mickaël Salaün >> Reviewed-by: Thibaut Sautereau >> Cc: Aleksa

linux-next: Signed-off-by missing for commit in the risc-v-fixes tree

2020-05-13 Thread Stephen Rothwell
Hi all, Commit e2d8d84b18c3 ("riscv: pgtable: Fix __kernel_map_pages build error if NOMMU") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpyHamJBK6Iz.pgp Description: OpenPGP digital signature

Re: [PATCH] char: ipmi: convert to use i2c_new_client_device()

2020-05-13 Thread Corey Minyard
On Wed, May 13, 2020 at 10:37:46AM +0200, Wolfram Sang wrote: > On Tue, May 12, 2020 at 04:45:32PM -0500, miny...@acm.org wrote: > > From: Wolfram Sang > > > > Move away from the deprecated API. > > > > Based on a patch by Wolfram Sang . > > > > Signed-off-by: Corey Minyard > > --- > > I

Re: linux-next: Signed-off-by missing for commit in the ipmi tree

2020-05-13 Thread Corey Minyard
On Wed, May 13, 2020 at 10:30:34AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 73d0824e48eb ("char: ipmi: convert to use i2c_new_client_device()") > > is missing a Signed-off-by from its author. Fixed, thanks. -corey > > -- > Cheers, > Stephen Rothwell

Re: [PATCH v5 4/6] selftest/openat2: Add tests for O_MAYEXEC enforcing

2020-05-13 Thread Mickaël Salaün
On 12/05/2020 23:57, Kees Cook wrote: > On Tue, May 05, 2020 at 05:31:54PM +0200, Mickaël Salaün wrote: >> Test propagation of noexec mount points or file executability through >> files open with or without O_MAYEXEC, thanks to the >> fs.open_mayexec_enforce sysctl. >> >> Signed-off-by: Mickaël

Re: [PATCH v8 0/4] USB: pci-quirks: Add Raspberry Pi 4 quirk

2020-05-13 Thread Lorenzo Pieralisi
On Tue, May 05, 2020 at 06:13:13PM +0200, Nicolas Saenz Julienne wrote: > On the Raspberry Pi 4, after a PCI reset, VL805's firmware may either be > loaded directly from an EEPROM or, if not present, by the SoC's > co-processor, VideoCore. This series adds support for the later. > > Note that

Re: [PATCH v4 1/3] media: rcar-vin: Invalidate pipeline if conversion is not possible on input formats

2020-05-13 Thread Lad, Prabhakar
Hi Niklas, Thank you for the review. On Tue, May 12, 2020 at 11:26 PM Niklas wrote: > > Hi Lad, > > Thanks for your work. > > On 2020-04-15 11:19:06 +0100, Lad Prabhakar wrote: > > Up until now the VIN was capable to convert any of its supported input mbus > > formats to any of it's supported

Re: [PATCH v4 00/12] PCI: aardvark: Fix support for Turris MOX and Compex wifi cards

2020-05-13 Thread Pali Rohár
On Thursday 30 April 2020 10:06:13 Pali Rohár wrote: > Hello, > > this is the fourth version of the patch series for Armada 3720 PCIe > controller (aardvark). It's main purpose is to fix some bugs regarding > buggy ath10k cards, but we also found out some suspicious stuff about > the driver and

Re: [PATCH v5 3/4] sched: Allow sched_{get,set}attr to change latency_nice of the task

2020-05-13 Thread Parth Shah
On 5/13/20 3:11 PM, Parth Shah wrote: > > > On 5/11/20 4:43 PM, Dietmar Eggemann wrote: >> On 28/02/2020 10:07, Parth Shah wrote: >>> Introduce the latency_nice attribute to sched_attr and provide a >>> mechanism to change the value with the use of sched_setattr/sched_getattr >>> syscall. >>>

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Peter Zijlstra
On Wed, May 13, 2020 at 01:10:57PM +0200, Peter Zijlstra wrote: > So then I end up with something like the below, and I've validated that > does not generate instrumentation... HOWEVER, I now need ~10g of memory > and many seconds to compile each file in arch/x86/kernel/. > diff --git

[PATCH v5 1/6] tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state

2020-05-13 Thread Rajendra Nayak
geni serial needs to express a perforamnce state requirement on CX powerdomain depending on the frequency of the clock rates. Use OPP table from DT to register with OPP framework and use dev_pm_opp_set_rate() to set the clk/perf state. Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke

[PATCH] ASoC: fsl: imx-audmix: Fix unused assignment to variable 'ret'

2020-05-13 Thread Tang Bin
Omit unused initialized value, because 'ret' will be assigined by the function snd_soc_component_read(). Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/fsl/fsl_audmix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_audmix.c

[PATCH v5 5/6] media: venus: core: Add support for opp tables/perf voting

2020-05-13 Thread Rajendra Nayak
Add support to add OPP tables and perf voting on the OPP powerdomain. This is needed so venus votes on the corresponding performance state for the OPP powerdomain along with setting the core clock rate. Signed-off-by: Rajendra Nayak Cc: Stanimir Varbanov Cc: linux-me...@vger.kernel.org ---

[PATCH] i2c: at91: Restore pinctrl state if can't get scl/sda gpios

2020-05-13 Thread Codrin Ciubotariu
If there is a strict pinmux or if simply the scl/sda gpios are missing, the pins will remain in gpio mode, compromizing the I2C bus. Change to the default state of the pins before returning the error. Fixes: a53acc7ebf27 ("i2c: at91: Fix pinmux after devm_gpiod_get() for bus recovery")

Re: [PATCH v3 24/75] x86/boot/compressed/64: Unmap GHCB page before booting the kernel

2020-05-13 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:34PM +0200, Joerg Roedel wrote: > @@ -302,9 +313,13 @@ void do_boot_page_fault(struct pt_regs *regs, unsigned > long error_code) >* - User faults >* - Reserved bits set >*/ > - if (error_code & (X86_PF_PROT | X86_PF_USER |

[PATCH v5 3/6] drm/msm/dpu: Use OPP API to set clk/perf state

2020-05-13 Thread Rajendra Nayak
On some qualcomm platforms DPU needs to express a performance state requirement on a power domain depending on the clock rates. Use OPP table from DT to register with OPP framework and use dev_pm_opp_set_rate() to set the clk/perf state. Signed-off-by: Rajendra Nayak Reviewed-by: Rob Clark

[PATCH v5 4/6] drm/msm: dsi: Use OPP API to set clk/perf state

2020-05-13 Thread Rajendra Nayak
On SDM845 DSI needs to express a perforamnce state requirement on a power domain depending on the clock rates. Use OPP table from DT to register with OPP framework and use dev_pm_opp_set_rate() to set the clk/perf state. Signed-off-by: Rajendra Nayak Cc: Rob Clark Cc: Sean Paul Cc:

[PATCH v5 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-05-13 Thread Rajendra Nayak
QSPI needs to vote on a performance state of a power domain depending on the clock rate. Add support for it by specifying the perf state/clock rate as an OPP table in device tree. Signed-off-by: Rajendra Nayak Cc: Mark Brown Cc: Alok Chauhan Cc: Akash Asthana Cc: linux-...@vger.kernel.org ---

kernelci.org transitioning to functional testing

2020-05-13 Thread Guillaume Tucker
As kernelci.org is expanding its functional testing capabilities, the concept of boot testing is now being deprecated. Next Monday 18th May, the web dashboard on https://kernelci.org will be updated to primarily show functional test results rather than boot results. The Boots tab will still be

[PATCH v5 0/6] DVFS for IO devices on sdm845 and sc7180

2020-05-13 Thread Rajendra Nayak
Changes in v5: 1. Opp cleanup path fixed up across drivers Changes in v4: 1. Fixed all review feedback on v3 2. Dropped the dts patches, will post as a seperate series once driver changes are reviewed and merged. The driver changes without DT updates to include OPP tables will have zero

[PATCH v5 2/6] spi: spi-geni-qcom: Use OPP API to set clk/perf state

2020-05-13 Thread Rajendra Nayak
geni spi needs to express a perforamnce state requirement on CX depending on the frequency of the clock rates. Use OPP table from DT to register with OPP framework and use dev_pm_opp_set_rate() to set the clk/perf state. Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke Cc: Mark

Re: [PATCH] ata: sata_rcar: Fix DMA boundary mask

2020-05-13 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 01:04:26PM +0200, Geert Uytterhoeven wrote: > Before commit 9495b7e92f716ab2 ("driver core: platform: Initialize > dma_parms for platform devices"), the R-Car SATA device didn't have DMA > parameters. Hence the DMA boundary mask supplied by its driver was > silently

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Peter Zijlstra
On Tue, May 12, 2020 at 10:31:44PM +0200, Marco Elver wrote: > On Tue, 12 May 2020 at 21:08, Peter Zijlstra wrote: > > data_race() will include active calls to kcsan_{dis,en}able_current(), > > and this must not happen. > > Only if instrumentation is enabled for the compilation unit. If you >

[v1,1/1] watchdog: (nct7904) Fix enable watchdog incorrectly

2020-05-13 Thread yuechao.zhao
From: Yuechao Zhao Use incorrect register to enable watchdog in nct7904_wdt_ping() Signed-off-by: Yuechao Zhao --- drivers/hwmon/nct7904.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/nct7904.c b/drivers/hwmon/nct7904.c index 04f2a8e..18c95be 100644 ---

Re: [PATCH v5 3/6] fs: Enable to enforce noexec mounts or file exec through O_MAYEXEC

2020-05-13 Thread Mickaël Salaün
On 12/05/2020 23:48, Kees Cook wrote: > On Tue, May 05, 2020 at 05:31:53PM +0200, Mickaël Salaün wrote: >> Enable to forbid access to files open with O_MAYEXEC. Thanks to the >> noexec option from the underlying VFS mount, or to the file execute >> permission, userspace can enforce these

Re: [PATCH] ata: sata_rcar: Fix DMA boundary mask

2020-05-13 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: Re: [RFC PATCH] i2c: at91: Fix pinmux after devm_gpiod_get() for bus recovery

2020-05-13 Thread Codrin.Ciubotariu
On 05.05.2020 18:12, Wolfram Sang wrote: > On Wed, Apr 15, 2020 at 10:06:43AM +0300, Codrin Ciubotariu wrote: >> devm_gpiod_get() usually calls gpio_request_enable() for non-strict pinmux >> drivers. These puts the pins in GPIO mode, whithout notifying the pinctrl >> driver. At this point, the I2C

[PATCH] ata: sata_rcar: Fix DMA boundary mask

2020-05-13 Thread Geert Uytterhoeven
Before commit 9495b7e92f716ab2 ("driver core: platform: Initialize dma_parms for platform devices"), the R-Car SATA device didn't have DMA parameters. Hence the DMA boundary mask supplied by its driver was silently ignored, as __scsi_init_queue() doesn't check the return value of

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-13 Thread Tetsuo Handa
On 2020/05/13 19:04, Petr Mladek wrote: >> What is wrong with adding NO_CONSOLES ? > > How does it differ from KERN_DEBUG? The debug messages: > > + can be disabled via sysfs > + might reach console when this loglevel is enabled KERN_NO_CONSOLES is different from KERN_DEBUG in that

Re: [PATCH 00/17] spi: dw: Add generic DW DMA controller support

2020-05-13 Thread Serge Semin
On Wed, May 13, 2020 at 11:23:24AM +0100, Mark Brown wrote: > On Tue, May 12, 2020 at 11:07:33PM +0300, Serge Semin wrote: > > On Fri, May 08, 2020 at 02:33:36PM +0100, Mark Brown wrote: > > > > Please don't make new feature development dependent on conversion to the > > > new schema format,

Re: [V3 PATCH 2/2] ASoC: max98390: Added Amplifier Driver

2020-05-13 Thread Mark Brown
On Wed, May 13, 2020 at 04:45:23PM +0900, Steve Lee wrote: > Changes since V2: > * Removed warn massage in max98390_dsm_calib_get func > and add comment. The problem isn't the warning, the problem is that you have an empty operation. You should either implement the function (eg,

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-13 Thread Michal Hocko
On Wed 13-05-20 12:04:13, Petr Mladek wrote: > What is so special about OOM dump task so that it would deserve such > complications? Nothing really. Except for the potential amount of the output. But as you've said there are two ways around that. Disable this output if you do not need it or make

Re: [PATCH 02/15] arm64: kvm: Formalize host-hyp hypcall ABI

2020-05-13 Thread David Brazdil
> > In fact David already has a nice patch that transforms the whole thing > > in a jump table, which is much nicer. I'll let him share the details > > :) > > Ah! Looking forward to reviewing it then! It's not actually that different. It still has the same header file, just uses the macros to

RE: [PATCH 1/3] drm/db9000: Add Digital Blocks DB9000 LCD Controller

2020-05-13 Thread Gareth Williams
Hi Sam/Daniel, This is all very useful feedback, thank you. On Tue, Apr 28, 2020 at 19:24 PM Daniel Vetter wrote: > > On Tue, Apr 28, 2020 at 8:18 PM Sam Ravnborg wrote: > > > > Hi Gareth. > > > > On Mon, Apr 27, 2020 at 09:21:47AM +0100, Gareth Williams wrote: > > > Add DRM support for the

[PATCH v6 0/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-13 Thread Ramuthevar,Vadivel MuruganX
This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8 supported. Data register used to support the

[PATCH v6 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-13 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8

[PATCH v6 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-05-13 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add YAML file for dt-bindings to support NAND Flash Controller on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/mtd/intel,lgm-nand.yaml| 83 ++ 1 file changed, 83 insertions(+)

Re: [EXT] Re: [PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint

2020-05-13 Thread Jean-Philippe Brucker
On Wed, May 13, 2020 at 09:15:22AM +, Bharat Bhushan wrote: > Hi Jean, > > > -Original Message- > > From: Michael S. Tsirkin > > Sent: Wednesday, May 6, 2020 5:53 AM > > To: Bharat Bhushan > > Cc: jean-phili...@linaro.org; j...@8bytes.org; jasow...@redhat.com; > >

Re: [RFC][PATCH 3/4] dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap"

2020-05-13 Thread Brian Starkey
Hi Rob, On Tue, May 12, 2020 at 11:37:14AM -0500, Rob Herring wrote: > On Mon, May 04, 2020 at 10:06:28AM +0100, Brian Starkey wrote: > > On Fri, May 01, 2020 at 12:01:40PM -0700, John Stultz wrote: > > > On Fri, May 1, 2020 at 4:08 AM Robin Murphy wrote: > > > > > > > > On 2020-05-01 11:21 am,

Re: [PATCH 2/4] dt-bindings: sram: add documentation for reserved-only flag

2020-05-13 Thread Mian Yousaf Kaukab
On Tue, May 12, 2020 at 01:45:28PM -0600, Stephen Warren wrote: > On 5/12/20 8:48 AM, Mian Yousaf Kaukab wrote: > > Add documentation for the new optional flag added for SRAM driver. > > > diff --git a/Documentation/devicetree/bindings/sram/sram.yaml > >

Re: [PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-13 Thread Wolfram Sang
> If that's not much work for you, then it'd be great if you include > it for 5.7. :) No problem, done now! signature.asc Description: PGP signature

Re: [PATCH v1 0/5] MHI Misc Fixes

2020-05-13 Thread Manivannan Sadhasivam
On Mon, May 11, 2020 at 07:03:04PM -0700, Hemant Kumar wrote: > Patches are addressing MHI core driver bug fixes. Patches tested on > arm64 and x86 platforms. > Applied to mhi-next! Thanks, Mani > Hemant Kumar (5): > bus: mhi: core: Remove the system error worker thread > bus: mhi: core:

Re: [PATCH v2 4/6] nvmem: add support for the Khadas MCU Programmable User Memory

2020-05-13 Thread Srinivas Kandagatla
On 12/05/2020 14:26, Neil Armstrong wrote: The new Khadas VIM2, VIM3 and Edge boards embeds an on-board microcontroller offering a 56bytes User Programmable NVMEM array. This array needs a password to be writable, thus a password sysfs file has been added on the device node to unlock the

Re: [PATCH] kselftests: dmabuf-heaps: Fix confused return value on expected error testing

2020-05-13 Thread Brian Starkey
Hi John, On Fri, May 08, 2020 at 04:56:10AM +, John Stultz wrote: > When I added the expected error testing, I forgot I need to set > the return to zero when we successfully see an error. > > Without this change we only end up testing a single heap > before the test quits. > The fix looks

Re: [PATCH 2/3] net/scm: cleanup scm_detach_fds

2020-05-13 Thread Ido Schimmel
On Wed, May 13, 2020 at 12:17:51PM +0200, Christoph Hellwig wrote: > On Wed, May 13, 2020 at 12:10:37PM +0200, Christoph Hellwig wrote: > > Ok. I'll see what went wrong for real and will hopefully have a > > different patch for you in a bit. > > Can you try this patch instead of the previous

Re: [PATCH 01/15] arm64: kvm: Unify users of HVC instruction

2020-05-13 Thread David Brazdil
On Thu, May 07, 2020 at 03:36:33PM +0100, Quentin Perret wrote: > On Thursday 07 May 2020 at 15:01:07 (+0100), Marc Zyngier wrote: > > > /* > > > - * u64 __kvm_call_hyp(void *hypfn, ...); > > > + * u64 __kvm_call_hyp(unsigned long arg, ...); > > > * > > > * This is not really a variadic

Re: [PATCH v2] ACPI/IORT: Fix PMCG node always look for a single ID mapping.

2020-05-13 Thread Robin Murphy
On 2020-05-13 4:16 am, Hanjun Guo wrote: On 2020/5/13 7:56, Tuan Phan wrote: PMCG node can have zero ID mapping if its overflow interrupt is wire based. The code to parse PMCG node can not assume it will have a single ID mapping. Signed-off-by: Tuan Phan It's better to add Fixes:

<    7   8   9   10   11   12   13   14   15   16   >