Re: [PATCH -tip 22/32] sched: Split the cookie and setup per-task cookie on fork

2020-12-01 Thread Peter Zijlstra
On Tue, Dec 01, 2020 at 10:36:18PM -0800, Josh Don wrote: > On Tue, Dec 1, 2020 at 11:35 AM Peter Zijlstra wrote: > > > > So I don't think that later patch is right... That is, it works, but > > afaict it's massive overkill. > > > > COOKIE_CMP_RETURN(task_cookie); > >

[PATCH v3 0/1] Fix object remain in offline per-cpu quarantine

2020-12-01 Thread Kuan-Ying Lee
This patch fixes object remain in the offline per-cpu quarantine as describe below. Free objects will get into per-cpu quarantine if enable generic KASAN. If a cpu is offline and users use kmem_cache_destroy, kernel will detect objects still remain in the offline per-cpu quarantine and report

Re: [GIT pull] locking/urgent for v5.10-rc6

2020-12-01 Thread Heiko Carstens
> > But but but... > > > > do_idle() # IRQs on > > local_irq_disable();# IRQs off > > defaul_idle_call() # IRQs off > lockdep_hardirqs_on(); # IRQs off, but lockdep things they're on > > arch_cpu_idle() # IRQs off > >

[PATCH] Documentation: fix typos found in process, dev-tools, and doc-guide subdirectories

2020-12-01 Thread Andrew Klychkov
Fix four typos in kcov.rst, sphinx.rst, clang-format.rst, and embargoed-hardware-issues.rst Signed-off-by: Andrew Klychkov --- Documentation/dev-tools/kcov.rst| 2 +- Documentation/doc-guide/sphinx.rst | 2 +- Documentation/process/clang-format.rst

Linux 4.4.247

2020-12-01 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.247 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.247

2020-12-01 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index c42ada4e8846..c493d3ae046f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 246 +SUBLEVEL = 247 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index

[PATCH v3 1/1] kasan: fix object remain in offline per-cpu quarantine

2020-12-01 Thread Kuan-Ying Lee
We hit this issue in our internal test. When enabling generic kasan, a kfree()'d object is put into per-cpu quarantine first. If the cpu goes offline, object still remains in the per-cpu quarantine. If we call kmem_cache_destroy() now, slub will report "Objects remaining" error. [ 74.982625]

Re: [GIT pull] locking/urgent for v5.10-rc6

2020-12-01 Thread Peter Zijlstra
On Tue, Dec 01, 2020 at 11:45:25AM -0800, Linus Torvalds wrote: > On Mon, Nov 30, 2020 at 11:56 PM Peter Zijlstra wrote: > > > > So even if an architecture needs to enable interrupts on idle, we need > > it disabled again when coming out. So we might as well have the arch > > idle routine then

[PATCH] media: vidtv: fix kernel-doc markups

2020-12-01 Thread Mauro Carvalho Chehab
Some functions has a different name between their prototypes and the corresponding kernel-doc markups. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vidtv/vidtv_psi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] igc: Report speed and duplex as unknown when device is runtime suspended

2020-12-01 Thread Kai-Heng Feng
Similar to commit 165ae7a8feb5 ("igb: Report speed and duplex as unknown when device is runtime suspended"), if we try to read speed and duplex sysfs while the device is runtime suspeneded, igc will complain and stops working: [ 123.449883] igc :03:00.0 enp3s0: PCIe link lost, device now

Re: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Assgin local variable to drm_device

2020-12-01 Thread Thomas Zimmermann
Hi Am 02.12.20 um 03:54 schrieb tiantao (H): 在 2020/12/2 10:06, tiantao (H) 写道: 在 2020/12/1 21:44, Thomas Zimmermann 写道: Hi Am 01.12.20 um 14:05 schrieb tiantao (H): 在 2020/12/1 20:36, Thomas Zimmermann 写道: Hi Am 01.12.20 um 13:26 schrieb tiantao (H): 在 2020/12/1 20:17, Thomas

orion-nand: uncorrectable ECC error on v5.10-rc6

2020-12-01 Thread Chris Packham
Hi, I've just booted v5.10-rc6 on a kirkwood based board (which uses the orion-nand driver) and I get the following errors reported. I haven't started bisecting yet but v5.7.19 mounts the nand flash without any issue. ubi0: attaching mtd0 __nand_correct_data: uncorrectable ECC error ubi0

[PATCH] Documentation: fix typos in process/kernel-docs.rst

2020-12-01 Thread Andrew Klychkov
Fix two typos in kernel-docs.rst Signed-off-by: Andrew Klychkov --- Documentation/process/kernel-docs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/process/kernel-docs.rst b/Documentation/process/kernel-docs.rst index 64786e5..22d9ace 100644 ---

Re: [PATCH 4.19 00/57] 4.19.161-rc1 review

2020-12-01 Thread Greg Kroah-Hartman
On Tue, Dec 01, 2020 at 04:59:24PM +0100, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 4.19.161 release. > > There are 57 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please >

