Re: [PATCH v1 4/7] perf cs-etm: Add PID format into metadata

2021-01-11 Thread Suzuki K Poulose
Hi Leo, On 1/9/21 7:44 AM, Leo Yan wrote: It's possible for CoreSight to trace PID in either CONTEXTIDR_EL1 or CONTEXTIDR_EL2, the PID format info is used to distinguish the PID is traced in which register. This patch saves PID format into the metadata when record. The patch looks good to me.

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

2021-01-11 Thread Saurav Kashyap
Hi, Thanks for a patch. > -Original Message- > From: YANG LI > Sent: Monday, January 11, 2021 2:59 PM > To: j...@linux.ibm.com > Cc: martin.peter...@oracle.com; Saurav Kashyap ; > Javed Hasan ; GR-QLogic-Storage-Upstream qlogic-storage-upstr...@marvell.com>; li...@armlinux.org.uk; linux-

[PATCH] host: omap_hsmmc: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/mmc/host/omap_hsmmc.c:297:6-25: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_

Re: [PATCH] gcc-plugins: fix gcc 11 indigestion with plugins...

2021-01-11 Thread Geert Uytterhoeven
Hi Kees, Valdis, On Thu, Jan 7, 2021 at 12:11 AM Kees Cook wrote: > On Sat, 26 Dec 2020 13:21:58 -0500, Valdis Klētnieks wrote: > > Fedora Rawhide has started including gcc 11,and the g++ compiler > > throws a wobbly when it hits scripts/gcc-plugins: > > > > HOSTCXX scripts/gcc-plugins/latent_e

Re: [PATCH v1 5/7] perf cs-etm: Fixup PID_FMT when it is zero

