Re: [PATCH 7/9] x86: Add support for function granular KASLR

2020-05-14 Thread Baoquan He
On 04/15/20 at 02:04pm, Kristen Carlson Accardi wrote: ... > diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c > index 9652d5c2afda..2e108fdc7757 100644 > --- a/arch/x86/boot/compressed/misc.c > +++ b/arch/x86/boot/compressed/misc.c > @@ -26,9 +26,6 @@ > * it is not

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-14 Thread Felipe Balbi
Hi, Georgi Djakov writes: > On 5/14/20 20:13, Matthias Kaehlcke wrote: >> On Thu, May 14, 2020 at 02:30:28PM +0300, Felipe Balbi wrote: >>> Felipe Balbi writes: >>> Hi, Sandeep Maheswaram writes: > +static int dwc3_qcom_interconnect_init(struct dwc3_qcom *qcom) > +{

Re: [patch V4 part 5 01/31] genirq: Provide irq_enter/exit_rcu()

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > irq_enter()/exit() include the RCU handling. To properly separate the RCU > handling provide variants which contain only the non-RCU related > functionality. Acked-by: Andy Lutomirski

[PATCH v11 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-05-14 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. Signed-off-by: Xin Ji

Re: [PATCH V2] dma: zynqmp_dma: Move list_del inside zynqmp_dma_free_descriptor.

2020-05-14 Thread Vinod Koul
On 06-05-20, 12:28, Rafał Hibner wrote: > List elements are not formally removed from list during zynqmp_dma_reset. Applied after fixing subsystem name to dmaengine, thanks -- ~Vinod

[PATCH v11 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema

2020-05-14 Thread Xin Ji
anx7625: MIPI to DP transmitter DT schema Signed-off-by: Xin Ji --- .../bindings/display/bridge/analogix,anx7625.yaml | 95 ++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml diff --git

[PATCH v11 0/2] Add initial support for slimport anx7625

2020-05-14 Thread Xin Ji
Hi all, The following series add support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the v11 version, any mistakes, please let me know, I will fix it in the next series. Change history: v11: Fix comments from

Re: [PATCH] kgdb: Fix broken handling of printk() in NMI context

2020-05-14 Thread Sumit Garg
Hi Petr, On Thu, 14 May 2020 at 14:13, Petr Mladek wrote: > > On Wed 2020-05-13 19:04:48, Sumit Garg wrote: > > On Tue, 12 May 2020 at 19:55, Daniel Thompson > > wrote: > > > > > > On Tue, May 12, 2020 at 02:18:34PM +0530, Sumit Garg wrote: > > > > Since commit 42a0bb3f7138 ("printk/nmi:

[PATCH] xhci: Fix log mistake of xhci_start

2020-05-14 Thread jiahao
It is obvious that XCHI_MAX_HALT_USEC is usec, not milliseconds; Replace 'milliseconds' with 'usec' of the debug message. Signed-off-by: jiahao --- drivers/usb/host/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c

Re: [patch V4 part 4 24/24] x86/entry: Convert double fault exception to IDTENTRY_DF

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Convert #DF to IDTENTRY_DF > - Implement the C entry point with DEFINE_IDTENTRY_DF > - Emit the ASM stub with DECLARE_IDTENTRY_DF on 64bit > - Remove the ASM idtentry in 64bit > - Adjust the 32bit shim code > - Fixup the XEN/PV

Re: [patch V4 part 4 23/24] x86/entry: Provide IDTENTRY_DF

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Provide a separate macro for #DF as this needs to emit paranoid only code > and has also a special ASM stub in 32bit. Acked-by: Andy Lutomirski but... maybe it would be cleaner just to open-code all of this in the next patch? This is a

Re: [patch V4 part 4 21/24] x86/traps: Address objtool noinstr complaints in #DB

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > The functions invoked from handle_debug() can be instrumented. Tell objtool > about it. Acked-by: Andy Lutomirski

Re: [patch V4 part 4 22/24] x86/mce: Address objtools noinstr complaints

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Mark the relevant functions noinstr, use the plain non-instrumented MSR > accessors. The only odd part is the instr_begin()/end() pair around the > indirect machine_check_vector() call as objtool can't figure that out. The > possible

Re: [patch V4 part 4 20/24] x86/traps: Restructure #DB handling

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Now that there are separate entry points, move the kernel/user_mode specifc > checks into the entry functions so the common handling code does not need > the extra mode checks. Make the code more readable while at it. Acked-by: Andy

RE: [PATCH v7 1/2] PCI: xilinx-cpm: Add YAML schemas for Versal CPM Root Port

2020-05-14 Thread Bharat Kumar Gogada
Hi Rob, Can you please let us know if you have any inputs on this. Regards, Bharat > -Original Message- > From: Bharat Kumar Gogada > Sent: Thursday, May 7, 2020 5:29 PM > To: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: lorenzo.pieral...@arm.com; bhelg...@google.com;

Re: [patch V4 part 4 15/24] x86/db: Split out dr6/7 handling

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > From: Peter Zijlstra > > DR6/7 should be handled before nmi_enter() is invoked and restore after > nmi_exit() to minimize the exposure. > > Split it out into helper inlines and bring it into the correct order. > +* > +*

[PATCH v1 3/4] driver core: fw_devlink: Add support for batching fwnode parsing

2020-05-14 Thread Saravana Kannan
The amount of time spent parsing fwnodes of devices can become really high if the devices are added in an non-ideal order. Worst case can be O(N^2) when N devices are added. But this can be optimized to O(N) by adding all the devices and then parsing all their fwnodes in one batch. This commit

[PATCH v1 2/4] driver core: Look for waiting consumers only for a fwnode's primary device

2020-05-14 Thread Saravana Kannan
Commit 4dbe191c046e ("driver core: Add device links from fwnode only for the primary device") skipped linking a fwnode's secondary device to the suppliers listed in its fwnode. However, a fwnode's secondary device can't be found using get_dev_from_fwnode(). So, there's no point in trying to see

[PATCH v1 4/4] of: platform: Batch fwnode parsing when adding all top level devices

2020-05-14 Thread Saravana Kannan
The fw_devlink_pause() and fw_devlink_resume() APIs allow batching the parsing of the device tree nodes when a lot of devices are added. This will significantly cut down parsing time (as much a 1 second on some systems). So, use them when adding devices for all the top level device tree nodes in a

[PATCH v1 1/4] driver core: Move code to the right part of the file

2020-05-14 Thread Saravana Kannan
This commit just moves around code to match the general organization of the file. Signed-off-by: Saravana Kannan --- drivers/base/core.c | 60 ++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c

[PATCH v1 0/4] Optimize fw_devlink parsing

2020-05-14 Thread Saravana Kannan
When fw_devlink is enabled on hardware with a large number of device tree nodes, the initial device addition done in of_platform_default_populate_init() can be very inefficient. This is because most devices will fail to find all their suppliers when they are added and will keep trying to parse

drivers/vhost/vhost.c:1014:16: sparse: sparse: cast to restricted __virtio16

2020-05-14 Thread kbuild test robot
Hi Jason, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ae7efb388540adc1653a51a3bc3b2c9cef5ec1a commit: 20c384f1ea1a0bc7320bc445c72dd02d2970d594 vhost: refine vhost and vringh kconfig date: 6 weeks ago

Re: [patch V4 part 4 19/24] x86/entry: Implement user mode C entry points for #DB and #MCE

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > The MCE entry point uses the same mechanism as the IST entry point for > now. For #DB split the inner workings and just keep the ist_enter/exit > magic in the IST variant. Fixup the ASM code to emit the proper > noist_##cfunc call. >

Re: [patch V4 part 4 18/24] x86/entry: Provide IDTRENTRY_NOIST variants for #DB and #MC

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Provide NOIST entry point macros which allows to implement NOIST variants > of the C entry points. These are invoked when #DB or #MC enter from user > space. This allows explicit handling of the difference between user mode > and kernel

RE: [PATCH v7 0/6] Add new series Micron SPI NAND devices

2020-05-14 Thread Poonam Aggrwal
Adding Ashish. Regards Poonam > -Original Message- > From: Naresh Kamboju > Sent: Friday, May 15, 2020 10:57 AM > To: shiva.linuxwo...@gmail.com; Miquel Raynal ; > Shivamurthy Shastri > Cc: Richard Weinberger ; Vignesh Raghavendra > ; Boris Brezillon ; > Chuanhong Guo ; Frieder

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

2020-05-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/net/qcom,ipa.yaml between commit: 8456c54408a2 ("dt-bindings: net: add IPA iommus property") from the net-next tree and commit: fba5618451d2 ("dt-bindings: Fix incorrect 'reg'

Re: [patch V4 part 4 17/24] x86/entry/64: Remove error code clearing from #DB and #MCE ASM stub

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > The C entry points do not expect an error code. Acked-by: Andy Lutomirski

Re: [patch V4 part 4 16/24] x86/entry: Convert Debug exception to IDTENTRY_DB

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Convert #DB to IDTENTRY_ERRORCODE: > - Implement the C entry point with DEFINE_IDTENTRY_DB > - Emit the ASM stub with DECLARE_IDTENTRY > - Remove the ASM idtentry in 64bit > - Remove the open coded ASM entry code in 32bit > -

Re: [patch V4 part 4 14/24] x86/nmi: Protect NMI entry against instrumentation

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Mark all functions in the fragile code parts noinstr or force inlining so > they can't be instrumented. Acked-by: Andy Lutomirski

Re: [patch V4 part 4 13/24] x86/entry: Convert NMI to IDTENTRY_NMI

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Convert #NMI to IDTENTRY_NMI: > - Implement the C entry point with DEFINE_IDTENTRY_NMI > - Fixup the XEN/PV code > - Remove the old prototyoes > > No functional change. Acked-by: Andy Lutomirski

Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices

2020-05-14 Thread Naresh Kamboju
On Wed, 11 Mar 2020 at 23:28, wrote: > > From: Shivamurthy Shastri > > This patchset is for the new series of Micron SPI NAND devices, and the > following links are their datasheets. While boot NXP ls2088 device with mainline kernel the following nand warning noticed. How critical this warning

Re: [patch V4 part 4 12/24] x86/idtentry: Provide IDTENTRY_XEN for XEN/PV

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > XEN/PV has special wrappers for NMI and DB exceptions. They redirect these > exceptions through regular IDTENTRY points. Provide the necessary IDTENTRY > macros to make this work Acked-by: Andy Lutomirski

Re: [patch V4 part 4 10/24] x86/entry: Convert Machine Check to IDTENTRY_IST

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Convert #MC to IDTENTRY_MCE: > - Implement the C entry points with DEFINE_IDTENTRY_MCE > - Emit the ASM stub with DECLARE_IDTENTRY_MCE > - Remove the ASM idtentry in 64bit > - Remove the open coded ASM entry code in 32bit > -

Re: [patch V4 part 4 11/24] x86/mce: Use untraced rd/wrmsr in the MCE offline/crash check

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > mce_check_crashing_cpu() is called right at the entry of the MCE > handler. It uses mce_rdmsr() and mce_wrmsr() which are wrappers around > rdmsr() and wrmsr() to handle the MCE error injection mechanism, which is > pointless in this

Re: [patch V4 part 4 09/24] x86/mce: Move nmi_enter/exit() into the entry point

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > There is no reason to have nmi_enter/exit() in the actual MCE > handlers. Move it to the entry point. This also covers the until now > uncovered initial handler which only prints. Acked-by: Andy Lutomirski

Re: [PATCH v2 1/2] [media] mtk-mdp: add driver to probe mdp components

2020-05-14 Thread Eizan Miyamoto
On Thu, May 7, 2020 at 11:44 PM Enric Balletbo i Serra wrote: > > Hi Eizan, > > On 7/5/20 13:11, Eizan Miyamoto wrote: > > On Thu, May 7, 2020 at 2:54 AM Enric Balletbo Serra > > wrote: > >> > >> Hi Eizan, > >> > >> Thank you for the patch. > >> > >> Missatge de Eizan Miyamoto del dia dc., 6

"BUG: MAX_LOCKDEP_ENTRIES too low" with 6979 ">s_umount_key"

2020-05-14 Thread Qian Cai
Lockdep is screwed here in next-20200514 due to "BUG: MAX_LOCKDEP_ENTRIES too low". One of the traces below pointed to this linux-next commit, 8c8e824d4ef0 watch_queue: Introduce a non-repeating system-unique superblock ID which was accidentally just showed up in next-2020

[RFC] dt-bindings: mailbox: add doorbell support to ARM MHU

2020-05-14 Thread Viresh Kumar
From: Sudeep Holla Hi Rob, Arnd and Jassi, This stuff has been doing rounds on the mailing list since several years now with no agreed conclusion by all the parties. And here is another attempt to get some feedback from everyone involved to close this once and for ever. Your comments will very

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-14 Thread Sandipan Patra
Hello Uwe, Gentle reminder to review my replies. It will help me to push next cleaner patch. Thanks & Regards, Sandipan > -Original Message- > From: Sandipan Patra > Sent: Thursday, May 7, 2020 1:40 PM > To: Uwe Kleine-König > Cc: Thierry Reding ; robh...@kernel.org; Jonathan > Hunter

Re: [PATCH v3 1/4] dma-buf: add support for virtio exported objects

2020-05-14 Thread David Stevens
On Thu, May 14, 2020 at 9:30 PM Daniel Vetter wrote: > On Thu, May 14, 2020 at 05:19:40PM +0900, David Stevens wrote: > > Sorry for the duplicate reply, didn't notice this until now. > > > > > Just storing > > > the uuid should be doable (assuming this doesn't change during the > > > lifetime of

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-14 Thread Sumit Garg
Hi Volodymyr, On Fri, 15 May 2020 at 06:32, Volodymyr Babchuk wrote: > > Hi Sumit, > > On Thu, 14 May 2020 at 08:38, Sumit Garg wrote: > > > > Hi Volodymyr, > > > > On Thu, 14 May 2020 at 06:48, Volodymyr Babchuk > > wrote: > > > > > > Hi Sumit, > > > > > > On Wed, 13 May 2020 at 11:24, Sumit

Re: [PATCH v4] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2020-05-14 Thread Randy Dunlap
On 5/14/20 9:04 PM, Rob Landley wrote: > FYI I dug up my old https://lkml.org/lkml/2017/9/13/651 and ported it to > current, because I needed it for a thing. > > From: Rob Landley > > Make initramfs honor CONFIG_DEVTMPFS_MOUNT, and move > /dev/console open after devtmpfs mount. > > Add

[PATCH 0/5] PCI: uniphier: Add features for UniPhier PCIe host controller

2020-05-14 Thread Kunihiko Hayashi
This series adds some features for UniPhier PCIe host controller. - Add support for PME and AER invoked by MSI interrupt - Add iATU register view support for PCIe version >= 4.80 - Add an error message when failing to get phy driver This adds a new function called by MSI handler in DesignWare

[PATCH 4/5] PCI: uniphier: Add iATU register support

2020-05-14 Thread Kunihiko Hayashi
This gets iATU register area from reg property. In Synopsis DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 5 + 1

[PATCH 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-14 Thread Kunihiko Hayashi
Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[PATCH 2/5] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-05-14 Thread Kunihiko Hayashi
The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function uniphier_pcie_misc_isr() that handles misc intterupts, which is called from both INTx and MSI handlers. This function

[PATCH 3/5] dt-bindings: PCI: uniphier: Add iATU register description

2020-05-14 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/5] PCI: dwc: Add msi_host_isr() callback

2020-05-14 Thread Kunihiko Hayashi
This adds msi_host_isr() callback function support to describe SoC-dependent service triggered by MSI. For example, when AER interrupt is triggered by MSI, the callback function reads SoC-dependent registers and detects that the interrupt is from AER, and invoke AER interrupts related to MSI.

Re: [PATCH] interconnect: Disallow interconnect core to be built as a module

2020-05-14 Thread Georgi Djakov
On 9/12/19 19:33, Bjorn Andersson wrote: > On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar wrote: >> >> Building individual drivers as modules is fine but allowing a core >> framework to be built as a module makes it really complex and should be >> avoided. >> >> Whatever uses the interconnect core

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

2020-05-14 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 v2 0/9] Enable ext4 support for per-file/directory DAX operations

2020-05-14 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 v2 9/9] Documentation/dax: Update DAX enablement for ext4

2020-05-14 Thread ira . weiny
From: Ira Weiny Update the document to reflect ext4 and xfs now behave the same. Reviewed-by: Jan Kara 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

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

2020-05-14 Thread ira . weiny
From: Ira Weiny We add 'always', 'never', and 'inode' (default). '-o dax' continues to operate the same which is equivalent to 'always'. This new functionality is limited to ext4 only. Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set it and EXT4_MOUNT_DAX_ALWAYS

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

2020-05-14 Thread ira . weiny
From: Ira Weiny In prep for the new tri-state mount option which then introduces EXT4_MOUNT_DAX_NEVER. Reviewed-by: Jan Kara 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

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

2020-05-14 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 v2 5/9] fs/ext4: Update ext4_should_use_dax()

2020-05-14 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 v2 3/9] fs/ext4: Disallow encryption if inode is DAX

2020-05-14 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 v2 1/9] fs/ext4: Narrow scope of DAX check in setflags

