linux-next: Tree for Aug 19

2020-08-18 Thread Stephen Rothwell
Hi all, Changes since 20200818: Dropped tree: fsinfo at maintainer's request My fixes tree contains: 73c7adb54169 ("device_cgroup: Fix RCU list debugging warning") The kspp-gustavo tree lost its build failures. The reset tree gained a conflict against the kspp-gustavo tree. T

Re: [Letux-kernel] [PATCH] omap5: Fix DSI base address and clocks

2020-08-18 Thread Tony Lindgren
* H. Nikolaus Schaller [200818 09:58]: > > > Am 18.08.2020 um 11:51 schrieb David Shah : > > > > DSI was not probing due to base address off by 0x1000, and sys_clk > > missing. > > > > With this patch, the Pyra display works if HDMI is disabled in the > > device tree. > > For me it also works

Re: [RFC PATCH v2 0/3] mikroBUS driver for add-on boards

2020-08-18 Thread Greg KH
On Wed, Aug 19, 2020 at 03:22:48AM +0530, Vaishnav M A wrote: > On Tue, Aug 18, 2020 at 8:54 PM Greg KH wrote: > > > > On Tue, Aug 18, 2020 at 06:18:12PM +0530, Vaishnav M A wrote: > > > Hi, > > > > > > This Patch series is an update to the mikroBUS driver > > > RFC v1 Patch :

Re: [PATCH v2 0/3] Add Broadcom VK driver

2020-08-18 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2020 at 12:52:54PM -0700, Kees Cook wrote: > On Wed, Aug 05, 2020 at 05:46:28PM -0700, Scott Branden wrote: > > This patch series drops previous patches in [1] > > that were incorporated by Kees Cook into patch series > > "Introduce partial kernel_read_file() support" [2]. > > > >

[PATCH v2 2/2] mm/pageblock: remove false sharing in pageblock_flags

2020-08-18 Thread Alex Shi
Current pageblock_flags is only 4 bits, so it has to share a char size in cmpxchg when get set, the false sharing cause perf drop. If we incrase the bits up to 8, false sharing would gone in cmpxchg. and the only cost is half char per pageblock, which is half char per 128MB on x86, 4 chars in 1

[PATCH v2 1/2] mm/pageblock: mitigation cmpxchg false sharing in pageblock flags

2020-08-18 Thread Alex Shi
pageblock_flags is used as long, since every pageblock_flags is just 4 bits, 'long' size will include 8(32bit machine) or 16 pageblocks' flags, that flag setting has to sync in cmpxchg with 7 or 15 other pageblock flags. It would cause long waiting for sync. If we could change the pageblock_flags

Re: [PATCH] MIPS: Loongson64: Fix build error about redeclaration of enumerator 'VIRTUAL' and "CONFIG_DM_THIN_PROVISIONING"

2020-08-18 Thread WANG Xuerui
Hi Youling, On 2020/8/18 19:32, Youling Tang wrote: > After commit 39c1485c8baa (MIPS: KVM: Add kvm guestsupport for Loongson-3) > > Fix the following build error: > > drivers/md/dm-thin.c:116:2: error: redeclaration of enumerator ‘VIRTUAL’ > VIRTUAL, > ^ > In file included from

Re: [PATCH -next] bus: bt1-apb: remove duplicate include

2020-08-18 Thread Serge Semin
On Wed, Aug 19, 2020 at 10:43:51AM +0800, Wang Hai wrote: > Remove linux/clk.h which is included more than once > > Reported-by: Hulk Robot > Signed-off-by: Wang Hai Thanks! Acked-by: Serge Semin > --- > drivers/bus/bt1-apb.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH 4.19 073/168] media: firewire: Using uninitialized values in node_probe()

2020-08-18 Thread Greg Kroah-Hartman
On Tue, Aug 18, 2020 at 11:34:53PM +0200, Pavel Machek wrote: > Hi! > > > From: Dan Carpenter > > > > [ Upstream commit 2505a210fc126599013aec2be741df20aaacc490 ] > > > > If fw_csr_string() returns -ENOENT, then "name" is uninitialized. So > > then the "strlen(model_names[i]) <= name_len" is

Re: [PATCH v1 0/9] extcon: extcon-ptn5150: Add the USB external connector support

2020-08-18 Thread Ramuthevar, Vadivel MuruganX
Hi Andy, On 18/8/2020 4:40 pm, Andy Shevchenko wrote: On Tue, Aug 18, 2020 at 02:57:18PM +0800, Ramuthevar,Vadivel MuruganX wrote: USB external connector chip PTN5150 used on the Intel LGM SoC boards to detect the USB type and connection. Internally I meant you can send cleanups, but couple