2021-01-11 Thread Suzuki K Poulose
On 1/9/21 7:44 AM, Leo Yan wrote: If the metadata item CS_ETM_PID_FMT/CS_ETMV4_PID_FMT is zero, this means the perf data file is recorded with old version tool and the tool has not extended to support the item. For this case, this patch fixes up PID_FMT entry to set the value as BIT(ETM_OPT_CTXT

Re: [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-11 Thread Jaegeuk Kim
Hi Chao, After quick test of fsstress w/ fault injection, it gave wrong block address errors. Could you please run the test a bit? Thanks, On 01/07, Chao Yu wrote: > Support to use address space of inner inode to cache compressed block, > in order to improve cache hit ratio of random read. > >

Re: Old platforms: bring out your dead

2021-01-11 Thread Greg Ungerer
On 11/1/21 7:36 pm, Geert Uytterhoeven wrote: 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 68

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

Re: [RFC PATCH v2] selinux: security: Move selinux_state to a separate page

2021-01-11 Thread pnagar
On 2021-01-09 06:31, Nick Desaulniers wrote: Via: https://lore.kernel.org/lkml/1610099389-28329-1-git-send-email-pna...@codeaurora.org/ diff --git a/include/linux/init.h b/include/linux/init.h index 7b53cb3..617adcf 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -300,6 +300,10

RE: Old platforms: bring out your dead

2021-01-11 Thread David Laight
From: Arnd Bergmann > Sent: 09 January 2021 21:53 > > On Sat, Jan 9, 2021 at 6:56 AM Willy Tarreau wrote: > > > > On Fri, Jan 08, 2021 at 11:55:06PM +0100, Arnd Bergmann wrote: > > > * 80486SX/DX: 80386 CPUs were dropped in 2012, and there are > > > indications that 486 have no users either on

[PATCH] hwmon: abx500: style: Simplify bool comparison

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/hwmon/abx500.c:84:8-26: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/hwmon/abx500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index

From Michelle

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

[RFC 0/1] PCI: s390 global attribute "UID Checking"

2021-01-11 Thread Niklas Schnelle
Hi Bjorn, Hi Kernel Hackers, With the below patch I'm proposing to expose a global (i.e. not device bound) runtime attribute of the s390 PCI implementation (zPCI) called "UID Checking". You can find some background information on what this attribute means and why it is important at the end of thi

[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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi

Re: [PATCH v1 6/7] perf cs-etm: Add helper cs_etm__get_pid_fmt()

2021-01-11 Thread Suzuki K Poulose
On 1/9/21 7:44 AM, Leo Yan wrote: This patch adds helper function cs_etm__get_pid_fmt(), by passing parameter "traceID", it returns the corresponding PID format. Signed-off-by: Leo Yan Acked-by: Suzuki K Poulose --- tools/perf/util/cs-etm.c | 18 ++ tools/perf/util/cs-et

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

2021-01-11 Thread Sedat Dilek
On Mon, Jan 11, 2021 at 10:17 AM Bill Wendling wrote: > > 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 Optimizatio

Re: [PATCH v2 2/8] serial: stm32: fix code cleaning warnings and checks

2021-01-11 Thread Jiri Slaby
On 06. 01. 21, 17:21, Erwan Le Ray wrote: --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c ... @@ -973,18 +971,17 @@ static int stm32_init_port(struct stm32_port *stm32port, struct resource *res; int ret; + ret = platform_get_irq(pdev, 0); +

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

2021-01-11 Thread Jaegeuk Kim
On 01/11, Avri Altman wrote: > > 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

[PATCH v3] scsi: ufs: WB is only available on LUN #0 to #7

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: Old platforms: bring out your dead

2021-01-11 Thread Thomas Bogendoerfer
On Mon, Jan 11, 2021 at 09:59:23AM +0100, 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 high

Re: [PATCH v2 4/8] serial: stm32: add author

2021-01-11 Thread Jiri Slaby
On 06. 01. 21, 17:21, Erwan Le Ray wrote: Update email address add new author in authors list. Parsing error :). Signed-off-by: Erwan Le Ray diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index 717a97759928..938d2c4aeaed 100644 --- a/drivers/tty/serial/stm3

Re: [percpu_ref] 2b0d3d3e4f: reaim.jobs_per_min -18.4% regression

2021-01-11 Thread Ming Lei
On Sun, Jan 10, 2021 at 10:32:47PM +0800, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -18.4% regression of reaim.jobs_per_min due to commit: > > > commit: 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e ("percpu_ref: reduce memory > footprint of percpu_ref in fast path") > https://gi

Re: [PATCH 0/2] tools: gpio: fix %llu warnings

2021-01-11 Thread Bartosz Golaszewski
On Thu, Jan 7, 2021 at 5:00 AM Kent Gibson wrote: > > Fix a couple of warnings that I ran across while testing selftest changes. > > Sorry about the repetition in the checkin comments, but as the problem was > introduced to the two files separately it seemed more appropriate than > tying their his

Re: [RFC PATCH v2] pinctrl: add helper to expose pinctrl state in debugfs

2021-01-11 Thread Tony Lindgren
Hi, * Linus Walleij [210109 21:14]: > On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > > > I discussed my use case and this patch on #armlinux earlier this week > > and Alexandre Belloni suggested looking at the pinmux-pins debugfs file. > > This sounds reasonable. > > > This made me thin

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 17:22 +0800, Can Guo wrote: > > > meaning you are tring to access a register when clocks are > > > disabled. > > > This > > > leads to system CRASH. > > > > > > > OK, let it simple, share this kind of crash log becuase of access > > sysfs > > node in the shutdown flow. > >

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

2021-01-11 Thread Baoquan He
On 01/11/21 at 10:16am, gre...@linuxfoundation.org wrote: > 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: > > >

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

2021-01-11 Thread Peter Chen
On 21-01-11 09:20:31, Pawel Laszczak wrote: > Hi Peter, > > What about this patch, can you apply it into for-usb-next ? Done. Peter > > Thanks > Pawel > > > > >Patch adds missing __iomem markers in core.h file > >and makes some changes in drd.c file related with > >these markers. > > > >The la

Re: [PATCH v1 7/7] perf cs-etm: Detect pid in VMID for kernel running at EL2

2021-01-11 Thread Suzuki K Poulose
Hi Leo On 1/9/21 7:44 AM, Leo Yan wrote: From: Suzuki K Poulose The pid of the task could be traced as VMID when the kernel is running at EL2. Teach the decoder to look for vmid when the context_id is invalid but we have a valid VMID. Thank you again for cleaning up this ! Please see one com

Re: [PATCH V4 3/3] drm/vkms: Add information about module options

2021-01-11 Thread Daniel Vetter
On Sun, Jan 10, 2021 at 07:35:41PM +0530, Sumera Priyadarsini wrote: > Update vkms documentation to contain usage of `modinfo` > command and steps to load vkms with module options enabled. > > Signed-off-by: Sumera Priyadarsini > --- > Documentation/gpu/vkms.rst | 10 ++ > 1 file changed

RE: [PATCH v3] scsi: ufs: WB is only available on LUN #0 to #7

2021-01-11 Thread Avri Altman
> > > 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 *hb

Re: [PATCH -tip V3 0/8] workqueue: break affinity initiatively

2021-01-11 Thread Thomas Gleixner
On Fri, Jan 08 2021 at 12:46, Peter Zijlstra wrote: > On Sat, Dec 26, 2020 at 10:51:08AM +0800, Lai Jiangshan wrote: >> From: Lai Jiangshan >> >> 06249738a41a ("workqueue: Manually break affinity on hotplug") >> said that scheduler will not force break affinity for us. > > So I've been looking at

Re: [RFC PATCH 0/1] net: arcnet: Fix RESET sequence

2021-01-11 Thread Sebastian A. Siewior
On 2020-12-22 10:03:37 [+0100], Ahmed S. Darwish wrote: > 2) arcnet_close() contains a del_timer_sync(). If the irq handler > interrupts the to-be-deleted timer then call del_timer_sync(), it > will just loop forever. del_timer_sync() will trigger a warning if invoked from interrupt ha

Re: [PATCH] lib/hexdump: introduce DUMP_PREFIX_UNHASHED for unhashed addresses

2021-01-11 Thread Petr Mladek
Adding Kees into CC because it is security related. Adding Andrew into CC because he usually takes patches for hexdump. On Wed 2021-01-06 15:35:47, Timur Tabi wrote: > Hashed addresses are useless in hexdumps unless you're comparing > with other hashed addresses, which is unlikely. However, there

Re: [PATCH v2 1/3] regulator: mt6360: Add OF match table

2021-01-11 Thread Matthias Brugger
On 11/01/2021 03:18, gene_chen(陳俊宇) wrote: > [ Internal Use - External ] > Please don't top-post in the future. > Hi Matthias, > > I discussed OF match table with Mark in previous mail in our PATCH v3, > MFD should just instantiate the platform device. Did you ever test that? Which MFD driv

Re: [PATCH v2 -next] gpio: convert comma to semicolon

2021-01-11 Thread Bartosz Golaszewski
On Fri, Jan 8, 2021 at 10:23 AM Zheng Yongjun wrote: > > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun > --- > drivers/gpio/gpio-mc33880.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/gpio-mc33880.c b/drive

Re: [patch 5/8] ntp: Make the RTC synchronization more reliable

2021-01-11 Thread Thomas Gleixner
On Tue, Dec 29 2020 at 20:41, Geert Uytterhoeven wrote: > Hi Thomas, >> Reported-by: Miroslav Lichvar >> Signed-off-by: Thomas Gleixner > > Thanks for your patch, which is now commit c9e6189fb03123a7 ("ntp: Make > the RTC synchronization more reliable"). > > Since this commit, the I2C RTC on the

RE: Expense of read_iter

2021-01-11 Thread David Laight
From: Matthew Wilcox > Sent: 10 January 2021 06:13 ... > nvfs_rw_iter_locked() looks very complicated. I suspect it can > be simplified. Of course new_sync_read() needs to be improved too, > as do the other functions here, but fully a third of the difference > between read() and read_iter() is th

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 2:40 AM Daniel Palmer wrote: > > Hi Arnd, > > 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 som

Re: [PATCH bpf-next 1/4] bpf: enable task local storage for tracing programs

2021-01-11 Thread KP Singh
On Sat, Jan 9, 2021 at 12:35 AM Song Liu wrote: > > To access per-task data, BPF program typically creates a hash table with > pid as the key. This is not ideal because: > 1. The use need to estimate requires size of the hash table, with may be > inaccurate; > 2. Big hash tables are slow; >

Re: [PATCH 1/1] arm64: make section size configurable for memory hotplug

2021-01-11 Thread David Hildenbrand
On 11.01.21 05:17, Anshuman Khandual wrote: > > > On 1/8/21 9:00 PM, David Hildenbrand wrote: >>> To summarize, the section size bits for each base page size config >>> should always >>> >>> a. Avoid (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS >> >> Pageblocks must also always fall completel

Re: [PATCH -next] drivers: gnss: simplify the gnss code return expression

2021-01-11 Thread Johan Hovold
On Thu, Dec 10, 2020 at 09:51:42PM +0800, Zheng Yongjun wrote: > Simplify the return expression at diffrent .c file, fix this all. > > Signed-off-by: Zheng Yongjun > --- > drivers/gnss/core.c | 7 +-- > drivers/gnss/mtk.c | 14 ++ > drivers/gnss/ubx.c | 14 ++ > 3

Re: [patch 02/30] genirq: Move status flag checks to core

2021-01-11 Thread Thomas Gleixner
On Sun, Dec 27 2020 at 11:20, Guenter Roeck wrote: > On Thu, Dec 10, 2020 at 08:25:38PM +0100, Thomas Gleixner wrote: > Yes, but that means that irq_check_status_bit() may be called from modules, > but it is not exported, resulting in build errors such as the following. > > arm64:allmodconfig: > >

[PATCH] x86/cpu/amd: Set __max_die_per_package on AMD

2021-01-11 Thread Borislav Petkov
From: Yazen Ghannam Set the maximum DIE per package variable on AMD using the NodesPerProcessor topology value. This will be used by RAPL, among others, to determine the maximum number of DIEs on the system in order to do per-DIE manipulations. [ bp: Productize into a proper patch. ] Fixes: 02

Re: [PATCH] USB: otg: Fix error 32 when enable hardware flow control.

2021-01-11 Thread Johan Hovold
On Mon, Jan 11, 2021 at 04:55:22AM +, Pho Tran wrote: > When hardware flow control is enabled, > don't allow host send MHS command to cp210x. You're commit message needs to explain *why* this is needed (and not just say *what* the patch does). > Signed-off-by: Pho Tran Also fix up the Subje

Re: [PATCH bpf-next 1/4] bpf: enable task local storage for tracing programs

2021-01-11 Thread KP Singh
On Mon, Jan 11, 2021 at 7:27 AM Yonghong Song wrote: > > > > On 1/8/21 3:19 PM, Song Liu wrote: > > To access per-task data, BPF program typically creates a hash table with > > pid as the key. This is not ideal because: > > 1. The use need to estimate requires size of the hash table, with may be

[PATCH v7 2/5] dt-bindings: arm: fsl: add Kverneland UT1, UT1Q and UI1P boards

2021-01-11 Thread Oleksij Rempel
Add Kverneland UT1 (imx6dl), UT1Q (imx6q) and UT1P (imx6dp) based boards Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/

[PATCH v7 1/5] dt-bindings: vendor-prefixes: Add an entry for Kverneland Group

2021-01-11 Thread Oleksij Rempel
Add "kvg" entry for Kverneland Group: https://ien.kvernelandgroup.com/ Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/D

[PATCH v7 3/5] ARM: dts: add Kverneland UT1, UT1Q and UT1P

2021-01-11 Thread Oleksij Rempel
VICUT1(Q,P) is the Kverneland UT1(Q,P) IsoBus universal terminal for agricultural applications on tractors. Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile| 3 + arch/arm/boot/dts/imx6dl-vicut1.dts | 13 +

[PATCH v7 5/5] ARM: dts: add Kverneland TGO board

2021-01-11 Thread Oleksij Rempel
VICTGO is the Kverneland TGO IsoBus universal terminal for agricultural applications on tractors Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-victgo.dts | 852 ++

[PATCH v7 4/5] dt-bindings: arm: fsl: add Kverneland TGO board

2021-01-11 Thread Oleksij Rempel
Add Kverneland TGO imx6dl based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

Re: [PATCH] Documentation: document dma device use for mcb

2021-01-11 Thread Johannes Thumshirn
On 18/12/2020 16:35, Johannes Thumshirn wrote: > Hannes reported a problem with setting up dma transfers on a mcb device. > The problem boiled down to the use of a wrong 'device' for the dma > functions. > > Document how to setup dma transfers for a IP core on a mcb carrier. Ping?

Re: [PATCH 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

2021-01-11 Thread Florian Weimer
* Suren Baghdasaryan: > diff --git a/mm/madvise.c b/mm/madvise.c > index 6a660858784b..c2d600386902 100644 > --- a/mm/madvise.c > +++ b/mm/madvise.c > @@ -1197,12 +1197,22 @@ SYSCALL_DEFINE5(process_madvise, int, pidfd, const > struct iovec __user *, vec, > goto release_task; >

[PATCH v7 0/5] mainline Kverneland boards

2021-01-11 Thread Oleksij Rempel
changes v7: - add Acked-by: Rob Herring to the firs patch - imx6qdl-vicut1.dtsi: add missing KEY_POWER - imx6dl-victgo.dts: add missing gpio flags to rotary-encoder - imx6dl-victgo.dts: rename video@5c to video-decoder@5c - imx6dl-victgo.dts: sort out some spaces changes v6: - move startup-dela

[PATCH -next] scsi: docs: ABI: sysfs-driver-ufs: rectify table formatting

2021-01-11 Thread Lukas Bulwahn
Commit 0b2894cd0fdf ("scsi: docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode") adds new entries in tables of sysfs-driver-ufs ABI documentation, but formatted the table incorrectly. Hence, make htmldocs warns: ./Documentation/ABI/testing/sysfs-driver-ufs:{915,956}: WARNING: Malformed tab

KASAN: use-after-free Read in hci_dev_do_open

2021-01-11 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:71c061d2 Merge tag 'for-5.11-rc2-tag' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1612b248d0 kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224 das

Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-01-11 Thread Petr Mladek
Sigh, I have just realized that Andy and Rasmus, the other vsprintf maintainers and reviewers, were not in CC. I am sorry for not noticing this earlier. The patchset is ready for 5.12 from my POV. Best Regards, Petr On Thu 2020-12-17 18:00:54, Richard Fitzgerald wrote: > If a signed number field

Hallo

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

Re: [PATCH 1/1] arm64: make section size configurable for memory hotplug

2021-01-11 Thread Anshuman Khandual
On 1/11/21 3:43 PM, David Hildenbrand wrote: > On 11.01.21 05:17, Anshuman Khandual wrote: >> >> >> On 1/8/21 9:00 PM, David Hildenbrand wrote: To summarize, the section size bits for each base page size config should always a. Avoid (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZ

Re: Old platforms: bring out your dead

2021-01-11 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Jan 11, 2021 at 10:16 AM Geert Uytterhoeven wrote: > 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 g

Re: [PATCH -next] scsi: docs: ABI: sysfs-driver-ufs: rectify table formatting

2021-01-11 Thread Adrian Hunter
On 11/01/21 12:22 pm, Lukas Bulwahn wrote: > Commit 0b2894cd0fdf ("scsi: docs: ABI: sysfs-driver-ufs: Add DeepSleep > power mode") adds new entries in tables of sysfs-driver-ufs ABI > documentation, but formatted the table incorrectly. > > Hence, make htmldocs warns: > > ./Documentation/ABI/tes

Re: [PATCH 05/15] drm/vc4: hdmi: Restore cec physical address on reconnect

2021-01-11 Thread Maxime Ripard
Hi Dave, Thanks for your review On Fri, Dec 18, 2020 at 02:45:54PM +, Dave Stevenson wrote: > On Fri, 18 Dec 2020 at 14:21, Dave Stevenson > wrote: > > > > Hi Maxime & Dom > > > > On Thu, 10 Dec 2020 at 13:47, Maxime Ripard wrote: > > > > > > From: Dom Cobley > > > > > > Currently we call

RE: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread David Laight
From: Al Viro On Behalf Of Al Viro > Sent: 10 January 2021 16:20 > > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > >

Re: [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-11 Thread Chao Yu
On 2021/1/11 17:48, Jaegeuk Kim wrote: Hi Chao, After quick test of fsstress w/ fault injection, it gave wrong block address errors. Could you please run the test a bit? Jaegeuk, Oh, I've covered with fstest cases and there is no such error message, let me try fault injection + SPO case soon.

Re: [RFC 1/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory

2021-01-11 Thread David Hildenbrand
On 04.01.21 07:18, Anshuman Khandual wrote: > > On 12/22/20 2:41 PM, David Hildenbrand wrote: >> On 22.12.20 08:12, Anshuman Khandual wrote: >>> pfn_valid() validates a pfn but basically it checks for a valid struct page >>> backing for that pfn. It should always return positive for memory ranges

Re: [PATCH v7 net-next 2/2] net: dsa: qca: ar9331: export stats64

2021-01-11 Thread Oleksij Rempel
On Sat, Jan 09, 2021 at 02:21:43AM +0200, Vladimir Oltean wrote: > On Fri, Jan 08, 2021 at 06:32:28AM +0100, Oleksij Rempel wrote: > > May be the "net: dsa: add optional stats64 support" can already be > > taken? > > I'm not sure that I see the point. David and Jakub won't cherry-pick > partial se

[PATCH] Documentation: kernel-hacking: change 'current()' to 'current'

2021-01-11 Thread Joe Pater
Change 'current()' heading to 'current' to reflect usage. Signed-off-by: Joe Pater <02joepate...@gmail.com> --- Documentation/kernel-hacking/hacking.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking

Re: [PATCH v2 1/3] regulator: mt6360: Add OF match table

2021-01-11 Thread Vaittinen, Matti
Hello Matthias & All, On Mon, 2021-01-11 at 11:08 +0100, Matthias Brugger wrote: > > On 11/01/2021 03:18, gene_chen(陳俊宇) wrote: > > [ Internal Use - External ] > > > > Please don't top-post in the future. > > > Hi Matthias, > > > > I discussed OF match table with Mark in previous mail in our

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 10:40 AM Thomas Bogendoerfer wrote: > > On Mon, Jan 11, 2021 at 09:59:23AM +0100, 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

Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-01-11 Thread Andy Shevchenko
On Mon, Jan 11, 2021 at 12:28 PM Petr Mladek wrote: > > Sigh, I have just realized that Andy and Rasmus, the other > vsprintf maintainers and reviewers, were not in CC. > I am sorry for not noticing this earlier. > > The patchset is ready for 5.12 from my POV. Thanks, Petr! I have one question,

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 11:28 AM Geert Uytterhoeven wrote: > > > Regarding 32-bit vs 64-bit kernels, can you clarify what makes this one > > > a 32-bit board? Is this just your preference for which kernel you install, > > > or are there dependencies on firmware or hardware that require running > >

Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-01-11 Thread Richard Fitzgerald
On 11/01/2021 10:25, Petr Mladek wrote: Sigh, I have just realized that Andy and Rasmus, the other vsprintf maintainers and reviewers, were not in CC. Sorry, probably my fault. I sent to the maintainers and lists reported by get_maintainers.sh. I guess I missed that "reviewers" should also be

Re: [RFC PATCH 2/3] chelsio: cxgb: Move slow interrupt handling to threaded irqs

2021-01-11 Thread Sebastian A. Siewior
On 2020-12-24 14:11:47 [+0100], Ahmed S. Darwish wrote: > --- a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c > +++ b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c > @@ -211,9 +211,9 @@ static int cxgb_up(struct adapter *adapter) > t1_interrupts_clear(adapter); > > adapter->params.has_msi = !

[PATCH] ntp: Fix RTC synchronization on 32-bit platforms

2021-01-11 Thread Geert Uytterhoeven
Due to an integer overflow, RTC synchronization now happens every 2s instead of the intended 11 minutes. Fix this by forcing 64-bit arithmetic for the sync period calculation. Fixes: c9e6189fb03123a7 ("ntp: Make the RTC synchronization more reliable") Signed-off-by: Geert Uytterhoeven --- kerne

Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-01-11 Thread Richard Fitzgerald
On 11/01/2021 10:36, Andy Shevchenko wrote: On Mon, Jan 11, 2021 at 12:28 PM Petr Mladek wrote: Sigh, I have just realized that Andy and Rasmus, the other vsprintf maintainers and reviewers, were not in CC. I am sorry for not noticing this earlier. The patchset is ready for 5.12 from my POV.

Re: [PATCH V2 3/3] s390/mm: Define arch_get_mappable_range()

2021-01-11 Thread David Hildenbrand
On 17.12.20 16:28, Anshuman Khandual wrote: > This overrides arch_get_mappabble_range() on s390 platform which will be > used with recently added generic framework. It modifies the existing range > check in vmem_add_mapping() using arch_get_mappable_range(). It also adds a > VM_BUG_ON() check that

Re: [patch 5/8] ntp: Make the RTC synchronization more reliable

2021-01-11 Thread Geert Uytterhoeven
Hi Thomas, On Mon, Jan 11, 2021 at 11:12 AM Thomas Gleixner wrote: > On Tue, Dec 29 2020 at 20:41, Geert Uytterhoeven wrote: > >> Reported-by: Miroslav Lichvar > >> Signed-off-by: Thomas Gleixner > > > > Thanks for your patch, which is now commit c9e6189fb03123a7 ("ntp: Make > > the RTC synchro

[PATCH net-next] net: core: use eth_type_vlan in __netif_receive_skb_core

2021-01-11 Thread menglong8 . dong
From: Menglong Dong Replace the check for ETH_P_8021Q and ETH_P_8021AD in __netif_receive_skb_core with eth_type_vlan. Signed-off-by: Menglong Dong --- net/core/dev.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index e4d77c8abe76..2

Re: [PATCH 03/13] KVM: SVM: Move SEV module params/variables to sev.c

2021-01-11 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Unconditionally invoke sev_hardware_setup() when configuring SVM and > handle clearing the module params/variable 'sev' and 'sev_es' in > sev_hardware_setup(). This allows making said variables static within > sev.c and reduces the odds of a collision with guest cod

Re: [PATCH] ntp: Fix RTC synchronization on 32-bit platforms

2021-01-11 Thread Geert Uytterhoeven
On Mon, Jan 11, 2021 at 11:40 AM Geert Uytterhoeven wrote: > Due to an integer overflow, RTC synchronization now happens every 2s > instead of the intended 11 minutes. Fix this by forcing 64-bit > arithmetic for the sync period calculation. > > Fixes: c9e6189fb03123a7 ("ntp: Make the RTC synchron

drivers/firmware/xilinx/zynqmp.c:1288 zynqmp_firmware_remove() error: dereferencing freed memory 'feature_data'

2021-01-11 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f5e6c330254ae691f6d7befe61c786eb5056007e commit: acfdd18591eaac25446e976a0c0d190f8b3dbfb1 firmware: xilinx: Use hash-table for api feature check config: arm64-randconfig-m031-20210108 (attached as .config) c

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-11 Thread Jacopo Mondi
Hi Laurent, On Wed, Dec 16, 2020 at 07:22:17PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Tue, Dec 15, 2020 at 06:09:57PM +0100, Jacopo Mondi wrote: > > Adjust the initial reverse channel amplitude parsing from > > firmware interface the 'maxim,reverse-channel-

Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

2021-01-11 Thread Richard Fitzgerald
On 11/01/2021 10:39, Richard Fitzgerald wrote: On 11/01/2021 10:36, Andy Shevchenko wrote: On Mon, Jan 11, 2021 at 12:28 PM Petr Mladek wrote: Sigh, I have just realized that Andy and Rasmus, the other vsprintf maintainers and reviewers, were not in CC. I am sorry for not noticing this earlie

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

2021-01-11 Thread Gene Chen
Vaittinen, Matti 於 2021年1月11日 週一 下午5:13寫道: > > 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 > > ++

[PATCH net-next v8 1/2] net: dsa: add optional stats64 support

2021-01-11 Thread Oleksij Rempel
Allow DSA drivers to export stats64 Signed-off-by: Oleksij Rempel Reviewed-by: Vladimir Oltean --- include/net/dsa.h | 4 +++- net/dsa/slave.c | 14 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 4e60d2610f20..c50abb

[PATCH net-next v8 2/2] net: dsa: qca: ar9331: export stats64

2021-01-11 Thread Oleksij Rempel
Add stats support for the ar9331 switch. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/qca/ar9331.c | 163 ++- 1 file changed, 162 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/qca/ar9331.c b/drivers/net/dsa/qca/ar9331.c index 4d49c5f2b790..1e3706

[PATCH net-next v8 0/2] net: dsa: add stats64 support

2021-01-11 Thread Oleksij Rempel
changes v8: - stats.no_handler should not be assigned from HW stats changes v7: - move raw.filtered from rx_errors to rx_dropped counter changes v6: - move stats64 callback to ethtool section - ar9331: diff. fixes - ar9331: move stats calculation to the worker - ar9331: extend rx/tx error counte

[PATCH v2] can: mcba_usb: Fix memory leak when cancelling urb

2021-01-11 Thread Bui Quang Minh
In mcba_usb_read_bulk_callback(), when we don't resubmit or fails to resubmit the urb, we need to deallocate the transfer buffer that is allocated in mcba_usb_start(). Reported-by: syzbot+57281c762a3922e14...@syzkaller.appspotmail.com Signed-off-by: Bui Quang Minh --- v1: add memory leak fix when

[PATCH] kthread: remove comments about old _do_fork() helper

2021-01-11 Thread yanfei . xu
From: Yanfei Xu The old _do_fork() helper has been removed in favor of kernel_clone(). Here correct some comments which still contain _do_fork() Signed-off-by: Yanfei Xu --- include/trace/events/sched.h | 2 +- kernel/kthread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(

[tip: x86/cache] x86/resctrl: Add printf attribute to log function

2021-01-11 Thread tip-bot2 for Tom Rix
The following commit has been merged into the x86/cache branch of tip: Commit-ID: 3ff4ec0e281d0b234917e6e3033dd3067a5ea945 Gitweb: https://git.kernel.org/tip/3ff4ec0e281d0b234917e6e3033dd3067a5ea945 Author:Tom Rix AuthorDate:Mon, 21 Dec 2020 08:00:09 -08:00 Committer:

[tip: x86/cache] x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI

2021-01-11 Thread tip-bot2 for Reinette Chatre
The following commit has been merged into the x86/cache branch of tip: Commit-ID: e0ad6dc8969f790f14bddcfd7ea284b7e5f88a16 Gitweb: https://git.kernel.org/tip/e0ad6dc8969f790f14bddcfd7ea284b7e5f88a16 Author:Reinette Chatre AuthorDate:Thu, 17 Dec 2020 14:31:20 -08:00 Committ

[tip: x86/cache] x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}

2021-01-11 Thread tip-bot2 for Valentin Schneider
The following commit has been merged into the x86/cache branch of tip: Commit-ID: 6d3b47ddffed70006cf4ba360eef61e9ce097d8f Gitweb: https://git.kernel.org/tip/6d3b47ddffed70006cf4ba360eef61e9ce097d8f Author:Valentin Schneider AuthorDate:Thu, 17 Dec 2020 14:31:21 -08:00 Comm

Re: [PATCH v1 1/3] x86/cpufeatures: Add low performance CRC32C instruction CPU feature

2021-01-11 Thread Tony W Wang-oc
On 07/01/2021 14:37, Borislav Petkov wrote: > On Thu, Jan 07, 2021 at 02:19:06PM +0800, Tony W Wang-oc wrote: >> SSE4.2 on Zhaoxin CPUs are compatible with Intel. The presence of >> CRC32C instruction is enumerated by CPUID.01H:ECX.SSE4_2[bit 20] = 1. >> Some Zhaoxin CPUs declare support SSE4.2 i

Re: [PATCH V2 1/3] mm/hotplug: Prevalidate the address range being added with platform

2021-01-11 Thread David Hildenbrand
On 17.12.20 16:28, Anshuman Khandual wrote: > This introduces memhp_range_allowed() which can be called in various memory > hotplug paths to prevalidate the address range which is being added, with > the platform. Then memhp_range_allowed() calls memhp_get_pluggable_range() > which provides applica

Re: [PATCH v1 2/3] x86/cpu: Set low performance CRC32C flag on some Zhaoxin CPUs

2021-01-11 Thread Tony W Wang-oc
On 07/01/2021 23:52, Dave Hansen wrote: > On 1/6/21 10:19 PM, Tony W Wang-oc wrote: >> +/* >> + * These CPUs declare support SSE4.2 instruction sets but >> + * having low performance CRC32C instruction implementation. >> + */ >> +if (c->x86 == 0x6 || (c->x86 == 0x7 && c->x86_mod

Re: [PATCH] arm64: Kconfig: Increase NR_CPUS default to 512

2021-01-11 Thread Will Deacon
On Sat, Jan 09, 2021 at 09:36:15PM -0800, vanshiko...@os.amperecomputing.com wrote: > From: Vanshidhar Konda > > Increase the default value of NR_CPUS to 512 from 256. This will > enable the defconfig kernel to support platforms that have upto > 512 cores. Do we already support such a platform,

Re: [PATCHv2] perf tools: Detect when pipe is passed as perf data

2021-01-11 Thread Jiri Olsa
On Sun, Jan 10, 2021 at 11:13:18PM -0800, Stephane Eranian wrote: > On Wed, Jan 6, 2021 at 1:49 AM Jiri Olsa wrote: > > > > On Tue, Jan 05, 2021 at 05:33:38PM -0800, Stephane Eranian wrote: > > > Hi, > > > > > > On Wed, Dec 30, 2020 at 3:09 AM Jiri Olsa wrote: > > > > > > > > Currently we allow p

[PATCH] scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach

2021-01-11 Thread Ye Bin
We get follow BUG_ON when rdac scan: [595952.944297] kernel BUG at drivers/scsi/device_handler/scsi_dh_rdac.c:427! [595952.951143] Internal error: Oops - BUG: 0 [#1] SMP .. [595953.251065] Call trace: [595953.259054] check_ownership+0xb0/0x118 [595953.269794] rdac_bus_attach+0x1f0/0x4b0 [5959

Re: [PATCH] gcc-plugins: fix gcc 11 indigestion with plugins...

2021-01-11 Thread Valdis Klētnieks
On Mon, 11 Jan 2021 10:47:23 +0100, Geert Uytterhoeven said: > I guess this is the cause of the new "warning: invalid suffix on > literal; C++11 requires a space between literal and string macro > [-Wliteral-suffix]" with gcc 4.9 or 5.4? Well, we fixed a #error, and picked up a warning. That's p

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-11 Thread Laurent Pinchart
Hi Jacopo, On Mon, Jan 11, 2021 at 11:43:11AM +0100, Jacopo Mondi wrote: > On Wed, Dec 16, 2020 at 07:22:17PM +0200, Laurent Pinchart wrote: > > On Tue, Dec 15, 2020 at 06:09:57PM +0100, Jacopo Mondi wrote: > > > Adjust the initial reverse channel amplitude parsing from > > > firmware interface th

Re: [PATCH -tip V3 0/8] workqueue: break affinity initiatively

2021-01-11 Thread Peter Zijlstra
On Mon, Jan 11, 2021 at 11:07:34AM +0100, Thomas Gleixner wrote: > On Fri, Jan 08 2021 at 12:46, Peter Zijlstra wrote: > > On Sat, Dec 26, 2020 at 10:51:08AM +0800, Lai Jiangshan wrote: > >> From: Lai Jiangshan > >> > >> 06249738a41a ("workqueue: Manually break affinity on hotplug") > >> said tha

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