[PATCH v2 1/3] firmware: xilinx: Remove additional newline

2020-12-01 Thread Michal Simek
This additional newline is useless and also reported by checkpatch --strict. Signed-off-by: Michal Simek --- (no changes since v1) include/linux/firmware/xlnx-zynqmp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/firmware/xlnx-zynqmp.h

[PATCH v5 4/5] perf metric: Add utilities to work on ids map.

2020-12-01 Thread Ian Rogers
Add utilities to new/free an ids hashmap, as well as to union. Add testing of the union. Unioning hashmaps will be used when parsing the metric, if a value is known then the hashmap is unnecessary, otherwise we need to union together all the event ids to compute their values for reporting.

[PATCH v5 5/5] perf metric: Don't compute unused events.

2020-12-01 Thread Ian Rogers
For a metric like: EVENT1 if #smt_on else EVENT2 currently EVENT1 and EVENT2 will be measured and then when the metric is reported EVENT1 or EVENT2 will be printed depending on the value from smt_on() during the expr parsing. Computing both events is unnecessary and can lead to multiplexing as

[PATCH v5 2/5] perf metric: Use NAN for missing event IDs.

2020-12-01 Thread Ian Rogers
If during computing a metric an event (id) is missing the parsing aborts. A later patch will make it so that events that aren't used in the output are deliberately omitted, in which case we don't want the abort. Modify the missing ID case to report NAN for these cases. Signed-off-by: Ian Rogers

[PATCH v5 1/5] perf metric: Restructure struct expr_parse_ctx.

2020-12-01 Thread Ian Rogers
A later change to parsing the ids out (in expr__find_other) will potentially drop hashmaps and so it is more convenient to move expr_parse_ctx to have a hashmap pointer rather than a struct value. As this pointer must be freed, rather than just going out of scope, add expr__ctx_new and

[PATCH v5 3/5] perf metric: Rename expr__find_other.

2020-12-01 Thread Ian Rogers
A later change will remove the notion of other, rename the function to expr__find_ids as this is what it populates. Signed-off-by: Ian Rogers --- tools/perf/tests/expr.c | 26 +- tools/perf/tests/pmu-events.c | 9 - tools/perf/util/expr.c| 4 ++--

[PATCH v5 0/5] Don't compute events that won't be used in a metric.

2020-12-01 Thread Ian Rogers
For a metric like: EVENT1 if #smt_on else EVENT2 currently EVENT1 and EVENT2 will be measured and then when the metric is reported EVENT1 or EVENT2 will be printed depending on the value from smt_on() during the expr parsing. Computing both events is unnecessary and can lead to

[PATCH v2 0/3] firmware: xilinx: Clean up series

2020-12-01 Thread Michal Simek
Hi, for being able to review new changes more effectively it is good to get rid of existing kernel-doc and checkpatch violations. That's why this small clean up series. Based on https://lore.kernel.org/r/e606233d15bfdc594535dd34eb85472b42f61830.1606832997.git.michal.si...@xilinx.com Thanks,

[PATCH v2 3/3] firmware: xilinx: Properly align function parameter

2020-12-01 Thread Michal Simek
Fix parameters alignment reported by checkpatch --strict. Signed-off-by: Michal Simek --- Changes in v2: - keep variable name and type on the same line - reported by Joe Perches include/linux/firmware/xlnx-zynqmp.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 2/3] firmware: xilinx: Add a blank line after function declaration

2020-12-01 Thread Michal Simek
Fix all these issues which are also reported by checkpatch --strict. Signed-off-by: Michal Simek --- (no changes since v1) include/linux/firmware/xlnx-zynqmp.h | 34 1 file changed, 34 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h

Re: [PATCH 3/3] firmware: xilinx: Properly align function parameter

2020-12-01 Thread Michal Simek
On 01. 12. 20 20:42, Joe Perches wrote: > On Tue, 2020-12-01 at 16:50 +0100, Michal Simek wrote: >> Fix parameters alignment reported by checkpatch --strict. > > Please use a newer checkpatch as the 80 column warning > isn't enforced quite the same way. I was using it but saw 80 lines

[PATCH] ARM: imx_v6_v7_defconfig: enable power driver of RN5T618 PMIC family

2020-12-01 Thread Andreas Kemnade
There is a driver now for the power supply and fuel gauge functionality of that chip family, so enable them, since they are used by various i.MX6 boards, especially ebook-readers. Signed-off-by: Andreas Kemnade --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [RFC PATCH v1] scsi: ufs: Remove pre-defined initial VCC voltage values

2020-12-01 Thread nguyenb
On 2020-11-30 22:54, Stanley Chu wrote: Hi Asutosh, On Mon, 2020-11-30 at 19:07 -0800, Asutosh Das (asd) wrote: On 11/30/2020 5:25 PM, Stanley Chu wrote: > On Mon, 2020-11-30 at 15:54 -0800, Asutosh Das (asd) wrote: >> On 11/30/2020 3:14 PM, Bjorn Andersson wrote: >>> On Mon 30 Nov 16:51 CST

