Re: [PATCH v7] binder: transaction latency tracking for user build

2020-09-07 Thread Greg Kroah-Hartman
On Mon, Sep 07, 2020 at 02:49:29PM +0800, Frankie Chang wrote: > On Thu, 2020-09-03 at 18:21 +0200, Greg Kroah-Hartman wrote: > > On Tue, Aug 04, 2020 at 09:59:09PM +0800, Frankie Chang wrote: > > > > > > Frankie.Chang (3): > > > binder: move structs from core file to header file > > > binder:

Re: [PATCH] Staging: Ralink: ralink-gdma: Fixed codestyle issue and warnings

2020-09-07 Thread Greg KH
On Mon, Sep 07, 2020 at 12:27:45PM +0530, Naveen Panwar wrote: > Fixed checkpatch warnings two warnings still exits about DT > compatible strings appers undocumented. Fixed the other codestyle > errors, and some warnings about use of volatile and un-necessary > out of memory errors. > > Signed-off

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-07 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 09:18:37PM +0100, Tom Murphy wrote: > Disable combining sg segments in the dma-iommu api. > Combining the sg segments exposes a bug in the intel i915 driver which > causes visual artifacts and the screen to freeze. This is most likely > because of how the i915 handles the re

Re: [PATCH 1/2] nvme: set io-scheduler requirement for ZNS

2020-09-07 Thread Kanchan Joshi
On Wed, Aug 19, 2020 at 4:47 PM Damien Le Moal wrote: > > On 2020/08/19 19:32, Kanchan Joshi wrote: > > On Wed, Aug 19, 2020 at 3:08 PM Damien Le Moal > > wrote: > >> > >> On 2020/08/19 18:27, Kanchan Joshi wrote: > >>> On Tue, Aug 18, 2020 at 12:46 PM Christoph Hellwig wrote: > > On

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-07 Thread Maxim Uvarov
On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > In the memory map the regions with the lowest addresses may be of type > EFI_RESERVED_TYPE. The reserved areas may be discontinuous relative to the > rest of the memory. So for calculating the maximum loading address for the > device tree

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-09-07 Thread Kanchan Joshi
On Fri, Aug 14, 2020 at 1:44 PM h...@infradead.org wrote: > > On Wed, Aug 05, 2020 at 07:35:28AM +, Damien Le Moal wrote: > > > the write pointer. The only interesting addition is that we also want > > > to report where we wrote. So I'd rather have RWF_REPORT_OFFSET or so. > > > > That works

Re: [PATCH] dma-direct: zero out DMA_ATTR_NO_KERNEL_MAPPING buf

2020-09-07 Thread Marek Szyprowski
Hi James, On 05.09.2020 17:50, James Bottomley wrote: > [resend with correct linux-arch address] > On Sat, 2020-09-05 at 15:35 +0800, Hillf Danton wrote: >> On Fri, 04 Sep 2020 08:34:39 -0700 James Bottomley wrote: >>> On Fri, 2020-09-04 at 23:25 +0800, Hillf Danton wrote: The DMA buffer allo

[PATCH v1 2/2] fbdev: radeonfb:use generic power management

2020-09-07 Thread Vaibhav Gupta
Drivers using legacy PCI power management .suspend()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a "struct dev_pm_ops" variable to take the unnec

[PATCH v1 1/2] video: fbdev: aty: radeon_pm: remove redundant CONFIG_PM container

2020-09-07 Thread Vaibhav Gupta
Fixes commit 42ddb453a0cd ("radeon: Conditionally compile PM code") Before the above mentioned patch, codes between the line number 547 and 2803 were already inside "#ifdef CONFIG_PM" container. Thus, addition of "#if defined(CONFIG_PM)" was not required in the patch. It also affected the "#ifdef

[PATCH v1 0/2] video: fbdev: radeonfb: PCI PM framework upgrade and fix-ups.

2020-09-07 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The original goal of the patch series is to upgrade the power management framework of radeonfb fbdev driver. This has been done by upgrading .suspend() and .resume() callbacks. The upgrade makes sure that the involvement of PCI Core does not c

[PATCH] arm: dts: mt7623: add missing pause for switchport

2020-09-07 Thread Frank Wunderlich
From: Frank Wunderlich port6 of mt7530 switch (= cpu port 0) on bananapi-r2 misses pause option which causes rx drops on running iperf. Cc: sta...@vger.kernel.org Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board") Signed-off-by: Frank Wunderlich --- arch/arm/

Re: [PATCH] : provide stubs for MEMORY_ISOLATION not set (for Microblaze)

2020-09-07 Thread Mike Rapoport
Hi Randy, On Sun, Sep 06, 2020 at 12:33:08PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors in Microblaze when CONFIG_MEMORY_ISOLATION is not > set/enabled by adding stubs for 3 missing functions. I've tried to follow Kconfig dependencies to see how could we have both CONT

Re: [PATCH] iomap: Fix direct I/O write consistency check

