[PATCH v5 3/5] remoteproc: qcom: Update PIL relocation info on load

2020-05-12 Thread Bjorn Andersson
Update the PIL relocation information in IMEM with information about where the firmware for various remoteprocs are loaded. Signed-off-by: Bjorn Andersson --- Changes since v4: - Dropped unnecessary comment about ignoring return value. drivers/remoteproc/Kconfig | 3 +++

[PATCH v5 4/5] arm64: dts: qcom: qcs404: Add IMEM and PIL info region

2020-05-12 Thread Bjorn Andersson
Add a simple-mfd representing IMEM on QCS404 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Reviewed-by: Stephen Boyd Signed-off-by: Bjorn Andersson --- Changes since v4: - imem is no longer compatible with "syscon"

[PATCH v5 5/5] arm64: dts: qcom: sdm845: Add IMEM and PIL info region

2020-05-12 Thread Bjorn Andersson
Add a simple-mfd representing IMEM on SDM845 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Reviewed-by: Stephen Boyd Signed-off-by: Bjorn Andersson --- Changes since v4: - imem is no longer compatible with "syscon"

[PATCH v5 1/5] dt-bindings: remoteproc: Add Qualcomm PIL info binding

2020-05-12 Thread Bjorn Andersson
Add a devicetree binding for the Qualcomm peripheral image loader relocation information region found in the IMEM. Reviewed-by: Stephen Boyd Signed-off-by: Bjorn Andersson --- Changes since v4: - Fixed reg in example to make it compile .../bindings/remoteproc/qcom,pil-info.yaml| 44

Re: [PATCH V2] ifcvf: move IRQ request/free to status change handlers

2020-05-12 Thread Jason Wang
On 2020/5/13 下午12:42, Zhu, Lingshan wrote: On 5/13/2020 12:12 PM, Jason Wang wrote: On 2020/5/12 下午4:00, Zhu Lingshan wrote: This commit move IRQ request and free operations from probe() to VIRTIO status change handler to comply with VIRTIO spec. VIRTIO spec 1.1, section 2.1.2 Device

[PATCH v5 2/5] remoteproc: qcom: Introduce helper to store pil info in IMEM

2020-05-12 Thread Bjorn Andersson
A region in IMEM is used to communicate load addresses of remoteproc to post mortem debug tools. Implement a helper function that can be used to store this information in order to enable these tools to process collected ramdumps. Signed-off-by: Bjorn Andersson --- Changes since v4: - Replaced

[PATCH v5 0/5] remoteproc: qcom: PIL info support

2020-05-12 Thread Bjorn Andersson
Introduce support for filling out the relocation information in IMEM, to aid post mortem debug tools to locate the various remoteprocs. Bjorn Andersson (5): dt-bindings: remoteproc: Add Qualcomm PIL info binding remoteproc: qcom: Introduce helper to store pil info in IMEM remoteproc: qcom:

Re: [PATCH 2/2] clk: qcom: gcc: Add missing UFS clocks for SM8150

2020-05-12 Thread Vinod Koul
On 12-05-20, 18:25, Stephen Boyd wrote: > Quoting Vinod Koul (2020-04-26 21:55:34) > > On 25-04-20, 12:11, Stephen Boyd wrote: > > > Quoting Vinod Koul (2020-04-23 21:43:11) > > > > Add the missing ufs card and ufs phy clocks for SM8150. They were missed > > > > in earlier addition of clock

Re: [PATCH v2 2/2] fs: avoid fdput() after failed fdget() in kernel_read_file_from_fd()

2020-05-12 Thread Al Viro
On Tue, May 12, 2020 at 01:43:05PM -0600, Shuah Khan wrote: > Fix kernel_read_file_from_fd() to avoid fdput() after a failed fdget(). > fdput() doesn't do fput() on this file since FDPUT_FPUT isn't set > in fd.flags. Fix it anyway since failed fdget() doesn't require > a fdput(). > > This was

Re: [PATCH v2 1/2] fs: avoid fdput() after failed fdget() in ksys_sync_file_range()

2020-05-12 Thread Al Viro
On Tue, May 12, 2020 at 01:43:04PM -0600, Shuah Khan wrote: > @@ -364,15 +364,15 @@ int sync_file_range(struct file *file, loff_t offset, > loff_t nbytes, > int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, >unsigned int flags) > { > - int ret; > -

[PATCH 0/9] Enable ext4 support for per-file/directory DAX operations

2020-05-12 Thread ira . weiny
From: Ira Weiny Enable the same per file DAX support in ext4 as was done for xfs. This series builds and depends on the V11 series for xfs.[1] This passes the same xfstests test as XFS. The only issue is that this modifies the old mount option parsing code rather than waiting for the new

[PATCH 5/9] fs/ext4: Update ext4_should_use_dax()

2020-05-12 Thread ira . weiny
From: Ira Weiny S_DAX should only be enabled when the underlying block device supports dax. Change ext4_should_use_dax() to check for device support prior to the over riding mount option. While we are at it change the function to ext4_should_enable_dax() as this better reflects the ask as well

[PATCH 9/9] Documentation/dax: Update DAX enablement for ext4

2020-05-12 Thread ira . weiny
From: Ira Weiny Update the document to reflect ext4 and xfs now behave the same. Signed-off-by: Ira Weiny --- Changes from RFC: Update with ext2 text... --- Documentation/filesystems/dax.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 8/9] fs/ext4: Introduce DAX inode flag