Re: [PATCH v4 1/3] scsi: ufs: Serialize eh_work with system PM events and async scan

2020-12-01 Thread Stanley Chu
Hi Can, On Tue, 2020-12-01 at 19:47 -0800, Can Guo wrote: > Serialize eh_work with system PM events and async scan to make sure eh_work > does not run in parallel with them. > > Reviewed-by: Asutosh Das > Reviewed-by: Hongwu Su > Signed-off-by: Can Guo > --- > drivers/scsi/ufs/ufshcd.c | 64

Re: [PATCH -next v2] firmware: xilinx: Mark pm_api_features_map with static keyword

2020-12-01 Thread Michal Simek
On 01. 12. 20 22:26, Greg KH wrote: > On Tue, Dec 01, 2020 at 01:03:59PM +0100, Michal Simek wrote: >> >> >> On 01. 12. 20 12:51, Zou Wei wrote: >>> Fix the following sparse warning: >>> >>> drivers/firmware/xilinx/zynqmp.c:32:1: warning: symbol >>> 'pm_api_features_map' was not declared.

Re: [PATCH] x86/PCI: Convert force_disable_hpet() to standard quirk

2020-12-01 Thread Zhang Rui
On Mon, 2020-11-30 at 20:21 +0100, Thomas Gleixner wrote: > Feng, > > On Fri, Nov 27 2020 at 14:11, Feng Tang wrote: > > On Fri, Nov 27, 2020 at 12:27:34AM +0100, Thomas Gleixner wrote: > > > On Thu, Nov 26 2020 at 09:24, Feng Tang wrote: > > > Yes, that can happen. But OTOH, we should start to

[PATCH v2] tty/serial/imx: Enable TXEN bit in imx_poll_init().

2020-12-01 Thread jiladahe1997
From: Mingrui Ren As described in Documentation, poll_init() is called by kgdb to initialize hardware which supports both poll_put_char() and poll_get_char(). It's necessary to enable TXEN bit, otherwise, it will cause hardware fault and kernel panic when calling imx_poll_put_char().

Re: [PATCH] phy/rockchip: Make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix build error

2020-12-01 Thread Vinod Koul
On 24-11-20, 19:11, Tiezhu Yang wrote: > devm_ioremap_resource() will be not built in lib/devres.c if > CONFIG_HAS_IOMEM is not set, and then there exists a build > error about undefined reference to "devm_ioremap_resource" > in the file phy-rockchip-inno-hdmi.c under COMPILE_TEST and >

Re: linux-next: build failure after merge of the block tree

2020-12-01 Thread Christoph Hellwig
On Wed, Dec 02, 2020 at 03:01:49PM +1100, Stephen Rothwell wrote: > I applied the following merge fix patch (which may, or may not, be > correct but fixes the build). The fixes are exactly what I would have done. Thanks!

Re: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-12-01 Thread Vinod Koul
On 24-11-20, 21:07, Bard Liao wrote: > From: Pierre-Louis Bossart > > The 'master' device acts as a glue layer used during bus > initialization only, and it needs to be 'transparent' for pm_runtime > management. Its behavior should be that it becomes active when one of > its children becomes

Re: [PATCH v2 00/13] arch, mm: deprecate DISCONTIGMEM

2020-12-01 Thread Mike Rapoport
Hi Adrian, On Tue, Dec 01, 2020 at 08:55:37PM +0100, John Paul Adrian Glaubitz wrote: > Hi Mike! > > On 12/1/20 4:07 PM, John Paul Adrian Glaubitz wrote: > > This fixes the issue for me. > > > > Tested-by: John Paul Adrian Glaubitz > > I just booted the kernel from the linux-mm branch and I

Re: [RFC PATCH v2 0/6] fsdax: introduce fs query to support reflink

2020-12-01 Thread Ruan Shiyang
Hi Dave, On 2020/11/30 上午6:47, Dave Chinner wrote: On Mon, Nov 23, 2020 at 08:41:10AM +0800, Shiyang Ruan wrote: The call trace is like this: memory_failure() pgmap->ops->memory_failure() => pmem_pgmap_memory_failure() gendisk->fops->block_lost() => pmem_block_lost() or

Re: [PATCH v2 0/5] regmap/SoundWire/ASoC: Add SoundWire SDCA support

2020-12-01 Thread Vinod Koul
Hi Mark, On 01-12-20, 14:53, Mark Brown wrote: > On Tue, Dec 01, 2020 at 08:35:42AM -0600, Pierre-Louis Bossart wrote: > > On 11/30/20 10:11 PM, Vinod Koul wrote: > > > > I see Mark has already applied 1-3 .. > > > Sorry, I thought Mark had reversed the entire series. > > Yeah, I just backed

Re: [RFC PATCH 11/13] fs/userfaultfd: complete write asynchronously