2020-09-07 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 06:56:32PM +0200, Andreas Gruenbacher wrote: > When a direct I/O write falls back to buffered I/O entirely, dio->size > will be 0 in iomap_dio_complete. Function invalidate_inode_pages2_range > will try to invalidate the rest of the address space. If there are any > dirty

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-07 Thread Michael Kerrisk (man-pages)
[Widening the CC to include Andrew and linux-fsdevel@] [Milan: thanks for the patch, but it's unclear to me from your commit message how/if you verified the details.] Andrew, maybe you (or someone else) can comment, since long ago your commit f79e2abb9bd452d97295f34376dedbec9686b986 Autho

Re: [PATCH] ext4: Implement swap_activate aops using iomap

2020-09-07 Thread Christoph Hellwig
On Fri, Sep 04, 2020 at 02:46:53PM +0530, Ritesh Harjani wrote: > After moving ext4's bmap to iomap interface, swapon functionality > on files created using fallocate (which creates unwritten extents) are > failing. This is since iomap_bmap interface returns 0 for unwritten > extents and thus gener

Re: [PATCH net] net: macb: fix for pause frame receive enable bit

2020-09-07 Thread Nicolas Ferre
On 05/09/2020 at 10:21, Parshuram Thombare wrote: PAE bit of NCFGR register, when set, pauses transmission if a non-zero 802.3 classic pause frame is received. Fixes: 7897b071ac3b ("net: macb: convert to phylink") Signed-off-by: Parshuram Thombare For the record: Acked-by: Nicolas Ferre Tha

[PATCH net v2] hv_netvsc: Fix hibernation for mlx5 VF driver

2020-09-07 Thread Dexuan Cui
mlx5_suspend()/resume() keep the network interface, so during hibernation netvsc_unregister_vf() and netvsc_register_vf() are not called, and hence netvsc_resume() should call netvsc_vf_changed() to switch the data path back to the VF after hibernation. Note: after we close and re-open the vmbus ch

Re: [PATCH v2 1/2] drm: allow limiting the scatter list size.

2020-09-07 Thread Daniel Vetter
On Mon, Sep 7, 2020 at 8:39 AM Gerd Hoffmann wrote: > > > > + /** > > > +* @max_segment: > > > +* > > > +* Max size for scatter list segments. When unset the default > > > +* (SCATTERLIST_MAX_SEGMENT) is used. > > > +*/ > > > + size_t max_segment; > > > > Is there no bette

Re: [PATCH RFC] mm: Let readahead submit larger batches of pages in case of ra->ra_pages == 0

2020-09-07 Thread Christoph Hellwig
On Fri, Sep 04, 2020 at 04:48:07PM +0200, Bean Huo wrote: > From: Bean Huo > > Current generic_file_buffered_read() will break up the larger batches of pages > and read data in single page length in case of ra->ra_pages == 0. This patch > is > to allow it to pass the batches of pages down to the

Re: [linux-sunxi] Re: [PATCH v6 18/18] crypto: sun8i-ce: fix some style issue

2020-09-07 Thread Corentin Labbe
On Fri, Sep 04, 2020 at 12:37:19PM -0700, Joe Perches wrote: > On Fri, 2020-09-04 at 11:10 +, Corentin Labbe wrote: > > This patch fix a double empty line issue reported by checkpatch. > > While at it, since now the maximum line length is now 100, reorder some > > wrapped line. > [] > > diff --

Re: [linux-sunxi] Re: [PATCH v6 18/18] crypto: sun8i-ce: fix some style issue

2020-09-07 Thread Herbert Xu
On Mon, Sep 07, 2020 at 09:16:17AM +0200, Corentin Labbe wrote: > > Oh I saw the increase in checkpatch.pl but didnt saw that it was still 80 in > coding-style.rst. > Anyway as maintainer of this driver, I prefer unwrapped lines. > > I let Herbert to choose to apply the serie without this last pa

Re: [PATCH] blk-mq: Fix refcounting leak in __blk_mq_register_dev()

2020-09-07 Thread Ming Lei
On Sat, Sep 05, 2020 at 03:52:06PM +0300, Dan Carpenter wrote: > There is a kobject_add() hidden in the call to kobject_add(). > > ret = kobject_add(q->mq_kobj, kobject_get(&dev->kobj), "%s", "mq"); > ^^^ > > It needs to be release o

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-07 Thread Michal Hocko
On Fri 04-09-20 14:10:45, Roman Gushchin wrote: > On Fri, Sep 04, 2020 at 09:42:07AM +0200, Michal Hocko wrote: [...] > > An explicit opt-in sounds much more appropriate to me as well. If we go > > with a specific API then I would not make it 1GB pages specific. Why > > cannot we have an explicit i

Re: [PATCH] mtd: rawnand: vf610: disable clk on error handling path in probe

2020-09-07 Thread Miquel Raynal
On Thu, 2020-08-06 at 07:26:34 UTC, Evgeny Novikov wrote: > vf610_nfc_probe() does not invoke clk_disable_unprepare() on one error > handling path. The patch fixes that. > > Found by Linux Driver Verification project (linuxtesting.org). > > Fixes: 6f0ce4dfc5a3 ("mtd: rawnand: vf610: Avoid a poten

Re: [PATCH] mtd: rawnand: oxnas: cleanup/simplify code

2020-09-07 Thread Miquel Raynal
On Fri, 2020-07-24 at 08:38:25 UTC, Pavel Machek wrote: > Simplify oxnas_nand_probe. > > Signed-off-by: Pavel Machek (CIP) > Acked-by: Neil Armstrong Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel

Re: [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC

2020-09-07 Thread Miquel Raynal
On Wed, 2020-07-22 at 08:02:57 UTC, YouChing Lin wrote: > The Macronix MX31LF1GE4BC is a 3V, 1Gbit (128MB) serial > NAND flash device. > > Validated by read, erase, read back, write and read back > on Xilinx Zynq PicoZed FPGA board which included > Macronix SPI Host (driver/spi/spi-mxic.c). > > S

Re: [PATCH] mtd: rawnand: stm32_fmc2: fix a buffer overflow

2020-09-07 Thread Miquel Raynal
On Tue, 2020-07-21 at 09:52:07 UTC, Christophe Kerello wrote: > This patch solves following static checker warning: > drivers/mtd/nand/raw/stm32_fmc2_nand.c:350 stm32_fmc2_nfc_select_chip() > error: buffer overflow 'nfc->data_phys_addr' 2 <= 2 > > The CS value can only be 0 or 1. > > Signed-off-b

Re: [PATCH -next] mtd: rawnand: pasemi: Make pasemi_device_ready() static

2020-09-07 Thread Miquel Raynal
On Tue, 2020-07-21 at 15:16:57 UTC, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/mtd/nand/raw/pasemi_nand.c:71:5: warning: > symbol 'pasemi_device_ready' was not declared. Should it be static? > > This function is not used outside of pasemi_nand.c, so this commit > mark

Re: [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC

2020-09-07 Thread Miquel Raynal
On Wed, 2020-07-22 at 08:02:58 UTC, YouChing Lin wrote: > The Macronix MX31UF1GE4BC is a 1.8V, 1Gbit (128MB) serial > NAND flash device. > > Validated by read, erase, read back, write and read back > on Xilinx Zynq PicoZed FPGA board which included > Macronix SPI Host (driver/spi/spi-mxic.c). > >

Re: [PATCH] net: usb: qmi_wwan: Fix for packets being rejected in the ring buffer used by the xHCI controller.

2020-09-07 Thread Kristian Evensen
Hi all, I was able to trigger the same issue as reported by Paul, and came across this patch (+ Daniele's other patch and thread on the libqmi mailing list). Applying Paul's fix solved the problem for me, changing the MTU of the QMI interface now works fine. Thanks a lot to everyone involved! I j

Re: [PATCH v5 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-09-07 Thread Reddy, MallikarjunaX
On 9/4/2020 2:31 PM, Peter Ujfalusi wrote: On 18/08/2020 10.00, Reddy, MallikarjunaX wrote: Hi Rob, Thanks for your valuable comments. Please see my comments inline.. On 8/15/2020 4:32 AM, Rob Herring wrote: On Fri, Aug 14, 2020 at 01:26:09PM +0800, Amireddy Mallikarjuna reddy wrote: Add D

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-07 Thread Michal Hocko
On Fri 04-09-20 10:25:02, Pavel Tatashin wrote: > > Another alternative would be to enable/disable static branch only from > > users who really care but this is quite tricky because how do you tell > > you need or not? It seems that alloc_contig_range would be just fine > > with a weaker semantic b

Re: [PATCH v3 1/2] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-07 Thread Michal Hocko
On Fri 04-09-20 11:14:47, Pavel Tatashin wrote: > There is a race during page offline that can lead to infinite loop: > a page never ends up on a buddy list and __offline_pages() keeps > retrying infinitely or until a termination signal is received. > > Thread#1 - a new process: > > load_elf_bina

[PATCH 0/2] phy: amlogic: Add support for AXG MIPI D-PHY

2020-09-07 Thread Neil Armstrong
The Amlogic AXg SoCs embeds a MIPI D-PHY to communicate with DSI panels, this adds the bindings. This D-PHY depends on a separate analog PHY. Neil Armstrong (2): dt-bindings: phy: add Amlogic AXG MIPI D-PHY bindings phy: amlogic: Add AXG MIPI D-PHY driver .../bindings/phy/amlogic,axg-mipi-d

[PATCH 1/2] dt-bindings: phy: add Amlogic AXG MIPI D-PHY bindings

2020-09-07 Thread Neil Armstrong
The Amlogic AXg SoCs embeds a MIPI D-PHY to communicate with DSI panels, this adds the bindings. This D-PHY depends on a separate analog PHY. Signed-off-by: Neil Armstrong --- .../bindings/phy/amlogic,axg-mipi-dphy.yaml | 68 +++ 1 file changed, 68 insertions(+) create mode 1

[PATCH 2/2] phy: amlogic: Add AXG MIPI D-PHY driver

2020-09-07 Thread Neil Armstrong
The Amlogic AXG SoCs embeds a MIPI D-PHY used to communicate with DSI panels. Signed-off-by: Neil Armstrong --- drivers/phy/amlogic/Kconfig | 12 + drivers/phy/amlogic/Makefile | 1 + drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c | 413 ++ 3

Re: [PATCH rdma-next 1/4] lib/scatterlist: Refactor sg_alloc_table_from_pages

2020-09-07 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 06:54:34PM +0300, Leon Romanovsky wrote: > From: Maor Gottlieb > > Currently, sg_alloc_table_from_pages doesn't support dynamic chaining of > SG entries. Therefore it requires from user to allocate all the pages in > advance and hold them in a large buffer. Such a buffer c

Re: [PATCH rdma-next 2/4] lib/scatterlist: Add support in dynamically allocation of SG entries

2020-09-07 Thread Christoph Hellwig
> +static inline void _sg_chain(struct scatterlist *chain_sg, > + struct scatterlist *sgl) > +{ > + /* > + * offset and length are unused for chain entry. Clear them. > + */ > + chain_sg->offset = 0; > + chain_sg->length = 0; > + > + /* > + *

Re: [PATCH rdma-next 3/4] lib/scatterlist: Add support in dynamic allocation of SG table from pages

2020-09-07 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 03:18:52PM +0300, Leon Romanovsky wrote: > +struct sg_append { > + struct scatterlist *prv; /* Previous entry to append */ > + unsigned int left_pages; /* Left pages to add to table */ > +}; I don't really see the point in this structure. Either pass it as two sep

[PATCH v6] perf test: Introduce script for Arm CoreSight testing

2020-09-07 Thread Leo Yan
We need a simple method to test Perf with Arm CoreSight drivers, this could be used for smoke testing when new patch is coming for perf or CoreSight drivers, and we also can use the test to confirm if the CoreSight has been enabled successfully on new platforms. This patch introduces the shell scr

Re: [PATCH rdma-next 4/4] RDMA/umem: Move to allocate SG table from pages

2020-09-07 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 03:18:53PM +0300, Leon Romanovsky wrote: > From: Maor Gottlieb > > Remove the implementation of ib_umem_add_sg_table and instead > call to sg_alloc_table_append which already has the logic to > merge contiguous pages. > > Besides that it removes duplicated functionality,

Re: [PATCH] /dev/zero: also implement ->read

2020-09-07 Thread Christoph Hellwig
On Mon, Sep 07, 2020 at 08:50:53AM +0200, Rasmus Villemoes wrote: > > Actually, while you're micro-optimizing it, AFAIK VFS already handles > count==0, It doesn't.

[PATCH] sched/fair: use dst group while checking imbalance for NUMA balancer

2020-09-07 Thread Barry Song
Something is wrong. In find_busiest_group(), we are checking if src has higher load, however, in task_numa_find_cpu(), we are checking if dst will have higher load after balancing. It seems it is not sensible to check src. It maybe cause wrong imbalance value, for example, if dst_running = env->dst

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-07 Thread Vadym Kochan
Hi Andy, On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan wrote: > > > > Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 > > ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely > > wireless SMB deploym

RE: [EXTERNAL] [PATCH v2] net: wireless: wlcore: fix support for IGTK key

2020-09-07 Thread Bouganim, Raz
Hi, This is not a really good solution, this patch will cause a wrong status to the user: The supplicant will give status to the user that we are connected although we are not able to encrypt a management packet in addition, the supplicant will try over and over to send the AES_CMAC key. The r

Re: [PATCH v5 2/2] Add Intel LGM soc DMA support.

2020-09-07 Thread Reddy, MallikarjunaX
Hi Peter, Thanks for the review, please see my comment inline.. On 9/4/2020 2:31 PM, Peter Ujfalusi wrote: On 31/08/2020 11.07, Reddy, MallikarjunaX wrote: On 8/28/2020 7:17 PM, Peter Ujfalusi wrote: Hi, On 27/08/2020 17.41, Reddy, MallikarjunaX wrote: + +    dma_dev->device_alloc_chan_reso

Re: [PATCH v3 2/2] mm: drain per-cpu pages outside of isolate_migratepages_range

2020-09-07 Thread Michal Hocko
On Fri 04-09-20 11:14:48, Pavel Tatashin wrote: > It is expensive to drain per-cpu page lists as a thread is started on each > CPU, and we are waiting for them to complete. > > Currently, we drain on every block of pages that is isolated. Instead lets > drain once after pages are isolated. > > Fo

[PATCH] arm64: dts: renesas: r8a774e1-hihope-rzg2h-ex: Enable sata

2020-09-07 Thread Lad Prabhakar
Enable sata interface on HiHope RZ/G2H board. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts b/arch/arm64/boot/dts/

Re: [PATCH v5] perf test: Introduce script for Arm CoreSight testing

2020-09-07 Thread Leo Yan
Hi Mathieu, On Fri, Sep 04, 2020 at 03:33:32PM -0600, Mathieu Poirier wrote: [...] > > diff --git a/tools/perf/tests/shell/test_arm_coresight.sh > > b/tools/perf/tests/shell/test_arm_coresight.sh > > new file mode 100755 > > index ..8696bb5df45a > > --- /dev/null > > +++ b/tools/per

[PATCH 2/3] dt-bindings: phy: amlogic,meson-axg-mipi-pcie-analog: remove phy cell parameter

2020-09-07 Thread Neil Armstrong
The Amlogic AXG MIPI + PCIe Analog PHY provides function for both PCIe and MIPI DSI at the same time, and is not exclusive. Thus remove the invalid phy cell parameter. Signed-off-by: Neil Armstrong --- .../bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml | 4 ++-- 1 file changed, 2 ins

[PATCH 3/3] phy: amlogic: phy-meson-axg-mipi-pcie-analog: add support for MIPI DSI analog

2020-09-07 Thread Neil Armstrong
The AXG Analog MIPI-DSI PHY also provides functions to the PCIe PHY, thus we need to have inclusive support for both interfaces at runtime. This fixes the regmap get from parent node, removes cell param to select a mode and implement runtime configuration & power on/off for both functions since th

Re: [PATCH v2 2/3] mtd: lpddr: Replace printk with pr_notice

2020-09-07 Thread Miquel Raynal
On Mon, 2020-04-27 at 19:54:13 UTC, "Gustavo A. R. Silva" wrote: > pr_notice is preferred over printk. > > Also, coalesce formats as coalescing is part of coding-style: > "never break user-visible strings such as printk messages" > > Suggested-by: Joe Perches > Signed-off-by: Gustavo A. R. Silva

Re: [PATCH v2 1/3] mtd: lpddr: Fix bad logic in print_drs_error

2020-09-07 Thread Miquel Raynal
On Mon, 2020-04-27 at 19:50:37 UTC, "Gustavo A. R. Silva" wrote: > Update logic for broken test. Use a more common logging style. > > It appears the logic in this function is broken for the > consecutive tests of > > if (prog_status & 0x3) > ... > else if (prog_sta

Re: [PATCH] mtd: maps: physmap: Retain mtd-name property from dts

2020-09-07 Thread Miquel Raynal
On Mon, 2020-08-24 at 02:57:44 UTC, Chris Packham wrote: > In physmap_flash_of_init() the maps[].name can be populated based on the > optional 'linux,mtd-name' property in the dts. Make sure this is > retained when filling in the rest of the map[] data. > > Signed-off-by: Chris Packham Applied t

Re: [PATCH] mtd: lpddr: fix excessive stack usage with clang

2020-09-07 Thread Miquel Raynal
On Tue, 2020-05-05 at 14:01:16 UTC, Arnd Bergmann wrote: > Building lpddr2_nvm with clang can result in a giant stack usage > in one function: > > drivers/mtd/lpddr/lpddr2_nvm.c:399:12: error: stack frame size of 1144 bytes > in function 'lpddr2_nvm_probe' [-Werror,-Wframe-larger-than=] > > The

Re: [PATCH v2 3/3] mtd: lpddr: Move function print_drs_error to lpddr_cmds.c

2020-09-07 Thread Miquel Raynal
On Mon, 2020-04-27 at 19:56:08 UTC, "Gustavo A. R. Silva" wrote: > Function print_drs_error is only used in drivers/mtd/lpddr/lpddr_cmds.c > so, better to move it there. > > Also, notice that there's no need for inline as the function is used > once. Lastly, fix the following checkpatch warning:

Re: [PATCH 15/29] mtd: Avoid comma separated statements

2020-09-07 Thread Miquel Raynal
On Tue, 2020-08-25 at 04:56:12 UTC, Joe Perches wrote: > Use semicolons and braces. > > Signed-off-by: Joe Perches Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel

[PATCH 0/3] phy: amlogic: add MIPI DSI function to analog MIPI+PCIe PHY

2020-09-07 Thread Neil Armstrong
The AXG Analog MIPI-DSI PHY also provides functions to the PCIe PHY, thus we need to have inclusive support for both interfaces at runtime. This fixes the regmap get from parent node, removes cell param to select a mode and implement runtime configuration & power on/off for both functions since th

[PATCH 1/3] dt-bindings: phy: amlogic,meson-axg-mipi-pcie-analog: remove reg attribute

2020-09-07 Thread Neil Armstrong
The Amlogic AXG MIPI + PCIe Analog PHY should be a subnode of the hhi mfd node like the axg-clkc node. Thus the reg attribute is not needed. Signed-off-by: Neil Armstrong --- .../bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml | 4 1 file changed, 4 deletions(-) diff --git a/Do

Re: {PATCH 0/2] HID: wiimote: Minor change to spinlock usage

2020-09-07 Thread David Rheinsberg
Hi On Fri, 4 Sep 2020 at 15:21, Ian Abbott wrote: > > [I have posted these patches previously, but that was over a year ago. > --IA] > > A couple of minor changes to the wiimote core module. They do not > change functionality of the driver: > > 1) HID: wiimote: make handlers[] const > 2) HID: wi

Re: [PATCH 1/1] block: move the PAGE_SECTORS definition into

2020-09-07 Thread Leizhen (ThunderTown)
Hi, Jens Axboe, Alasdair Kergon, Mike Snitzer: What's your opinion? On 2020/8/21 15:05, Coly Li wrote: > On 2020/8/21 14:48, Leizhen (ThunderTown) wrote: >> >> >> On 8/21/2020 12:11 PM, Coly Li wrote: >>> On 2020/8/21 10:03, Zhen Lei wrote: There are too many PAGE_SECTORS definitions, and

Re: (EXT) Re: (EXT) Re: (EXT) Re: [PATCH] spi-imx: remove num-cs support, set num_chipselect to 4

2020-09-07 Thread Matthias Schiffer
On Fri, 2020-09-04 at 12:42 -0300, Fabio Estevam wrote: > Hi Mark, > > On Fri, Sep 4, 2020 at 12:05 PM Mark Brown > wrote: > > > > On Fri, Sep 04, 2020 at 04:34:43PM +0200, Matthias Schiffer wrote: > > > > > Nevertheless, I don't see why we should deliberately remove the > > > native > > > CS s

Re: [PATCH 1/7] usb: mtu3: convert to devm_platform_ioremap_resource_byname

2020-09-07 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > Use devm_platform_ioremap_resource_byname() to simplify code > > Signed-off-by: Chunfeng Yun why is it so that your patches always come base64 encoded? They look fine on the email client, but when I try to pipe the message to git am it always gives me a lot of troubl

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-09-07 Thread Felipe Balbi
Hi, Mike Looijmans writes: > Met vriendelijke groet / kind regards, > > Mike Looijmans > System Expert > > > TOPIC Embedded Products B.V. > Materiaalweg 4, 5681 RJ Best > The Netherlands > > T: +31 (0) 499 33 69 69 > E: mike.looijm...@topicproducts.com > W: www.topicproducts.com > > Please consi

Re: [PATCH v5 3/3] media: i2c: imx274: Add IMX274 power on and off sequence

2020-09-07 Thread Jacopo Mondi
Hello, On Fri, Sep 04, 2020 at 10:04:10AM -0700, Sowjanya Komatineni wrote: > > On 9/4/20 1:55 AM, Jacopo Mondi wrote: > > > > usleep_range() allows you to provide an interval in which your timeout > > > > can be coalesced with others. Giving a [1usec, 2usec] range kind of > > > > defeat the purpo

Re: [PATCH] net: usb: qmi_wwan: Fix for packets being rejected in the ring buffer used by the xHCI controller.

2020-09-07 Thread Bjørn Mork
Kristian Evensen writes: > Hi all, > > I was able to trigger the same issue as reported by Paul, and came > across this patch (+ Daniele's other patch and thread on the libqmi > mailing list). Applying Paul's fix solved the problem for me, changing > the MTU of the QMI interface now works fine. T

Re: [PATCH v8 1/3] Add a new LSM-supporting anonymous inode interface

2020-09-07 Thread Lokesh Gidra
On Tue, Sep 1, 2020 at 5:41 AM Christian Brauner wrote: > > On Wed, Aug 26, 2020 at 11:35:20PM -0700, Lokesh Gidra wrote: > > From: Daniel Colascione > > > > This change adds a new function, anon_inode_getfd_secure, that creates > > anonymous-node file with individual non-S_PRIVATE inode to which

Re: [PATCH] dma-direct: zero out DMA_ATTR_NO_KERNEL_MAPPING buf

2020-09-07 Thread Christoph Hellwig
On Mon, Sep 07, 2020 at 09:02:34AM +0200, Marek Szyprowski wrote: > > That's not a reason ... that comment was put in for coherent mappings. > > What is the reason we should incur all this expense for clearing pages > > which aren't unmapped in the kernel, because we can update the comment? > > T

Re: [PATCH 1/1] watchdog: remove unneeded inclusion of

2020-09-07 Thread Leizhen (ThunderTown)
Hi, Wim Van Sebroeck, Guenter Roeck: What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago. On 2020/8/27 21:40, Guenter Roeck wrote: > On 8/26/20 11:21 PM, Zhen Lei wrote: >> There has been no reference to "struct sched_param" since >> commit 94beddacb53c ("sched,watchdog: Conver

Re: [PATCH 2/3] backlight: pwm_bl: Artificially add 0% during interpolation

2020-09-07 Thread Daniel Vetter
On Fri, Sep 04, 2020 at 12:38:22PM +0100, Daniel Thompson wrote: > On Mon, Jul 20, 2020 at 09:25:21PM -0700, Alexandru Stan wrote: > > Some displays need the low end of the curve cropped in order to make > > them happy. In that case we still want to have the 0% point, even though > > anything betwe

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-09-07 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On 0

[PATCH v2] /dev/zero: also implement ->read

2020-09-07 Thread Christoph Hellwig
Christophe reported a major speedup due to avoiding the iov_iter overhead, so just add this trivial function. Suggested-by: Christophe Leroy Signed-off-by: Christoph Hellwig Tested-by: Christophe Leroy --- Changes since v1: - fix the Suggested-by: tag - report the actually read bytes in case

[PATCH] kyber: Fix crash in kyber_finish_request()

2020-09-07 Thread Yang Yang
Kernel crash when requeue flush request. It can be reproduced as below: [2.517297] Unable to handle kernel paging request at virtual address ffd8071c0b00 ... [2.517468] pc : clear_bit+0x18/0x2c [2.517502] lr : sbitmap_queue_clear+0x40/0x228 [2.517503] sp : ff800832bc60 pst

Re: [PATCH v3 08/15] MIPS: generic: Support booting with built-in or appended DTB

2020-09-07 Thread Sergei Shtylyov
On 06.09.2020 22:29, Paul Cercueil wrote: The plat_get_fdt() checked that the kernel was booted using UHI before reading the 'fw_passed_dtb' variable. However, this variable is also set when the kernel has been appended, or when it has been built into the You haven't fixed s/kernel/DT/ here

RE: [PATCH v14 09/10] doc: add ptp_kvm introduction for arm64 support

2020-09-07 Thread Jianyong Wu
Hi Marc, > -Original Message- > From: Marc Zyngier > Sent: Saturday, September 5, 2020 12:19 AM > To: Jianyong Wu > Cc: net...@vger.kernel.org; yangbo...@nxp.com; john.stu...@linaro.org; > t...@linutronix.de; pbonz...@redhat.com; sean.j.christopher...@intel.com; > richardcoch...@gmail.co

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-07 Thread Andy Shevchenko
On Mon, Sep 7, 2020 at 10:30 AM Vadym Kochan wrote: > On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan > > wrote: I'm assuming that you agree on all non-commented. ... > > > +#define prestera_dev(sw) ((sw)->dev->dev

Re: [PATCH 4/4] ARM: dts: r8a7742-iwg21d-q7: Enable SD2 LED indication

2020-09-07 Thread Geert Uytterhoeven
Hi Prabhakar, On Fri, Sep 4, 2020 at 7:15 PM Lad, Prabhakar wrote: > On Thu, Sep 3, 2020 at 1:20 PM Geert Uytterhoeven > wrote: > > On Tue, Aug 25, 2020 at 6:28 PM Lad Prabhakar > > wrote: > > > Add support for LED trigger on SD2 interface. > > > > > > Signed-off-by: Lad Prabhakar > > > Revie

Re: [PATCH v1 0/2] video: fbdev: radeonfb: PCI PM framework upgrade and fix-ups.

2020-09-07 Thread Daniel Vetter
On Thu, Aug 06, 2020 at 12:52:54PM +0530, Vaibhav Gupta wrote: > Linux Kernel Mentee: Remove Legacy Power Management. > > The original goal of the patch series is to upgrade the power management > framework of radeonfb fbdev driver. This has been done by upgrading .suspend() > and .resume() callb

Re: [PATCH v5 01/36] i2c: tegra: Make tegra_i2c_flush_fifos() usable in atomic transfer

2020-09-07 Thread Andy Shevchenko
On Sun, Sep 6, 2020 at 9:51 PM Dmitry Osipenko wrote: > > The tegra_i2c_flush_fifos() shouldn't sleep in atomic transfer and jiffies > are not updating if interrupts are disabled. Let's switch to use iopoll > API helpers for register-polling. The iopoll API provides helpers for both > atomic and n

Re: [PATCH 0/2] Update CascadelakeX and SkylakeX events list

2020-09-07 Thread Jin, Yao
Hi Arnaldo, On 7/17/2020 2:06 PM, Jin, Yao wrote: Hi, On 6/17/2020 3:38 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 16, 2020 at 02:27:40PM +0800, Jin, Yao escreveu: On 6/16/2020 2:16 PM, Ian Rogers wrote: On Mon, Jun 15, 2020 at 6:00 PM Jin, Yao wrote: Can I get an ACK for this patchse

Re: [PATCH v5] kthread: Add debugobject support

2020-09-07 Thread qianli zhao
Dear maintainer Is this change ignored or rejected? I'm not sure who is the maintainer of kthread, please help give me a definite reply Thanks On Mon, 17 Aug 2020 at 14:37, Qianli Zhao wrote: > > From: Qianli Zhao > > Add debugobject support to track the life time of kthread_work > which is us

Re: [PATCH v2] drm/bridge/synopsys: dsi: allow LP commands in video mode

2020-09-07 Thread Neil Armstrong
On 08/07/2020 16:08, Yannick Fertre wrote: > From: Antonio Borneo > > Current code only sends LP commands in command mode. > > Allows sending LP commands also in video mode by setting the > proper flag in DSI_VID_MODE_CFG. > > Signed-off-by: Antonio Borneo > --- > drivers/gpu/drm/bridge/synop

Re: [PATCH] drm/bridge/synopsys: dsi: allow sending longer LP commands

2020-09-07 Thread Neil Armstrong
On 01/07/2020 16:31, Yannick Fertre wrote: > From: Antonio Borneo > > Current code does not properly computes the max length of LP > commands that can be send during H or V sync, and rely on static > values. > Limiting the max LP length to 4 byte during the V-sync is overly > conservative. > > R

Re: [PATCH] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-09-07 Thread Neil Armstrong
On 01/07/2020 21:42, Yannick Fertre wrote: > From: Antonio Borneo > > Current code enables the HS clock when video mode is started or to > send out a HS command, and disables the HS clock to send out a LP > command. This is not what DSI spec specify. > > Enable HS clock either in command and in

Re: [PATCH v2 1/9] docs: Document IO Address Space ID (IOASID) APIs

2020-09-07 Thread Auger Eric
Hi Jacob, On 9/1/20 6:56 PM, Jacob Pan wrote: > Hi Eric, > > On Thu, 27 Aug 2020 18:21:07 +0200 > Auger Eric wrote: > >> Hi Jacob, >> On 8/24/20 12:32 PM, Jean-Philippe Brucker wrote: >>> On Fri, Aug 21, 2020 at 09:35:10PM -0700, Jacob Pan wrote: IOASID is used to identify address spaces

[PATCH v3 1/3] ARM: dts: imx6qdl: tqma6: fix indentation

2020-09-07 Thread Matthias Schiffer
The PMIC configuration is indented one level too deep. Fixes: cac849e9bbc8 ("ARM: dts: imx6qdl: add TQMa6{S,Q,QP} SoM") Signed-off-by: Matthias Schiffer --- v3: extended commit message v2: no changes arch/arm/boot/dts/imx6qdl-tqma6.dtsi | 188 +-- 1 file changed, 94 ins

Re: [PATCH v2 3/9] iommu/ioasid: Introduce ioasid_set APIs

2020-09-07 Thread Auger Eric
Hi Jacob, On 9/3/20 11:07 PM, Jacob Pan wrote: > On Tue, 1 Sep 2020 13:51:26 +0200 > Auger Eric wrote: > >> Hi Jacob, >> >> On 8/22/20 6:35 AM, Jacob Pan wrote: >>> ioasid_set was introduced as an arbitrary token that are shared by >>> a >> that is > got it > >>> group of IOASIDs. For example

[PATCH v3 3/3] ARM: dts: imx6qdl: tqma6: fix LM75 compatible string

2020-09-07 Thread Matthias Schiffer
Specify the National LM75 sensor including its vendor name, as mandated by the binding docs. Fixes: cac849e9bbc8 ("ARM: dts: imx6qdl: add TQMa6{S,Q,QP} SoM") Signed-off-by: Matthias Schiffer --- v3: split patch arch/arm/boot/dts/imx6qdl-tqma6a.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-tqma6b.dtsi

[PATCH v3 2/3] ARM: dts: imx6qdl: tqma6: remove obsolete fsl,spi-num-chipselects

2020-09-07 Thread Matthias Schiffer
This property is unneeded and not supported by the spi-imx driver. Fixes: cac849e9bbc8 ("ARM: dts: imx6qdl: add TQMa6{S,Q,QP} SoM") Signed-off-by: Matthias Schiffer --- v3: split patch v2: drop fsl,spi-num-chipselects instead of replacing with num-cs arch/arm/boot/dts/imx6qdl-tqma6.dtsi | 1 -

Re: [PATCH 3/8] asm-generic: fix unaligned access hamdling in raw_copy_{from,to}_user

2020-09-07 Thread Arnd Bergmann
On Sat, Sep 5, 2020 at 12:35 AM Al Viro wrote: > > On Fri, Sep 04, 2020 at 07:06:17PM +0100, Al Viro wrote: > > On Fri, Sep 04, 2020 at 06:52:11PM +0200, Christoph Hellwig wrote: > > > Use get_unaligned and put_unaligned for the small constant size cases > > > in the generic uaccess routines. Thi

Hello

2020-09-07 Thread AL ANSARI GLOBAL
Hello, Let us have the details of your available products and your price list, delivery and your payment terms for our onward study. Please quote prices in USD.Please get back to us as soon as possible to enable us provide you with our quotations, order and way forward. AL ANSARI GLOBAL SVCS WL

[PATCH 0/5] Some improvements for blk-throttle

2020-09-07 Thread Baolin Wang
Hi All, This patch set did some clean-ups, as well as removing some unnecessary bps/iops limitation calculation when checking if can dispatch a bio or not for a tg. Please help to review. Thanks. Baolin Wang (5): blk-throttle: Fix some comments' typos blk-throttle: Use readable READ/WRITE mac

[PATCH 2/5] blk-throttle: Use readable READ/WRITE macros

2020-09-07 Thread Baolin Wang
Use readable READ/WRITE macros instead of magic numbers. Signed-off-by: Baolin Wang --- block/blk-throttle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 2fc6c3e..06e73ed 100644 --- a/block/blk-throttle.c +++ b/block/bl

Re: [PATCH v2] drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

2020-09-07 Thread Neil Armstrong
Hi, On 06/04/2020 15:49, Angelo Ribeiro wrote: > Add support for the video pattern generator (VPG) BER pattern mode and > configuration in runtime. > > This enables using the debugfs interface to manipulate the VPG after > the pipeline is set. > Also, enables the usage of the VPG BER pattern. >

Re: [PATCH -next] powerpc/book3s64: fix link error with CONFIG_PPC_RADIX_MMU=n

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 03:51, Yang Yingliang a écrit : On 2020/9/6 14:50, Christophe Leroy wrote: Le 05/09/2020 à 13:25, Yang Yingliang a écrit : Fix link error when CONFIG_PPC_RADIX_MMU is disabled: powerpc64-linux-gnu-ld: arch/powerpc/platforms/pseries/lpar.o:(.toc+0x0): undefined reference

[PATCH 1/5] blk-throttle: Fix some comments' typos

2020-09-07 Thread Baolin Wang
Fix some comments' typos. Signed-off-by: Baolin Wang --- block/blk-throttle.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index fee3325..2fc6c3e 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -150

[PATCH 5/5] blk-throttle: Avoid checking bps/iops limitation if bps or iops is unlimited

2020-09-07 Thread Baolin Wang
Do not need check the bps or iops limitation if bps or iops is unlimited. Signed-off-by: Baolin Wang --- block/blk-throttle.c | 12 1 file changed, 12 insertions(+) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 8719e37..36ba61c 100644 --- a/block/blk-throttle.c +++

Re: [PATCH v5 06/36] i2c: tegra: Runtime PM always available on Tegra

2020-09-07 Thread Andy Shevchenko
On Sun, Sep 6, 2020 at 9:51 PM Dmitry Osipenko wrote: > > The runtime PM is guaranteed to be always available on Tegra after commit > 40b2bb1b132a ("ARM: tegra: enforce PM requirement"). Hence let's remove > all the RPM-availability checking and handling from the code. > + ret = pm_runtime_

[PATCH 3/5] blk-throttle: Define readable macros instead of static variables

2020-09-07 Thread Baolin Wang
The 'throtl_grp_quantum' and 'throtl_quantum' are both read-only variables, thus better to use readable macros instead of static variables, which can also save some spaces for .bss area. Signed-off-by: Baolin Wang --- block/blk-throttle.c | 10 +- 1 file changed, 5 insertions(+), 5 delet

[PATCH 4/5] blk-throttle: Avoid calculating bps/iops limitation repeatedly

2020-09-07 Thread Baolin Wang
The tg_may_dispatch() will call tg_with_in_bps_limit() and tg_with_in_iops_limit() to check if we can dispatch a bio or not, which will calculate bps/iops limitation multiple times. But tg_may_dispatch() is always called under queue lock, which means the bps/iops limitation will not change in tg_ma

  1   2   3   4   5   6   7   8   9   10   >