2020-05-12 Thread ira . weiny
From: Ira Weiny Add a flag to preserve FS_XFLAG_DAX in the ext4 inode. Set the flag to be user visible and changeable. Set the flag to be inherited. Allow applications to change the flag at any time. Finally, on regular files, flag the inode to not be cached to facilitate changing S_DAX on

[PATCH 3/9] fs/ext4: Disallow encryption if inode is DAX

2020-05-12 Thread ira . weiny
From: Ira Weiny Encryption and DAX are incompatible. Changing the DAX mode due to a change in Encryption mode is wrong without a corresponding address_space_operations update. Make the 2 options mutually exclusive by returning an error if DAX was set first. Furthermore, clarify the

[PATCH 4/9] fs/ext4: Change EXT4_MOUNT_DAX to EXT4_MOUNT_DAX_ALWAYS

2020-05-12 Thread ira . weiny
From: Ira Weiny In prep for the new tri-state mount option which then introduces EXT4_MOUNT_DAX_NEVER. Signed-off-by: Ira Weiny --- Changes: New patch --- fs/ext4/ext4.h | 4 ++-- fs/ext4/inode.c | 2 +- fs/ext4/super.c | 12 ++-- 3 files changed, 9 insertions(+), 9

[PATCH 1/9] fs/ext4: Narrow scope of DAX check in setflags

2020-05-12 Thread ira . weiny
From: Ira Weiny When preventing DAX and journaling on an inode. Use the effective DAX check rather than the mount option. This will be required to support per inode DAX flags. Reviewed-by: Jan Kara Signed-off-by: Ira Weiny --- fs/ext4/ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 2/9] fs/ext4: Disallow verity if inode is DAX