2020-12-01 Thread Nadav Amit
> On Nov 28, 2020, at 4:45 PM, Nadav Amit wrote: > > From: Nadav Amit > > Userfaultfd writes can now be used for copy/zeroing. When using iouring > with userfaultfd, performing the copying/zeroing on the faulting thread > instead of the handler/iouring thread has several advantages: > > (1)

[PATCH] optee: extend normal memory check to also write-through

2020-12-01 Thread Andrey Zhizhikin
ARMv7 Architecture Reference Manual [1] section A3.5.5 details Normal memory type, together with cacheability attributes that could be applied to memory regions defined as "Normal memory". Section B2.1.2 of the Architecture Reference Manual [1] also provides details regarding the Memory

Re: [PATCH v2] phy: samsung: Merge Kconfig for Exynos5420 and Exynos5250

2020-12-01 Thread Vinod Koul
On 02-12-20, 07:47, Marek Szyprowski wrote: > Exynos5420 variant of USB2 PHY is handled by the same code as the > Exynos5250 one. Introducing a separate Kconfig symbol for it was an > over-engineering, which turned out to cause build break for certain > configurations: > > ERROR: modpost:

[PATCH v6 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-12-01 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Keem Bay SOC can support dual voltage operations for GPIO SD Pins to either 1.8V or 3.3V for bus IO line power. In order to operate the GPIOs line for Clk,Cmd and Data on Keem Bay Hardware, it is important to configure the supplied voltage applied to their I/O

Re: [PATCH net-next] octeontx2-af: debugfs: delete dead code

2020-12-01 Thread Sunil Kovvuri
On Wed, Dec 2, 2020 at 12:28 PM Dan Carpenter wrote: > > These debugfs never return NULL so all this code will never be run. > > In the normal case, (and in this case particularly), the debugfs > functions are not supposed to be checked for errors so all this error > checking code can be safely

Re: [PATCH v2 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

2020-12-01 Thread Joel Stanley
On Wed, 2 Dec 2020 at 06:37, Troy Lee wrote: > > Adding Aspeed AST2600 edac node into common devicetree. > > Signed-off-by: Troy Lee Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

[PATCH v6 3/4] dt-bindings: mmc: Add phys, vmmc and vqmmc supplies for Keem Bay SOC

2020-12-01 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Add DT bindings of vmmc and vqmmc supplies of regulator and phys for the phandle of sd0_phy which contain additional property for otap delay and sel_clk_buffer. Signed-off-by: Muhammad Husaini Zulkifli --- Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml

[PATCH v6 2/4] firmware: keembay: Add support for Trusted Firmware Service call

2020-12-01 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Export inline function to encapsulate AON_CFG1 for controling the I/O Rail supplied voltage levels which communicate with Trusted Firmware. Signed-off-by: Muhammad Husaini Zulkifli Acked-by: Michal Simek Acked-by: Sudeep Holla ---

[PATCH v6 1/4] mmc: sdhci-of-arasan: Add structure device pointer in probe func

2020-12-01 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Add struct device *dev in probe func() so that it can widely use in probe to make code more readable. Signed-off-by: Muhammad Husaini Zulkifli Reviewed-by: mark gross --- drivers/mmc/host/sdhci-of-arasan.c | 38 +++--- 1 file changed,

[PATCH v6 0/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-12-01 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Hello This patch series adds UHS-1 Support for Keem Bay SOC. Patch 1 : Add struct device *dev in probe func(),so that dev pointer can be widely use in probe to make code more readable. Patch 2 : Export function to be use by device driver to configure voltage

Re: [PATCH v2 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-12-01 Thread Joel Stanley
On Wed, 2 Dec 2020 at 06:37, Troy Lee wrote: > > Adding AST2400 and AST2600 edac driver support. > > Signed-off-by: Troy Lee > --- > Change since v1: > 1. Removing SoC specific code > 2. Changing numerical representation of memory sizing > --- > drivers/edac/Kconfig | 6 +-- >

[PATCH v2 4/4] misc: rtsx: rts5249 support runtime PM

2020-12-01 Thread ricky_wu
From: Ricky Wu rtsx_pcr: add callback functions to support runtime PM add delay_work to put device to D3 after idle over 10 sec rts5249: add extra init flow for rtd3 and set rtd3_en from config setting rtsx_pci_sdmmc: child device support autosuspend Signed-off-by: Ricky Wu ---

[PATCH net-next] octeontx2-af: debugfs: delete dead code

2020-12-01 Thread Dan Carpenter
These debugfs never return NULL so all this code will never be run. In the normal case, (and in this case particularly), the debugfs functions are not supposed to be checked for errors so all this error checking code can be safely deleted. Signed-off-by: Dan Carpenter ---

[PATCH] platform/x86: dell-wmi-sysman: work around for BIOS bug

2020-12-01 Thread Divya Bharathi
BIOS sets incorrect value (zero) when SET value passed for integer attribute with + sign. Added workaround to remove + sign before passing input to BIOS Co-developed-by: Mario Limonciello Signed-off-by: Mario Limonciello Co-developed-by: Prasanth KSR Signed-off-by: Prasanth KSR Signed-off-by:

Re: [PATCH v4 5/5] perf metric: Don't compute unused events.

2020-12-01 Thread Andi Kleen
> Can't this be all in a macro? It's still a lot of duplication. > > I'm still not a fan, but I think with a macro it wouldn't be too bad. > >Ugh, not a fan of macros. They expand to a single line of code and make >debugging hard. I'll do a v5 with a macro :-/ I suppose you

[PATCH] mm/vmalloc: Remove unnecessary return statement

2020-12-01 Thread Baolin Wang
Remove unnecessary return statement for void function. Signed-off-by: Baolin Wang --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 6ae491a..c290fc9 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -2275,7 +2275,6 @@ static void __vunmap(const

[PATCH v2] phy: samsung: Merge Kconfig for Exynos5420 and Exynos5250

2020-12-01 Thread Marek Szyprowski
Exynos5420 variant of USB2 PHY is handled by the same code as the Exynos5250 one. Introducing a separate Kconfig symbol for it was an over-engineering, which turned out to cause build break for certain configurations: ERROR: modpost: "exynos5420_usb2_phy_config"

[PATCH] pstore: Tidy up an error check

2020-12-01 Thread Dan Carpenter
The crypto_alloc_comp() function never returns NULL, it returns error pointers on error. Signed-off-by: Dan Carpenter --- fs/pstore/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 36714df37d5d..b7a2a2a31dee 100644

Re: [RFC V2 0/3] mm/hotplug: Pre-validate the address range with platform

2020-12-01 Thread Anshuman Khandual
On 11/30/20 8:59 AM, Anshuman Khandual wrote: > This series adds a mechanism allowing platforms to weigh in and prevalidate > incoming address range before proceeding further with the memory hotplug. > This helps prevent potential platform errors for the given address range, > down the hotplug

[PATCH] ACPI: Add DMI quirk for GIGABYTE GB-BXBT-2807

2020-12-01 Thread Chris Chiu
From: "Jasper St. Pierre" The GIGABYTE GB-BXBT-2807 is a mini-PC which uses off the shelf components, like an Intel GPU which is meant for mobile systems. As such, it, by default, has a backlight controller exposed. Unfortunately, the backlight controller only confuses userspace, which sees the

Re: [PATCH v2 1/3] dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support

2020-12-01 Thread Joel Stanley
On Wed, 2 Dec 2020 at 06:37, Troy Lee wrote: > > Adding Aspeed AST2400 and AST2600 binding for edac driver. > > Signed-off-by: Troy Lee Acked-by: Joel Stanley > --- > .../devicetree/bindings/edac/aspeed-sdram-edac.txt | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >

Re: [f2fs-dev] [PATCH v2 2/2] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-01 Thread Chao Yu
On 2020/12/1 12:08, Daeho Jeong wrote: From: Daeho Jeong Added two ioctl to decompress/compress explicitly the compression enabled file in "compress_mode=user" mount option. Using these two ioctls, the users can make a control of compression and decompression of their files. Signed-off-by:

[PATCH v2 1/3] dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support

2020-12-01 Thread Troy Lee
Adding Aspeed AST2400 and AST2600 binding for edac driver. Signed-off-by: Troy Lee --- .../devicetree/bindings/edac/aspeed-sdram-edac.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt

RE: [EXT] Re: [PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-01 Thread Bhaskara Budiredla
>-Original Message- >From: Kees Cook >Sent: Wednesday, December 2, 2020 1:56 AM >To: Bhaskara Budiredla >Cc: ulf.hans...@linaro.org; ccr...@android.com; tony.l...@intel.com; Sunil >Kovvuri Goutham ; linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org;

[PATCH v2 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-12-01 Thread Troy Lee
Adding AST2400 and AST2600 edac driver support. Signed-off-by: Troy Lee --- Change since v1: 1. Removing SoC specific code 2. Changing numerical representation of memory sizing --- drivers/edac/Kconfig | 6 +-- drivers/edac/aspeed_edac.c | 103 + 2

[PATCH v2 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

2020-12-01 Thread Troy Lee
Adding Aspeed AST2600 edac node into common devicetree. Signed-off-by: Troy Lee --- arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 97ca743363d7..fb144515f397 100644 ---

Re: [PATCH v4 5/5] perf metric: Don't compute unused events.

2020-12-01 Thread Andi Kleen
> +| expr '-' expr > +{ > + if (!compute_ids || (is_const($1.val) && is_const($3.val))) { > + assert($1.ids == NULL); > + assert($3.ids == NULL); > + $$.val = $1.val - $3.val; > + $$.ids = NULL; > + } else { > + /* LHS and/or RHS

[PATCH v2 3/4] mmc: rtsx: fix sdmmc_switch_voltage return bug

2020-12-01 Thread ricky_wu
From: Ricky Wu fixed bug: return err always return rtsx_pci_write_register() return code not for callback function _switch_voltage() Signed-off-by: Ricky Wu --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH -tip 22/32] sched: Split the cookie and setup per-task cookie on fork

2020-12-01 Thread Josh Don
On Tue, Dec 1, 2020 at 11:35 AM Peter Zijlstra wrote: > > So I don't think that later patch is right... That is, it works, but > afaict it's massive overkill. > > COOKIE_CMP_RETURN(task_cookie); > COOKIE_CMP_RETURN(group_cookie); > COOKIE_CMP_RETURN(color); > > So if

[PATCH v2 2/4] misc: rtsx: modify and fix init_hw function

2020-12-01 Thread ricky_wu
From: Ricky Wu changed rtsx_pci_disable_aspm() to rtsx_disable_aspm() do not access ASPM configuration directly changed pcie_capability_write_word() to _clear_and_set_word() make sure only change PCI_EXP_LNKCTL bit8 make sure ASPM disable after extra_init_hw() Signed-off-by: Ricky Wu ---

[PATCH v2 1/4] misc: rtsx: modify en/disable aspm function

2020-12-01 Thread ricky_wu
From: Ricky Wu enable/disable device ASPM function: changed write ASPM configuration directly to use write register Signed-off-by: Ricky Wu --- drivers/misc/cardreader/rtsx_pcr.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] Revert "i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630"

2020-12-01 Thread Akash Asthana
On 11/25/2020 12:27 AM, Bjorn Andersson wrote: A combination of recent bug fixes by Doug Anderson and the proper definition of iommu streams means that this hack is no longer needed. Let's clean up the code by reverting '127068abe85b ("i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga

Re: [f2fs-dev] [PATCH v2 1/2] f2fs: add compress_mode mount option

2020-12-01 Thread Chao Yu
On 2020/12/1 12:08, Daeho Jeong wrote: From: Daeho Jeong We will add a new "compress_mode" mount option to control file compression mode. This supports "fs" and "user". In "fs" mode (default), f2fs does automatic compression on the compression enabled files. In "user" mode, f2fs disables the

linux-next: no release today

2020-12-01 Thread Stephen Rothwell
Hi all, There will be no linux-next release today as I have just run out of time to finish it. Normal service will hopefully return tomorrow. -- Cheers, Stephen Rothwell pgpAtDK6RQ21Z.pgp Description: OpenPGP digital signature

[PATCH v4 1/5] perf metric: Restructure struct expr_parse_ctx.

2020-12-01 Thread Ian Rogers
A later change to parsing the ids out (in expr__find_other) will potentially drop hashmaps and so it is more convenient to move expr_parse_ctx to have a hashmap pointer rather than a struct value. As this pointer must be freed, rather than just going out of scope, add expr__ctx_new and

[PATCH v4 5/5] perf metric: Don't compute unused events.

2020-12-01 Thread Ian Rogers
For a metric like: EVENT1 if #smt_on else EVENT2 currently EVENT1 and EVENT2 will be measured and then when the metric is reported EVENT1 or EVENT2 will be printed depending on the value from smt_on() during the expr parsing. Computing both events is unnecessary and can lead to multiplexing as

Re: [PATCH v2 bpf-next 00/13] Atomics for eBPF

2020-12-01 Thread John Fastabend
Andrii Nakryiko wrote: > On Tue, Dec 1, 2020 at 9:53 PM John Fastabend > wrote: > > > > Yonghong Song wrote: > > > > > > > > > > [...] > > > > > > Great, this means that all existing valid uses of > > > > __sync_fetch_and_add() will generate BPF_XADD instructions and will > > > > work on old

[PATCH v4 3/5] perf metric: Rename expr__find_other.

2020-12-01 Thread Ian Rogers
A later change will remove the notion of other, rename the function to expr__find_ids as this is what it populates. Signed-off-by: Ian Rogers --- tools/perf/tests/expr.c | 26 +- tools/perf/tests/pmu-events.c | 9 - tools/perf/util/expr.c| 4 ++--

[PATCH v4 4/5] perf metric: Add utilities to work on ids map.

2020-12-01 Thread Ian Rogers
Add utilities to new/free an ids hashmap, as well as to union. Add testing of the union. Unioning hashmaps will be used when parsing the metric, if a value is known then the hashmap is unnecessary, otherwise we need to union together all the event ids to compute their values for reporting.

[PATCH v4 2/5] perf metric: Use NAN for missing event IDs.

2020-12-01 Thread Ian Rogers
If during computing a metric an event (id) is missing the parsing aborts. A later patch will make it so that events that aren't used in the output are deliberately omitted, in which case we don't want the abort. Modify the missing ID case to report NAN for these cases. Signed-off-by: Ian Rogers

[PATCH v4 0/5] Don't compute events that won't be used in a metric.

2020-12-01 Thread Ian Rogers
For a metric like: EVENT1 if #smt_on else EVENT2 currently EVENT1 and EVENT2 will be measured and then when the metric is reported EVENT1 or EVENT2 will be printed depending on the value from smt_on() during the expr parsing. Computing both events is unnecessary and can lead to

/proc/net/sctp/snmp, setns, proc: revalidate misc dentries

2020-12-01 Thread Rantala, Tommi T. (Nokia - FI/Espoo)
Hello, Bisected problems with setns() and /proc/net/sctp/snmp to this: commit 1da4d377f943fe4194ffb9fb9c26cc58fad4dd24 Author: Alexey Dobriyan Date: Fri Apr 13 15:35:42 2018 -0700 proc: revalidate misc dentries Reproduces for example with Fedora 5.9.10-100.fc32.x86_64, so 1fde6f21d90f

Re: [PATCH 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-01 Thread Greg KH
On Tue, Dec 01, 2020 at 02:34:52PM -0800, mgr...@linux.intel.com wrote: > From: Daniele Alessandrelli > > On the Intel Movidius SoC code named Keem Bay, communication between the > Computing Sub-System (CSS), i.e., the CPU, and the Multimedia Sub-System > (MSS), i.e., the VPU is enabled by the

Re: [PATCH -tip 26/32] sched: Add a second-level tag for nested CGroup usecase

2020-12-01 Thread Josh Don
Hey Peter, On Wed, Nov 25, 2020 at 5:43 AM Peter Zijlstra wrote: > > Why can't the above work by setting 'tag' (that's a terrible name, why > does that still live) in CDE? Have the most specific tag live. Same with > that thread stuff. The motivation is to allow an unprivileged user the ability

Re: [PATCH 4.4 00/24] 4.4.247-rc1 review

2020-12-01 Thread Naresh Kamboju
roid-platform-tools-r2600 * network-basic-tests * perf Summary kernel: 4.4.247-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.247-rc1-hikey-20201201-867 git commit: 56c68faa4c221dab59e36da4f9fc198e41a73808 git describe: 4.4.247-rc1-hikey-202012

Re: [PATCH 09/22] misc: xlink-pcie: lh: Add core communication logic

2020-12-01 Thread Greg KH
On Tue, Dec 01, 2020 at 02:34:58PM -0800, mgr...@linux.intel.com wrote: > From: Srikanth Thokala > > Add logic to establish communication with the remote host which is through > ring buffer management and MSI/Doorbell interrupts > > Reviewed-by: Mark Gross > Signed-off-by: Srikanth Thokala >

Re: [PATCH 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-01 Thread Greg KH
On Tue, Dec 01, 2020 at 02:34:52PM -0800, mgr...@linux.intel.com wrote: > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -8955,6 +8955,14 @@ M: Deepak Saxena > S: Maintained > F: drivers/char/hw_random/ixp4xx-rng.c > > +INTEL KEEM BAY IPC DRIVER > +M: Daniele Alessandrelli > +M: Mark

Re: [PATCH 4.9 00/42] 4.9.247-rc1 review

2020-12-01 Thread Naresh Kamboju
On Tue, 1 Dec 2020 at 14:26, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.247 release. > There are 42 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: UBSAN: array-index-out-of-bounds in arch_uprobe_analyze_insn

2020-12-01 Thread Masami Hiramatsu
Hi Kees, On Tue, 1 Dec 2020 16:48:55 -0800 Kees Cook wrote: > Hi, > > There appears to be a problem with prefix counting for the instruction > decoder. It looks like insn_get_prefixes() isn't keeping "nb" and "nbytes" > in sync correctly: > > while (inat_is_legacy_prefix(attr)) { >

[PATCH] tty : serial: jsm: Fixed file by adding spacing

2020-12-01 Thread Clement Smith
Fixed a coding style issue Signed-off-by: Clement Smith --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 689774c073ca..512b77195e9f 100644 ---

Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Leon Romanovsky
On Tue, Dec 01, 2020 at 01:44:46PM -0800, Andrii Nakryiko wrote: > On Tue, Dec 1, 2020 at 11:32 AM Leon Romanovsky wrote: > > > > On Tue, Dec 01, 2020 at 10:01:23AM -0800, Andrii Nakryiko wrote: > > > On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > > > > > > > From: Leon Romanovsky >

Re: [PATCH 4.14 00/50] 4.14.210-rc1 review

2020-12-01 Thread Naresh Kamboju
On Tue, 1 Dec 2020 at 14:28, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.210 release. > There are 50 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v5 08/11] input: raspberrypi-ts: Release firmware handle when not needed

2020-12-01 Thread Dmitry Torokhov
Hi Nicolas, On Mon, Nov 23, 2020 at 07:38:29PM +0100, Nicolas Saenz Julienne wrote: > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware > interface when unbinding the device. I do not believe this comment is correct any longer. Otherwise: Acked-by: Dmitry Torokhov > >

Re: [PATCH v2 bpf-next 00/13] Atomics for eBPF

2020-12-01 Thread Andrii Nakryiko
On Tue, Dec 1, 2020 at 9:53 PM John Fastabend wrote: > > Yonghong Song wrote: > > > > > > [...] > > > > Great, this means that all existing valid uses of > > > __sync_fetch_and_add() will generate BPF_XADD instructions and will > > > work on old kernels, right? > > > > That is correct. > > > > >

Re: [PATCH v2] venus: vdec: Handle DRC after drain

2020-12-01 Thread Alexandre Courbot
On Wed, Dec 2, 2020 at 7:34 AM Stanimir Varbanov wrote: > > Hi Fritz, > > On 12/1/20 6:23 AM, Fritz Koenig wrote: > > If the DRC is near the end of the stream the client > > may send a V4L2_DEC_CMD_STOP before the DRC occurs. > > V4L2_DEC_CMD_STOP puts the driver into the > >

Re: [PATCH] vdpa/mlx5: Use random MAC for the vdpa net instance

2020-12-01 Thread Eli Cohen
On Wed, Dec 02, 2020 at 12:18:36PM +0800, Jason Wang wrote: > > On 2020/12/1 下午5:23, Cindy Lu wrote: > > On Mon, Nov 30, 2020 at 11:33 PM Michael S. Tsirkin wrote: > > > On Mon, Nov 30, 2020 at 06:41:45PM +0800, Cindy Lu wrote: > > > > On Mon, Nov 30, 2020 at 5:33 PM Michael S. Tsirkin > > > >

Re: [PATCH] x86, build: remove -m16 workaround for unsupported versions of GCC

2020-12-01 Thread hpa
On November 30, 2020 5:13:06 PM PST, Nick Desaulniers wrote: >A revert of the following two commits. >commit de3accdaec88 ("x86, build: Build 16-bit code with -m16 where >possible") >commit a9cfccee6604 ("x86, build: Change code16gcc.h from a C header to >an assembly header") > >Since commit

Re: [PATCH v2 bpf-next 00/13] Atomics for eBPF

2020-12-01 Thread John Fastabend
Yonghong Song wrote: > > [...] > > Great, this means that all existing valid uses of > > __sync_fetch_and_add() will generate BPF_XADD instructions and will > > work on old kernels, right? > > That is correct. > > > > > If that's the case, do we still need cpu=v4? The new instructions are >

Re: [PATCH v2 bpf-next 10/13] bpf: Add instructions for atomic[64]_[fetch_]sub

2020-12-01 Thread Alexei Starovoitov
On Tue, Dec 1, 2020 at 4:38 AM Brendan Jackman wrote: > > I guess it's also worth remembering other archs might have an atomic > subtract. which one? arm64 LSE implements atomic_fetch_sub as neg+ldadd. imo x64 and arm64 example outweighs choices by other archs if there are such. Even without LSE

Re: [PATCH v2 bpf-next 02/13] bpf: x86: Factor out emission of REX byte

2020-12-01 Thread Alexei Starovoitov
On Tue, Dec 1, 2020 at 4:12 AM Brendan Jackman wrote: > > On Sat, Nov 28, 2020 at 05:14:05PM -0800, Alexei Starovoitov wrote: > > On Fri, Nov 27, 2020 at 05:57:27PM +, Brendan Jackman wrote: > > > The JIT case for encoding atomic ops is about to get more > > > complicated. In order to make

Re: [PATCH v2 bpf-next 01/13] bpf: x86: Factor out emission of ModR/M for *(reg + off)

2020-12-01 Thread Alexei Starovoitov
On Tue, Dec 1, 2020 at 4:14 AM Brendan Jackman wrote: > > On Sat, Nov 28, 2020 at 05:15:52PM -0800, Alexei Starovoitov wrote: > > On Fri, Nov 27, 2020 at 05:57:26PM +, Brendan Jackman wrote: > > > +/* Emit the ModR/M byte for addressing *(r1 + off) and r2 */ > > > +static void

Re: [PATCH v7 00/17] Add support for Clang LTO

2020-12-01 Thread Sami Tolvanen
On Tue, Dec 1, 2020 at 6:43 PM Masahiro Yamada wrote: > > On Wed, Dec 2, 2020 at 2:31 AM Kees Cook wrote: > > > > On Mon, Nov 30, 2020 at 12:01:31PM +, Will Deacon wrote: > > > Hi Sami, > > > > > > On Wed, Nov 18, 2020 at 02:07:14PM -0800, Sami Tolvanen wrote: > > > > This patch series adds

Re: memory leak in gs_start_io

2020-12-01 Thread Greg KH
On Tue, Dec 01, 2020 at 11:45:20PM -0500, Ertza Warraich wrote: > We report a memory leak bug (in linux-5.8.13) found by FuzzUSB (a modified > version of syzkaller). > > The bug report is as follows: > == > BUG: memory leak >

  1   2   3   4   5   6   7   8   9   10   >