Re: [PATCH 2/2] arm64: dts: freescale: sl28: add variant 1

2021-01-11 Thread Michael Walle
Am 2021-01-11 02:34, schrieb Shawn Guo: On Tue, Dec 29, 2020 at 01:03:21PM +0100, Michael Walle wrote: There is a new variant 1 of this board available. It features up to four SerDes lanes for customer use. Add a new device tree which features just the basic peripherals. A customer will then ha

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-11 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 3:50 PM Heiko Stübner wrote: > > Am Montag, 11. Januar 2021, 04:27:47 CET schrieb Chen-Yu Tsai: > > On Mon, Jan 11, 2021 at 4:06 AM Heiko Stübner wrote: > > > > > > Hi, > > > > > > Am Sonntag, 10. Januar 2021, 16:37:15 CET schrieb Chen-Yu Tsai: > > > > > > + vcc_sd: sd

Re: [PATCH] mm/filemap: don't revert iter on -EIOCBQUEUED

2021-01-11 Thread Christoph Hellwig
On Sat, Jan 09, 2021 at 04:00:32PM +, Pavel Begunkov wrote: > Currently, if I/O is enqueued for async execution direct paths of > generic_file_{read,write}_iter() will always revert the iter. There are > no users expecting that, and that is also costly. Leave iterators as is > on -EIOCBQUEUED.

Re: Old platforms: bring out your dead

2021-01-11 Thread John Paul Adrian Glaubitz
Hello! On 1/10/21 10:46 PM, Sam Ravnborg wrote: >> I don't think this has reached any agreement yet. Multiple people want it to >> stay. > > None of the people that replied have any real use of the sun4m port, > they only wanted it to stay because they had some machines or such. > In other words

Re: [PATCH] mt76: Fix queue ID variable types after mcu queue split

2021-01-11 Thread Kalle Valo
Lorenzo Bianconi writes: >> Clang warns in both mt7615 and mt7915: >> >> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:271:9: warning: implicit >> conversion from enumeration type 'enum mt76_mcuq_id' to different >> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >> txq

Re: [PATCH v3 1/1] can: dev: add software tx timestamps

2021-01-11 Thread Marc Kleine-Budde
On 1/10/21 1:49 PM, Vincent Mailhol wrote: > Call skb_tx_timestamp() within can_put_echo_skb() so that a software > tx timestamp gets attached on the skb. > > There two main reasons to include this call in can_put_echo_skb(): > > * It easily allow to enable the tx timestamp on all devices with

Re: [PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-11 Thread Christoph Hellwig
James, can you review this patch? On Sun, Jan 03, 2021 at 08:12:53PM +0200, leonid.rav...@dell.com wrote: > From: Leonid Ravich > > searching assoc_list protected by rcu_read_lock if list not changed inline. > and according to the rcu list rules. > > queue array embedded into nvmet_fc_tgt_assoc

Re: [PATCH 1/2] net: stmmac: retain PTP-clock at hwtstamp_set

2021-01-11 Thread Holger Assmann
On Thu, 17.12.20 um 02:13 Jakub Kicinski wrote: Thanks for the patch, minor nits below. Thanks for the Feedback! I will work it in for my v2. + + if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) !a && !b reads better IMHO We've chosen this variant because it is already

RE: [PATCH] scsi: ufs: should not override buffer lengh

2021-01-11 Thread Avri Altman
> > Sorry, typo corrected. > > Hi Jaegeuk, > > I think the problem is that func ufshcd_read_desc_param() is not > expecting > one access unsupported descriptors on RPMB LU. Correct. This is about wb introducing a new constraint: wb buffer is only allowed in lu 0..7. And this is why, IMHO, the f

[PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Bill Wendling
From: Sami Tolvanen Enable the use of clang's Profile-Guided Optimization[1]. To generate a profile, the kernel is instrumented with PGO counters, a representative workload is run, and the raw profile data is collected from /sys/kernel/debug/pgo/profraw. The raw profile data must be processed by

Re: [PATCH] scsi: ufs: should not override buffer lengh

2021-01-11 Thread Can Guo
On 2021-01-11 16:15, Avri Altman wrote: Sorry, typo corrected. Hi Jaegeuk, I think the problem is that func ufshcd_read_desc_param() is not expecting one access unsupported descriptors on RPMB LU. Correct. This is about wb introducing a new constraint: wb buffer is only allowed in lu 0..7. An

Re: Old platforms: bring out your dead

2021-01-11 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Jan 8, 2021 at 11:55 PM Arnd Bergmann wrote: > * MIPS R3000/TX39xx: 32-bit MIPS-II generation, mostly superseded by > 64-bit MIPS-III (R4000 and higher) starting in 1991. arch/mips still > supports these in DECstation and Toshiba Txx9, but it appears that most > of those ma

[PATCH v2 2/2] arm64: dts: freescale: sl28: add variant 1

2021-01-11 Thread Michael Walle
There is a new variant 1 of this board available. It features up to four SerDes lanes for customer use. Add a new device tree which features just the basic peripherals. A customer will then have to modify or append to this device tree. Signed-off-by: Michael Walle --- changes since v1: - removed

[PATCH v4 2/5] arm64: dts: imx8mq: Add interconnect provider property

2021-01-11 Thread Martin Kepplinger
Add #interconnect-cells on main &noc so that it will probe the interconnect provider. Signed-off-by: Martin Kepplinger Acked-by: Georgi Djakov --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm6

[PATCH v2 1/2] dt-bindings: arm: fsl: add Kontron sl28 variant 1

2021-01-11 Thread Michael Walle
Add the a new variant for the Kontron SMARC-sAL28 board. Signed-off-by: Michael Walle --- changes since v1: - none Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bi

Re: [PATCH v2 02/11] perf c2c: Add dimensions for load hit

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:38:19PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > Add dimensions for load hit and its percentage calculation, which is to > > be displayed in the single cache line output. > > > > Signed-off-by: Leo Yan > > --- > > tools/perf/

[PATCH] mmc: sdhci-pci-gli: Finetune HS400 RX delay for GL9763E

2021-01-11 Thread Renius Chen
To improve the compatibility of GL9763E with HS400 eMMC cards, finetune the RX delay of HS400 mode. Signed-off-by: Renius Chen --- drivers/mmc/host/sdhci-pci-gli.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci-gli.c b/drivers/mmc/host/sdhci-pci-gli.c ind

[PATCH v4 3/5] dt-bindings: mxsfb: Add interconnect bindings for LCDIF path

2021-01-11 Thread Martin Kepplinger
Add optional interconnect properties for the dram path requests. Signed-off-by: Martin Kepplinger --- Documentation/devicetree/bindings/display/mxsfb.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt b/Documentation/devicetree/bind

Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-11 Thread Bean Huo
On Mon, 2021-01-11 at 09:27 +0800, Can Guo wrote: > > > > If accessing sysfs nodes, which triggers a UFS UPIU request to > > read/write UFS device descriptors during shutdown flow, there is > > only > > one issue that sysfs node access failure since UFS device and LINK > > has > > been shutdown. S

Re: fs/f2fs/gc.c:622:12: warning: stack frame size of 3056 bytes in function 'get_victim_by_default'

2021-01-11 Thread Chao Yu
Hello, Thanks for the report. I replied for your previous report [1], could you please check that? [1] https://lore.kernel.org/lkml/8a8ef6b8-84c2-abfe-e758-2fa52a989...@huawei.com/ That says, in my environment, get_victim_by_default()'s frame size is less than 512 bytes, and also after going

Re: [PATCH v2 2/4] arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen description

2021-01-11 Thread Martin Kepplinger
On 11.01.21 01:29, Shawn Guo wrote: On Tue, Dec 22, 2020 at 04:13:45PM +0100, Martin Kepplinger wrote: In order for the touchscreen interrupt line to work, describe it properly. Otherwise it can work if defaults are ok, but we cannot be sure. Fixes: 8f0216b006e5 ("arm64: dts: Add a device tree

Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-11 Thread Bean Huo
On Mon, 2021-01-11 at 09:30 +0800, Can Guo wrote: > > > +static inline bool ufshcd_is_sysfs_allowed(struct ufs_hba *hba) > > > +{ > > > + return !hba->shutting_down; > > > +} > > > + > > > > > > Can, > > > > Instead adding new shutting_down flag, can we use availible > > variable > > syste

Good Day,

2021-01-11 Thread Paul Wagner
Hello, My name is Paul Wagner, a family lawyer for the late Mr. Michael. I have a suggestion for you regarding my late client Michael. Please write back to me for more details. greetings Paul Wagner

[PATCH 0/3] Retire remaining WindRiver embedded SBC BSPs

2021-01-11 Thread Paul Gortmaker
In v2.6.27 (2008, 917f0af9e5a9) the sbc8260 support was implicitly retired by not being carried forward through the ppc --> powerpc device tree transition. Then, in v3.6 (2012, b048b4e17cbb) we retired the support for the sbc8560 boards. Next, in v4.18 (2017, 3bc6cf5a86e5) we retired the support

Re: [PATCH] usb/gadget: f_midi: Replace tasklet with work

2021-01-11 Thread Takashi Iwai
On Mon, 11 Jan 2021 05:28:55 +0100, Davidlohr Bueso wrote: > > Currently a tasklet is used to transmit input substream buffer > data. However, tasklets have long been deprecated as being too > heavy on the system by running in irq context - and this is not > a performance critical path. If a highe

[PATCH 3/3] MAINTAINERS: update for Paul Gortmaker

2021-01-11 Thread Paul Gortmaker
Signed-off-by: Paul Gortmaker --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cc1e6a5ee6e6..c5f5cdb24674 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6529,7 +6529,6 @@ F:Documentation/admin-guide/media/em28xx* F: drivers/media/usb/

[PATCH 2/3] powerpc: retire sbc8641d board support

2021-01-11 Thread Paul Gortmaker
The support was for this was added to mainline over 12 years ago, in v2.6.26 [4e8aae89a35d] just around the ppc --> powerpc migration. I believe the board was introduced shortly after the sbc8548 board, making it roughly a 14 year old platform - with the CPU speed and memory size typical for that

[PATCH 1/3] powerpc: retire sbc8548 board support

2021-01-11 Thread Paul Gortmaker
The support was for this was mainlined 13 years ago, in v2.6.25 [0e0fffe88767] just around the ppc --> powerpc migration. I believe the board was introduced a year or two before that, so it is roughly a 15 year old platform - with the CPU speed and memory size that was typical for that era. I hav

Re: [PATCH v1] i2c: tegra: Fix i2c_writesl() to use writel() instead of writesl()

2021-01-11 Thread Thierry Reding
On Mon, Oct 19, 2020 at 09:03:54PM -0700, Sowjanya Komatineni wrote: > VI I2C don't have DMA support and uses PIO mode all the time. > > Current driver uses writesl() to fill TX FIFO based on available > empty slots and with this seeing strange silent hang during any I2C > register access after fi

Re: [RESEND PATCH v3 0/4] configfs: implement committable items and add sample code

2021-01-11 Thread Bartosz Golaszewski
On Tue, Dec 29, 2020 at 11:22 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Committable items in configfs are well defined and documented but > unfortunately > so far never implemented. > > The use-case we have over at the GPIO subsystem is using configfs in > conjunction with

Re: [PATCH 5/5] Input: omap4-keypad - implement errata check for lost key-up events

2021-01-11 Thread Pavel Machek
Hi! > We are still missing handling for errata i689 related issues for the > case where we never see a key up interrupt for the last pressed key. > > To fix the issue, we must scan the key state again after the keyboard > controller has idled to check if a key up event was missed. This is > descr

Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2021-01-11 Thread . Christoph Hellwig
On Thu, Jan 07, 2021 at 03:14:08PM +0100, Ricardo Ribalda wrote: > > So I think we do want these branches for coherent vs non-coherent as they > > have very different semantics and I do not think that hiding them under > > the same API helps people to understand those vastly different semantics. >

Re: [PATCH] usb/c67x00: Replace tasklet with work

2021-01-11 Thread Sergei Shtylyov
Hello! On 11.01.2021 7:40, Davidlohr Bueso wrote: Tasklets have long been deprecated as being too heavy on the system by running in irq context - and this is not a performance critical path. If a higher priority process wants to run, it must wait for the tasklet to finish before doing so. c67x

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Sedat Dilek
On Mon, Jan 11, 2021 at 9:18 AM 'Bill Wendling' via Clang Built Linux wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data is

efm32 is dead [Was: Old platforms: bring out your dead]

2021-01-11 Thread Uwe Kleine-König
Hello Arnd, On Fri, Jan 08, 2021 at 11:55:06PM +0100, Arnd Bergmann wrote: > * efm32 -- added in 2011, first Cortex-M, no notable changes after 2013 It was quite fun to work on Cortex-M and cooperate with Energymicro and ARM. But apart from the nice memorys there is I think little gain in keeping

Re: [PATCH v2 03/11] perf c2c: Add dimensions for load miss

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:42:59PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > Add dimensions for load miss and its percentage calculation, which is to > > be displayed in the single cache line output. > > > > Signed-off-by: Leo Yan > > --- > > tools/perf

Re: [PATCH v3 1/4] arm64: defconfig: Enable Librem 5 devkit components

2021-01-11 Thread Guido Günther
Hi, On Mon, Jan 11, 2021 at 08:23:09AM +0800, Shawn Guo wrote: > On Fri, Jan 08, 2021 at 01:57:07PM +0100, Guido Günther wrote: > > The Librem 5 devkit is based on NXP's i.MX8MQ. Schematics are at > > https://source.puri.sm/Librem5/dvk-mx8m-bsb. > > > > This enables drivers for the following hardw

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Sedat Dilek
On Mon, Jan 11, 2021 at 9:39 AM Sedat Dilek wrote: > > On Mon, Jan 11, 2021 at 9:18 AM 'Bill Wendling' via Clang Built Linux > wrote: > > > > From: Sami Tolvanen > > > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > > profile, the kernel is instrumented with PGO count

Re: [RFC PATCH net] udp: check sk for UDP GRO fraglist

2021-01-11 Thread Steffen Klassert
On Mon, Jan 11, 2021 at 11:02:42AM +0900, Dongseok Yi wrote: > On 2021-01-08 22:35, Steffen Klassert wrote: > > On Fri, Jan 08, 2021 at 09:52:28PM +0900, Dongseok Yi wrote: > > > It is a workaround patch. > > > > > > UDP/IP header of UDP GROed frag_skbs are not updated even after NAT > > > forwardi

Re: [PATCH v2 06/11] perf c2c: Refactor display filter macro

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:47:00PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > When sort on the respective metrics (lcl_hitm, rmt_hitm, tot_hitm), > > macro FILTER_HITM is to filter out the cache line entries if its > > overhead is less than 1%. > > > > Thi

Re: [PATCH v2 04/11] perf c2c: Rename for shared cache line stats

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:44:34PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > For shared cache line statistics, it relies on HITM. We can use more > > general naming rather than only binding to HITM, so replace "hitm_stats" > > with "shared_clines_stats"

Re: [PATCH v2 07/11] perf c2c: Refactor node display macro

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:47:49PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > The macro DISPLAY_HITM() is used to calculate HITM percentage introduced > > by every node and it's shown for the node info. > > > > This patch refactors the macro, it is renamed

Re: [PATCH v2 1/2] kconfig.h: Add IF_ENABLED() macro

2021-01-11 Thread Paul Cercueil
Hi, Le lun. 14 déc. 2020 à 10:05, Linus Walleij a écrit : On Mon, Dec 14, 2020 at 12:54 AM Paul Cercueil wrote: IF_ENABLED(CONFIG_FOO, ptr) evaluates to (ptr) if CONFIG_FOO is set to 'y' or 'm', NULL otherwise. The (ptr) argument must be a pointer. The IF_ENABLED() macro can be very u

[PATCH -next] drm/amd/display: tweak the kerneldoc for active_vblank_irq_count

2021-01-11 Thread Lukas Bulwahn
lank_irq_count. Signed-off-by: Lukas Bulwahn --- applies on amdgpu's -next and next-20210111 Bhawanpreet, Nick, please review and ack. Alex, Christian, please pick on top of the commit above. drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH] mmc: sdhci-iproc: Add ACPI bindings for the rpi4

2021-01-11 Thread Ard Biesheuvel
On Mon, 11 Jan 2021 at 04:40, Jeremy Linton wrote: > > Hi, > > On 1/9/21 5:07 AM, Stefan Wahren wrote: > > Hi Jeremy, > > > > +add Nicolas > > > > Am 08.01.21 um 22:13 schrieb Jeremy Linton: > >> The rpi4 has a Arasan controller it carries over ... > >> @@ -299,6 +311,8 @@ MODULE_DEVICE_TABLE(of,

Re: [PATCH] scsi: ufs: should not override buffer lengh

2021-01-11 Thread Jaegeuk Kim
On 01/11, Can Guo wrote: > On 2021-01-11 16:15, Avri Altman wrote: > > > > > > Sorry, typo corrected. > > > > > > Hi Jaegeuk, > > > > > > I think the problem is that func ufshcd_read_desc_param() is not > > > expecting > > > one access unsupported descriptors on RPMB LU. > > Correct. > > This is

Re: [PATCH v2 10/11] perf c2c: Sort on all cache hit for load operations

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:52:15PM +0900, Namhyung Kim wrote: [...] > > @@ -2502,12 +2528,21 @@ static void print_pareto(FILE *out) > > int ret; > > const char *cl_output; > > > > - cl_output = "cl_num," > > - "cl_rmt_hitm," > > - "cl_lcl_

[PATCH v2] scsi: ufs: WB is not allowed in RPMB_LUN

2021-01-11 Thread Jaegeuk Kim
From: Jaegeuk Kim Kernel stack violation when getting unit_descriptor/wb_buf_alloc_units from rpmb lun. The reason is the unit descriptor length is different per LU. The lengh of Normal LU is 45, while the one of rpmb LU is 35. int ufshcd_read_desc_param(struct ufs_hba *hba, ...) { para

Re: [PATCH] amdgpu: Avoid sleeping during FPU critical sections

2021-01-11 Thread Christian König
Am 08.01.21 um 22:58 schrieb Jeremy Cline: dcn20_resource_construct() includes a number of kzalloc(GFP_KERNEL) calls which can sleep, but kernel_fpu_begin() disables preemption and sleeping in this context is invalid. The only places the FPU appears to be required is in the init_soc_bounding_box

[PATCH] scsi: mpt3sas: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/mpt3sas/mpt3sas_base.c:2424:5-20: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

Re: WARNING in sk_stream_kill_queues (5)

2021-01-11 Thread Marco Elver
On Mon, 14 Dec 2020 at 11:47, Eric Dumazet wrote: > On Mon, Dec 14, 2020 at 11:09 AM Marco Elver wrote: > > On Thu, 10 Dec 2020 at 20:01, Marco Elver wrote: > > > On Thu, 10 Dec 2020 at 18:14, Eric Dumazet wrote: > > > > On Thu, Dec 10, 2020 at 5:51 PM Marco Elver wrote: [...] > > > Either opt

[PATCH] net: phy: smsc: fix clk error handling

2021-01-11 Thread Marco Felsch
Commit bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in support") added the phy clk support. The commit already checks if clk_get_optional() throw an error but instead of returning the error it ignores it. Fixes: bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in support") Su

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 9:19 AM Geert Uytterhoeven wrote: > On Fri, Jan 8, 2021 at 11:55 PM Arnd Bergmann wrote: > > * MIPS R3000/TX39xx: 32-bit MIPS-II generation, mostly superseded by > > 64-bit MIPS-III (R4000 and higher) starting in 1991. arch/mips still > > supports these in DECstation a

Re: [PATCH 5/5] Input: omap4-keypad - implement errata check for lost key-up events

2021-01-11 Thread Tony Lindgren
* Pavel Machek [210111 08:34]: > Hi! > > > We are still missing handling for errata i689 related issues for the > > case where we never see a key up interrupt for the last pressed key. > > > > To fix the issue, we must scan the key state again after the keyboard > > controller has idled to check

Re: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-11 Thread Christian König
Hi Mikhail Am 10.01.21 um 23:26 schrieb Mikhail Gavrilov: Hi folks, today I joined to testing Kernel 5.11 and saw that the kernel log was flooded with BUG messages: BUG: sleeping function called from invalid context at mm/vmalloc.c:1756 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 266,

Re: [PATCH 0/5] Allocate memmap from hotadded memory (per device)

2021-01-11 Thread Oscar Salvador
On Thu, Dec 17, 2020 at 02:07:53PM +0100, Oscar Salvador wrote: > I figured I would send a new version before going on vacation, so I can > work on it when I am back. > > Changes from RFCv3 to Patchv1: > - Addressed feedback from David > - Re-order patches > > Changes from v2 -> v3: > - Re-ord

Re: [PATCH v2 20/48] PM: domains: Make set_performance_state() callback optional

2021-01-11 Thread Ulf Hansson
On Thu, 17 Dec 2020 at 19:07, Dmitry Osipenko wrote: > > Make set_performance_state() callback optional in order to remove the > need from power domain drivers to implement a dummy callback. If callback > isn't implemented by a GENPD driver, then the performance state is passed > to the parent dom

Re: [PATCH v7 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2021-01-11 Thread Uwe Kleine-König
Hello, On Sat, Jan 09, 2021 at 07:02:17PM +0100, Jonathan Neuschäfer wrote: > The Netronix EC provides a PWM output which is used for the backlight > on some ebook readers. This patches adds a driver for the PWM output. > > The .get_state callback is not implemented, because the PWM state can't >

Re: [PATCH resend] dt-bindings: mfd: mediatek: Add bindings for MT6360 PMIC

2021-01-11 Thread Vaittinen, Matti
Hello Peeps, On Thu, 2020-12-24 at 11:19 +0800, Gene Chen wrote: > From: Gene Chen > > Add bindings for MT6360 PMIC > > Signed-off-by: Gene Chen > --- > Documentation/devicetree/bindings/mfd/mt6360.yaml | 69 > +++ > 1 file changed, 69 insertions(+) > create mode 100644 D

Re: [PATCH v2 21/48] PM: domains: Add "performance" column to debug summary

2021-01-11 Thread Ulf Hansson
On Thu, 17 Dec 2020 at 19:07, Dmitry Osipenko wrote: > > Add "performance" column to debug summary which shows performance state > of all power domains and theirs devices. > > Signed-off-by: Dmitry Osipenko Reviewed-by: Ulf Hansson As I stated for patch 20, I suggest you resend this to the lin

[PATCH] kernel: cpu: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./kernel/cpu.c:1824:5-23: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index 4e11e91..ad72a57 100644 --- a/kernel/

Re: [PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2021-01-11 Thread Greg KH
On Fri, Jan 08, 2021 at 11:32:48AM +0800, Baoquan He wrote: > On 09/30/20 at 12:23pm, Alexander Egorenkov wrote: > > The offset of the field 'init_uts_ns.name' has changed > > since commit 9a56493f6942 ("uts: Use generic ns_common::count"). > > This patch is merged into 5.11-rc1, but we met the ma

Re: [PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2021-01-11 Thread gre...@linuxfoundation.org
On Fri, Jan 08, 2021 at 06:22:24PM +0800, Baoquan He wrote: > On 01/08/21 at 10:07am, HAGIO KAZUHITO(萩尾 一仁) wrote: > > Hi Baoquan, > > > > -Original Message- > > > On 09/30/20 at 12:23pm, Alexander Egorenkov wrote: > > > > The offset of the field 'init_uts_ns.name' has changed > > > > sinc

[PATCH] cifs: connect: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./fs/cifs/connect.c:3740:6-21: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- fs/cifs/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index b

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-11 Thread He Chen
On Wed, Dec 23, 2020 at 12:30:26PM +0100, Vincent Guittot wrote: > On Wed, 23 Dec 2020 at 09:32, wrote: > > > > From: Chen Xiaoguang > > > > Before a CPU switches from running SCHED_NORMAL task to > > SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from other > > Could you explain more in det

[PATCH mm 1/2] kfence: add option to use KFENCE without static keys

2021-01-11 Thread Marco Elver
For certain usecases, specifically where the sample interval is always set to a very low value such as 1ms, it can make sense to use a dynamic branch instead of static branches due to the overhead of toggling a static branch. Therefore, add a new Kconfig option to remove the static branches and in

[PATCH mm 2/2] kfence: show access type in report

2021-01-11 Thread Marco Elver
Show the access type in KFENCE reports by plumbing through read/write information from the page fault handler. Update the documentation and test accordingly. Suggested-by: Jörn Engel Signed-off-by: Marco Elver --- Documentation/dev-tools/kfence.rst | 12 arch/arm64/mm/fault.c

Re: Old platforms: bring out your dead

2021-01-11 Thread John Paul Adrian Glaubitz
Hi Daniel! > On Sat, 9 Jan 2021 at 07:56, Arnd Bergmann wrote: >> * 68000/68328 (Dragonball): these are less capable than the >> 68020+ or the Coldfire MCF5xxx line and similar to the 68360 >> that was removed in 2016. > > I have some patches for the DragonBall series to enable SPI etc there,

Re: kernel BUG at mm/vmalloc.c:LINE! (2)

2021-01-11 Thread Dmitry Vyukov
On Sun, Jan 10, 2021 at 10:34 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 537cf4e3cc2f6cc9088dcd6162de573f603adc29 > Author: Magnus Karlsson > Date: Fri Nov 20 11:53:39 2020 + > > xsk: Fix umem cleanup bug at socket destruct > > bisection log: https:

Re: Old platforms: bring out your dead

2021-01-11 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Jan 11, 2021 at 9:59 AM Arnd Bergmann wrote: > On Mon, Jan 11, 2021 at 9:19 AM Geert Uytterhoeven > wrote: > > On Fri, Jan 8, 2021 at 11:55 PM Arnd Bergmann wrote: > > > * MIPS R3000/TX39xx: 32-bit MIPS-II generation, mostly superseded by > > > 64-bit MIPS-III (R4000 and hig

Re: [patch V3 13/37] mips/mm/highmem: Switch to generic kmap atomic

2021-01-11 Thread Sebastian Andrzej Siewior
On 2021-01-09 01:33:52 [+0100], Thomas Bogendoerfer wrote: > On Sat, Jan 09, 2021 at 12:58:05AM +0100, Thomas Bogendoerfer wrote: > > On Fri, Jan 08, 2021 at 08:20:43PM +, Paul Cercueil wrote: > > > Hi Thomas, > > > > > > 5.11 does not boot anymore on Ingenic SoCs, I bisected it to this commit

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Bill Wendling
On Mon, Jan 11, 2021 at 12:39 AM Sedat Dilek wrote: > > On Mon, Jan 11, 2021 at 9:18 AM 'Bill Wendling' via Clang Built Linux > wrote: > > > > From: Sami Tolvanen > > > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > > profile, the kernel is instrumented with PGO coun

Re: Old platforms: bring out your dead

2021-01-11 Thread Geert Uytterhoeven
Hi Adrian, On Mon, Jan 11, 2021 at 10:16 AM John Paul Adrian Glaubitz wrote: > > On Sat, 9 Jan 2021 at 07:56, Arnd Bergmann wrote: > >> * 68000/68328 (Dragonball): these are less capable than the > >> 68020+ or the Coldfire MCF5xxx line and similar to the 68360 > >> that was removed in 2016.

RE: [PATCH v2] scsi: ufs: WB is not allowed in RPMB_LUN

2021-01-11 Thread Avri Altman
> static inline bool ufs_is_valid_unit_desc_lun(struct ufs_dev_info *dev_info, > - u8 lun) > + u8 lun, u8 param_offset) > { > if (!dev_info || !dev_info->max_lu_supported) { > pr_err("Max General LU supported by UFS isn't initialized\n"); >

RE: [PATCH] usb: cdns3: Adds missing __iomem markers

2021-01-11 Thread Pawel Laszczak
Hi Peter, What about this patch, can you apply it into for-usb-next ? Thanks Pawel > >Patch adds missing __iomem markers in core.h file >and makes some changes in drd.c file related with >these markers. > >The lack of __iomem has reported by sparse checker >on parsic architecture. > >Signed-off-

[PATCH] rtw88: debug: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtw88/debug.c:800:17-23: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/net/wireless/realtek/rtw88/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-11 Thread Can Guo
On 2021-01-11 16:23, Bean Huo wrote: On Mon, 2021-01-11 at 09:27 +0800, Can Guo wrote: > > If accessing sysfs nodes, which triggers a UFS UPIU request to > read/write UFS device descriptors during shutdown flow, there is > only > one issue that sysfs node access failure since UFS device and LINK

[PATCH] hci: llc_shdlc: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./net/nfc/hci/llc_shdlc.c:239:5-21: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- net/nfc/hci/llc_shdlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/hci/llc_shdlc.c b/net/nfc/hci/llc_shdlc.c

Re: Old platforms: bring out your dead

2021-01-11 Thread John Paul Adrian Glaubitz
Hi Geert! On 1/11/21 10:20 AM, Geert Uytterhoeven wrote: >> Sounds interesting. Do these SoCs come with an MMU? And do they use the >> ColdFire instruction set or do they run plain 68k code? > > No MMU, plain m68k code. > > 68328 Soc = 68000 core + some peripherals, > 68360 SoC = CPU32 core (bas

[PATCH] spi: spi-bcm-qspi: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/spi/spi-bcm-qspi.c:884:5-34: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/spi/spi-bcm-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi/spi

Re: [PATCH 4/8] i2c: octeon: check correct size of maximum RECV_LEN packet

2021-01-11 Thread Robert Richter
On 09.01.21 13:43:08, Wolfram Sang wrote: > I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the > SMBus 2.0 specs. No reason to add one to it. > > Fixes: 886f6f8337dd ("i2c: octeon: Support I2C_M_RECV_LEN") > Signed-off-by: Wolfram Sang Reviewed-by: Robert Richter

[PATCH][next] dm integrity: fix spelling mistake "flusing" -> "flushing"

2021-01-11 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dm_integrity_io_error error message. Fix it. Signed-off-by: Colin Ian King --- drivers/md/dm-integrity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-integrity.c b/drivers/md/dm-integrity.c index 11c7c53

Re: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-11 Thread Morten Rasmussen
On Fri, Jan 08, 2021 at 12:22:41PM -0800, Tim Chen wrote: > > > On 1/8/21 7:12 AM, Morten Rasmussen wrote: > > On Thu, Jan 07, 2021 at 03:16:47PM -0800, Tim Chen wrote: > >> On 1/6/21 12:30 AM, Barry Song wrote: > >>> ARM64 server chip Kunpeng 920 has 6 clusters in each NUMA node, and each > >>>

[PATCH] scsi: qedf: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/scsi/qedf/qedf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qedf/qedf_main.c b/drive

[RFC PATCH v2 1/1] string.h: Move fortified functions definitions in a dedicated header.

2021-01-11 Thread laniel_francis
From: Francis Laniel This patch adds fortify-string.h to contain fortified functions definitions. Thus, the code is more separated and compile time is slightly faster for people who do not set CONFIG_FORTIFY_SOURCE. Signed-off-by: Francis Laniel --- include/linux/fortify-string.h | 302 +++

[RFC PATCH v2 0/1] Create header for fortified string functions.

2021-01-11 Thread laniel_francis
From: Francis Laniel Hi. First, I hope your families, friends and yourself are fine. In a recent mail about the merge of a new fortified string function, Linus Torvalds suggested the creation of a dedicated header file for these functions: https://marc.info/?l=linux-mm-commits&m=16081036611124

From Michelle

2021-01-11 Thread Shayma
Hallo Liebes, bitte hoffe du hast meine Nachricht bekommen Ich brauche dringend eine Antwort Vielen Dank Michelle

Re: dmaengine : xilinx_dma two issues

2021-01-11 Thread Michal Simek
Hi Lars, On 10. 01. 21 16:43, Lars-Peter Clausen wrote: > On 1/10/21 4:16 PM, Paul Thomas wrote: >> On Fri, Jan 8, 2021 at 1:36 PM Radhey Shyam Pandey >> wrote: -Original Message- From: Paul Thomas Sent: Friday, January 8, 2021 9:27 PM To: Radhey Shyam Pandey Cc

Re: [f2fs-dev] [PATCH 1/2] f2fs: introduce checkpoint=merge mount option

2021-01-11 Thread Chao Yu
On 2021/1/11 13:15, Daeho Jeong wrote: From: Daeho Jeong We've added a new mount option "checkpoint=merge", which creates a kernel daemon and makes it to merge concurrent checkpoint requests as much as possible to eliminate redundant checkpoint issues. Plus, we can eliminate the sluggish issue

[PATCH] arm64: mte: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./tools/testing/selftests/arm64/mte/check_buffer_fill.c:84:12-35: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- tools/testing/selftests/arm64/mte/check_buffer_fill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

RE: [PATCH] iov_iter: optimise iter type checking

2021-01-11 Thread David Laight
From: Pavel Begunkov > Sent: 09 January 2021 22:11 > > Does any code actually look at the fields as a pair? > > Would it even be better to use separate bytes? > > Even growing the on-stack structure by a word won't really matter. > > u8 type, rw; > > That won't bloat the struct. I like the i

[PATCH] ata: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./include/linux/ata.h:621:5-25: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- include/linux/ata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ata.h b/include/linux/ata.h

Re: [PATCH] USB:ehci:fix an interrupt calltrace error

2021-01-11 Thread liulongfang
On 2020/11/28 11:22, liulongfang Wrote: > On 2020/11/27 23:47, Alan Stern Wrote: >> On Fri, Nov 27, 2020 at 10:29:03AM +0800, liulongfang wrote: >>> On 2020/11/27 0:08, Alan Stern Wrote: On Thu, Nov 26, 2020 at 11:34:33AM +0800, Longfang Liu wrote: > The system goes to suspend when using U

Re: Old platforms: bring out your dead

2021-01-11 Thread Geert Uytterhoeven
Hi Adrian, On Mon, Jan 11, 2021 at 10:26 AM John Paul Adrian Glaubitz wrote: > On 1/11/21 10:20 AM, Geert Uytterhoeven wrote: > >> Sounds interesting. Do these SoCs come with an MMU? And do they use the > >> ColdFire instruction set or do they run plain 68k code? > > > > No MMU, plain m68k code.

[RFC 1/1] s390/pci: expose UID checking state in sysfs

2021-01-11 Thread Niklas Schnelle
We use the UID of a zPCI adapter, or the UID of the function zero if there are multiple functions in an adapter, as PCI domain if and only if UID Checking is turned on. Otherwise we automatically generate domains as devices appear. The state of UID Checking is thus essential to know if the PCI dom

From Michelle

2021-01-11 Thread Shayma
Hallo Liebes, bitte hoffe du hast meine Nachricht bekommen Ich brauche dringend eine Antwort Vielen Dank Michelle

Re: Old platforms: bring out your dead

2021-01-11 Thread Daniel Palmer
Hi Adrian, On Mon, 11 Jan 2021 at 18:17, John Paul Adrian Glaubitz wrote: > > Hi Daniel! > > On Sat, 9 Jan 2021 at 07:56, Arnd Bergmann wrote: > >> * 68000/68328 (Dragonball): these are less capable than the > >> 68020+ or the Coldfire MCF5xxx line and similar to the 68360 > >> that was remo

[PATCH v2] f2fs: compress: fix potential deadlock

2021-01-11 Thread Chao Yu
generic/269 reports a hangtask issue, the root cause is ABBA deadlock described as below: Thread AThread B - down_write(&sbi->gc_lock) -- A - f2fs_write_data_pages - lock all pages in cluster -- B

Re: [f2fs-dev] [PATCH 1/2] f2fs: introduce checkpoint=merge mount option

2021-01-11 Thread Jaegeuk Kim
On 01/11, Daeho Jeong wrote: > From: Daeho Jeong > > We've added a new mount option "checkpoint=merge", which creates a > kernel daemon and makes it to merge concurrent checkpoint requests as > much as possible to eliminate redundant checkpoint issues. Plus, we > can eliminate the sluggish issue

Build regressions/improvements in v5.11-rc3

2021-01-11 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.11-rc3[1] compared to v5.10[2]. Summarized: - build errors: +2/-3 - build warnings: +33/-95 JFYI, when comparing v5.11-rc3[1] to v5.11-rc2[3], the summaries are: - build errors: +0/-1 - build warnings: +13/-3 Happy f

  1   2   3   4   5   6   7   8   9   10   >