2020-05-12 Thread ira . weiny
From: Ira Weiny Verity and DAX are incompatible. Changing the DAX mode due to a verity flag change is wrong without a corresponding address_space_operations update. Make the 2 options mutually exclusive by returning an error if DAX was set first. (Setting DAX is already disabled if Verity is

[PATCH 6/9] fs/ext4: Only change S_DAX on inode load

2020-05-12 Thread ira . weiny
From: Ira Weiny To prevent complications with in memory inodes we only set S_DAX on inode load. FS_XFLAG_DAX can be changed at any time and S_DAX will change after inode eviction and reload. Add init bool to ext4_set_inode_flags() to indicate if the inode is being newly initialized. Assert

[PATCH 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-12 Thread ira . weiny
From: Ira Weiny We add 'always', 'never', and 'inode' (default). '-o dax' continue to operate the same. Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set it and EXT4_MOUNT_DAX_ALWAYS appropriately. We also force EXT4_MOUNT2_DAX_NEVER if !CONFIG_FS_DAX.

Re: [PATCH 3/4] dt-bindings: i2c-stm32: add SMBus Alert bindings

2020-05-12 Thread Alain Volmat
Hello Rob, On Wed, May 13, 2020 at 02:19:32AM +, Rob Herring wrote: > On Tue, May 05, 2020 at 07:51:10AM +0200, Alain Volmat wrote: > > Add a new binding of the i2c-stm32f7 driver to enable the handling > > of the SMBUS-Alert > > > > Signed-off-by: Alain Volmat > > --- > >

[PATCH] dt-bindings: watchdog: Convert UniPhier watchdog timer to json-schema

2020-05-12 Thread Kunihiko Hayashi
Convert UniPhier watchdog timer binding to DT schema format. Cc: Keiji Hayashibara Signed-off-by: Kunihiko Hayashi --- .../bindings/watchdog/socionext,uniphier-wdt.yaml | 36 ++ .../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 2 files changed, 36

[PATCH] ASoC: wm8962: Use force clear for WM8962_SYSCLK_ENA after reset

2020-05-12 Thread Shengjiu Wang
When CLOCKING2 is non-volatile register, we need force clear the WM8962_SYSCLK_ENA bit after reset, for the value in cache maybe 0 but in hardware it is 1. Otherwise there will issue as below statement in driver. /* SYSCLK defaults to on; make sure it is off so we can safely * write to registers

Re: [RFC PATCH v2 1/3] printk: Add function to set console to preferred console's driver

2020-05-12 Thread Sergey Senozhatsky
On (20/04/30 19:14), Alper Nebi Yasak wrote: [..] > +int update_console_to_preferred(void) > +{ > + struct console_cmdline *c = NULL; > + struct console *con = NULL; > + struct console *tmp = NULL; > + > + if (preferred_console >= 0) > + c = _cmdline[preferred_console];

Re: [PATCH net-next 1/4] net: ethernet: validate pause autoneg setting

2020-05-12 Thread Russell King - ARM Linux admin
On Tue, May 12, 2020 at 08:48:22PM -0700, Doug Berger wrote: > On 5/12/2020 11:55 AM, Russell King - ARM Linux admin wrote: > > On Tue, May 12, 2020 at 11:31:39AM -0700, Doug Berger wrote: > >> This was intended as a fix, but I thought it would be better to keep it > >> as part of this set for

Re: [PATCH net 2/2 RESEND] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-12 Thread Madhuparna Bhowmik
On Tue, May 12, 2020 at 09:32:31AM -0700, Jakub Kicinski wrote: > On Tue, 12 May 2020 10:47:05 +0530 Madhuparna Bhowmik wrote: > > > > #ifdef CONFIG_IP_MROUTE_MULTIPLE_TABLES > > > > -#define ipmr_for_each_table(mrt, net) \ > > > > - list_for_each_entry_rcu(mrt, >ipv4.mr_tables, list, \ > >

Re: [RFC 1/1] Weighted approach to gather and use history in TEO governor

2020-05-12 Thread Pratik Sampat
Thanks for your comment. On 12/05/20 11:07 pm, Peter Zijlstra wrote: Just a quick note.. On Mon, May 11, 2020 at 07:40:55PM +0530, Pratik Rajesh Sampat wrote: + /* +* Rearrange the weight distribution of the state, increase the weight +* by the LEARNING RATE % for the

Re: [PATCH 1/1] powerpc/rtas: Implement reentrant rtas call

2020-05-12 Thread Leonardo Bras
v2: http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20200513044025.105379-2-leobra...@gmail.com/ (Series: http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=176534) signature.asc Description: This is a digitally signed message part

Re: [PATCH v2 1/1] powerpc/crash: Use NMI context for printk when starting to crash

2020-05-12 Thread Leonardo Bras
Hello Nick, thanks for your feedback. Comments inline: On Wed, 2020-05-13 at 14:36 +1000, Nicholas Piggin wrote: > Excerpts from Leonardo Bras's message of May 13, 2020 7:45 am: > > Currently, if printk lock (logbuf_lock) is held by other thread during > > crash, there is a chance of deadlocking

[PATCH V4 2/4] rpmsg: glink: Add support to handle signals command

2020-05-12 Thread Arun Kumar Neelakantam
Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam ---

[RESEND PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices

2020-05-12 Thread Arun Kumar Neelakantam
Glink transport support signals to exchange state notification between local and remote side clients. Adding support to send/receive the signal command and notify the clients through callback and POLL notification. Changes since v3: - Correct the TICOMGET case handling as per new

[PATCH V4 4/4] rpmsg: char: Add signal callback and POLLPRI support

2020-05-12 Thread Arun Kumar Neelakantam
Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH V4 1/4] rpmsg: core: Add signal API support

2020-05-12 Thread Arun Kumar Neelakantam
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_core.c | 41 +

[PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2020-05-12 Thread Arun Kumar Neelakantam
Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 53 +++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git

[PATCH V5 0/5] Add chrdev and name query support for GLINK

2020-05-12 Thread Arun Kumar Neelakantam
Add support for the GLINK rpmsg transport to register a rpmsg chrdev. This will create the rpmsg_ctrl nodes for userspace clients to open rpmsg epts. The rpmsg chrdev allocation is done by allocating a local channel which also allocates an ept. We need to add some guards against edge cases for

[PATCH V5 2/5] rpmsg: Guard against null endpoint ops in destroy

2020-05-12 Thread Arun Kumar Neelakantam
From: Chris Lew In RPMSG GLINK the chrdev device will allocate an ept as part of the rpdev creation. This device will not register endpoint ops even though it has an allocated ept. Protect against the case where the device is being destroyed. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar

[PATCH V5 3/5] rpmsg: glink: Add support for rpmsg glink chrdev

2020-05-12 Thread Arun Kumar Neelakantam
From: Chris Lew RPMSG provides a char device interface to userspace. Probe the rpmsg chrdev channel to enable the rpmsg_ctrl device creation on glink transports. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 40

[PATCH V5 1/5] rpmsg: glink: Use complete_all for open states

2020-05-12 Thread Arun Kumar Neelakantam
From: Chris Lew The open_req and open_ack completion variables are the state variables to represet a remote channel as open. Use complete_all so there are no races with waiters and using completion_done. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam ---

[PATCH V5 4/5] rpmsg: glink: Expose rpmsg name attr for glink

2020-05-12 Thread Arun Kumar Neelakantam
From: Chris Lew Expose the name field as an attr so clients listening to uevents for rpmsg can identify the edge the events correspond to. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 26 ++ 1 file changed, 26

[PATCH V5 5/5] rpmsg: glink: unregister rpmsg device during endpoint destroy

2020-05-12 Thread Arun Kumar Neelakantam
Rpmsg device unregister is not happening if channel close is triggered from local side and causing re-registration of device failures. Unregister rpmsg device for local close in endpoint destroy path. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/qcom_glink_native.c | 9 + 1

Re: [PATCH v7 07/18] printk: Introduce kmsg_dump_reason_str()

2020-05-12 Thread Sergey Senozhatsky
On (20/05/10 13:24), Kees Cook wrote: > The pstore subsystem already had a private version of this function. > With the coming addition of the pstore/zone driver, this needs to be > shared. As it really should live with printk, move it there instead. Acked-by: Sergey Senozhatsky -ss

Re: [PATCH v11 33/56] Input: atmel_mxt_ts - delay enabling IRQ when not using regulators

2020-05-12 Thread Wang, Jiada
Hello Dmitry On 2020/05/12 8:13, Dmitry Osipenko wrote: 11.05.2020 05:05, Wang, Jiada пишет: Hello Dmitry Thanks for your comment and test, can you let me know which platform (board) you are using for test, and DTS changes if you have added any. That's this device-tree [1] without any

Re: [PATCH RFC tip/core/rcu] Add shrinker to shift to fast/inefficient GP mode

2020-05-12 Thread Dave Chinner
On Tue, May 12, 2020 at 08:18:26PM -0700, Paul E. McKenney wrote: > On Wed, May 13, 2020 at 11:32:38AM +1000, Dave Chinner wrote: > > On Sat, May 09, 2020 at 09:09:00AM -0700, Paul E. McKenney wrote: > > > On Sat, May 09, 2020 at 11:54:40AM +0300, Konstantin Khlebnikov wrote: > > > > On 08/05/2020

Re: net/sonic: Software evolution around the application of coding standards

2020-05-12 Thread Markus Elfring
> When the people who write and review the coding standards are the same > people who write and review the code, the standards devolve (given the > prevailing incentives). A coding style is applied also for Linux software. This coding style supports some alternatives for implementation details.

Re: [PATCH v2 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected

2020-05-12 Thread Hsin-Yi Wang
On Thu, Apr 2, 2020 at 4:17 AM Enric Balletbo i Serra wrote: > > The mmsys driver supports only MT8173 device for now, but like other system > controllers is an important piece for other Mediatek devices. Actually > it depends on the mt8173 clock specific driver but that dependency is > not real

[PATCH v2 1/2] powerpc/rtas: Move type/struct definitions from rtas.h into rtas-types.h

2020-05-12 Thread Leonardo Bras
In order to get any rtas* struct into other headers, including rtas.h may cause a lot of errors, regarding include dependency needed for inline functions. Create rtas-types.h and move there all type/struct definitions from rtas.h, then include rtas-types.h into rtas.h. Also, as suggested by

[PATCH v2 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-12 Thread Leonardo Bras
Implement rtas_call_reentrant() for reentrant rtas-calls: "ibm,int-on", "ibm,int-off",ibm,get-xive" and "ibm,set-xive". On LoPAPR Version 1.1 (March 24, 2016), from 7.3.10.1 to 7.3.10.4, items 2 and 3 say: 2 - For the PowerPC External Interrupt option: The * call must be reentrant to the number

Re: [PATCH v2 1/1] powerpc/crash: Use NMI context for printk when starting to crash

2020-05-12 Thread Nicholas Piggin
Excerpts from Leonardo Bras's message of May 13, 2020 7:45 am: > Currently, if printk lock (logbuf_lock) is held by other thread during > crash, there is a chance of deadlocking the crash on next printk, and > blocking a possibly desired kdump. > > At the start of default_machine_crash_shutdown,

Re: [PATCH RFC tip/core/rcu] Add shrinker to shift to fast/inefficient GP mode

2020-05-12 Thread Konstantin Khlebnikov
On 13/05/2020 06.18, Paul E. McKenney wrote: On Wed, May 13, 2020 at 11:32:38AM +1000, Dave Chinner wrote: On Sat, May 09, 2020 at 09:09:00AM -0700, Paul E. McKenney wrote: On Sat, May 09, 2020 at 11:54:40AM +0300, Konstantin Khlebnikov wrote: On 08/05/2020 17.46, Paul E. McKenney wrote:

Re: [PATCH] gpiolib: add GPIO_SET_DEBOUNCE_IOCTL

2020-05-12 Thread Kent Gibson
On Tue, May 12, 2020 at 07:55:42PM +0200, Linus Walleij wrote: > On Mon, May 4, 2020 at 12:32 PM Bartosz Golaszewski wrote: > I hope Bart doesn't mind if I jump in here, but I've started working on this so hopefully I can address most of your points... > > Ideally we'd have to introduce new

Re: [PATCH 1/1] powerpc/rtas: Implement reentrant rtas call

2020-05-12 Thread Leonardo Bras
Hello Nathan, thanks for the feedback! On Fri, 2020-04-10 at 14:28 -0500, Nathan Lynch wrote: > Leonardo Bras writes: > > Implement rtas_call_reentrant() for reentrant rtas-calls: > > "ibm,int-on", "ibm,int-off",ibm,get-xive" and "ibm,set-xive". > > > > On LoPAPR Version 1.1 (March 24, 2016),

[RFC PATCH] kunit: Support skipped tests

2020-05-12 Thread David Gow
This is a proof-of-concept to support "skipping" tests. The kunit_mark_skipped() macro marks the current test as "skipped", with the provided reason. The kunit_skip() macro will mark the test as skipped, and abort the test. The TAP specification supports this "SKIP directive" as a comment after

Virtual LAPIC page corruption

2020-05-12 Thread Suresh Gumpula
Hi, We are a seeing a problem with windows guests(2016/2012R2) where guest crashes with Virtual APIC page corruption similar to the following redhat ticket. https://bugzilla.redhat.com/show_bug.cgi?id=1751017 > Arg4: 0017, Type of corrupted region, can be 16 : Critical

Re: [PATCH v4 2/2] mailbox: sprd: Add Spreadtrum mailbox driver

2020-05-12 Thread Baolin Wang
Hi Jassi, On Thu, May 7, 2020 at 11:23 AM Baolin Wang wrote: > > Hi Jassi, > > On Thu, May 7, 2020 at 7:25 AM Jassi Brar wrote: > > > > On Wed, May 6, 2020 at 8:29 AM Baolin Wang wrote: > > > > > > Hi Jassi, > > > > > > On Tue, Apr 28, 2020 at 11:10 AM Baolin Wang > > > wrote: > > > > > > >

Re: [PATCH V2] ifcvf: move IRQ request/free to status change handlers

2020-05-12 Thread Jason Wang
On 2020/5/12 下午4:00, Zhu Lingshan wrote: This commit move IRQ request and free operations from probe() to VIRTIO status change handler to comply with VIRTIO spec. VIRTIO spec 1.1, section 2.1.2 Device Requirements: Device Status Field The device MUST NOT consume buffers or send any used

Re: [PATCH 2/2] ASoC: max98390: Added Amplifier Driver

2020-05-12 Thread Steve Lee
On Tue, May 12, 2020 at 7:33 PM Mark Brown wrote: > > On Tue, May 12, 2020 at 06:13:05PM +0900, Steve Lee wrote: > > On Mon, May 11, 2020 at 8:03 PM Mark Brown wrote: > > > > > +static const char * const max98390_current_limit_text[] = { > > > > + "0.00A", "0.50A", "1.00A", "1.05A", "1.10A",

Re: [PATCH] powerpc/kvm: silence kmemleak false positives

2020-05-12 Thread Michael Ellerman
Qian Cai writes: > kvmppc_pmd_alloc() and kvmppc_pte_alloc() allocate some memory but then > pud_populate() and pmd_populate() will use __pa() to reference the newly > allocated memory. The same is in xive_native_provision_pages(). Can you please split this into two patches, one for the KVM

Re: linux-next: manual merge of the vfs tree with the parisc-hd tree

2020-05-12 Thread Xiaoming Ni
On 2020/5/13 6:03, Luis Chamberlain wrote: On Tue, May 12, 2020 at 12:40:55PM -0500, Eric W. Biederman wrote: Luis Chamberlain writes: On Tue, May 12, 2020 at 06:52:35AM -0500, Eric W. Biederman wrote: Luis Chamberlain writes: +static struct ctl_table fs_base_table[] = { + { +

Re: [PATCH] powerpc/kvm: silence kmemleak false positives

2020-05-12 Thread Michael Ellerman
Catalin Marinas writes: > On Mon, May 11, 2020 at 09:15:55PM +1000, Michael Ellerman wrote: >> Qian Cai writes: >> > kvmppc_pmd_alloc() and kvmppc_pte_alloc() allocate some memory but then >> > pud_populate() and pmd_populate() will use __pa() to reference the newly >> > allocated memory. The

Re: [PATCH v4 2/3] powerpc/numa: Prefer node id queried from vphn

2020-05-12 Thread Gautham R Shenoy
On Tue, May 12, 2020 at 06:59:36PM +0530, Srikar Dronamraju wrote: > Node id queried from the static device tree may not > be correct. For example: it may always show 0 on a shared processor. > Hence prefer the node id queried from vphn and fallback on the device tree > based node id if vphn query

Re: [PATCH 3/4] hwspinlock: qcom: Allow mmio usage in addition to syscon

2020-05-12 Thread Baolin Wang
On Wed, May 13, 2020 at 8:55 AM Bjorn Andersson wrote: > > In all modern Qualcomm platforms the mutex region of the TCSR is forked > off into its own block, all with a offset of 0 and stride of 4096. So > add support for directly memory mapping this register space, to avoid > the need to

Re: [PATCH V4 8/8] arm64: dts: ipq6018: Add a53 pll and apcs clock

2020-05-12 Thread Sivaprakash Murugesan
Hi Bjorn, On 5/13/2020 1:54 AM, Bjorn Andersson wrote: On Sun 03 May 23:20 PDT 2020, Sivaprakash Murugesan wrote: add support for apps pll and apcs clock. Signed-off-by: Sivaprakash Murugesan --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 16 +--- 1 file changed, 13

Re: [PATCH net-next 1/4] net: ethernet: validate pause autoneg setting

2020-05-12 Thread Doug Berger
On 5/12/2020 11:55 AM, Russell King - ARM Linux admin wrote: > On Tue, May 12, 2020 at 11:31:39AM -0700, Doug Berger wrote: >> This was intended as a fix, but I thought it would be better to keep it >> as part of this set for context and since net-next is currently open. >> >> The context is

MT103

2020-05-12 Thread ricky
QNBAEGC QATAR NATIONAL BANK ALAHLI S.A.E (QNB ALAHLI) 13/05/2020 Dear Customer Please find attached a copy of your SWIFT message 103. Value Date :13/05/2020 Amount : 64900.55 Currency : USD Reference : 00707OUT01425668 except errors and omissions from us. We wish you good reception

Re: [PATCH] fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()

2020-05-12 Thread Al Viro
On Tue, May 12, 2020 at 10:20:21AM +0200, Alexander Potapenko wrote: > On Tue, May 12, 2020 at 5:44 AM Al Viro wrote: > > > > On Tue, May 12, 2020 at 02:09:01AM +0100, Al Viro wrote: > > > On Tue, Apr 21, 2020 at 10:14:25AM +0200, Alexander Potapenko wrote: > > > > > Not lately and I would also

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

2020-05-12 Thread Stephen Boyd
Quoting Stephen Rothwell (2020-05-10 17:55:56) > Hi all, > > After merging the clk tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/mach-mmp/time.c:37:10: fatal error: clock.h: No such file or > directory >37 | #include "clock.h" > |

Re: s390x: kdump kernel can not boot if I load kernel and initrd images via the kexec_file_load syscall.

2020-05-12 Thread lijiang
在 2020年05月13日 01:39, Philipp Rudo 写道: > Hi Lianbo, > > stupid me obviously never tested the kdump+initrd combination... > > The patch below fixed the problem for me. Could please give it a try, too. > Thank you for the patch, Philipp. Kdump kernel can boot on s390x machine with this patch. >

Re: [PATCH] ath9k: release allocated buffer if timed out

2020-05-12 Thread Navid Emamdoost
Hi Brian, On Tue, May 12, 2020 at 11:57 AM Brian Norris wrote: > > On Fri, Sep 6, 2019 at 11:59 AM Navid Emamdoost > wrote: > > > > In ath9k_wmi_cmd, the allocated network buffer needs to be released > > if timeout happens. Otherwise memory will be leaked. > > > > Signed-off-by: Navid Emamdoost

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

2020-05-12 Thread Stephen Boyd
Quoting Stephen Rothwell (2020-05-10 17:55:56) > Hi all, > > After merging the clk tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/mach-mmp/time.c:37:10: fatal error: clock.h: No such file or > directory >37 | #include "clock.h" > |

Re: [PATCH v2 net-next 2/3] net: dsa: felix: Configure Time-Aware Scheduler via taprio offload

2020-05-12 Thread Florian Fainelli
On 5/12/2020 7:25 PM, Xiaoliang Yang wrote: > Ocelot VSC9959 switch supports time-based egress shaping in hardware > according to IEEE 802.1Qbv. This patch add support for TAS configuration > on egress port of VSC9959 switch. > > Felix driver is an instance of Ocelot family, with a DSA

Re: [PATCH v2 net-next 3/3] net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload

2020-05-12 Thread Florian Fainelli
On 5/12/2020 7:25 PM, Xiaoliang Yang wrote: > VSC9959 hardware support the Credit Based Shaper(CBS) which part > of the IEEE-802.1Qav. This patch support sch_cbs set for VSC9959. > > Signed-off-by: Xiaoliang Yang Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v2 net-next 1/3] net: dsa: felix: qos classified based on pcp

2020-05-12 Thread Florian Fainelli
On 5/12/2020 7:25 PM, Xiaoliang Yang wrote: > Set the default QoS Classification based on PCP and DEI of vlan tag, > after that, frames can be Classified to different Qos based on PCP tag. > If there is no vlan tag or vlan ignored, use port default Qos. > > Signed-off-by: Xiaoliang Yang

Re: [PATCH v2 1/3] rcu/kasan: record and print call_rcu() call stack

2020-05-12 Thread Paul E. McKenney
On Wed, May 13, 2020 at 10:05:31AM +0800, Walter Wu wrote: > On Tue, 2020-05-12 at 18:22 +0200, Dmitry Vyukov wrote: > > On Tue, May 12, 2020 at 6:14 PM Paul E. McKenney wrote: > > > > > > > > > This feature will record first and last call_rcu() call stack > > > > > > > > > and > > > > > > > > >

Re: [PATCH RFC tip/core/rcu] Add shrinker to shift to fast/inefficient GP mode

2020-05-12 Thread Paul E. McKenney
On Wed, May 13, 2020 at 11:32:38AM +1000, Dave Chinner wrote: > On Sat, May 09, 2020 at 09:09:00AM -0700, Paul E. McKenney wrote: > > On Sat, May 09, 2020 at 11:54:40AM +0300, Konstantin Khlebnikov wrote: > > > On 08/05/2020 17.46, Paul E. McKenney wrote: > > > > Easy for me to provide "start fast

Re: [PATCH v2 RESEND 1/2] dt-bindings: Input: remove msm-vibrator

2020-05-12 Thread Dmitry Torokhov
On Tue, May 12, 2020 at 09:31:39PM -0400, Brian Masney wrote: > The address referenced in this binding is within the Qualcomm Clock > namespace so let's drop the msm-vibrator bindings so that a more > generic solution can be used instead. No one is currently using these > bindings so this won't

Re: [PATCH v2 RESEND 2/2] Input: remove msm-vibrator driver

2020-05-12 Thread Dmitry Torokhov
On Tue, May 12, 2020 at 09:31:40PM -0400, Brian Masney wrote: > The address referenced by this driver is within the Qualcomm Clock > namespace so let's drop the msm-vibrator bindings so that a more generic > solution can be used instead. No one is currently using driver so this > won't affect any

Re: [PATCH v2] ACPI/IORT: Fix PMCG node always look for a single ID mapping.

2020-05-12 Thread Hanjun Guo
On 2020/5/13 7:56, Tuan Phan wrote: PMCG node can have zero ID mapping if its overflow interrupt is wire based. The code to parse PMCG node can not assume it will have a single ID mapping. Signed-off-by: Tuan Phan It's better to add Fixes: 24e516049360 ("ACPI/IORT: Add support for PMCG")

[PATCH] thermal: imx8mm: Add get_trend ops

2020-05-12 Thread Anson Huang
Add get_trend ops for i.MX8MM thermal to apply fast cooling mechanism, when temperature exceeds passive trip point, the highest cooling action will be applied, and when temperature drops to lower than the margin below passive trip point, the lowest cooling action will be applied. Signed-off-by:

Re: [question] net: phy: rtl8211f: link speed shows 1000Mb/s but actual link speed in phy is 100Mb/s

2020-05-12 Thread Yonglong Liu
On 2020/5/13 9:59, Andrew Lunn wrote: > On Wed, May 13, 2020 at 09:34:13AM +0800, Yonglong Liu wrote: >> Hi, Andrew: >> Thanks for your reply! >> >> On 2020/5/12 22:00, Andrew Lunn wrote: >>> On Tue, May 12, 2020 at 08:48:21PM +0800, Yonglong Liu wrote: I use two devices, both support

Re: linux-next: manual merge of the sound-asoc tree with the crypto tree

2020-05-12 Thread Herbert Xu
On Tue, May 12, 2020 at 01:08:05PM -0700, Eric Biggers wrote: > > If you're concerned about total stack usage, then my recommendation is that > Herbert drops my patch "ASoC: cros_ec_codec: use crypto_shash_tfm_digest()" > from cryptodev, and you keep the patch > "ASoC: cros_ec_codec: allocate

Re: [PATCH] Makefile: support compressed debug info

2020-05-12 Thread Masahiro Yamada
Nick, On Wed, May 13, 2020 at 4:23 AM Nick Desaulniers wrote: > > On Mon, May 11, 2020 at 10:54 PM Masahiro Yamada wrote: > > > > > >On Mon, May 4, 2020 at 5:13 AM Nick Desaulniers > > > > wrote: > > > >> > > > >> As debug information gets larger and larger, it helps significantly > > > >>

Re: [PATCH v7 2/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-05-12 Thread Kishon Vijay Abraham I
Hi Laurent, On 5/8/2020 6:23 AM, Laurent Pinchart wrote: > Hi Kishon, > > On Thu, May 07, 2020 at 10:14:45AM +0530, Kishon Vijay Abraham I wrote: >> On 4/2/2020 3:40 AM, Laurent Pinchart wrote: >>> From: Anurag Kumar Vulisha >>> >>> Xilinx ZynqMP SoCs have a Gigabit Transceiver with four lanes.

Re: [PATCH v2 5/5] ramoops: add max_reason optional field to ramoops DT node

2020-05-12 Thread Rob Herring
On Tue, May 05, 2020 at 11:45:10AM -0400, Pavel Tatashin wrote: > Currently, it is possible to dump kmsges for panic, or oops. > With max_reason it is possible to dump messages for other > kmesg_dump events, for example reboot, halt, shutdown, kexec. > > Signed-off-by: Pavel Tatashin > --- >

[loop]efcfec579: BUG:blk_update_request: I/O error, dev loop6, sector 49674 op 0x9:(WRITE_ZEROES)

2020-05-12 Thread Xu, Yanfei
Hi, After operating the /dev/loop which losetup with an image placed in tmpfs, I got the following ERROR messages: [cut here]- [ 183.110770] blk_update_request: I/O error, dev loop6, sector 524160 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio

Re: [PATCH 02/11] dt-bindings: new: add yaml bindings for MediaTek Ethernet MAC

2020-05-12 Thread Rob Herring
On Tue, May 05, 2020 at 04:02:22PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This adds yaml DT bindings for the MediaTek Ethernet MAC present on the > mt8* family of SoCs. > > Signed-off-by: Bartosz Golaszewski > --- > .../bindings/net/mediatek,eth-mac.yaml| 80

Re: [PATCH 01/11] dt-bindings: add a binding document for MediaTek PERICFG controller

2020-05-12 Thread Rob Herring
On Tue, May 05, 2020 at 04:02:21PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This adds a binding document for the PERICFG controller present on > MediaTek SoCs. For now the only variant supported is 'mt8516-pericfg'. > > Signed-off-by: Bartosz Golaszewski > --- >

Re: [PATCH v1 2/2] phy: phy-cadence-torrent: Use PHY kernel APIs to set PHY attributes

2020-05-12 Thread Kishon Vijay Abraham I
Hi, On 5/8/2020 1:20 PM, Tomi Valkeinen wrote: > On 07/05/2020 20:17, Maxime Ripard wrote: > >>> Actually, for this particular case, consumer driver will be the Cadence MHDP >>> bridge driver for DisplayPort which is also under review process for >>> upstreaming [1]. So this DRM bridge driver

Re: [PATCH v1] dt-bindings: net: nxp,tja11xx: rework validation support

2020-05-12 Thread Rob Herring
On Tue, 5 May 2020 12:42:15 +0200, Oleksij Rempel wrote: > To properly identify this node, we need to use ethernet-phy-id0180.dc80. > And add missing required properties. > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/net/nxp,tja11xx.yaml | 55 --- > 1 file

Re: [Patch v2] efi: cper: Add support for printing Firmware Error Record Reference

2020-05-12 Thread Punit Agrawal
Ard Biesheuvel writes: > On Tue, 12 May 2020 at 06:55, Punit Agrawal > wrote: >> >> While debugging a boot failure, the following unknown error record was >> seen in the boot logs. >> >> <...> >> BERT: Error records from previous boot: >> [Hardware Error]: event severity: fatal >>

Re: [PATCH v1] dt-bindings: net: nxp,tja11xx: rework validation support

2020-05-12 Thread Rob Herring
On Tue, May 05, 2020 at 04:01:27PM +0200, Andrew Lunn wrote: > On Tue, May 05, 2020 at 12:42:15PM +0200, Oleksij Rempel wrote: > > To properly identify this node, we need to use ethernet-phy-id0180.dc80. > > And add missing required properties. > > > > Signed-off-by: Oleksij Rempel > > --- > >

Re: [PATCH net-next 1/4] net: ethernet: validate pause autoneg setting

2020-05-12 Thread Doug Berger
On 5/12/2020 12:08 PM, Michal Kubecek wrote: > On Tue, May 12, 2020 at 11:31:39AM -0700, Doug Berger wrote: >> On 5/11/2020 5:47 PM, Andrew Lunn wrote: >>> On Mon, May 11, 2020 at 05:24:07PM -0700, Doug Berger wrote: A comment in uapi/linux/ethtool.h states "Drivers should reject a

Re: [RESEND PATCH v2 1/3] dt-bindings: phy: Drop reset-gpios from marvell,mmp3-hsic-phy

2020-05-12 Thread Kishon Vijay Abraham I
+Rob On 5/9/2020 1:47 PM, Lubomir Rintel wrote: > This has been added in error -- the PHY block doesn't have a reset pin. > > Signed-off-by: Lubomir Rintel > --- > .../devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml | 7 --- > 1 file changed, 7 deletions(-) > > diff --git

Re: [PATCH v3] security/keys: rewrite big_key crypto to use library interface

2020-05-12 Thread Jason A. Donenfeld
On Tue, May 12, 2020 at 4:03 PM David Howells wrote: > > Jason A. Donenfeld wrote: > > > So long as that ->update function: > > 1. Deletes the old on-disk data. > > 2. Deletes the old key from the inode. > > 3. Generates a new key using get_random_bytes. > > 4. Stores that new key in the inode.

Re: [PATCH 3/5] exec: Remove recursion from search_binary_handler

2020-05-12 Thread Rob Landley
On 5/12/20 7:20 PM, Linus Torvalds wrote: > On Tue, May 12, 2020 at 11:46 AM Eric W. Biederman > wrote: >> >> I am still thinking about this one, but here is where I am at. At a >> practical level passing the file descriptor of the script to interpreter >> seems like something we should

Re: [PATCH v6] streamline_config.pl: add LMC_KEEP to preserve some kconfigs

2020-05-12 Thread Masahiro Yamada
On Wed, May 13, 2020 at 12:36 AM Changbin Du wrote: > > Sometimes it is useful to preserve batches of configs when making > localmodconfig. For example, I usually don't want any usb and fs > modules to be disabled. Now we can do it by: > > $ make LMC_KEEP="drivers/usb:fs" localmodconfig > >

Re: [PATCH v4 10/10] loop: Add LOOP_CONFIGURE ioctl

2020-05-12 Thread Jens Axboe
On 5/12/20 8:29 PM, Jens Axboe wrote: > On 5/12/20 12:46 AM, Martijn Coenen wrote: >> Hi Jens, >> >> What do you think of this series? > > Looks acceptable to me, but I'm getting a failure applying it to > for-5.8/drivers on this patch: > > Applying: loop: Refactor loop_set_status() size

Re: [PATCH] perf record: Use an eventfd to wakeup when done

2020-05-12 Thread Anand K. Mistry
On Wed, 13 May 2020 at 00:12, Arnaldo Carvalho de Melo wrote: > > Em Tue, May 12, 2020 at 02:12:32PM +0200, Jiri Olsa escreveu: > > On Tue, May 12, 2020 at 02:59:36PM +1000, Anand K Mistry wrote: > > > > SNIP > > > > > diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c > > >

[PATCH v2 net-next 1/3] net: dsa: felix: qos classified based on pcp

2020-05-12 Thread Xiaoliang Yang
Set the default QoS Classification based on PCP and DEI of vlan tag, after that, frames can be Classified to different Qos based on PCP tag. If there is no vlan tag or vlan ignored, use port default Qos. Signed-off-by: Xiaoliang Yang --- drivers/net/dsa/ocelot/felix.c | 26

[PATCH v2 net-next 2/3] net: dsa: felix: Configure Time-Aware Scheduler via taprio offload

2020-05-12 Thread Xiaoliang Yang
Ocelot VSC9959 switch supports time-based egress shaping in hardware according to IEEE 802.1Qbv. This patch add support for TAS configuration on egress port of VSC9959 switch. Felix driver is an instance of Ocelot family, with a DSA front-end. The patch uses tc taprio hardware offload to setup

[PATCH v2 net-next 3/3] net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload

2020-05-12 Thread Xiaoliang Yang
VSC9959 hardware support the Credit Based Shaper(CBS) which part of the IEEE-802.1Qav. This patch support sch_cbs set for VSC9959. Signed-off-by: Xiaoliang Yang --- drivers/net/dsa/ocelot/felix_vsc9959.c | 50 +- 1 file changed, 49 insertions(+), 1 deletion(-) diff

  1   2   3   4   5   6   7   8   9   10   >