[PATCH v4 4/7] regulator: add property parsing and callbacks to set protection limits

2021-04-06 Thread Matti Vaittinen
Add DT property parsing code and setting callback for regulator over/under voltage, over-current and temperature error limits. Signed-off-by: Matti Vaittinen --- No changes since RFC-v3 drivers/regulator/core.c | 122 +- drivers/regulator/of_regulator.c

[PATCH v4 5/7] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW

2021-04-06 Thread Matti Vaittinen
BD9576MUF provides over-current protection and detection. Current is measured as voltage loss over external FET. Allow specifying FET's on resistance so current monitoring limits can be converted to voltages. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd9576-regulator.yaml

Re: [PATCH 4.14 00/52] 4.14.229-rc1 review

2021-04-06 Thread Naresh Kamboju
On Mon, 5 Apr 2021 at 14:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.229 release. > There are 52 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. > > Res

[PATCH v4 6/7] regulator: bd9576: Support error reporting

2021-04-06 Thread Matti Vaittinen
BD9573 and BD9576 support set of "protection" interrupts for "fatal" issues. Those lead to SOC reset as PMIC shuts the power outputs. Thus there is no relevant IRQ handling for them. Few "detection" interrupts were added to the BD9576 with the idea that SOC could take some recovery-action before e

[PATCH] [v2] ubi: Remove unnecessary struct declaration

2021-04-06 Thread Wan Jiabing
struct ubi_wl_entry is defined at 178th line. The declaration here is unnecessary. Remove it. Reviewed-by: Tudor Ambarus Signed-off-by: Wan Jiabing --- Changelog: v2: - Add reviewer info and modify the subject line. --- drivers/mtd/ubi/ubi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/

[PATCH v4 7/7] regulator: bd9576: Fix the driver name in id table

2021-04-06 Thread Matti Vaittinen
Driver name was changed in MFD cell: https://lore.kernel.org/lkml/560b9748094392493ebf7af11b6cc558776c4fd5.1613031055.git.matti.vaitti...@fi.rohmeurope.com/ Fix the ID table to match this. Signed-off-by: Matti Vaittinen --- Please note - this patch is not really related to the series. This change

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-04-06 Thread Peter Zijlstra
On Wed, Mar 31, 2021 at 11:22:35PM +0800, Guo Ren wrote: > On Mon, Mar 29, 2021 at 8:50 PM Peter Zijlstra wrote: > > > > On Mon, Mar 29, 2021 at 08:01:41PM +0800, Guo Ren wrote: > > > u32 a = 0x55aa66bb; > > > u16 *ptr = &a; > > > > > > CPU0 CPU1 > > > = =

Re: [PATCH v4 2/8] hugetlb: no need to drop hugetlb_lock to call cma_release

2021-04-06 Thread Oscar Salvador
On Mon, Apr 05, 2021 at 04:00:37PM -0700, Mike Kravetz wrote: > Now that cma_release is non-blocking and irq safe, there is no need to > drop hugetlb_lock before calling. > > Signed-off-by: Mike Kravetz > Acked-by: Roman Gushchin > Acked-by: Michal Hocko Reviewed-by: Oscar Salvador > --- >

Re: [PATCH 1/4] fsi: occ: Don't accept response from un-initialized OCC

2021-04-06 Thread Joel Stanley
On Tue, 9 Feb 2021 at 17:12, Eddie James wrote: > > If the OCC is not initialized and responds as such, the driver > should continue waiting for a valid response until the timeout > expires. > > Signed-off-by: Eddie James Reviewed-by: Joel Stanley I guess we should add this too? Fixes: 7ed98d

RE: [PATCH v7 06/11] scsi: ufshpb: Region inactivation in host mode

