Higher slub memory consumption on 64K page-size systems?

2020-10-28 Thread Bharata B Rao
Hi, On POWER systems, where 64K PAGE_SIZE is default, I see that slub consumes higher amount of memory compared to any 4K page-size system. While slub is obviously going to consume more memory on 64K page-size systems compared to 4K as slabs are allocated in page-size granularity, I want to check

Re: [PATCH] buffer_io_error: Use dev_err_ratelimited

2020-10-28 Thread Tony Asleson
On 10/26/20 5:07 PM, Andy Shevchenko wrote: > On Mon, Oct 26, 2020 at 10:59 PM Tony Asleson wrote: >> >> Replace printk_ratelimited with dev_err_ratelimited which >> adds dev_printk meta data. This is used by journald to >> add disk ID information to the journal entry. > > >> This re-worked chan

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

2020-10-28 Thread Rob Herring
On Tue, 27 Oct 2020 16:03:06 +0800, Amireddy Mallikarjuna reddy wrote: > Add DT bindings YAML schema for DMA controller driver > of Lightning Mountain(LGM) SoC. > > Signed-off-by: Amireddy Mallikarjuna reddy > > --- > v1: > - Initial version. > > v2: > - Fix bot errors. > > v3: > - No change.

Re: [PATCH] mtd: remove unneeded break

2020-10-28 Thread Miquel Raynal
On Mon, 2020-10-19 at 19:16:31 UTC, t...@redhat.com wrote: > From: Tom Rix > > A break is not needed if it is preceded by a return > > Signed-off-by: Tom Rix > Acked-by: Richard Weinberger Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel

Re: [PATCH 2/4] PM: hibernate: improve robustness of mapping pages in the direct map