2020-05-14 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 v2 2/9] fs/ext4: Disallow verity if inode is DAX

2020-05-14 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 0/4] Move the sysctl interface to the corresponding feature code file

2020-05-14 Thread Xiaoming Ni
Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Here, the sysctl interfaces of hung task and watchdog are moved to the corresponding feature code files https://lkml.org/lkml/2020/5/11/1419 Xiaoming Ni (4):

[PATCH 3/4] watchdog: move watchdog sysctl to watchdog.c

2020-05-14 Thread Xiaoming Ni
Move watchdog sysctl interface to watchdog.c. Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Signed-off-by: Xiaoming Ni --- kernel/sysctl.c | 96

[PATCH 2/4] proc/sysctl: add shared variables -1

2020-05-14 Thread Xiaoming Ni
Add the shared variable SYSCTL_NEG_ONE to replace the variable neg_one used in both sysctl_writes_strict and hung_task_warnings. Signed-off-by: Xiaoming Ni --- fs/proc/proc_sysctl.c | 2 +- include/linux/sysctl.h| 1 + kernel/hung_task_sysctl.c | 3 +-- kernel/sysctl.c | 3 +--

[PATCH 4/4] sysctl: Add register_sysctl_init() interface

2020-05-14 Thread Xiaoming Ni
In order to eliminate the duplicate code for registering the sysctl interface during the initialization of each feature, add the register_sysctl_init() interface Signed-off-by: Xiaoming Ni --- include/linux/sysctl.h| 2 ++ kernel/hung_task_sysctl.c | 15 +-- kernel/sysctl.c

[PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-14 Thread Xiaoming Ni
Move hung_task sysctl interface to hung_task_sysctl.c. Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Signed-off-by: Xiaoming Ni --- include/linux/sched/sysctl.h | 8 + kernel/Makefile |

[PATCH v8 1/3] dt-bindings: phy: Add PHY_TYPE_XPCS definition

2020-05-14 Thread Dilip Kota
Add definition for Ethernet PCS phy type. Signed-off-by: Dilip Kota Acked-by: Rob Herring --- Changes on v8: No Change Changes on v7: No Change Changes on v6: Add Acked-by: Rob Herring include/dt-bindings/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v8 2/3] dt-bindings: phy: Add YAML schemas for Intel ComboPhy

2020-05-14 Thread Dilip Kota
ComboPhy subsystem provides PHY support to various controllers, viz. PCIe, SATA and EMAC. Adding YAML schemas for the same. Signed-off-by: Dilip Kota Reviewed-by: Rob Herring --- Changes on v8: No Change. Changes on v7: No Change. Changes on v6: Add Reviewed-by: Rob Herring

[PATCH v8 0/3] Add Intel ComboPhy driver

2020-05-14 Thread Dilip Kota
This patch series adds Intel ComboPhy driver, respective yaml schemas Changes on v8: As per PHY Maintainer's request add description in comments for doing register access through register map framework. Changes on v7: As per System control driver maintainer's inputs remove