Re: [PATCH -next] mm: slab: Remove duplicate include

2020-08-18 Thread Pekka Enberg
On Tue, Aug 18, 2020 at 2:43 PM YueHaibing wrote: > > Remove duplicate header which is included twice. > > Signed-off-by: YueHaibing Reviewed-by: Pekka Enberg

[PATCH] net: bypass ->sendpage for slab pages

2020-08-18 Thread Christoph Hellwig
Sending Slab or tail pages into ->sendpage will cause really strange delayed oops. Prevent it right in the networking code instead of requiring drivers to guess the exact conditions where sendpage works. Based on a patch from Coly Li . Signed-off-by: Christoph Hellwig --- net/socket.c | 6

[PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-18 Thread Wesley Cheng
In the DWC3 databook, for a device initiated disconnect, the driver is required to send dependxfer commands for any pending transfers. In addition, before the controller can move to the halted state, the SW needs to acknowledge any pending events. If the controller is not halted properly, there

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

2020-08-18 Thread Stephen Rothwell
Hi all, On Wed, 19 Aug 2020 09:34:55 +0530 Manivannan Sadhasivam wrote: > > On Wed, Aug 19, 2020 at 01:48:00PM +1000, Stephen Rothwell wrote: > > > > After merging the mhi tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > I am not sure which commit(s) caused

Re: [PATCH v3] dma-mapping: set default segment_boundary_mask to ULONG_MAX

2020-08-18 Thread Christoph Hellwig
Applied to the dma-mapping tree. This should give us the whole merge window to root out any obvious problems with drivers.

Re: [PATCH -next] ext2: remove duplicate include

2020-08-18 Thread Ritesh Harjani
On 8/19/20 8:24 AM, Wang Hai wrote: Remove linux/fiemap.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai LGTM, please feel free to add, Reviewed-by: Ritesh Harjani --- fs/ext2/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-08-18 Thread Tony Lindgren
* Adam Ford [200818 15:46]: > @@ -1153,6 +1166,38 @@ static int ti_bandgap_suspend(struct device *dev) > return err; > } > > +static int bandgap_omap_cpu_notifier(struct notifier_block *nb, > + unsigned long cmd, void *v) > +{ > + struct ti_bandgap *bgp;

RE: [PATCHv2] PCI: designware-ep: Fix the Header Type check

2020-08-18 Thread Z.q. Hou
Hi Rob, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Rob Herring > Sent: 2020年8月18日 21:52 > To: Z.q. Hou > Cc: linux-kernel@vger.kernel.org; PCI ; Lorenzo > Pieralisi ; Bjorn Helgaas > ; Andrew Murray > ; Jingoo Han ; > Gustavo Pimentel > Subject: Re:

Hello..

2020-08-18 Thread trust
This is a final attempt to reach you as regards the estate of our deceased client who made you one of the beneficiaries of his estate. Do get back to me at your earliest convenience. The Trustees

[PATCH] MIPS: op_model_mipsxx: Fix non-executable code bug

2020-08-18 Thread Gustavo A. R. Silva
The fallthrough pseudo-keyword is being wrongly used and is causing the non-executable code error below: arch/mips/oprofile/op_model_mipsxx.c: In function ‘mipsxx_perfcount_handler’: ./include/linux/compiler_attributes.h:214:41: warning: statement will never be executed [-Wswitch-unreachable] #

Re: [PATCH v3] powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memory

2020-08-18 Thread Christoph Hellwig
On Tue, Aug 18, 2020 at 07:11:26PM -0300, Thiago Jung Bauermann wrote: > POWER secure guests (i.e., guests which use the Protection Execution > Facility) need to use SWIOTLB to be able to do I/O with the hypervisor, but > they don't need the SWIOTLB memory to be in low addresses since the >

Re: [PATCH 2/3] gen_compile_commands: wire up build rule to Makefile

2020-08-18 Thread Masahiro Yamada
Hi Nick, On Fri, Aug 14, 2020 at 2:10 AM Masahiro Yamada wrote: > > On Thu, Aug 13, 2020 at 7:30 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Wed, Aug 12, 2020 at 10:40 AM Masahiro Yamada > > wrote: > > > > > > Currently, you need to explicitly run

Re: [PATCH V2 0/3] do exception handling appropriately in at_dma_xlate()

2020-08-18 Thread Vinod Koul
On 17-08-20, 19:57, Yu Kuai wrote: > changes from V1: > -separate different changes to different patches, as suggested by Vinod. Please write proper cover letter explaining the patch series and also the changes from v1.. I have applied the patches. Thanks > Yu Kuai (3): > dmaengine:

[RFC PATCH v2 1/5] mm: Identify compound pages sooner in isolate_migratepages_block

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck Since we are holding a reference to the page much sooner in isolate_migratepages_block we can move the PageCompound check out of the LRU locked section and instead just place it after get_page_unless_zero. By doing this we can allow any of the items that might trigger a

[RFC PATCH v2 0/5] Minor cleanups and performance optimizations for LRU rework

2020-08-18 Thread Alexander Duyck
So this patch set addresses a few minor issues I have found and is based on the lrunext branch of the tree at: https://github.com/alexshi/linux.git The first three patches address various issues if ound with the patch set such as the fact that we were skipping non-LRU compound pages one 4K page

[RFC PATCH v2 5/5] mm: Split move_pages_to_lru into 3 separate passes

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck The current code for move_pages_to_lru is meant to release the LRU lock every time it encounters an unevictable page or a compound page that must be freed. This results in a fair amount of code bulk because the lruvec has to be reacquired every time the lock is released and

[RFC PATCH v2 2/5] mm: Drop use of test_and_set_skip in favor of just setting skip

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck The only user of test_and_set_skip was isolate_migratepages_block and it was using it after a call that was testing and clearing the LRU flag. As such it really didn't need to be behind the LRU lock anymore as it wasn't really fulfilling its purpose. Since it is only

[RFC PATCH v2 3/5] mm: Add explicit page decrement in exception path for isolate_lru_pages

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck In isolate_lru_pages we have an exception path where if we call get_page_unless_zero and that succeeds, but TestClearPageLRU fails we call put_page. Normally this would be problematic but due to the way that the calls are ordered and the fact that we are holding the LRU

[RFC PATCH v2 4/5] mm: Split release_pages work into 3 passes

2020-08-18 Thread Alexander Duyck
From: Alexander Duyck The release_pages function has a number of paths that end up with the LRU lock having to be released and reacquired. Such an example would be the freeing of THP pages as it requires releasing the LRU lock so that it can be potentially reacquired by __put_compound_page. In

[PATCH] ARM: dts: BCM5301X: Fix pin controller node

2020-08-18 Thread Florian Fainelli
The pin controller resources start at 0xc0 from the CRU base which is at 0x100 from th DMU base, for a final address of 0x1800_c1c0, whereas we are currently off by 0x100. The resource size of the CRU is also incorrect and should end at 0x248 bytes from 0x100 which is the start address. Finally,

Re: [PATCH v7 1/6] net: introduce helper sendpage_ok() in include/linux/net.h

2020-08-18 Thread Coly Li
On 2020/8/19 03:49, Christoph Hellwig wrote: > On Wed, Aug 19, 2020 at 12:33:37AM +0800, Coly Li wrote: >> On 2020/8/19 00:24, Christoph Hellwig wrote: >>> I think we should go for something simple like this instead: >> >> This idea is fine to me. Should a warning message be through here? IMHO >>

Re: 回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Verma, Vishal L
On Wed, 2020-08-19 at 03:23 +, Zhang, Qiang wrote: > cc: Dan Williams > Please review. Hi Qiang, I've got this queued up, I'll submit it for -rc2. Thanks, -Vishal > > > 发件人: linux-kernel-ow...@vger.kernel.org > 代表 qiang.zh...@windriver.com >

Re: [PATCH v7 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-18 Thread Tanwar, Rahul
Hi Andy, On 18/8/2020 4:38 pm, Andy Shevchenko wrote: > On Tue, Aug 18, 2020 at 01:48:59PM +0800, Rahul Tanwar wrote: >> Patch 1 adds dt binding document in YAML format. >> Patch 2 add PWM fan controller driver for LGM SoC. >> >> v7: >> - Address code quality related review concerns. >> -

Re: [PATCH bpf-next] libbpf: simplify the return expression of build_map_pin_path()

2020-08-18 Thread Yonghong Song
On 8/18/20 7:53 PM, Xu Wang wrote: Simplify the return expression. Signed-off-by: Xu Wang Acked-by: Yonghong Song

[PATCH v3] soc: fsl: enable acpi support

2020-08-18 Thread Ran Wang
From: Peng Ma This patch enables ACPI support in RCPM driver. Signed-off-by: Peng Ma Signed-off-by: Ran Wang --- Change in v3: - Add #ifdef CONFIG_ACPI for acpi_device_id - Rename rcpm_acpi_imx_ids to rcpm_acpi_ids Change in v2: - Update acpi_device_id to fix conflict with other driver

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

2020-08-18 Thread Manivannan Sadhasivam
hich built fine with gcc but failing with clang: 92ce39feb722 bus: mhi: core: Introduce debugfs entries for MHI I've dropped this and also one dependent commit from mhi-next branch. Bhaumik: Please fix the issue and resubmit debugfs and sysfs patches. Thanks, Mani > I have used the mhi tree f

Re: [PATCH 0/3] Chunk Heap Support on DMA-HEAP

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 11:55:57AM +0100, Brian Starkey wrote: > Hi, > > On Tue, Aug 18, 2020 at 05:04:12PM +0900, Hyesoo Yu wrote: > > These patch series to introduce a new dma heap, chunk heap. > > That heap is needed for special HW that requires bulk allocation of > > fixed high order pages.

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

2020-08-18 Thread Stephen Rothwell
[drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_debugfs_exit" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_write_reg" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_map_single_no_bb" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_reset_chan" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_pm_st_worker" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_create_debugfs" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_irq_handler" [drivers/bus/mhi/core/init.ko] undefined! ERROR: modpost: "mhi_destroy_debugfs" [drivers/bus/mhi/core/init.ko] undefined! > I am not sure which commit(s) caused this. > > I have used the mhi tree from next-20200818 for today. -- Cheers, Stephen Rothwell pgpXh2kOBHDta.pgp Description: OpenPGP digital signature

Re: [PATCH net-next v2 0/7] net-next: dsa: mt7530: add support for MT7531

2020-08-18 Thread DENG Qingfang
Hi, Is port mirroring working? Port mirroring registers on MT7531 have moved, according to bpi's MT7531 reference manual. Please fix that as well.

linux-next: build failure after merge of the mhi tree

2020-08-18 Thread Stephen Rothwell
Hi all, After merging the mhi tree, today's linux-next build (x86_64 allmodconfig) failed like this: I am not sure which commit(s) caused this. I have used the mhi tree from next-20200818 for today. -- Cheers, Stephen Rothwell pgpd3gORS3Gqv.pgp Description: OpenPGP digital signature

Re: [PATCH 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-18 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-14 02:55:40) > If the hardware is still accessing memory after SMMU translation > is disabled(as part of smmu shutdown callback), then the Put a space before ( > IOVAs(I/O virtual address) which it was using will go on the bus Put a space before ( > as the

[PATCH 1/2] irqchip: irq-mst: Add MStar interrupt controller support

2020-08-18 Thread Mark-PK Tsai
Add MStar interrupt controller support using hierarchy irq domain. Signed-off-by: Mark-PK Tsai --- drivers/irqchip/Kconfig| 7 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-mst-intc.c | 195 + 3 files changed, 203 insertions(+) create

[PATCH 2/2] dt-bindings: interrupt-controller: Add MStar interrupt controller

2020-08-18 Thread Mark-PK Tsai
Add binding for MStar interrupt controller. Signed-off-by: Mark-PK Tsai --- .../interrupt-controller/mstar,mst-intc.yaml | 82 +++ 1 file changed, 82 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml diff --git

[PATCH 0/2] Add MStar interrupt controller support

2020-08-18 Thread Mark-PK Tsai
MStar contain a legacy interrupt controller that routes interrupts to the GIC. SigmaStar and Mediatek TV SoCs also have this interrupt controller IP. Mark-PK Tsai (2): irqchip: irq-mst: Add MStar interrupt controller support dt-bindings: interrupt-controller: Add MStar interrupt controller

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-08-18 Thread TimGuo-oc
> -Original Mail- > Sender : Alan Stern > Time : 2020/7/24 0:39 > Receiver : Alex Williamson > CC : Weitao Wang(BJ-RD) ; Greg KH > ; WeitaoWang-oc > ; mathias.ny...@linux.intel.com; > ulf.hans...@linaro.org; vk...@kernel.org; hsleste...@gmail.com; > linux-...@vger.kernel.org;

[PATCH] ASoC: sun8i-codec: Hook up component probe function

2020-08-18 Thread Samuel Holland
Due to a mistake made while reordering patches, commit 90cac932976e ("ASoC: sun8i-codec: Fix DAPM to match the hardware topology") added the sun8i_codec_component_probe function without referencing it from the component definition. Add the reference so the probe function gets called as expected.

Re: [PATCH 1/2] i2c: i2c-qcom-geni: Add tx_dma, rx_dma and xfer_len to geni_i2c_dev struct

2020-08-18 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-14 02:55:39) > Adding tx_dma, rx_dma and xfer length in geni_i2c_dev struct to > store DMA mapping data to enhance its scope. For example during > shutdown callback to unmap DMA mapping, these new struct members > can be used as part of geni_se_tx_dma_unprep

[PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio

2020-08-18 Thread penghao
TI024Gen3 USB-audio is controlled by TI024Gen3,when TI024Gens enter sleep mode, USB-audio will disconnect from USB bus port, wakup form s3 state Signed-off-by: penghao --- sound/usb/card.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/usb/card.c b/sound/usb/card.c index

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 8:04 PM Arvind Sankar wrote: > > On Tue, Aug 18, 2020 at 05:44:03PM -0700, Linus Torvalds wrote: > > Using -fno-tree-loop-distribute-patterns seems to really be a bit too > > incestuous with internal compiler knowledge. > > Fair enough -- you ok with just the

Re: [PATCH] mm/slub: sysfs cleanup on cpu partial when !SLUB_CPU_PARTIAL

2020-08-18 Thread Andrew Morton
On Thu, 13 Aug 2020 16:48:54 +0800 wrote: > Hide cpu partial related sysfs entries when !CONFIG_SLUB_CPU_PARTIAL to > avoid confusion. > But it changes the userspace interface in ways which might cause existing code to misbehave? We just had to revert a different commit for this reason :(

回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Zhang, Qiang
cc: Dan Williams Please review. 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月12日 16:55 收件人: dan.j.willi...@intel.com; vishal.l.ve...@intel.com; dave.ji...@intel.com; ira.we...@intel.com 抄送:

Re: [PATCH] [PATCH] hwmon/pmbus/Q54SJ108A2: new driver for Delta modules Q54SJ108A2

2020-08-18 Thread Guenter Roeck
On 8/18/20 7:21 PM, xiao.mx.ma wrote: > The driver is used for Q54SJ108A2 series. > > Signed-off-by: xiao.mx.ma <734056...@qq.com> there is a gazillion of unnecessary empty lines. Please drop all those. checkpatch --strict might help. Other comments inline. > --- > drivers/hwmon/pmbus/Kconfig

[PATCH][v2] ACPI: processor: Print more information when acpi_processor_evaluate_cst() failed

2020-08-18 Thread Chen Yu
Some platforms have bogus _CST which might cause expectd behavior in the cpu idle driver. Some bogus _CST might be unable to be disassembled by acpica-tools due to broken format. Print extra log if the _CST extraction/verification failed. This can be used to help the user narrow down why the cpu

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Wed, Aug 19, 2020 at 10:23:11AM +0800, Luck, Tony wrote: > 00019260 D pqr_state > > Do you have /sys/fs/resctrl mounted? This variable is read on every context > switch. > If your benchmark does a lot of context switching and this now shares a cache > line > with something

[PATCH] perf record: Correct the help info of option "--no-bpf-event"

2020-08-18 Thread Wei Li
The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it. Fixes: 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event") Signed-off-by: Wei Li --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC/RFT PATCH 1/6] numa: Move numa implementation to common code

2020-08-18 Thread Anshuman Khandual
On 08/15/2020 03:17 AM, Atish Patra wrote: > ARM64 numa implementation is generic enough that RISC-V can reuse that > implementation with very minor cosmetic changes. This will help both > ARM64 and RISC-V in terms of maintanace and feature improvement > > Move the numa implementation code to

Re: [PATCH v2] mm: include CMA pages in lowmem_reserve at boot

2020-08-18 Thread Andrew Morton
On Fri, 14 Aug 2020 09:49:26 -0700 Doug Berger wrote: > The lowmem_reserve arrays provide a means of applying pressure > against allocations from lower zones that were targeted at > higher zones. Its values are a function of the number of pages > managed by higher zones and are assigned by a

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Wed, Aug 19, 2020 at 10:23:11AM +0800, Luck, Tony wrote: > 00019260 D pqr_state > > Do you have /sys/fs/resctrl mounted? This variable is read on every context > switch. > If your benchmark does a lot of context switching and this now shares a cache > line > with something

Re: [PATCH] squashfs: avoid bio_alloc() failure with 1Mbyte blocks

2020-08-18 Thread Andrew Morton
On Fri, 14 Aug 2020 21:30:33 -0700 Guenter Roeck wrote: > On Fri, Aug 14, 2020 at 8:57 PM Phillip Lougher > wrote: > > > > This is a regression introduced by the "migrate from ll_rw_block usage > > to BIO" patch. > > > > Bio_alloc() is limited to 256 pages (1 Mbyte). This can cause a > >

Re: [clk] a2499eff4b: BUG:kernel_NULL_pointer_dereference,address

2020-08-18 Thread Stephen Boyd
Quoting kernel test robot (2020-08-11 01:49:44) > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: a2499eff4b30a85d56e4466e6ca4746c72a347c6 ("[PATCH v2] clk: samsung: > Keep top BPLL mux on Exynos542x enabled") > url: >

RE: [PATCH v3 5/9] dt-bindings: pinctrl: realtek: Add Realtek DHC SoC rtd1295

2020-08-18 Thread TY_Chang [張子逸]
Hi Rob, Andreas, Thanks for the review. > -Original Message- > From: Andreas Färber > Sent: Tuesday, August 18, 2020 6:12 PM > To: Rob Herring ; TY_Chang[張子逸] > > Cc: linux-realtek-...@lists.infradead.org; linux-g...@vger.kernel.org; > devicet...@vger.kernel.org;

Re: [PATCH] clk: rockchip: Fix initialization of mux_pll_src_4plls_p

2020-08-18 Thread Stephen Boyd
Quoting Nathan Chancellor (2020-08-09 21:40:20) > A new warning in Clang points out that the initialization of > mux_pll_src_4plls_p appears incorrect: > > ../drivers/clk/rockchip/clk-rk3228.c:140:58: warning: suspicious > concatenation of string literals in an array initialization; did you >

Re: [PATCH] clk: davinci: Use the correct size when allocating memory

2020-08-18 Thread Stephen Boyd
Quoting Christophe JAILLET (2020-08-09 07:49:59) > 'sizeof(*pllen)' should be used in place of 'sizeof(*pllout)' to avoid a > small over-allocation. > > Fixes: 2d1726915159 ("clk: davinci: New driver for davinci PLL clocks") > Signed-off-by: Christophe JAILLET > --- Applied to clk-fixes

[PATCH -next] drm/nouveau/nvenc: remove duplicate include

2020-08-18 Thread Wang Hai
Remove priv.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c

[PATCH] video: backlight: sky81452-backlight: Fix refcount imbalance on error

2020-08-18 Thread Dinghao Liu
When of_property_read_u32_array() returns an error code, a pairing refcount decrement is needed to keep np's refcount balanced. Fixes: f705806c9f355 ("backlight: Add support Skyworks SKY81452 backlight driver") Signed-off-by: Dinghao Liu --- drivers/video/backlight/sky81452-backlight.c | 1 +

[PATCH 1/1] sh: add support for cmpxchg on u8 and u16 pointers

2020-08-18 Thread Liam Beguin
The kernel test bot reported[1] that using set_mask_bits on a u8 causes the following issue on SuperH: >> ERROR: modpost: "__cmpxchg_called_with_bad_pointer" [drivers/phy/ti/phy-tusb1210.ko] undefined! Add support for cmpxchg on u8 and u16 pointers. [1]

Re: [PATCH v3] perf parse-events: Set exclude_guest=1 for user-space counting

2020-08-18 Thread Like Xu
Hi Arnaldo, On 2020/8/17 10:32, Jin, Yao wrote: Hi Arnaldo, On 8/14/2020 8:47 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 14, 2020 at 09:21:20AM +0800, Jin Yao escreveu: Currently if we run 'perf record -e cycles:u', exclude_guest=0. But it doesn't make sense in most cases that we

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Arvind Sankar
On Tue, Aug 18, 2020 at 05:44:03PM -0700, Linus Torvalds wrote: > On Tue, Aug 18, 2020 at 4:43 PM Arvind Sankar wrote: > > > > This by itself is insufficient for gcc if the optimization was > > explicitly enabled by CFLAGS, so also add a flag to explicitly disable > > it. > > Using

[PATCH -next] drm/nouveau/svm: remove duplicate include

2020-08-18 Thread Wang Hai
Remove nvif/if000c.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c index

Re: [PATCH v2 0/3] Build ORC fast lookup table in scripts/sorttable tool

2020-08-18 Thread changhuaixin
Hi,Ingo This patchset reverts the hacks from patchset v1. Also it includes some other fixes upon v1 as suggested. Will you please have a look at this? The previous links are: https://lore.kernel.org/lkml/20200724135531.gb648...@gmail.com/ Thanks, huaixin > On Aug 7, 2020, at 12:17 PM, Huaixin

回复: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 Joel Fernandes 发送时间: 2020年8月19日 8:04 收件人: Paul E. McKenney 抄送: Uladzislau Rezki; Zhang, Qiang; Josh Triplett; Steven Rostedt; Mathieu Desnoyers; Lai Jiangshan; rcu; LKML 主题: Re: [PATCH] rcu: shrink each

[PATCH -next] drm/mediatek: remove duplicate include

2020-08-18 Thread Wang Hai
Remove mtk_drm_ddp.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index

[tip:perf-urgent-for-linus] BUILD SUCCESS bcfd218b66790243ef303c1b35ce59f786ded225

2020-08-18 Thread kernel test robot
defconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

[PATCH bpf-next] libbpf: simplify the return expression of build_map_pin_path()

2020-08-18 Thread Xu Wang
Simplify the return expression. Signed-off-by: Xu Wang --- tools/lib/bpf/libbpf.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 5d20b2da4427..cd59e237ca96 100644 --- a/tools/lib/bpf/libbpf.c +++

[tip:auto-latest] BUILD SUCCESS d8211042f91d87737619154f17d94b73598422d8

2020-08-18 Thread kernel test robot
randconfig-a006-20200817 i386 randconfig-a004-20200817 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003

[PATCH -next] ext2: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/fiemap.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- fs/ext2/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 80662e1f7889..de6b97612410 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@

[tip:x86/cpu] BUILD SUCCESS 86109813990b5d6d6cfb8072382ee69d11ea9460

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

Re: [PATCH -next] vdpa: Remove duplicate include

2020-08-18 Thread Jason Wang
On 2020/8/18 下午7:49, YueHaibing wrote: Remove duplicate include file Signed-off-by: YueHaibing --- drivers/vhost/vdpa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 3fab94f88894..95e2b8307a2a 100644 --- a/drivers/vhost/vdpa.c +++

Re: [PATCH -next] vdpa/mlx5: Remove duplicate include

2020-08-18 Thread Jason Wang
On 2020/8/18 下午7:46, YueHaibing wrote: Remove duplicate include file Signed-off-by: YueHaibing --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c index 9df69d5efe8c..12fb83dc1de9

Re: Kernel build system broken in 5.8?

2020-08-18 Thread Masahiro Yamada
Hi. On Wed, Aug 19, 2020 at 5:50 AM Martin Burnicki wrote: > > Hello Masahiro, > > Masahiro Yamada wrote: > > On Wed, Aug 19, 2020 at 1:14 AM Martin Burnicki > > wrote: > [...] > >> I usually build the kernel module as standard user, and only install the > >> new module as root, e.g.: > >> >

[PATCH net-next] SUNRPC: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/sunrpc/auth_gss.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/sunrpc/auth_gss/trace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sunrpc/auth_gss/trace.c b/net/sunrpc/auth_gss/trace.c index d26036a57443..76685abba60f 100644

[PATCH net-next] net: ipa: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/notifier.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/ipa/ipa.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ipa/ipa.h b/drivers/net/ipa/ipa.h index 55115cfb2972..407fee841a9a 100644 ---

Re: [PATCH v1 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-08-18 Thread Shyh-In Hwang
Dear maintainers: These two patches are to expose the WBS sco packet length to the user space. Since different vendors may choose different USB alternate settings which result in different packet lengths, we need the kernel to expose the lengths to the user space to handle the packets properly.

Re: [PATCH][RFC] ACPI: processor: Print more information when acpi_processor_evaluate_cst() failed

2020-08-18 Thread Chen Yu
On Tue, Aug 18, 2020 at 12:46:12PM +0200, Rafael J. Wysocki wrote: > On Sun, Aug 16, 2020 at 5:12 PM Chen Yu wrote: > > > > Some platforms have bogus _CST which might cause expectd behavior > > in the cpu idle driver. Some bogus _CST might be unable to be > > disassembled by acpica-tools due to

[PATCH -next] bus: bt1-apb: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/clk.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/bus/bt1-apb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index b25ff941e7c7..74b1b712ef3a 100644 --- a/drivers/bus/bt1-apb.c +++

Re: [PATCH net] net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()

2020-08-18 Thread wanghai (M)
在 2020/8/19 3:54, David Miller 写道: From: Wang Hai Date: Tue, 18 Aug 2020 21:44:04 +0800 Fix the missing free_netdev() before return from gemini_ethernet_port_probe() in the error handling case. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Reported-by:

[PATCH net v2] net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()

2020-08-18 Thread Wang Hai
Replace alloc_etherdev_mq with devm_alloc_etherdev_mqs. In this way, when probe fails, netdev can be freed automatically. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Reported-by: Hulk Robot Signed-off-by: Wang Hai --- v1->v2: Make use of

Re: file metadata via fs API

2020-08-18 Thread Al Viro
On Tue, Aug 18, 2020 at 11:51:25AM -0700, Linus Torvalds wrote: > I think people who have problems parsing plain ASCII text are just > wrong. It's not that expensive. The thing that makes /proc/mounts > expensive is not the individual lines - it's that there are a lot of > them. It is

Re: [PATCH] MAINTAINERS: Add entries for CoreSight and Arm SPE

2020-08-18 Thread Leo Yan
On Tue, Aug 18, 2020 at 06:54:28PM +0100, John Garry wrote: > On 17/08/2020 20:31, Mathieu Poirier wrote: > > Add entries for perf tools elements related to the support of > > Arm CoreSight and Arm SPE. > > Thanks for doing this... > > > > > Signed-off-by: Mathieu Poirier > > --- > >

RE: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Luck, Tony
00019260 D pqr_state Do you have /sys/fs/resctrl mounted? This variable is read on every context switch. If your benchmark does a lot of context switching and this now shares a cache line with something different (especially something that is sometimes modified from another

[PATCH] irqchip/stm32-exti: avoid interrupts losing due to clearing pending bit by mistake

2020-08-18 Thread qiuguorui1
In the previous code, when the eoi handle of the exti clears the pending bit of the current interrupt, it will first read the values of fpr and rpr, then logically OR the corresponding bit of the interrupt number, and finally write back to fpr and rpr. We found through experiments that if two

Re: [RFC PATCH 08/17] gpio: Drop uses of pci_read_config_*() return value

2020-08-18 Thread Bjorn Helgaas
On Tue, Aug 18, 2020 at 09:59:50PM +0200, Bartosz Golaszewski wrote: > On Sat, Aug 1, 2020 at 2:24 PM Saheed O. Bolarinwa > wrote: > > > > The return value of pci_read_config_*() may not indicate a device error. > > However, the value read by these functions is more likely to indicate > > this

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 05:10:06PM +0100, Christoph Hellwig wrote: > On Tue, Aug 18, 2020 at 11:07:57AM +0100, Will Deacon wrote: > > > > so I'm not sure > > > > that we should be complicating the implementation like this to try to > > > > make it "fast". > > > > > > > I agree that this patch

[PATCH v2] scsi: libfc: Fix passing zero to 'PTR_ERR' warning

2020-08-18 Thread YueHaibing
drivers/scsi/libfc/fc_disc.c:304 fc_disc_error() warn: passing zero to 'PTR_ERR' fp maybe NULL in fc_disc_error(), use IS_ERR to handle this. Signed-off-by: YueHaibing --- v2: use IS_ERR in fc_disc_error() --- drivers/scsi/libfc/fc_disc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 1/4] libnvdimm: fix memmory leaks in of_pmem.c

2020-08-18 Thread Zhen Lei
The memory priv->bus_desc.provider_name allocated by kstrdup() is not freed correctly. Fixes: 49bddc73d15c ("libnvdimm/of_pmem: Provide a unique name for bus provider") Signed-off-by: Zhen Lei --- drivers/nvdimm/of_pmem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 4/4] libnvdimm/region: reduce an unnecessary if branch in nd_region_create()

2020-08-18 Thread Zhen Lei
The "else" branch can only be entered when ndr_desc->flush is NULL. After replaced "NULL" with "ndr_desc->flush", we will find that the statements in "if..else.." are the same. No functional change. Signed-off-by: Zhen Lei --- drivers/nvdimm/region_devs.c | 5 + 1 file changed, 1

[PATCH v2 3/4] libnvdimm/bus: simplify walk_to_nvdimm_bus()

2020-08-18 Thread Zhen Lei
I first want to move dev_WARN_ONCE() after "if (dev)" branch, but further I find the "if (dev)" can only be true when is_nvdimm_bus(dev) successed. No functional change. In fact, the compiler can optimize it correctly. I run "size drivers/nvdimm/bus.o" and find nothing has changed. So it's just

[PATCH v2 0/4] bugfix and optimize for drivers/nvdimm

2020-08-18 Thread Zhen Lei
v1 --> v2: 1. Add Fixes for Patch 1-2 2. Slightly change the subject and description of Patch 1 3. Add a new trivial Patch 4, I just found that yesterday. v1: I found a memleak when I learned the drivers/nvdimm code today. And I also added a sanity check for priv->bus_desc.provider_name, because

[PATCH v2 2/4] libnvdimm: add sanity check for provider_name in of_pmem_region_probe()

2020-08-18 Thread Zhen Lei
kstrdup() may return NULL because of no memory, check it. Fixes: 49bddc73d15c ("libnvdimm/of_pmem: Provide a unique name for bus provider") Signed-off-by: Zhen Lei --- drivers/nvdimm/of_pmem.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/nvdimm/of_pmem.c

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Tue, Aug 18, 2020 at 01:06:54PM -0700, Luck, Tony wrote: > On Tue, Aug 18, 2020 at 04:29:43PM +0800, Feng Tang wrote: > > Hi Borislav, > > > > On Sat, Apr 25, 2020 at 03:01:36PM +0200, Borislav Petkov wrote: > > > On Sat, Apr 25, 2020 at 07:44:14PM +0800, kernel test robot wrote: > > > >

  1   2   3   4   5   6   7   8   9   10   >