2021-04-06 Thread Avri Altman
> >> > >> On 2021-04-06 13:20, Avri Altman wrote: > >> >> > -static void __ufshpb_evict_region(struct ufshpb_lu *hpb, > >> >> > - struct ufshpb_region *rgn) > >> >> > +static int __ufshpb_evict_region(struct ufshpb_lu *hpb, > >> >> > + stru

Re: [PATCH v3 3/5] RISC-V: Improve init_resources

2021-04-06 Thread Geert Uytterhoeven
Hi Nick, Thanks for your patch! On Mon, Apr 5, 2021 at 10:57 AM Nick Kossifidis wrote: > * Kernel region is always present and we know where it is, no > need to look for it inside the loop, just ignore it like the > rest of the reserved regions within system's memory. > > * Don't call memblock_f

[PATCH] gpio: gpio-it87: remove unused code

2021-04-06 Thread Jiapeng Chong
Fix the following clang warning: drivers/gpio/gpio-it87.c:128:20: warning: unused function 'superio_outw' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpio/gpio-it87.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpio/gpio-it87.c

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-04-06 Thread Danilo Krummrich
On Tue, Apr 06, 2021 at 12:30:11AM +0200, Danilo Krummrich wrote: > On Mon, Apr 05, 2021 at 09:27:44PM +0200, Andrew Lunn wrote: > > > Now, instead of encoding this information of the bus' capabilities at both > > > places, I'd propose just checking the mii_bus->capabilities field in the > > > mdio

Re: [PATCH 2/4] fsi: occ: Log error for checksum failure

2021-04-06 Thread Joel Stanley
On Tue, 9 Feb 2021 at 17:13, Eddie James wrote: > > Log an error if the response checksum doesn't match the > calculated checksum. Reviewed-by: Joel Stanley > > Signed-off-by: Eddie James > --- > drivers/fsi/fsi-occ.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff

[PATCH 0/2] stm32 usart add fifo threshold configuration

2021-04-06 Thread Erwan Le Ray
This series adds the support for two optional DT properties, to configure RX and TX FIFO thresholds: - st,rx-fifo-threshold-bytes - st,tx-fifo-threshold-bytes This replaces hard-coded 8 bytes threshold. No functional change expected if unspecified (keep 8 as default). Erwan Le Ray (1): dt-bind

Re: [PATCH] mm/vmscan.c: drop_slab_node with task's memcg

2021-04-06 Thread Michal Hocko
On Fri 02-04-21 18:38:54, Neil Sun wrote: > This patch makes shrink_slab() with task's memcg in drop_slab_node(), > so we can free reclaimable slab objects belongs to memcg /lxc/i-vbe1u8o7 > with following command: You are changing semantic of the existing user interface. This knob has never been

[PATCH 1/2] dt-bindings: serial: stm32: add fifo threshold configuration

2021-04-06 Thread Erwan Le Ray
Add two optional DT properties, to configure RX and TX fifo threshold: - st,rx-fifo-threshold-bytes - st,tx-fifo-threshold-bytes This patch depends on patch ("dt-bindings: serial: Add rx-tx-swap to stm32-usart"). Signed-off-by: Fabrice Gasnier Signed-off-by: Erwan Le Ray diff --git a/Document

[PATCH 2/2] serial: stm32: add fifo threshold configuration

2021-04-06 Thread Erwan Le Ray
From: Fabrice Gasnier Add the support for two optional DT properties, to configure RX and TX FIFO thresholds:: - st,rx-fifo-threshold-bytes - st,tx-fifo-threshold-bytes This replaces hard-coded 8 bytes threshold. Keep 8 as the default value if not specified, for backward compatibility. Signed-of

Re: [PATCH 0/4] occ: fsi and hwmon: Fixes for polling un-initialized OCC

2021-04-06 Thread Joel Stanley
On Mon, 5 Apr 2021 at 15:34, Eddie James wrote: > > On Tue, 2021-02-09 at 11:12 -0600, Eddie James wrote: > > In the event that the OCC is not initialized when the driver sends a > > poll > > command, the driver may receive an invalid response. This isn't an > > error > > condition unless there is

Re: [PATCH v3 0/4] MIPS: Remove get_fs/set_fs

2021-04-06 Thread Christoph Hellwig
Btw, there is a bunch of cleanups that would fit in nicely on top of this: - remove the unused __invoke_copy_from function - fold __get_user_check into get_user as it is the only caller - fold __get_user_nocheck into __get_user as it is the only caller - fold __put_user_check into put_user as

Re: [PATCH] riscv: keep interrupts disabled for BREAKPOINT exception

2021-04-06 Thread liaochang (A)
Hi Jisheng, 在 2021/4/2 21:32, Jisheng Zhang 写道: > On Thu, 1 Apr 2021 16:49:47 +0800 > "liaochang (A)" wrote: > >> Hi Jisheng, > > Hi, > >> >> 在 2021/3/31 22:22, Jisheng Zhang 写道: >>> On Tue, 30 Mar 2021 18:33:16 +0900 >>> Masami Hiramatsu wrote: >>> Hi Jisheng, >>> >>> Hi Masami, >>

Re: [PATCH] m68k: mvme147, mvme16x: Don't wipe PCC timer config bits

2021-04-06 Thread Geert Uytterhoeven
On Tue, Mar 30, 2021 at 9:40 AM Finn Thain wrote: > Don't clear the timer 1 configuration bits when clearing the interrupt flag > and counter overflow. As Michael reported, "This results in no timer > interrupts being delivered after the first. Initialization then hangs > in calibrate_delay as the

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2021-04-06 Thread Michal Kubecek
On Tue, Apr 06, 2021 at 10:46:29AM +0800, Yunsheng Lin wrote: > On 2021/4/6 9:49, Cong Wang wrote: > > On Sat, Apr 3, 2021 at 5:23 AM Jiri Kosina wrote: > >> > >> I am still planning to have Yunsheng Lin's (CCing) fix [1] tested in the > >> coming days. If it works, then we can consider proceeding

[PATCH] pwm: Rename pwm_get_state() to better reflect its semantic

2021-04-06 Thread Uwe Kleine-König
Given that lowlevel drivers usually cannot implement exactly what a consumer requests with pwm_apply_state() there is some rounding involved. pwm_get_state() traditionally returned the setting that was requested most recently by the consumer (opposed to what was actually implemented in hardware in

Re: [PATCH v3 00/14] bfq: introduce bfq.ioprio for cgroup

2021-04-06 Thread brookxu
Tejun Heo wrote on 2021/4/5 0:09: > Hello, Hi, tj, thanks for your reply:) > On Thu, Mar 25, 2021 at 02:57:44PM +0800, brookxu wrote: >> INTERFACE: >> >> The bfq.ioprio interface now is available for cgroup v1 and cgroup >> v2. Users can configure the ioprio for cgroup through this >> interfac

Re: [RESEND PATCH v5 1/2] bio: limit bio max size

2021-04-06 Thread Greg KH
On Tue, Apr 06, 2021 at 10:31:28AM +0900, Changheun Lee wrote: > > bio size can grow up to 4GB when muli-page bvec is enabled. > > but sometimes it would lead to inefficient behaviors. > > in case of large chunk direct I/O, - 32MB chunk read in user space - > > all pages for 32MB would be merged to

Re: [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node

2021-04-06 Thread Fabien Parent
o the 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/Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-nod

Re: [PATCH v3 13/25] x86/sgx: Add helpers to expose ECREATE and EINIT to KVM

2021-04-06 Thread Borislav Petkov
On Tue, Apr 06, 2021 at 09:44:21AM +1200, Kai Huang wrote: > The intention was to catch KVM bug, since KVM is the only caller, and in > current > implementation KVM won't call this function if @secs is not a valid userspace > pointer. But yes we can also return here, but in this case an exception

Re: [PATCH 4.9 00/35] 4.9.265-rc1 review

2021-04-06 Thread Naresh Kamboju
On Mon, 5 Apr 2021 at 14:27, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.265 release. > There are 35 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. > > Resp

Re: [syzbot] WARNING: suspicious RCU usage in copy_page_range

2021-04-06 Thread Peter Zijlstra
On Wed, Mar 31, 2021 at 11:57:23AM +0200, Dmitry Vyukov wrote: > On Wed, Mar 31, 2021 at 9:31 AM Peter Zijlstra wrote: > > > > On Wed, Mar 31, 2021 at 08:11:38AM +0200, Dmitry Vyukov wrote: > > > On Wed, Mar 31, 2021 at 12:26 AM syzbot > > > wrote: > > > > > > > > Hello, > > > > > > > > syzbot fo

Re: [PATCH v2] nfc: s3fwrn5: remove unnecessary label

2021-04-06 Thread Krzysztof Kozlowski
On 06/04/2021 03:59, samirweng1979 wrote: > From: wengjianfeng > > In function s3fwrn5_nci_post_setup, the variable ret is assigned then > goto out label, which just return ret, so we use return to replace it. > Other goto sentences are similar, we use return sentences to replace > goto sentences

Re: [RFCv1 7/7] KVM: unmap guest memory using poisoned pages

2021-04-06 Thread David Hildenbrand
On 02.04.21 17:26, Kirill A. Shutemov wrote: TDX architecture aims to provide resiliency against confidentiality and integrity attacks. Towards this goal, the TDX architecture helps enforce the enabling of memory integrity for all TD-private memory. The CPU memory controller computes the integri

Re: [PATCH 4.4 00/28] 4.4.265-rc1 review

2021-04-06 Thread Naresh Kamboju
On Mon, 5 Apr 2021 at 14:26, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.265 release. > There are 28 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. > > Resp

Re: [PATCH v6] RISC-V: enable XIP

2021-04-06 Thread Vitaly Wool
On Tue, Apr 6, 2021 at 8:47 AM Alex Ghiti wrote: > > Hi Vitaly, > > Le 4/5/21 à 4:34 AM, Vitaly Wool a écrit : > > On Sun, Apr 4, 2021 at 10:39 AM Vitaly Wool > > wrote: > >> > >> On Sat, Apr 3, 2021 at 12:00 PM Alex Ghiti wrote: > >>> > >>> Hi Vitaly, > >>> > >>> Le 4/1/21 à 7:10 AM, Alex Ghit

Re: [PATCH 2/2] mtd: spi-nor: add initial sysfs support

2021-04-06 Thread Vignesh Raghavendra
Hi, On 3/18/21 2:54 PM, Michael Walle wrote: > Add support to show the name and JEDEC identifier as well as to dump the > SFDP table. Not all flashes list their SFDP table contents in their > datasheet. So having that is useful. It might also be helpful in bug > reports from users. > Sorry for t

Re: [PATCH 3/3] hwmon: intel-m10-bmc-hwmon: add sensor support of Intel D5005 card

2021-04-06 Thread Lee Jones
On Mon, 05 Apr 2021, Guenter Roeck wrote: > On 4/5/21 4:53 PM, matthew.gerl...@linux.intel.com wrote: > > From: Matthew Gerlach > > > > Like the Intel N3000 card, the Intel D5005 has a MAX10 based > > BMC. This commit adds support for the D5005 sensors that are > > monitored by the MAX10 BMC. >

Re: [PATCH v3 3/5] RISC-V: Improve init_resources

2021-04-06 Thread Nick Kossifidis
Hello Geert, Στις 2021-04-06 10:19, Geert Uytterhoeven έγραψε: Hi Nick, Thanks for your patch! On Mon, Apr 5, 2021 at 10:57 AM Nick Kossifidis wrote: * Kernel region is always present and we know where it is, no need to look for it inside the loop, just ignore it like the rest of the reserv

Re: gemini: sl3516: Mainlining of NS 2502

2021-04-06 Thread Linus Walleij
On Mon, Apr 5, 2021 at 8:39 PM Corentin Labbe wrote: > I own an Edimax NS 2502, which is a NAS based on StormLinix 3516. > I successfully upgraded it with a recent Linux. Pretty cool! > mdio0: ethernet-phy { > compatible = "virtual,mdio-gpio"; > gpios = <

RE: [PATCH v7] USB: serial: cp210x: Add support for GPIOs on CP2108

2021-04-06 Thread Pho Tran
Hi Greg! I am grateful for your promptly reply! Yesterday, I got the response from the kernel test robot with this message: " If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot ". It's a reason why I added "Reported-by: kernel test robot " to my new Pat

linux-next: manual merge of the driver-core tree with the devicetree tree

2021-04-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the driver-core tree got a conflict in: drivers/of/property.c between commit: 3915fed92365 ("of: property: Provide missing member description and remove excess param") from the devicetree tree and commit: f7514a663016 ("of: property: fw_devlink: Add

[PATCH v2 1/1] bus: bt1-apb: Remove duplicated header file inclusion

2021-04-06 Thread Zhen Lei
Delete one of the header files that are included twice, all included header files are then rearranged alphabetically. Signed-off-by: Zhen Lei --- drivers/bus/bt1-apb.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb

[PATCH v2 0/1] bus: bt1-apb: Remove duplicated header file inclusion

2021-04-06 Thread Zhen Lei
v1 --> v2: Arrange all included header files in alphabetical order. Zhen Lei (1): bus: bt1-apb: Remove duplicated header file inclusion drivers/bus/bt1-apb.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) -- 1.8.3

Re: [GIT PULL] coresight: Add support for ETE and TRBE

2021-04-06 Thread Marc Zyngier
Hi Mathieu, On Mon, 05 Apr 2021 20:17:57 +0100, Mathieu Poirier wrote: > > The following changes since commit a354a64d91eec3e0f8ef0eed575b480fd75b999c: > > KVM: arm64: Disable guest access to trace filter controls (2021-03-24 > 17:26:38 +) > > are available in the Git repository at: >

Re: [PATCH v3 3/5] RISC-V: Improve init_resources

2021-04-06 Thread Geert Uytterhoeven
Hi Nick, On Tue, Apr 6, 2021 at 10:11 AM Nick Kossifidis wrote: > Hello Geert, > Στις 2021-04-06 10:19, Geert Uytterhoeven έγραψε: > > On Mon, Apr 5, 2021 at 10:57 AM Nick Kossifidis > > wrote: > >> * Kernel region is always present and we know where it is, no > >> need to look for it inside the

Page fault in cgroup_get_e_css

2021-04-06 Thread Oleksandr Natalenko
Hello. >From time to time I'm experiencing the following: ``` [64924.105071] BUG: unable to handle page fault for address: 04000190 [64924.105080] #PF: supervisor read access in kernel mode [64924.105083] #PF: error_code(0x) - not-present page [64924.105085] PGD 0 P4D 0 [64924.105088]

Question on KASAN calltrace record in RT

2021-04-06 Thread Zhang, Qiang
Hello everyone In RT system, after Andrew test, found the following calltrace , in KASAN, we record callstack through stack_depot_save(), in this function, may be call alloc_pages, but in RT, the spin_lock replace with rt_mutex in alloc_pages(), if before call this function, the irq is dis

[PATCH v3 0/4] KVM: cpuid: fix KVM_GET_EMULATED_CPUID implementation

2021-04-06 Thread Emanuele Giuseppe Esposito
This series aims to clarify the behavior of the KVM_GET_EMULATED_CPUID ioctl, and fix a corner case where -E2BIG is returned when the nent field of struct kvm_cpuid2 is matching the amount of emulated entries that kvm returns. Patch 1 proposes the nent field fix to cpuid.c, patch 2 updates the ioc

[PATCH v3 1/4] KVM: x86: Fix a spurious -E2BIG in KVM_GET_EMULATED_CPUID

2021-04-06 Thread Emanuele Giuseppe Esposito
When retrieving emulated CPUID entries, check for an insufficient array size if and only if KVM is actually inserting an entry. If userspace has a priori knowledge of the exact array size, KVM_GET_EMULATED_CPUID will incorrectly fail due to effectively requiring an extra, unused entry. Signed-off-

[PATCH v3 2/4] Documentation: KVM: update KVM_GET_EMULATED_CPUID ioctl description

2021-04-06 Thread Emanuele Giuseppe Esposito
KVM_GET_EMULATED_CPUID returns -E2BIG if the nent field of struct kvm_cpuid2 is smaller than the actual entries, while it adjusts nent if the provided amount is bigger than the actual amount. Update documentation accordingly. ENOMEM is just returned if the allocation fails, like all other calls.

[PATCH v3 3/4] selftests: add kvm_get_emulated_cpuid to processor.h

2021-04-06 Thread Emanuele Giuseppe Esposito
As the similar kvm_get_supported_cpuid(), kvm_get_emulated_cpuid allocates and gets a struct kvm_cpuid2 filled with emulated features. Signed-off-by: Emanuele Giuseppe Esposito --- .../selftests/kvm/include/x86_64/processor.h | 1 + .../selftests/kvm/lib/x86_64/processor.c | 33 +

[PATCH v3 4/4] selftests: KVM: extend get_cpuid_test to include KVM_GET_EMULATED_CPUID

2021-04-06 Thread Emanuele Giuseppe Esposito
Extend the get_cpuid_test.c selftest to include the KVM_GET_EMULATED_CPUID ioctl. Since the behavior and functionality is similar to KVM_GET_SUPPORTED_CPUID, we only check additionally: 1) checks for corner case in the nent field of the struct kvm_cpuid2. 2) sets and gets it as cpuid from the gues

Re: [PATCH v3 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-04-06 Thread Borislav Petkov
On Tue, Apr 06, 2021 at 09:46:34AM +1200, Kai Huang wrote: > Fine to me. Please let me know if you want me to resend patches. Thanks. Patch updated: --- From: Sean Christopherson Date: Fri, 19 Mar 2021 20:22:21 +1300 Subject: [PATCH] x86/sgx: Introduce virtual EPC for use by KVM guests Add a mi

Re: [PATCH -next] media: camss: csid: Remove redundant dev_err call in msm_csid_subdev_init()

2021-04-06 Thread Robert Foss
Hi Yang, Thanks for the fix. Reviewed-by: Robert Foss On Fri, 2 Apr 2021 at 11:29, Yang Yingliang wrote: > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by: Hulk Robot > Signed-off-by: Yang Yingli

Re: [PATCH v2 0/4] iommu/iova: Add CPU hotplug handler to flush rcaches to core code

2021-04-06 Thread John Garry
On 25/03/2021 17:53, Will Deacon wrote: On Thu, Mar 25, 2021 at 08:29:57PM +0800, John Garry wrote: The Intel IOMMU driver supports flushing the per-CPU rcaches when a CPU is offlined. Let's move it to core code, so everyone can take advantage. Also throw in a patch to stop exporting free_iova

[PATCH] KVM: X86: Count success and invalid yields

2021-04-06 Thread Wanpeng Li
From: Wanpeng Li To analyze some performance issues with lock contention and scheduling, it is nice to know when directed yield are successful or failing. Signed-off-by: Wanpeng Li --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/x86.c | 26 -- 2 f

Re: Something is leaking RCU holds from interrupt context

2021-04-06 Thread Peter Zijlstra
On Sun, Apr 04, 2021 at 11:24:57AM +0100, Matthew Wilcox wrote: > On Sat, Apr 03, 2021 at 09:15:17PM -0700, syzbot wrote: > > HEAD commit:2bb25b3a Merge tag 'mips-fixes_5.12_3' of git://git.kernel.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=1284c

Re: [PATCH v1 1/2] mfd: intel_quark_i2c_gpio: Convert I²C to use software nodes

2021-04-06 Thread Lee Jones
On Wed, 31 Mar 2021, Andy Shevchenko wrote: > The driver can provide a software node group instead of > passing legacy platform data. This will allow to drop > the legacy platform data structures along with unifying > a child device driver to use same interface for all > property providers, i.e. D

RE: [Linuxarm] Re: [PATCH net] net: hns3: Limiting the scope of vector_ring_chain variable

2021-04-06 Thread Salil Mehta
Hi Dave, Hope I am not missing something and not sure how this patchwork bot works, the patch was sent for -net repo (i.e. bug fixes branch) but it got applied to the -net-next repo. > Subject: [Linuxarm] Re: [PATCH net] net: hns3: Limiting the scope of > vector_ring_chain variable [...] > Hello

Re: [PATCH v3 3/3] input: gpio-keys: Use hrtimer for software debounce, if possible

2021-04-06 Thread Tony Lindgren
Hi, * Dmitry Torokhov [700101 02:00]: > On Sun, Mar 07, 2021 at 10:22:40PM +, Paul Cercueil wrote: > > We want to be able to report the input event as soon as the debounce > > delay elapsed. However, the current code does not really ensure that, > > as it uses the jiffies-based schedule_delay

[PATCH v4 00/12] Introduce threaded trace streaming for basic perf record operation

2021-04-06 Thread Bayduraev, Alexey V
Changes in v4: - renamed 'comm' structure to 'pipes' - moved thread fd/maps messages to verbose=2 - fixed leaks during allocation of thread_data structures - fixed leaks during allocation of thread masks - fixed possible fails when releasing thread masks v3: https://lore.kernel.org/lkml/7d197a2

[PATCH v4 01/12] perf record: introduce thread affinity and mmap masks

2021-04-06 Thread Bayduraev, Alexey V
Introduce affinity and mmap thread masks. Thread affinity mask defines cpus that a thread is allowed to run on. Thread maps mask defines mmap data buffers the thread serves to stream profiling data from. Signed-off-by: Alexey Bayduraev --- tools/perf/builtin-record.c | 117

[PATCH v4 02/12] perf record: introduce thread specific data array

2021-04-06 Thread Bayduraev, Alexey V
Introduce thread specific data object and array of such objects to store and manage thread local data. Implement functions to allocate, initialize, finalize and release thread specific data. Thread local maps and overwrite_maps arrays keep pointers to mmap buffer objects to serve according to ma

[PATCH v4 03/12] perf record: introduce thread local variable

2021-04-06 Thread Bayduraev, Alexey V
Introduce thread local variable and use it for threaded trace streaming. Use thread affinity mask instead or record affinity mask in affinity modes. Introduce and use evlist__ctlfd_update() function to propagate external control commands to global evlist object. Signed-off-by: Alexey Bayduraev

Re: [PATCH] net/Bluetooth - use the correct print format

2021-04-06 Thread Marcel Holtmann
Hi Kai, > Use the correct print format. Printing an unsigned int value should use %u > instead of %d. For details, please read document: > Documentation/core-api/printk-formats.rst > > Signed-off-by: Kai Ye > --- > net/bluetooth/l2cap_core.c | 16 > 1 file changed, 8 insertions(+

Re: [PATCH] gpio: gpio-it87: remove unused code

2021-04-06 Thread Simon Guinot
On Tue, Apr 06, 2021 at 03:20:39PM +0800, Jiapeng Chong wrote: > Fix the following clang warning: > > drivers/gpio/gpio-it87.c:128:20: warning: unused function 'superio_outw' > [-Wunused-function]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Acked-by: Simon Guinot > --- > dr

Re: [PATCH 1/2] thermal: power_allocator: maintain the device statistics from going stale

2021-04-06 Thread Lukasz Luba
On 4/2/21 4:54 PM, Daniel Lezcano wrote: On 31/03/2021 18:33, Lukasz Luba wrote: When the temperature is below the first activation trip point the cooling devices are not checked, so they cannot maintain fresh statistics. It leads into the situation, when temperature crosses first trip point,

Re: [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes

2021-04-06 Thread Yong Wu
On Mon, 2021-04-05 at 22:08 +0200, Fabien Parent wrote: > Add larb nodes for MT8167: > * larb0 is used for display (dsi and hdmi) > * larb1 is used for camera (csi) > * larb2 is used for the video hardware decoder > > Signed-off-by: Fabien Parent > --- > arch/arm64/boot/dts/mediatek/mt8167.dtsi

Re: [PATCH 0/2] Bluetooth: Avoid centralized adv handle tracking for extended features

2021-04-06 Thread Marcel Holtmann
Hi Daniel, > This series addresses a race condition where an advertisement > registration can conflict with a software rotation advertisement > refresh. I found that this issue was only occurring with the new > extended MGMT advertising interface. A bad use of the > hdev->cur_adv_instance caused e

[PATCH v4 04/12] perf record: stop threads in the end of trace streaming

2021-04-06 Thread Bayduraev, Alexey V
Signal thread to terminate by closing write fd of msg pipe. Receive THREAD_MSG__READY message as the confirmation of the thread's termination. Stop threads created for parallel trace streaming prior their stats processing. Signed-off-by: Alexey Bayduraev --- tools/perf/builtin-record.c | 30 ++

[PATCH 0/4] staging: rtl8712: clean up coding style issues

2021-04-06 Thread Zhansaya Bagdauletkyzy
To fix style issues, this patchset removes blank lines, adds and removes spaces, and matches paretheses alignment. Zhansaya Bagdauletkyzy (4): staging: rtl8712: add spaces around operators staging: rtl8712: match parentheses alignment staging: rtl8712: remove extra blank lines staging: rtl

[PATCH 1/4] staging: rtl8712: add spaces around operators

2021-04-06 Thread Zhansaya Bagdauletkyzy
Add spaces around operators to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- drivers/staging/rtl8712/rtl871x_security.h| 4 ++-- drivers/staging/rtl8712/rtl871x_xmit.h|

[PATCH 3/4] staging: rtl8712: remove extra blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/stagin

[PATCH 4/4] staging: rtl8712: Remove spaces after a cast

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra spaces after a cast to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_security.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x

[PATCH 2/4] staging: rtl8712: match parentheses alignment

2021-04-06 Thread Zhansaya Bagdauletkyzy
Match next line with open parentheses by adding tabs/spaces to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_recv.c | 22 +++--- drivers/staging/rtl8712/rtl871x_xmit.h | 2 +- drivers/sta

[PATCH v4 05/12] perf record: start threads in the beginning of trace streaming

2021-04-06 Thread Bayduraev, Alexey V
Start thread in detached state because its management is implemented via messaging to avoid any scaling issues. Block signals prior thread start so only main tool thread would be notified on external async signals during data collection. Thread affinity mask is used to assign eligible cpus for th

Re: [PATCH v4] gpio: mpc8xxx: Add ACPI support

2021-04-06 Thread Andy Shevchenko
On Mon, Mar 22, 2021 at 5:31 AM Ran Wang wrote: > > Current implementation only supports DT, now add ACPI support. FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Ran Wang > --- > Change in v4: > - Update error print for gpiochip_add_data() to fix wrong info. in ACPI case. > - Update err

[PATCH v4 06/12] perf record: introduce data file at mmap buffer object

2021-04-06 Thread Bayduraev, Alexey V
Introduce data file and compressor objects into mmap object so they could be used to process and store data stream from the corresponding kernel data buffer. Introduce bytes_transferred and bytes_compressed stats so they would capture statistics for the related data buffer transfers. Make use of

Re: [PATCH] media: usb: Remove duplicate declares

2021-04-06 Thread Hans Verkuil
Please specify in the subject line which driver this patch changes. I also would prefer that this is split into two patches, one for each driver. Just saying 'media: usb:' makes it look like you have a media/usb subsystem patch, but that's not the case. Very confusing for code reviewers. Regard

Re: [PATCH 2/2] mtd: spi-nor: add initial sysfs support

2021-04-06 Thread Michael Walle
Hi, Am 2021-04-06 09:56, schrieb Vignesh Raghavendra: Hi, On 3/18/21 2:54 PM, Michael Walle wrote: Add support to show the name and JEDEC identifier as well as to dump the SFDP table. Not all flashes list their SFDP table contents in their datasheet. So having that is useful. It might also be

[PATCH v4 07/12] perf record: init data file at mmap buffer object

2021-04-06 Thread Bayduraev, Alexey V
Initialize data files located at mmap buffer objects so trace data can be written into several data file located at data directory. Signed-off-by: Alexey Bayduraev --- tools/perf/builtin-record.c | 41 ++--- tools/perf/util/record.h| 1 + 2 files changed, 3

linux-next: manual merge of the tty tree with the net-next tree

2021-04-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tty tree got a conflict in: net/nfc/nci/uart.c between commit: d3295869c40c ("net: nfc: Fix spelling errors in net/nfc module") from the net-next tree and commit: c2a5a45c0276 ("net: nfc: nci: drop nci_uart_ops::recv_buf") from the tty tree. I f

[PATCH v4 08/12] perf record: introduce --threads= command line option

2021-04-06 Thread Bayduraev, Alexey V
Provide --threads option in perf record command line interface. The option can have a value in the form of masks that specify cpus to be monitored with data streaming threads and its layout in system topology. The masks can be filtered using cpu mask provided via -C option. The specification val

Re: [PATCH net-next v5] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-04-06 Thread Xie He
On Mon, Apr 5, 2021 at 11:17 PM Martin Schiller wrote: > > Acked-by: Martin Schiller > > Just for the record: I'm certainly not always the fastest, > but I don't work holidays or weekends. So you also need to have some > patience. Oh. Thank you! Sorry, I didn't know there was a holiday in German

Re: [PATCH] parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers

2021-04-06 Thread Rolf Eike Beer
Am Dienstag, 6. April 2021, 06:59:29 CEST schrieb Gao Xiang: > From: Gao Xiang > > commit b344d6a83d01 ("parisc: add support for cmpxchg on u8 pointers") > can generate a sparse warningi ("cast truncates bits from constant ^ > value"), which has been reported severa

[PATCH v4 09/12] perf record: document parallel data streaming mode

2021-04-06 Thread Bayduraev, Alexey V
Document --threads option syntax and parallel data streaming modes in Documentation/perf-record.txt. Implement compatibility checks for other modes and related command line options: asynchronous(--aio) trace streaming and affinity (--affinity) modes, pipe mode, AUX area tracing --snapshot and --a

[PATCH -next] dmaengine: at_xdmac: Remove unused inline function at_xdmac_csize()

2021-04-06 Thread YueHaibing
765c37d87669 ("dmaengine: at_xdmac: rework slave configuration part") left behind this, so can remove it. Signed-off-by: YueHaibing --- drivers/dma/at_xdmac.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c index fe45ad5d06c4..64a52

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-04-06 Thread Stafford Horne
On Wed, Mar 31, 2021 at 11:10:53PM +0800, Guo Ren wrote: > Hi Stafford, > > How do think add ARCH_USE_QUEUED_SPINLOCKS_XCHG32 in openrisc? > > https://lore.kernel.org/linux-riscv/1617201040-83905-7-git-send-email-guo...@kernel.org/T/#u Sorry I missed your mail here. It is true that OpenRISC doe

[PATCH v4 10/12] perf report: output data file name in raw trace dump

2021-04-06 Thread Bayduraev, Alexey V
Print path and name of a data file into raw dump (-D) @. Print offset of PERF_RECORD_COMPRESSED record instead of zero for decompressed records: 0x22...@perf.data [0x30]: event: 9 or 0x15c...@perf.data/data.7 [0x30]: event: 9 Acked-by: Namhyung Kim Signed-off-by: Alexey Bayduraev --- tool

Re: [PATCH 00/11] Rid W=1 warnings from Block

2021-04-06 Thread Lee Jones
On Tue, 30 Mar 2021, Lee Jones wrote: > On Fri, 12 Mar 2021, Lee Jones wrote: > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > Lee Jones (11): > > block: rsxx: core: Remov

[PATCH v4 11/12] perf session: load data directory files for analysis

2021-04-06 Thread Bayduraev, Alexey V
Introduce decompressor into trace reader object so that decompression could be executed on per data file basis separately for every data file located in data directory. Load data directory files and provide basic raw dump and aggregated analysis support of data directories in report mode, still

[PATCH v4 12/12] perf session: use reader functions to load perf data file

2021-04-06 Thread Bayduraev, Alexey V
Use the reader functions to load data file similar to loading of data directory files. Signed-off-by: Alexey Bayduraev --- tools/perf/util/session.c | 215 -- 1 file changed, 66 insertions(+), 149 deletions(-) diff --git a/tools/perf/util/session.c b/tools/

Re: [RESEND 00/25] Rid W=1 warnings from HID

2021-04-06 Thread Lee Jones
On Fri, 26 Mar 2021, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > Lee Jones (25): > HID: intel-ish-hid: Remove unused variable 'err' > HID: ishtp-hid-client: Mov

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-04-06 Thread Stafford Horne
On Tue, Apr 06, 2021 at 11:50:38AM +0800, Guo Ren wrote: > On Wed, Mar 31, 2021 at 3:23 PM Arnd Bergmann wrote: > > > > On Wed, Mar 31, 2021 at 12:35 AM Stafford Horne wrote: > > > > > > I just want to chime in here, there may be a better spot in the thread to > > > mention this but, for OpenRISC

RE: [tip: x86/core] x86/retpoline: Simplify retpolines

2021-04-06 Thread David Laight
From: tip-b...@linutronix.de > Sent: 03 April 2021 12:11 ... > Notice that since the longest alternative sequence is now: > >0: e8 07 00 00 00 callq c <.altinstr_replacement+0xc> >5: f3 90 pause >7: 0f ae e8lfence >a: eb f9

Re: [PATCH v6 6/9] openrisc: qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-04-06 Thread Stafford Horne
On Wed, Mar 31, 2021 at 02:30:37PM +, guo...@kernel.org wrote: > From: Guo Ren > > We don't have native hw xchg16 instruction, so let qspinlock > generic code to deal with it. > > Using the full-word atomic xchg instructions implement xchg16 has > the semantic risk for atomic operations. >

[PATCH] cx231xx/cx231xx.h: Remove repeated struct declaration

2021-04-06 Thread Wan Jiabing
struct cx231xx is declared at 146th line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing --- drivers/media/usb/cx231xx/cx231xx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/usb/cx231xx/cx231xx.h b/drivers/media/usb/cx231xx/cx231xx.h index b32ea

[PATCH] em28xx/em28xx.h: Remove duplicate struct declaration

2021-04-06 Thread Wan Jiabing
struct em28xx is declared at 219th line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing --- drivers/media/usb/em28xx/em28xx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h index 6648e11f1271

[PATCHv4 0/6] PCI: layerscape: Add power management support

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang This patch series is to add PCIe power management support for NXP Layerscape platforms. Hou Zhiqiang (6): PCI: layerscape: Change to use the DWC common link-up check function dt-bindings: pci: layerscape-pci: Add a optional property big-endian arm64: dts: layerscape: Add

[PATCHv4 1/6] PCI: layerscape: Change to use the DWC common link-up check function

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The current Layerscape PCIe driver directly uses the physical layer LTSSM code to check the link-up state, which treats the > L0 states as link-up. This is not correct, since there is not explicit map between link-up state and LTSSM. So this patch changes to use the DWC common

[PATCHv4 2/6] dt-bindings: pci: layerscape-pci: Add a optional property big-endian

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang This property is to indicate the endianness when accessing the PEX_LUT and PF register block, so if these registers are implemented in big-endian, specify this property. Signed-off-by: Hou Zhiqiang Acked-by: Rob Herring --- V4: - Rebased against the latest code base Docum

  1   2   3   4   5   6   7   8   9   10   >