[PATCH v8 3/3] phy: intel: Add driver support for ComboPhy

2020-05-14 Thread Dilip Kota
ComboPhy subsystem provides PHYs for various controllers like PCIe, SATA and EMAC. Signed-off-by: Dilip Kota --- Changes on v8: As per PHY Maintainer's request add description for doing register access through regmap in comments. Changes on v7: Use device_node_to_regmap instead of

[PATCH] e1000e: Relax condition to trigger reset for ME workaround

2020-05-14 Thread Punit Agrawal
It's an error if the value of the RX/TX tail descriptor does not match what was written. The error condition is true regardless the duration of the interference from ME. But the driver only performs the reset if E1000_ICH_FWSM_PCIM2PCI_COUNT (2000) iterations of 50us delay have transpired. The

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-14 Thread Viresh Kumar
On 15-05-20, 09:53, Manu Gautam wrote: > Hi, > > On 5/15/2020 9:27 AM, Viresh Kumar wrote: > > On Fri, 15 May 2020 at 02:33, Georgi Djakov > > wrote: > > > >> ---8<--- > >> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig > >> index 206caa0ea1c6..6661788b1a76 100644 > >> ---

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-14 Thread Manu Gautam
Hi, On 5/15/2020 9:27 AM, Viresh Kumar wrote: > On Fri, 15 May 2020 at 02:33, Georgi Djakov wrote: > >> ---8<--- >> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig >> index 206caa0ea1c6..6661788b1a76 100644 >> --- a/drivers/usb/dwc3/Kconfig >> +++ b/drivers/usb/dwc3/Kconfig >>