2020-10-28 Thread Edgecombe, Rick P
On Sun, 2020-10-25 at 12:15 +0200, Mike Rapoport wrote: > + if (IS_ENABLED(CONFIG_ARCH_HAS_SET_DIRECT_MAP)) { > + unsigned long addr = (unsigned > long)page_address(page); > + int ret; > + > + if (enable) > + ret = set_direct_map

Re: [PATCH v8 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 18:30:45 +0100, khol...@gmail.com wrote: > From: AngeloGioacchino Del Regno > > Add binding for the Novatek NT36xxx series touchscreen driver. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../bindings/input/touchscreen/nt36xxx.yaml | 59 +++ > 1 f

[PATCH v2 7/8] firmware: arm_scmi: make notify_priv really private

2020-10-28 Thread Cristian Marussi
Notification private data is currently accessible via handle->notify_priv; this data was indeed meant to be private to the notification core support and not to be accessible to SCMI drivers: make it private hiding it inside instance descriptor struct scmi_info. Signed-off-by: Cristian Marussi ---

[PATCH v2 4/8] firmware: arm_scmi: make notifications aware of protocol usage

2020-10-28 Thread Cristian Marussi
Account any active notifications registered notifier against the proper related protocol; do not consider pending venet handlers, only active event handlers will concur to protocol usage accounting. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/notify.c | 50 +

Re: [PATCH v2 1/1] rcu/tree: Drop the lock before entering to page allocator

2020-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2020 at 12:10:06PM +, Chris Wilson wrote: > Quoting Uladzislau Rezki (Sony) (2020-07-27 22:10:12) > > If the kernel is built with CONFIG_PROVE_RAW_LOCK_NESTING > > option, the lockedp will complain about violation of the > > nesting rules: > > > > > > [ 28.060389] ==

[PATCH v2 0/8] SCMI vendor protocols and modularization

2020-10-28 Thread Cristian Marussi
Hi all, The current SCMI implementation does not provide an interface to easily develop and include a custom vendor protocol implementation as prescribed by the SCMI standard, also because, there is not currently any custom protocol in the upstream to justify the development of a custom interface

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-sustainable bindings

2020-10-28 Thread Nishanth Menon
On 14:08-20201028, Lukasz Luba wrote: > Add opp-sustainable as an additional property in the OPP node to describe > the sustainable performance level of the device. This will help to > estimate the sustainable performance of the whole system. > > Signed-off-by: Lukasz Luba > --

Re: [PATCH] phy: qcom-qmp: Initialize another pointer to NULL

2020-10-28 Thread Vinod Koul
On 26-10-20, 13:59, Stephen Boyd wrote: > This probe function is too complicated and should be refactored. For now > let's just set this variable to NULL and keep the static analysis tools > happy. Applied, thanks -- ~Vinod

Re: [PATCH v3 15/35] PCI: vmd: Use msi_msg shadow structs

2020-10-28 Thread Kees Cook
On Sat, Oct 24, 2020 at 10:35:15PM +0100, David Woodhouse wrote: > From: Thomas Gleixner > > Use the x86 shadow structs in msi_msg instead of the macros. > > Signed-off-by: Thomas Gleixner > Signed-off-by: David Woodhouse > --- > drivers/pci/controller/vmd.c | 9 - > 1 file changed, 4

[PATCH v2 6/8] firmware: arm_scmi: port all protocols and drivers to the new API

2020-10-28 Thread Cristian Marussi
Convert core SCMI xfer operations to use protocol handles and expose them via protocol handle to the protocol code itself so that it can be used to generate at will all the related SCMI messages: using protocol handles forbids protocol code from forging messages belonging to other protocols. Port

[PATCH v2 5/8] firmware: arm_scmi: refactor events registration

2020-10-28 Thread Cristian Marussi
Refactor scmi_register_protocol_events() and move its invocation inside the centralized initialization process triggered by get_ops() and friends. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/base.c| 15 +++--- drivers/firmware/arm_scmi/common.h | 2 + drivers/firmware/arm

Re: [PATCH 00/33] ABI: add it to the documentation build system

2020-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2020 at 10:22:46AM -0600, Jonathan Corbet wrote: > On Wed, 28 Oct 2020 15:43:21 +0100 > Greg Kroah-Hartman wrote: > > > If there's no complaints, I'd like to take all of the Documentation/ABI/ > > updates in for 5.10-rc2 at the least, to make it easier to build on top > > of and t

Re: [PATCH v2] Asoc: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions

2020-10-28 Thread Mark Brown
On Tue, Oct 27, 2020 at 05:04:34PM +0530, Srinivasa Rao Mandadapu wrote: > Update SC7180 lpass_variant structure with proper I2S bitwidth > field bit positions, as bitwidth denotes 0 to 1 bits, > but previously used only 0 bit. To repeat my previous feedback: | Please submit patches using subjec

Re: linux-next: Signed-off-by missing for commit in the drm-intel-fixes tree

2020-10-28 Thread Chris Wilson
Quoting Stephen Rothwell (2020-10-28 21:28:23) > Hi all, > > Commit > > d13208a88f41 ("lockdep: Fix nr_unused_locks") > > is missing a Signed-off-by from its author. > > Also, the author's email name is missing the leading 'P'. And it shouldn't be in the drm-intel-fixes tree. -Chris

Re: [PATCH] arm64/smp: Move rcu_cpu_starting() earlier

2020-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2020 at 02:26:14PM -0400, Qian Cai wrote: > The call to rcu_cpu_starting() in secondary_start_kernel() is not early > enough in the CPU-hotplug onlining process, which results in lockdep > splats as follows: > > WARNING: suspicious RCU usage > - > ker

[gustavoars-linux:testing/uapi/ipv4] BUILD SUCCESS fcf5365d0c33dedef4d17e545bfa45099ec6c8b7

2020-10-28 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a002-20201028 i386 randconfig-a005-20201028 i386 randconfig-a003-20201028 i386 randconfig-a001

Re: [PATCH v2] mm/slub: fix panic in slab_alloc_node()

2020-10-28 Thread Christopher Lameter
On Tue, 27 Oct 2020, Laurent Dufour wrote: > The issue is that object is not NULL while page is NULL which is odd but > may happen if the cache flush happened after loading object but before > loading page. Thus checking for the page pointer is required too. Ok then lets revert commit 6159d0f5c

Re: [PATCH v2] efi/libstub: EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER should not default to yes

2020-10-28 Thread Ard Biesheuvel
On Wed, 28 Oct 2020 at 16:34, Geert Uytterhoeven wrote: > > EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER is deprecated, so it should not > be enabled by default. > > In light of commit 4da0b2b7e67524cc ("efi/libstub: Re-enable command > line initrd loading for x86"), keep the default for X86. > > Fixes:

YOUR FUND APPROVED PAYMENT OF US$27,000,000 (TWENTY SEVEN MILLION US DOLLARS THROUGH ATM CARD)

2020-10-28 Thread Central Bank of Nigeria
CENTRAL BANK REMITTANCE UNIT, CENTRAL BUSINESS DISTRICT, CADASTRAL ZONE, ABUJA, FEDERAL CAPITAL TERRITORY, CONTRACT #: MAV/NNPC/FGN/MIN/013, Swift Code: BPH KPL PK, A/C#: 329606=101244=169=678 FOREIGN REMITTANCE Our Ref: CBN/IRD/CBX/021/11 INSTRUCTION/WARNING FROM CENTRAL BANK OF NIGERIA This

Re: [PATCH V5 0/2] Change vring space from nomal memory to dma coherent memory

2020-10-28 Thread Vincent Whitchurch
On Wed, Oct 28, 2020 at 06:58:36AM +0100, Greg KH wrote: > Have you all seen: > > https://lore.kernel.org/r/8c1443136563de34699d2c084df478181c205db4.1603854416.git.sudeep.d...@intel.com No, that link doesn't work and I can't find that email from Sudeep in any of the archives: https://lore

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-28 Thread Qian Cai
> > > +__lockdep_enabled; > > > } > > > EXPORT_SYMBOL_GPL(debug_lockdep_rcu_enabled); The warnings for each arch are: == powerpc == [ 0.176044][T1] smp: Bringing up secondary CPUs ... [0.179731][T0] [0.179734][T0] =

[PATCH] coresight: Fix uninitialised pointer bug in etm_setup_aux()

2020-10-28 Thread Mike Leach
Commit [bb1860efc817] changed the sink handling code introducing an uninitialised pointer bug. This results in the default sink selection failing. Prior to commit: static void etm_setup_aux(...) struct coresight_device *sink; /* First get the selected sink from user space. */

Re: [PATCH v4 1/5] x86/boot/compressed/64: Introduce sev_status

2020-10-28 Thread Tom Lendacky
On 10/28/20 11:46 AM, Joerg Roedel wrote: > From: Joerg Roedel > > Introduce sev_status and initialize it together with sme_me_mask to have > an indicator which SEV features are enabled. > > Signed-off-by: Joerg Roedel Reviewed-by: Tom Lendacky > --- > arch/x86/boot/compressed/mem_encrypt.S

Re: [PATCH v4 2/3] net: add kcov handle to skb extensions

2020-10-28 Thread Willem de Bruijn
On Wed, Oct 28, 2020 at 2:21 PM Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > Remote KCOV coverage collection enables coverage-guided fuzzing of the > code that is not reachable during normal system call execution. It is > especially helpful for fuzzing networking subsystems, where it is

Re: [PATCH char-misc-next 1/1] misc: mic: remove the MIC drivers

2020-10-28 Thread gre...@linuxfoundation.org
On Wed, Oct 28, 2020 at 05:22:01PM +, Dutt, Sudeep wrote: > On Wed, 2020-10-28 at 06:54 +0100, Greg Kroah-Hartman wrote: > > On Tue, Oct 27, 2020 at 08:14:15PM -0700, Sudeep Dutt wrote: > > > This patch removes the MIC drivers from the kernel tree > > > since the corresponding devices have been

[PATCH v2 2/8] firmware: arm_scmi: introduce protocol handles

2020-10-28 Thread Cristian Marussi
Add basic protocol handles definitions and helpers support. All protocols initialization code and SCMI drivers probing is still performed using the handle based interface. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/common.h | 61 drivers/firmware/a

[PATCH v2 1/8] firmware: arm_scmi: review protocol registration interface

2020-10-28 Thread Cristian Marussi
Extend common protocol registration routines and provide some new generic protocols' init/deinit helpers that tracks protocols' users and automatically perform the proper initialization/de-initialization on demand. Convert all protocols to use new registration schema while modifying only Base prot

Re: [PATCH v4] zram: break the strict dependency from lzo

2020-10-28 Thread Sergey Senozhatsky
Cc-ing Andrew message-id: 20201028115921.848-1-rsalvate...@gmail.com On (20/10/28 11:59), Rui Salvaterra wrote: > There's nothing special about zram and lzo. It works just fine without it, so > as long as at least one of the other supported compression algorithms is > selected. > > Suggested-by:

答复: [PATCH] bus: mhi: core: Introduce sysfs ul chan id for mhi chan device

2020-10-28 Thread 殷张成
Hi Jeffery and Hemant: On Wednesday, October 28, 2020 6:44 AM, hemantk wrote: > On 10/27/20 8:06 AM, Jeffrey Hugo wrote: > Hi Carl, > > On 10/27/20 8:06 AM, Jeffrey Hugo wrote: > > On 10/27/2020 3:43 AM, carl@quectel.com wrote: > >> From: "carl.yin" > >> > >> User space software like ModemMa

Re: [PATCH v2] gpio: mockup: Allow probing from device tree

2020-10-28 Thread Vincent Whitchurch
On Wed, Oct 28, 2020 at 12:43:22PM +0100, Andy Shevchenko wrote: > On Wed, Oct 28, 2020 at 10:00 AM Vincent Whitchurch > wrote: > > Allow the mockup driver to be probed via the device tree without any > > module parameters, allowing it to be used to configure and test higher > > level drivers like

Re: [PATCH v11 06/14] s390/vfio-ap: introduce shadow APCB

2020-10-28 Thread Halil Pasic
On Thu, 22 Oct 2020 13:12:01 -0400 Tony Krowiak wrote: > The APCB is a field within the CRYCB that provides the AP configuration > to a KVM guest. Let's introduce a shadow copy of the KVM guest's APCB and > maintain it for the lifespan of the guest. > > Signed-off-by: Tony Krowiak > --- > driv

Re: [PATCH v7 00/12] leds: pwm: Make automatic labels work

2020-10-28 Thread Alexandre Belloni
On Mon, 5 Oct 2020 22:34:39 +0200, Alexander Dahl wrote: > Hei hei, > > for leds-gpio you can use the properties 'function' and 'color' in the > devicetree node and omit 'label', the label is constructed > automatically. This is a common feature supposed to be working for all > LED drivers. Howe

[PATCH net-next v3 2/4] net: hdlc_fr: Change the use of "dev" in fr_rx to make the code cleaner

2020-10-28 Thread Xie He
The eth_type_trans function is called when we receive frames carrying Ethernet frames. This function expects a non-NULL pointer as an argument, and assigns it directly to skb->dev. However, the code handling other types of frames first assigns a pointer to "dev", and then at the end checks whether

Re: [PATCH v3 0/3] rockchip-pinctrl fixes

2020-10-28 Thread Linus Walleij
On Wed, Oct 28, 2020 at 4:55 PM Linus Walleij wrote: > On Tue, Oct 13, 2020 at 10:22 AM Heiko Stübner wrote: > > > > Jianqun Xu (3): > > > pinctrl: rockchip: make driver be tristate module > > > pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq > > > pinctrl: rockchip: create irq

Re: [PATCH 00/33] ABI: add it to the documentation build system

2020-10-28 Thread Jonathan Corbet
On Wed, 28 Oct 2020 15:43:21 +0100 Greg Kroah-Hartman wrote: > If there's no complaints, I'd like to take all of the Documentation/ABI/ > updates in for 5.10-rc2 at the least, to make it easier to build on top > of and to keep these types of mistakes from living longer than they > should be. And

[PATCH v2 3/8] firmware: arm_scmi: introduce new protocol operations support

2020-10-28 Thread Cristian Marussi
Expose a new generic get/put protocols API based on protocol handles; provide also a devres managed version also for notifications. All SCMI drivers still keep using the old handle based interface. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/driver.c | 126 +

Re: [PATCH v4 2/5] x86/boot/compressed/64: Add CPUID sanity check to early #VC handler

2020-10-28 Thread Tom Lendacky
On 10/28/20 11:46 AM, Joerg Roedel wrote: > From: Joerg Roedel > > The early #VC handler which doesn't have a GHCB can only handle CPUID > exit codes. It is needed by the early boot code to handle #VC > exceptions raised in verify_cpu() and to get the position of the C > bit. > > But the CPUID i

Re: [PATCH 0/4] Add GCC and RPMh clock support for SDX55

2020-10-28 Thread Manivannan Sadhasivam
On Wed, Oct 28, 2020 at 01:12:28PM +0530, Manivannan Sadhasivam wrote: > Hello, > > This series adds Global Clock Controller (GCC) and RPMh clock support > for SDX55 SoC from Qualcomm with relevant DT bindings. > > This series has been tested on SDX55 MTP board. The dts patches for this > SoC/boa

[RFC PATCH] lib/test_lockup: Minimum fix to get it compiled on PREEMPT_RT

2020-10-28 Thread Sebastian Andrzej Siewior
On PREEMPT_RT the locks are quite different so they can't be tested as it is done below. The alternative is to test for the waitlock within rtmutex. This is the bare minim to get it compiled. Problems which exist on PREEMP_RT: - none of the locks (spinlock_t, rwlock_t, mutex_t, rw_semaphore) may b

RE: [EXT] Re: [PATCH V5 0/2] Change vring space from nomal memory to dma coherent memory

2020-10-28 Thread Andy Duan
From: Greg KH Sent: Wednesday, October 28, 2020 3:07 PM > On Wed, Oct 28, 2020 at 06:05:28AM +, Sherry Sun wrote: > > Hi Greg, > > > > > Subject: Re: [PATCH V5 0/2] Change vring space from nomal memory to > > > dma coherent memory > > > > > > On Wed, Oct 28, 2020 at 10:03:03AM +0800, Sherry S

Re: [PATCH RFC] blk-mq: Don't IPI requests on PREEMPT_RT

2020-10-28 Thread Peter Zijlstra
On Tue, Oct 27, 2020 at 05:23:09PM +, Christoph Hellwig wrote: > Ok. I was hoping we could hide this in core code somehow, especially > a peterz didn't like the use of smp_call_function_single_async in the > blk-mq completion code very much. It's smp_call_function_single_async() in general th

Re: [PATCH] crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback

2020-10-28 Thread Horia Geantă
On 10/28/2020 11:07 AM, Ard Biesheuvel wrote: > On Wed, 28 Oct 2020 at 10:03, Horia Geantă wrote: >> >> Loading the module deadlocks since: >> -local cbc(aes) implementation needs a fallback and >> -crypto API tries to find one but the request_module() resolves back to >> the same module >> >> Fix

Re: [PATCH] thermal: sun8i: Use bitmap API instead of open code

2020-10-28 Thread Maxime Ripard
Hi Frank, On Mon, Oct 19, 2020 at 07:58:36PM +0800, Frank Lee wrote: > From: Yangtao Li > > Thw bitmap_* API is the standard way to access data in the bitfield. > > Signed-off-by: Yangtao Li > --- > drivers/thermal/sun8i_thermal.c | 35 + > 1 file changed, 18 i

[PATCH net-next 3/4] net: hdlc_fr: Improve the initial check when we receive an skb

2020-10-28 Thread Xie He
1. Change the skb->len check from "<= 4" to "< 4". At first we only need to ensure a 4-byte header is present. We indeed normally need the 5th byte, too, but it'd be more logical and cleaner to check its existence when we actually need it. 2. Add an fh->ea2 check to the initial checks in fr_fx. fh

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-28 Thread Samuel Čavoj
Hi, On 28.10.2020 12:50, Hans de Goede wrote: > Hi, > > On 10/21/20 12:09 AM, Samuel Čavoj wrote: > > The UX360CA has a WMI device id 0x00060062, which reports whether the > > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > > > Add a quirk (quirk_asus_use_lid_flip_devid) for

[PATCH 8/8] sched: Add newlines after declarations

2020-10-28 Thread John B. Wyatt IV
Silences checkpatch warnings. Issue reported by checkpatch. Signed-off-by: John B. Wyatt IV --- kernel/sched/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 7bf20110fdf5..b38cdb54ec81 100644 --- a/kernel/sched/core.c +++ b/kernel/sche

Re: [PATCH] x86/build: Fix vmlinux size check on 64-bit

2020-10-28 Thread Arvind Sankar
On Wed, Oct 28, 2020 at 02:39:09PM +0100, Borislav Petkov wrote: > On Tue, Oct 27, 2020 at 05:14:22PM -0400, Arvind Sankar wrote: > > This is indeed just a small correctness fixlet, but I'm not following > > the rest of your comments. > > I'm just trying to make sense of that house of cards we hav

Re: [PATCH 1/1] usb: serial: option: add Quectel EC200T module support

2020-10-28 Thread Ziyi Cao
Hi Johan: `lsusb -d 2c7c:6026 -v` dump, in attachment file. Thanks. On Tue, Oct 27, 2020, at 16:43, Johan Hovold wrote: > On Tue, Oct 20, 2020 at 12:08:06AM +0800, Ziyi Cao wrote: > > Add usb product id of the Quectel EC200T module. > > > > Signed-off-by: Ziyi Cao > > --- > > For reference, c

Re: [PATCH 3/3] drm/msm: Convert to devm_pm_opp_set_supported_hw

2020-10-28 Thread Viresh Kumar
On 12-10-20, 21:55, Frank Lee wrote: > From: Yangtao Li > > Use the devm_pm_opp_set_supported_hw() to avoid memory leaks in some cases. > > Signed-off-by: Yangtao Li > Signed-off-by: Yangtao Li > --- > drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

[RFC][PATCH v3 6/6] rcu/tree: Use irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
AFAICT we only need/use irq_work_queue_on() on remote CPUs, since we can directly access local state. So avoid the IRQ_WORK dependency and use the unconditionally available irq_work_queue_remote(). This survives a number of TREE01 runs. Signed-off-by: Peter Zijlstra (Intel) --- kernel/rcu/tree

Re: [PATCH v2 1/2] sched/wait: Add add_wait_queue_priority()

2020-10-28 Thread Peter Zijlstra
On Tue, Oct 27, 2020 at 02:39:43PM +, David Woodhouse wrote: > From: David Woodhouse > > This allows an exclusive wait_queue_entry to be added at the head of the > queue, instead of the tail as normal. Thus, it gets to consume events > first without allowing non-exclusive waiters to be woken

Re: [RFC][PATCH v3 6/6] rcu/tree: Use irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 12:07:13PM +0100, Peter Zijlstra wrote: > AFAICT we only need/use irq_work_queue_on() on remote CPUs, since we > can directly access local state. So avoid the IRQ_WORK dependency and > use the unconditionally available irq_work_queue_remote(). > > This survives a number of

Re: [PATCH 4.4 000/112] 4.4.241-rc1 review

2020-10-28 Thread Pavel Machek
On Tue 2020-10-27 14:48:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.241 release. > There are 112 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. > > Respon

[PATCH] tools/perf: Remove broken __no_tail_call attribute

2020-10-28 Thread Peter Zijlstra
On Tue, Oct 27, 2020 at 04:11:27PM -0700, Nick Desaulniers wrote: > On Tue, Oct 27, 2020 at 4:04 PM Daniel Borkmann wrote: > > > > On 10/27/20 9:57 PM, Ard Biesheuvel wrote: > > > Commit 3193c0836f203 ("bpf: Disable GCC -fgcse optimization for > > > ___bpf_prog_run()") introduced a __no_fgcse macr

Re: [PATCH 4.4 000/112] 4.4.241-rc1 review

2020-10-28 Thread Guenter Roeck
On Wed, Oct 28, 2020 at 02:33:35PM -0600, Daniel Díaz wrote: > Hello! > > On Wed, 28 Oct 2020 at 13:46, Guenter Roeck wrote: > > On Wed, Oct 28, 2020 at 10:06:21AM -0700, Guenter Roeck wrote: > > > On Tue, Oct 27, 2020 at 02:48:30PM +0100, Greg Kroah-Hartman wrote: > > > > This is the start of th

Re: [PATCH v2] gpio: mockup: Allow probing from device tree

2020-10-28 Thread Andy Shevchenko
On Wed, Oct 28, 2020 at 8:41 PM Bartosz Golaszewski wrote: > On Tue, Oct 27, 2020 at 2:54 PM Vincent Whitchurch > wrote: ... > > +#include > > Please keep the includes ordered alphabetically. Besides the fact that that is a wrong header to be included. mod_devicetable.h is the correct one. (S

Re: [PATCH v1 4/5] misc: pvpanic: Combine ACPI and platform drivers

2020-10-28 Thread Arnd Bergmann
(resending from the kernel.org address because of bounces) On Tue, Oct 27, 2020 at 11:07 PM Arnd Bergmann wrote: > > On Tue, Oct 27, 2020 at 6:58 PM Andy Shevchenko > wrote: > > > static int pvpanic_mmio_probe(struct platform_device *pdev) > > { > > - base = devm_platform_ioremap_resourc

Re: [PATCH -next] phy: cpcap-usb: Use IRQF_ONESHOT

2020-10-28 Thread Vinod Koul
On 28-10-20, 16:59, Zou Wei wrote: > Fixes coccicheck error: > > ./drivers/phy/motorola/phy-cpcap-usb.c:365:9-34: ERROR: > Threaded IRQ with no primary handler requested without IRQF_ONESHOT Applied, thanks -- ~Vinod

Re: [PATCH v3 net-next] net: bridge: mcast: add support for raw L2 multicast groups

2020-10-28 Thread Nikolay Aleksandrov
On Wed, 2020-10-28 at 12:54 +0200, Vladimir Oltean wrote: > From: Nikolay Aleksandrov > > Extend the bridge multicast control and data path to configure routes > for L2 (non-IP) multicast groups. > > The uapi struct br_mdb_entry union u is extended with another variant, > mac_addr, which does no

[PATCH v4 0/4] Support ROHM BD9576MUF and BD9573MUF PMICs

2020-10-28 Thread Matti Vaittinen
Initial support for ROHM BD9576MUF and BD9573MUF PMICs. These PMICs are primarily intended to be used to power the R-Car family processors. BD9576MUF includes some additional safety features the BD9573MUF does not have. This initial version of drivers does not utilize these features and for now th

Re: [PATCH 1/4] MAINTAINERS: move Kamil Debski to credits

2020-10-28 Thread Krzysztof Kozlowski
On Fri, Oct 16, 2020 at 05:15:25PM +0200, Krzysztof Kozlowski wrote: > Kamil Debski has not been active on LKML since 2017: > https://lore.kernel.org/lkml/?q=f%3A%22Kamil+Debski%22 > > Move Kamil Debski to the CREDITS file. Thank you for the effort you put > in to the upstream Linux kernel work.

Re: [PATCH 11/11] afs: Fix dirty-region encoding on ppc32 with 64K pages

2020-10-28 Thread Matthew Wilcox
On Wed, Oct 28, 2020 at 05:05:08PM +, David Howells wrote: > Matthew Wilcox wrote: > > > > +{ > > > + if (PAGE_SIZE - 1 <= __AFS_PAGE_PRIV_MASK) > > > + return 1; > > > + else > > > + return PAGE_SIZE / (__AFS_PAGE_PRIV_MASK + 1); > > > > Could this be DIV_ROUND_UP(PAGE_SIZE,

[PATCH 1/2] arm64: Enable seccomp architecture tracking

2020-10-28 Thread Kees Cook
To enable seccomp constant action bitmaps, we need to have a static mapping to the audit architecture and system call table size. Add these for arm64. Signed-off-by: Kees Cook --- arch/arm64/include/asm/seccomp.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/inc

Re: [PATCH 05/11] afs: Fix to take ref on page when PG_private is set

2020-10-28 Thread Matthew Wilcox
On Wed, Oct 28, 2020 at 02:10:24PM +, David Howells wrote: > +++ b/fs/afs/dir.c > @@ -283,6 +283,7 @@ static struct afs_read *afs_read_dir(struct afs_vnode > *dvnode, struct key *key) > > set_page_private(req->pages[i], 1); > SetPagePrivate(req->pa

Re: [PATCH V2 1/1] nvme: Add quirk for LiteON CL1 devices running FW 220TQ,22001

2020-10-28 Thread Christoph Hellwig
On Wed, Oct 28, 2020 at 04:40:00PM +0900, Jongpil Jung wrote: > When NVMe device receive D3hot from host, NVMe firmware will do > garbage collection. While NVMe device do Garbage collection, > firmware has chance to going incorrect address. What does "going incorrect address" mean?

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-28 Thread Hans de Goede
Hi, On 10/21/20 12:09 AM, Samuel Čavoj wrote: > The UX360CA has a WMI device id 0x00060062, which reports whether the > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > Add a quirk (quirk_asus_use_lid_flip_devid) for devices on which this > WMI device should be used to figure o

Re: [PATCH v4 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature

2020-10-28 Thread Marco Elver
e wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: > https://github.com/0day-ci/linux/commits/Arpitha-Raghunandan/kunit-Support-for-Parameterized-Testing

Re: [PATCH 1/3] powerpc/uaccess: Switch __put_user_size_allowed() to __put_user_asm_goto()

2020-10-28 Thread Andreas Schwab
On Okt 28 2020, Michael Ellerman wrote: > What config and compiler are you using? gcc 4.9. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH v3] mm/oom_kill: remove comment and rename is_dump_unreclaim_slabs()

2020-10-28 Thread Andrew Morton
On Wed, 28 Oct 2020 23:31:41 +0800 Hui Su wrote: > Comment for is_dump_unreclaim_slabs is not really clear whether it is > meant to instruct how to use the function or whether it is an outdated > information of the past implementation of the function. it doesn't realy > help that is_dump_unreclai

Re: [tip: x86/seves] x86/kvm: Add KVM-specific VMMCALL handling under SEV-ES

2020-10-28 Thread Joerg Roedel
On Tue, Oct 27, 2020 at 04:14:15PM -0700, Erdem Aktas wrote: > It seems to me that the kvm_sev_es_hcall_prepare is leaking more > information than it is needed. Is this an expected behavior? What exactly is leaked? The kvm hypercall uses RAX, RBX, RCX, RDX and RSI for parameters. Regards,

linux-next: Tree for Oct 28

2020-10-28 Thread Stephen Rothwell
Hi all, Changes since 20201027: The sunxi tree lost its build failure. The amdgpu tree lost its build failure. The drm-misc tree gained a conflict against the amdgpu tree. Non-merge commits (relative to Linus' tree): 1607 1811 files changed, 316610 insertions(+), 18572 deletions(-) -

Re: [PATCH 1/5] fbdev/atafb: Remove unused extern variables

2020-10-28 Thread Thomas Zimmermann
Am 27.10.20 um 17:31 schrieb Peilin Ye: > Remove 6 unused extern variables to reduce confusion. It is worth > mentioning that lib/fonts/font_8x8.c and lib/fonts/font_8x16.c also > declare `fontdata_8x8` and `fontdata_8x16` respectively, and this file > has nothing to do with them. > > Signed-of

Re: [PATCH 11/11] afs: Fix dirty-region encoding on ppc32 with 64K pages

2020-10-28 Thread David Howells
Matthew Wilcox wrote: > > +static inline unsigned int afs_page_dirty_resolution(void) > > I've been using size_t for offsets within a struct page. I don't know > that we'll ever support pages larger than 2GB (they're completely > impractical with today's bus speeds), but I'd rather not be the o

Re: [PATCH v4 3/3] mac80211: add KCOV remote annotations to incoming frame processing

2020-10-28 Thread Johannes Berg
On Wed, 2020-10-28 at 18:20 +, Aleksandr Nogikh wrote: > From: Aleksandr Nogikh > > Add KCOV remote annotations to ieee80211_iface_work and > ieee80211_rx. This will enable coverage-guided fuzzing of > mac80211 code that processes incoming 802.11 frames. > > Signed-off-by: Aleksandr Nogikh

Re: [PATCH 3/3] blk-mq: Use llist_head for blk_cpu_done

2020-10-28 Thread Sebastian Andrzej Siewior
On 2020-10-28 14:44:53 [+], Christoph Hellwig wrote: > On Wed, Oct 28, 2020 at 03:12:51PM +0100, Sebastian Andrzej Siewior wrote: > > static int blk_softirq_cpu_dead(unsigned int cpu) > > { > > - /* > > -* If a CPU goes away, splice its entries to the current CPU > > -* and trigger

Re: Coccinelle: Checking the influence of “Grep query”

2020-10-28 Thread Julia Lawall
On Tue, 27 Oct 2020, Markus Elfring wrote: > > It doesn't matter. The purpose is just to select files that are relevent > > for consideration. If a file is selected for two reasons instead of one > > reason, it doesn't matter; it's still selected. > > The software “git grep” probably supports

Re: [PATCH v3 1/1] sched/uclamp: add SCHED_FLAG_UTIL_CLAMP_RESET flag to reset uclamp

2020-10-28 Thread Patrick Bellasi
On Wed, Oct 28, 2020 at 12:39:43 +0100, Qais Yousef wrote... > On 10/28/20 11:11, Patrick Bellasi wrote: >> >> >> >> /* >> >>* RT by default have a 100% boost value that could be modified >> >>* at runtime. >> >>*/ >> >> if (unlikely(rt

Re: [PATCH 1/5] fbdev/atafb: Remove unused extern variables

2020-10-28 Thread Geert Uytterhoeven
On Tue, Oct 27, 2020 at 6:12 PM Peilin Ye wrote: > Remove 6 unused extern variables to reduce confusion. It is worth > mentioning that lib/fonts/font_8x8.c and lib/fonts/font_8x16.c also > declare `fontdata_8x8` and `fontdata_8x16` respectively, and this file > has nothing to do with them. > > Sig

Re: [PATCH] seqlock: avoid -Wshadow warnings

2020-10-28 Thread Rasmus Villemoes
On 28/10/2020 00.34, Arnd Bergmann wrote: > On Mon, Oct 26, 2020 at 5:58 PM Peter Zijlstra wrote: >> >> On Mon, Oct 26, 2020 at 05:50:38PM +0100, Arnd Bergmann wrote: >> >>> - unsigned seq; \ >>> + unsigned __seq;

[RESEND PATCH] pinctrl: qcom: sm8250: Specify PDC map

2020-10-28 Thread Bjorn Andersson
Specify the PDC mapping for SM8250, so that gpio interrupts are propertly mapped to the wakeup IRQs of the PDC. Signed-off-by: Bjorn Andersson --- Resending this as it didn't seem to have hit the list. drivers/pinctrl/qcom/pinctrl-sm8250.c | 18 ++ 1 file changed, 18 insertions

[PATCH net-next v3 1/4] net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames

2020-10-28 Thread Xie He
When the fr_rx function drops a received frame (because the protocol type is not supported, or because the PVC virtual device that corresponds to the DLCI number and the protocol type doesn't exist), the function frees the skb and returns. The code for freeing the skb and returning is repeated sev

Re: [PATCH v3 00/21] Miscellaneous fixes for resctrl selftests

2020-10-28 Thread Shuah Khan
On 10/20/20 5:51 PM, Fenghua Yu wrote: This patch set has several miscellaneous fixes to resctrl selftest tool that are easily visible to user. V1 had fixes to CAT test and CMT test but they were dropped in V2 because having them here made the patchset humongous. So, changes to CAT test and CMT t

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-28 Thread Paul E. McKenney
return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && > > > > + __lockdep_enabled; > > > > } > > > > EXPORT_SYMBOL_GPL(debug_lockdep_rcu_enabled); > > The warnings for each arch are: > > == powerpc == > [0.176044][T1] smp:

Re: [RFC][PATCH 1/2 v2] ftrace/x86: Allow for arguments to be passed in to REGS by default

2020-10-28 Thread Steven Rostedt
On Wed, 28 Oct 2020 11:29:16 -0400 Steven Rostedt wrote: > Then kprobes could just create its own pt_regs, fill in all the data > from ftrace_regs and then fill the rest with zeros or possibly whatever > the values currently are (does it really matter what those registers > are?), including flags

Re: [PATCH 4.19 000/264] 4.19.153-rc1 review

2020-10-28 Thread Naresh Kamboju
On Tue, 27 Oct 2020 at 19:52, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.153 release. > There are 264 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. > > R

Re: [PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Mauro Carvalho Chehab
Em Wed, 28 Oct 2020 10:21:03 -0600 Jonathan Corbet escreveu: > So this is separate from the patch series itself in a way, but it brings a > question to mind: > > On Wed, 28 Oct 2020 15:23:10 +0100 > Mauro Carvalho Chehab wrote: > > > +# We can't assume that six is installed > > +PY3 = sys.vers

Re: Kernel 5.9 IOMMU groups regression/change

2020-10-28 Thread Bjorn Helgaas
[+cc Rajat, LKML] On Tue, Oct 27, 2020 at 08:31:09PM +0100, Boris V. wrote: > On 25/10/2020 20:45, Boris V. wrote: > > With upgrade to kernel 5.9 my VMs stopped working, because some devices > > can't be passed through. > > This is caused by different IOMMU groups and devices being in the same > >

Re: [RFC][PATCH 1/2 v2] ftrace/x86: Allow for arguments to be passed in to REGS by default

2020-10-28 Thread Steven Rostedt
On Wed, 28 Oct 2020 16:36:26 -0400 Steven Rostedt wrote: > Here's a proof of concept patch. It passes all the kprobe self tests in > the ftracetest suite. This is just a proof of concept, and I already > know of a couple of subtle bugs that are easy to fix. But this shows > the general idea. And

Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring

2020-10-28 Thread Arnd Bergmann
(resending from the kernel.org address after getting bounces again) On Wed, Oct 28, 2020 at 7:29 AM Sherry Sun wrote: > > Subject: Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used > > > > Both Ashutosh and I have moved on to other projects. The MIC devices have > > been discont

答复: [PATCH 3/3] mmc: rtsx: Add SD Express mode support for RTS5261

2020-10-28 Thread 冯锐
> > > > > On Mon, 26 Oct 2020 at 09:22, 冯锐 wrote: > > > > > > > > > > > + Christoph (to help us understand if PCIe/NVMe devices can be > > > > + marked > > > > + read-only) > > > > > > > > On Thu, 22 Oct 2020 at 08:04, 冯锐 wrote: > > > > > > > > > > > > > > > > > On Fri, 25 Sep 2020 at 03:57, wr

Re: [PATCH] clk: imx: gate2: Fix the is_enabled op

2020-10-28 Thread Abel Vesa
On 20-10-28 11:15:52, Sascha Hauer wrote: > On Wed, Oct 28, 2020 at 11:50:57AM +0200, Abel Vesa wrote: > > On 20-10-28 09:24:12, Sascha Hauer wrote: > > > Hi Abel, > > > > > > On Mon, Oct 26, 2020 at 08:50:48PM +0200, Abel Vesa wrote: > > > > The clock is considered to be enabled only if the contr

[PATCH 2/3] mwifiex: add allow_ps_mode module parameter

2020-10-28 Thread Tsuchiya Yuto
To make the ps_mode (power_save) control easier, this commit adds a new module parameter allow_ps_mode and set it false (disallowed) by default. When this parameter is set to false, changing the power_save mode will be disallowed like the following: $ sudo iw dev mlan0 set power_save on c

Re: [PATCH 4.19 072/264] ASoC: qcom: lpass-platform: fix memory leak

2020-10-28 Thread Pavel Machek
On Wed 2020-10-28 13:04:02, Rohit Kumar wrote: > Thanks Pavel for the review. > > On 10/28/2020 12:32 PM, Pavel Machek wrote: > >Hi! > > > >>From: Rohit kumar > >> > >>[ Upstream commit 5fd188215d4eb52703600d8986b22311099a5940 ] > >> > >>lpass_pcm_data is never freed. Free it in close > >>ops to

Re: [PATCH] x86/build: Fix vmlinux size check on 64-bit

2020-10-28 Thread Borislav Petkov
On Tue, Oct 27, 2020 at 05:14:22PM -0400, Arvind Sankar wrote: > This is indeed just a small correctness fixlet, but I'm not following > the rest of your comments. I'm just trying to make sense of that house of cards we have here. > PHYSICAL_START has an effect independent of the setting of > REL

答复: [PATCH] bus: mhi: core: Add support MHI EE FP for download firmware

2020-10-28 Thread 殷张成
Hi Hemant and Jeffery: On Wednesday, October 28, 2020 7:02 AM, hemantk wrote: > Hi Jeff, > > On 10/27/20 8:11 AM, Jeffrey Hugo wrote: > > On 10/27/2020 3:43 AM, carl@quectel.com wrote: > >> From: "carl.yin" > >> > >> MHI wwan modems support download firmware to nand or emmc by firehose > >>

Re: [RFC PATCH 1/6] tracing: introduce sleepable tracepoints

2020-10-28 Thread Alexei Starovoitov
On Tue, Oct 27, 2020 at 09:37:08AM -0400, Mathieu Desnoyers wrote: > > - On Oct 26, 2020, at 6:43 PM, Alexei Starovoitov > alexei.starovoi...@gmail.com wrote: > > > On Fri, Oct 23, 2020 at 03:53:47PM -0400, Michael Jeanson wrote: > >> -#define __DO_TRACE(tp, proto, args, cond, rcuidle)

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