From Honourable Barrister Aziz Dake.

2020-05-14 Thread Aziz Dake
Attn: Sir/Madam I am Honourable Barrister Aziz the personal resident Attorney here in Burkina Faso to Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi of Libya c. 1942 – 20 October 2011. My client Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi c. 1942 – 20 October 2011, was having a deposit sum

Re: [PATCH v2 07/10] block: use sectors_to_npage() and PAGE_SECTORS to clean up code

2020-05-14 Thread Matthew Wilcox
On Thu, May 07, 2020 at 03:50:57PM +0800, Zhen Lei wrote: > +++ b/block/blk-settings.c > @@ -150,7 +150,7 @@ void blk_queue_max_hw_sectors(struct request_queue *q, > unsigned int max_hw_secto > unsigned int max_sectors; > > if ((max_hw_sectors << 9) < PAGE_SIZE) { > -

[PATCH] ALSA: pcm: fix incorrect hw_base increase

2020-05-14 Thread Brent Lu
The hw_base will be increased by runtime->buffer_size frames unconditionally if the runtime->status->hw_ptr is not updated for over half of buffer time. As the hw_base increases, so does the runtime->status->hw_ptr which could lead to invalid return value when user space program calls

Re: [PATCH v2 06/10] mm/swap: use npage_to_sectors() and PAGE_SECTORS to clean up code

2020-05-14 Thread Matthew Wilcox
On Thu, May 07, 2020 at 03:50:56PM +0800, Zhen Lei wrote: > +++ b/mm/page_io.c > @@ -38,7 +38,7 @@ static struct bio *get_swap_bio(gfp_t gfp_flags, > > bio->bi_iter.bi_sector = map_swap_page(page, ); > bio_set_dev(bio, bdev); > - bio->bi_iter.bi_sector <<=

[PATCH 3/3] mm/memory.c: Add memory read privilege before filling PTE entry

2020-05-14 Thread Bibo Mao
On mips platform, hw PTE entry valid bit is set in pte_mkyoung function, it is used to set physical page with readable privilege. Here add pte_mkyoung function to make page readable on mips platform during page fault handling. Signed-off-by: Bibo Mao --- mm/memory.c | 3 +++ mm/mprotect.c |

[PATCH 2/3] mm/memory.c: Update local TLB if PTE entry exists

2020-05-14 Thread Bibo Mao
If there are two threads hitting page fault at the same page, one thread updates PTE entry and local TLB, the other can update local tlb also, rather than give up and do page fault again. --- Change in V2: - separate tlb update and add pte readable privilege into two patches Signed-off-by: Bibo

[PATCH 1/3] MIPS: Do not flush tlb page when updating PTE entry

2020-05-14 Thread Bibo Mao
It is not necessary to flush tlb page on all CPUs if suitable PTE entry exists already during page fault handling, just updating TLB is fine. Here redefine flush_tlb_fix_spurious_fault as empty on mips system. --- Change in v2: - split flush_tlb_fix_spurious_fault and tlb update into two patches

Re: [PATCH v2 06/10] mm/swap: use npage_to_sectors() and PAGE_SECTORS to clean up code

2020-05-14 Thread Matthew Wilcox
On Thu, May 07, 2020 at 03:50:56PM +0800, Zhen Lei wrote: > @@ -266,7 +266,7 @@ int swap_writepage(struct page *page, struct > writeback_control *wbc) > > static sector_t swap_page_sector(struct page *page) > { > - return (sector_t)__page_file_index(page) << (PAGE_SHIFT - 9); > +

Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 11:59 PM, John Hubbard wrote: > On 2020-05-11 21:22, Anshuman Khandual wrote: >> Add the following new trace events which will help in validating >> migration events involving PMD based THP pages. >> >> 1. THP_PMD_MIGRATION_ENTRY_SET 2. THP_PMD_MIGRATION_ENTRY_REMOVE >> >> There

[PATCH v4] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2020-05-14 Thread Rob Landley
FYI I dug up my old https://lkml.org/lkml/2017/9/13/651 and ported it to current, because I needed it for a thing. From: Rob Landley Make initramfs honor CONFIG_DEVTMPFS_MOUNT, and move /dev/console open after devtmpfs mount. Add workaround for Debian bug that was copied by Ubuntu.

Re: linux-next: manual merge of the amdgpu tree with the pm tree

2020-05-14 Thread Stephen Rothwell
Hi all, On Fri, 8 May 2020 14:34:57 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the amdgpu tree got a conflict in: > > drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c > > between commit: > > e07515563d01 ("PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP") > > from the pm tree and

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-14 Thread Viresh Kumar
On Fri, 15 May 2020 at 02:33, Georgi Djakov wrote: > ---8<--- > diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig > index 206caa0ea1c6..6661788b1a76 100644 > --- a/drivers/usb/dwc3/Kconfig > +++ b/drivers/usb/dwc3/Kconfig > @@ -129,6 +129,7 @@ config USB_DWC3_QCOM >

Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 07:58 PM, Zi Yan wrote: > On 12 May 2020, at 0:22, Anshuman Khandual wrote: > >> Add the following new trace events which will help in validating migration >> events involving PMD based THP pages. >> >> 1. THP_PMD_MIGRATION_ENTRY_SET >> 2. THP_PMD_MIGRATION_ENTRY_REMOVE >> >>

Re: memory offline infinite loop after soft offline

2020-05-14 Thread 堀口 直也
On Thu, May 14, 2020 at 10:46:33PM -0400, Qian Cai wrote: > > > > On Oct 20, 2019, at 11:16 PM, Naoya Horiguchi > > wrote: > > > > On Fri, Oct 18, 2019 at 07:56:09AM -0400, Qian Cai wrote: > >> > >> > >>On Oct 18, 2019, at 2:35 AM, Naoya Horiguchi > >>wrote: > >> > >> > >>

[PATCH] x86/PCI: Mark Ice Lake Power Control Unit as having non-compliant BARs

2020-05-14 Thread Xiaochun Lee
From: Xiaochun Lee The device [8086:a26c] have the same PCI BARs problem as the device [8086:2fc0], it is a Power Control Unit of Intel Ice Lake Server Processor, kernel treats the "Power Control Unit's CONFIG_TDP_NOMINAL CSR" as a base address register leading to a boot failure like "pci

[PATCH 5.4] selftests/bpf: fix goto cleanup label not defined

2020-05-14 Thread Hangbin Liu
kernel test robot found a warning when build bpf selftest for 5.4.y stable tree: prog_tests/stacktrace_build_id_nmi.c:55:3: error: label ‘cleanup’ used but not defined goto cleanup; ^~~~ This is because we are lacking upstream commit dde53c1b763b ("selftests/bpf: Convert few more selftest

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

2020-05-14 Thread Ira Weiny
On Thu, May 14, 2020 at 08:08:39AM -0700, Darrick J. Wong wrote: > On Wed, May 13, 2020 at 11:53:13PM -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > > operate the same. > > > > Specifically we introduce a

Re: [PATCH v14 03/11] soc: mediatek: Add basic_clk_name to scp_power_data

2020-05-14 Thread Weiyi Lu
On Mon, 2020-05-11 at 14:02 +0800, Weiyi Lu wrote: > On Wed, 2020-05-06 at 23:01 +0200, Enric Balletbo i Serra wrote: > > Hi Weiyi, > > > > Thank you for your patch. > > > > On 6/5/20 10:15, Weiyi Lu wrote: > > > Try to stop extending the clk_id or clk_names if there are > > > more and more new

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 01:06 PM, Will Deacon wrote: > On Thu, May 14, 2020 at 07:14:58AM +0530, Anshuman Khandual wrote: >> On 05/13/2020 08:34 PM, Dave Martin wrote: >>> On Thu, May 07, 2020 at 06:59:10PM +0530, Anshuman Khandual wrote: diff --git a/arch/arm64/include/asm/hwcap.h

[PATCH v2 2/2] MIPS: Fix build errors under CONFIG_HAVE_STD_PC_SERIAL_PORT

2020-05-14 Thread Tiezhu Yang
When CONFIG_HAVE_STD_PC_SERIAL_PORT is set, include linux/module.h to fix the following build errors: CC arch/mips/kernel/8250-platform.o arch/mips/kernel/8250-platform.c:42:1: error: data definition has no type or storage class [-Werror] module_init(uart8250_init); ^

[PATCH v2 1/2] MIPS: Loongson: Build ATI Radeon GPU driver as module

2020-05-14 Thread Tiezhu Yang
When ATI Radeon GPU driver has been compiled directly into the kernel instead of as a module, we should make sure the firmware for the model (check available ones in /lib/firmware/radeon) is built-in to the kernel as well, otherwise there exists the following fatal error during GPU init, change

[PATCH] net: mscc: ocelot: replace readx_poll_timeout with readx_poll_timeout_atomic

2020-05-14 Thread Xulin Sun
This fixes call trace like below to use atomic safe API: BUG: sleeping function called from invalid context at drivers/net/ethernet/mscc/ocelot.c:59 in_atomic(): 1, irqs_disabled(): 0, pid: 3778, name: ifconfig INFO: lockdep is turned off. Preemption disabled at: [] dev_set_rx_mode+0x24/0x40

Re: [PATCH 1/2] MIPS: Loongson: Fix fatal error during GPU init

2020-05-14 Thread Jiaxun Yang
于 2020年5月15日 GMT+08:00 上午11:09:56, Tiezhu Yang 写到: >On 05/15/2020 10:33 AM, Jiaxun Yang wrote: >> >> 于 2020年5月15日 GMT+08:00 上午10:15:00, Tiezhu Yang 写到: >>> When ATI Radeon graphics card has been compiled directly into the kernel >>> instead of as a module, we should make sure the firmware for

linux-next: manual merge of the bpf-next tree with the bpf tree

2020-05-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: kernel/bpf/verifier.c between commit: e92888c72fbd ("bpf: Enforce returning 0 for fentry/fexit progs") from the bpf tree and commit: 15d83c4d7cef ("bpf: Allow loading of a bpf_iter program") from the bpf-next

Re: [PATCH v2 2/3] dt-bindings: power: reset: Unrequire regmap property in syscon-reboot node

2020-05-14 Thread Rob Herring
On Fri, 8 May 2020 02:38:45 +0300, Serge Semin wrote: > Since normally syscon-reboot block is supposed to be a part of a system > controller, lets mark the regmap property as deprecated and recommend the > syscon-reboot node to be a sub-node of SYSCON. > > Signed-off-by: Serge Semin > Cc: Alexey

Re: [PATCH v2 2/4] dt-bindings: bus: Add Baikal-T1 APB-bus binding

2020-05-14 Thread Rob Herring
On Fri, 8 May 2020 01:41:14 +0300, Serge Semin wrote: > Baikal-T1 CPU or DMAC MMIO requests are handled by the AMBA 3 AXI > Interconnect which routes them to the AXI-APB bridge, which in turn > serializes accesses and routes them to the corresponding APB slave device. > This binding describes the

Re: [PATCH v2 1/4] dt-bindings: bus: Add Baikal-T1 AXI-bus binding

2020-05-14 Thread Rob Herring
On Fri, 8 May 2020 01:41:13 +0300, Serge Semin wrote: > AXI3-bus is the main communication bus connecting all high-speed > peripheral IP-cores with RAM controller and with MIPS P5600 cores on > Baikal-T1 SoC. This binding describes the DW AMBA 3 AXI Inteconnect > and Errors Handler Block

Re: [RFC 3/3] dt-bindings: usb: dwc3: Add entry for tx-fifo-resize

2020-05-14 Thread Rob Herring
On Thu, May 07, 2020 at 02:59:28PM -0700, Wesley Cheng wrote: > Re-introduce the comment for the tx-fifo-resize setting for the DWC3 > controller. Why? > > Signed-off-by: Wesley Cheng > --- > Documentation/devicetree/bindings/usb/dwc3.txt | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 1/2] dt-bindings: usb: Add TI tps6598x device tree binding documentation

2020-05-14 Thread Rob Herring
On Thu, May 07, 2020 at 10:47:32PM +0100, Bryan O'Donoghue wrote: > Add device tree binding documentation for the Texas Instruments tps6598x > Type-C chip driver. > > Cc: Rob Herring > Cc: Heikki Krogerus > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Cc: devicet...@vger.kernel.org

  1   2   3   4   5   6   7   8   9   10   >