Re: [RESEND][PATCH] cpuidle/powernv : Restore different PSSCR for idle and hotplug

2018-03-06 Thread Vaidyanathan Srinivasan
* Benjamin Herrenschmidt [2018-03-01 08:40:22]: > On Thu, 2018-03-01 at 01:03 +0530, Akshay Adiga wrote: > > commit 1e1601b38e6e ("powerpc/powernv/idle: Restore SPRs for deep idle > > states via stop API.") uses stop-api provided by the firmware to restore > > PSSCR. PSSCR restore is required for

Re: KASAN: use-after-free Read in __list_del_entry_valid (3)

2018-03-06 Thread Martijn Coenen
On Tue, Mar 6, 2018 at 9:30 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 094b58e1040a44f991d7ab628035e69c4d6b79c9 (Mon Mar 5 19:57:06 2018 +) > Merge tag 'linux-kselftest-4.16-rc5' of > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest I

[PATCH v5 4/7] x86: Align x86_64 PCI_MMCONFIG with 32-bit variant

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Allow to enable PCI_MMCONFIG when only SFI is present and make this option default on. This will help consolidating both into one Kconfig statement. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kc

[PATCH v5 3/7] x86/jailhouse: Enable PCI mmconfig access in inmates

2018-03-06 Thread Jan Kiszka
From: Otavio Pontes Use the PCI mmconfig base address exported by jailhouse in boot parameters in order to access the memory mapped PCI configuration space. Signed-off-by: Otavio Pontes [Jan: rebased, fixed !CONFIG_PCI_MMCONFIG, used pcibios_last_bus] Signed-off-by: Jan Kiszka Reviewed-by: And

[PATCH v5 5/7] x86: Consolidate PCI_MMCONFIG configs

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Since e279b6c1d329 ("x86: start unification of arch/x86/Kconfig.*"), we have two PCI_MMCONFIG entries, one from the original i386 and another from x86_64. This consolidates both entries into a single one. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig | 11 --- 1 file

[PATCH v5 2/7] PCI: Scan all functions when running over Jailhouse

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Per PCIe r4.0, sec 7.5.1.1.9, multi-function devices are required to have a function 0. Therefore, Linux scans for devices at function 0 (devfn 0/8/16/...) and only scans for other functions if function 0 has its Multi-Function Device bit set or ARI or SR-IOV indicate there are

[PATCH v5 6/7] x86/jailhouse: Allow to use PCI_MMCONFIG without ACPI

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Jailhouse does not use ACPI, but it does support MMCONFIG. Make sure the latter can be built without having to enable ACPI as well. Primarily, we need to make the AMD mmconf-fam10h_64 depend upon MMCONFIG and ACPI, instead of just the former. Saves some bytes in the Jailhouse no

[PATCH v5 7/7] MAINTAINERS: Add entry for Jailhouse

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Signed-off-by: Jan Kiszka --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4623caf8d72d..6dc0b8f3ae0e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7523,6 +7523,13 @@ Q: http://patchwork.linuxtv.org/project/linux

[PATCH v5 0/7] jailhouse: Enhance secondary Jailhouse guest support /wrt PCI

2018-03-06 Thread Jan Kiszka
Basic x86 support [1] for running Linux as secondary Jailhouse [2] guest is currently pending in the tip tree. This builds on top and enhances the PCI support for x86 and also ARM guests (ARM[64] does not require platform patches and works already). Key elements of this series are: - detection of

[PATCH v5 1/7] jailhouse: Provide detection for non-x86 systems

2018-03-06 Thread Jan Kiszka
From: Jan Kiszka Implement jailhouse_paravirt() via device tree probing on architectures != x86. Will be used by the PCI core. CC: Rob Herring CC: Mark Rutland CC: Juergen Gross Signed-off-by: Jan Kiszka Reviewed-by: Juergen Gross --- Documentation/devicetree/bindings/jailhouse.txt | 8 ++

[PATCH v4 3/3] security: Add an example sample dynamic LSM

2018-03-06 Thread Sargun Dhillon
This adds an example LSM that utilizes the features added by the dynamically loadable LSMs patch. Once the module is unloaded, the command is once again allowed. It prevents the user from running: date --set="October 21 2015 16:29:00 PDT" Signed-off-by: Sargun Dhillon --- samples/Kconfig

[PATCH v4 2/3] security: Expose a mechanism to load lsm hooks dynamically at runtime

2018-03-06 Thread Sargun Dhillon
This patch adds dynamic security hooks. These hooks are designed to allow for safe runtime loading. These hooks are only run after all built-in, and major LSMs are run. The LSMs enabled by this feature must be minor LSMs, but they can poke at the security blobs, as the blobs should be initialized

[PATCH v4 0/3] Safe, dynamically loadable LSM hooks

2018-03-06 Thread Sargun Dhillon
This patchset introduces safe dynamic LSM support. These are currently not unloadable, until we figure out a use case that needs that. Adding an unload hook is trivial given the way the patch is written. This exposes a second mechanism of loading hooks which are in modules. These hooks are behind

Re: WARNING: kmalloc bug in memdup_user

2018-03-06 Thread Leon Romanovsky
On Tue, Mar 06, 2018 at 10:59:02PM -0800, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > ce380619fab99036f5e745c7a865b21c59f005f6 (Tue Mar 6 04:31:14 2018 +) > Merge tag 'please-pull-ia64_misc' of > git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux > > So

[PATCH v4 1/3] security: Refactor LSM hooks into an array and enum

2018-03-06 Thread Sargun Dhillon
This commit should have no functional change. It changes the security hook list heads struct into an array. Additionally, it exposes all of the hooks via an enum. This loses memory layout randomization as the enum is not randomized. Signed-off-by: Sargun Dhillon --- include/linux/lsm_hooks.h | 4

Re: [PATCH 4.4 054/108] mtd: cfi: convert inline functions to macros

2018-03-06 Thread Boris Brezillon
On Mon, 05 Mar 2018 02:22:52 + Ben Hutchings wrote: > On Thu, 2018-02-15 at 16:16 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Arnd Bergmann > > > > commit 9e343e87d2c4c707ef8fae28

Re: [PATCH V2 1/2] mmc: sdhci-msm: Add support to store supported vdd-io voltages

2018-03-06 Thread Vijay Viswanath
Hi Dough, Jeremy, On 3/3/2018 4:38 AM, Jeremy McNicoll wrote: On 2018-03-02 10:23 AM, Doug Anderson wrote: Hi, On Sun, Feb 11, 2018 at 10:01 PM, Vijay Viswanath wrote: During probe check whether the vdd-io regulator of sdhc platform device can support 1.8V and 3V and store this information a

Re: [PATCH 1/3] vfio/pci: Pull BAR mapping setup from read-write path

2018-03-06 Thread Peter Xu
On Wed, Feb 28, 2018 at 01:14:46PM -0700, Alex Williamson wrote: > This creates a common helper that we'll use for ioeventfd setup. > > Signed-off-by: Alex Williamson Reviewed-by: Peter Xu -- Peter Xu

Re: [PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
On Wednesday 07 March 2018 12:10 PM, Avri Altman wrote: > >> -Original Message- >> From: Harish Jenny K N [mailto:harish_kand...@mentor.com] >> Sent: Wednesday, March 07, 2018 7:38 AM >> To: ulf.hans...@linaro.org; linus.wall...@linaro.org; >> adrian.hun...@intel.com; shawn@rock-chips

Re: [PATCHv2 2/5] x86/boot/compressed/64: Find a place for 32-bit trampoline

2018-03-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Tue, Feb 27, 2018 at 06:42:14PM +0300, Kirill A. Shutemov wrote: > > If a bootloader enables 64-bit mode with 4-level paging, we might need to > > switch over to 5-level paging. The switching requires the disabling of > > paging, which works fine if kernel itself

[PATCH] scsi: jazz_esp, sun3x_esp: Pass struct device pointer in dma calls

2018-03-06 Thread Finn Thain
In jazz_esp and sun3x_esp, the esp_driver_ops methods pass esp->dev in dma api calls as if it was a pointer to a struct device. But it actually points to a struct platform_device. Fix this. Cc: Thomas Bogendoerfer Signed-off-by: Finn Thain --- drivers/scsi/jazz_esp.c | 2 +- drivers/scsi/sun3x

[tip:x86/pti] objtool: Fix 32-bit build

2018-03-06 Thread tip-bot for Josh Poimboeuf
Commit-ID: 63474dc4ac7ed3848a4786b9592dd061901f606d Gitweb: https://git.kernel.org/tip/63474dc4ac7ed3848a4786b9592dd061901f606d Author: Josh Poimboeuf AuthorDate: Tue, 6 Mar 2018 17:58:15 -0600 Committer: Ingo Molnar CommitDate: Wed, 7 Mar 2018 07:50:38 +0100 objtool: Fix 32-bit build

[GIT PULL] s390 patches for 4.16-rc5

2018-03-06 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Nine bug fixes for s390: * Three fixes for the expoline code, one of them is strictly speaking a cleanup but as it relates t

Re: [pci PATCH v3 0/3] Add support for unmanaged SR-IOV

2018-03-06 Thread Christoph Hellwig
On Tue, Mar 06, 2018 at 11:29:08AM -0800, Alexander Duyck wrote: > This series is meant to add support for SR-IOV on devices when the VFs are > not managed by the kernel. Examples of recent patches attempting to do this > include: > virto - https://patchwork.kernel.org/patch/10241225/ > pci-stub -

RE: [PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Avri Altman
> -Original Message- > From: Harish Jenny K N [mailto:harish_kand...@mentor.com] > Sent: Wednesday, March 07, 2018 7:38 AM > To: ulf.hans...@linaro.org; linus.wall...@linaro.org; > adrian.hun...@intel.com; shawn@rock-chips.com; Avri Altman > ; andriy.shevche...@linux.intel.com > Cc: l

[PATCH 1/1] iommu/arm-smmu: Add support for qcom,smmu-500 variant

2018-03-06 Thread Vivek Gautam
Qualcomm's arm-smmu 500 implementation supports runtime pm so enable the same. Signed-off-by: Vivek Gautam --- Based on iommu/arm-smmu pm runtime support series [1]: [PATCH v8 0/5] iommu/arm-smmu: Add runtime pm/sleep support Tested on sdm845 with necessary support to enable the smmu and w

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Byungchul Park
On 3/7/2018 2:55 PM, Byungchul Park wrote: On 3/6/2018 10:42 PM, Boqun Feng wrote: On Tue, Mar 06, 2018 at 02:31:58PM +0900, Byungchul Park wrote: Hello Paul and RCU folks, I am afraid I correctly understand and fix it. But I really wonder why sync_rcu_exp_handler() reports the quiescent state

[PATCH v1 1/9] PCI/PM: Move pcie_clear_root_pme_status() to core

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas Move pcie_clear_root_pme_status() from the port driver to the PCI core so it will be available even when the port driver isn't present. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c |9 + drivers/pci/pci.h

[PATCH v1 5/9] PCI/portdrv: Remove pcie_port_bus_type link order dependency

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas The pcie_port_bus_type must be registered before drivers that depend on it can be registered. Those drivers include: pcied_init()# PCIe native hotplug driver aer_service_init() # AER driver dpc_service_init() # DPC driver pcie_pme_se

[PATCH v1 9/9] PCI/portdrv: Remove "pcie_hp=nomsi" kernel parameter

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas 7570a333d8b0 ("PCI: Add pcie_hp=nomsi to disable MSI/MSI-X for pciehp driver") added the "pcie_hp=nomsi" kernel parameter to work around this error on shutdown: irq 16: nobody cared (try booting with the "irqpoll" option) Pid: 1081, comm: reboot Not tainted 3.2.0 #1 ...

[PATCH v1 2/9] PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits early during system resume") added a .resume_noirq() callback to the PCIe port driver to clear the PME Status bit during resume to work around a BIOS issue. The BIOS evidently enabled PME interrupts for ACPI-based runtime wa

[PATCH v1 7/9] PCI/portdrv: Simplify PCIe feature permission checking

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas Some PCIe features (AER, DPC, hotplug, PME) can be managed by either the platform firmware or the OS, so the host bridge driver may have to request permission from the platform before using them. On ACPI systems, this is done by negotiate_os_control() in acpi_pci_root_add().

[PATCH v1 4/9] PCI/portdrv: Disable port driver in compat mode

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas The "pcie_ports=compat" kernel parameter sets pcie_ports_disabled, which is intended to disable the PCIe port driver. But even when it was disabled, we registered pcie_portdriver so we could work around a BIOS PME issue (see fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits

[PATCH v1 8/9] PCI/portdrv: Remove unnecessary include of

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas portdrv_pci.c doesn't use anything from . Remove the include of it. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/portdrv_pci.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portd

[PATCH v1 3/9] PCI/PM: Clear PCIe PME Status bit for Root Complex Event Collectors

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas Per PCIe r4.0, sec 6.1.6, Root Complex Event Collectors can generate PME interrupts on behalf of Root Complex Integrated Endpoints. Linux does not currently enable PME interrupts from RC Event Collectors, but fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits early during sy

[PATCH v1 6/9] PCI/portdrv: Remove unused PCIE_PORT_SERVICE_VC

2018-03-06 Thread Bjorn Helgaas
From: Bjorn Helgaas No driver registers for PCIE_PORT_SERVICE_VC, so remove it. This removes the VC "service" files from /sys/bus/pci_express/devices, e.g., :07:00.0:pcie108, :08:04.0:pcie208 (all the files that contained "8" as the last digit of the "pcieXXX" part). The port driver cre

[PATCH v1 0/9] PCI: Simplify PCIe port driver

2018-03-06 Thread Bjorn Helgaas
This is an attempt to move a few things out of the port driver. Patches 1-2 move a workaround for a BIOS PME issue from the port driver to the PCI core, so it doesn't depend on CONFIG_PCIEPORTBUS. Patch 3 extends that workaround so it works for Root Complex Event Collectors. I haven't seen repor

Re: [PATCH v2] xhci: Fix front USB ports on ASUS PRIME B350M-A

2018-03-06 Thread Kai Heng Feng
Hi Matthias, Do you have any concern about this patch? Hopefully this can get merged for v4.16… Kai-Heng

Re: [PATCH 3/3] vfio/pci: Add ioeventfd support

2018-03-06 Thread Peter Xu
On Wed, Feb 28, 2018 at 01:15:20PM -0700, Alex Williamson wrote: [...] > @@ -1174,6 +1206,8 @@ static int vfio_pci_probe(struct pci_dev *pdev, const > struct pci_device_id *id) > vdev->irq_type = VFIO_PCI_NUM_IRQS; > mutex_init(&vdev->igate); > spin_lock_init(&vdev->irqlock); >

Re: [RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-06 Thread Byungchul Park
On 3/6/2018 10:42 PM, Boqun Feng wrote: On Tue, Mar 06, 2018 at 02:31:58PM +0900, Byungchul Park wrote: Hello Paul and RCU folks, I am afraid I correctly understand and fix it. But I really wonder why sync_rcu_exp_handler() reports the quiescent state even in the case that current task is withi

[PATCH] ipmi:ssif: Fix double probe from tryacpi and trydmi

2018-03-06 Thread Jiandi An
IPMI SSIF driver's parameter tryacpi and trydmi both are set to true. The addition of IPMI DMI driver to create platform device for each IPMI device causes SSIF probe to be done twice on the same SMB I2C address for BMC. Fix is to not call trydmi if tryacpi is able to find I2C address for BMC fro

[PATCH] staging: lustre: Remove VLA usage

2018-03-06 Thread Kees Cook
The kernel would like to remove all VLA usage. This switches to a simple kasprintf() instead. Signed-off-by: Kees Cook --- drivers/staging/lustre/lustre/llite/xattr.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/xatt

[PATCH] staging: iio: meter: Remove reduntant __func__ from debug print

2018-03-06 Thread hariprasath . elango
From: HariPrasath Elango dev_dbg includes the function name & line number by default when dynamic debugging is enabled. Hence__func__ is reduntant here and removed. Signed-off-by: HariPrasath Elango --- drivers/staging/iio/meter/ade7758_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v6: - Use

[PATCH] security: Fix IMA Kconfig for dependencies on ARM64

2018-03-06 Thread Jiandi An
TPM_CRB driver is the TPM support for ARM64. If it is built as module, TPM chip is registered after IMA init. tpm_pcr_read() in IMA driver would fail and display the following message even though eventually there is TPM chip on the system: ima: No TPM chip found, activating TPM-bypass! (rc=-19)

Re: [PATCH] staging: iio: adc: Remove reduntant __func__ from debug print

2018-03-06 Thread
On Wed, Mar 07, 2018 at 10:40:05AM +0530, hariprasath.ela...@gmail.com wrote: > From: HariPrasath Elango > > dev_dbg includes the function name & line number by default when dynamic > debugging is enabled. Hence__func__ is reduntant here and removed. > > Signed-off-by: HariPrasath Elango > ---

Re: [PATCH v2] arm64: dts: msm8916: Add cpu cooling maps

2018-03-06 Thread Viresh Kumar
On Wed, Mar 7, 2018 at 10:30 AM, Amit Kucheria wrote: > From: Rajendra Nayak > > Add cpu cooling maps for cpu passive trip points. The cpu cooling > device states are mapped to cpufreq based scaling frequencies. > > Signed-off-by: Rajendra Nayak > Signed-off-by: Amit Kucheria > --- > arch/arm6

[PATCH] staging: iio: adc: Remove reduntant __func__ from debug print

2018-03-06 Thread hariprasath . elango
From: HariPrasath Elango dev_dbg includes the function name & line number by default when dynamic debugging is enabled. Hence__func__ is reduntant here and removed. Signed-off-by: HariPrasath Elango --- drivers/staging/iio/meter/ade7758_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH v9 14/15] cpufreq: Add module to register cpufreq on Krait CPUs

2018-03-06 Thread Viresh Kumar
On 06-03-18, 20:09, Sricharan R wrote: > From: Stephen Boyd > > Register a cpufreq-generic device whenever we detect that a > "qcom,krait" compatible CPU is present in DT. > > Acked-by: Viresh Kumar > [Sricharan: updated to use dev_pm_opp_set_prop_name and > nvmem apis] > Signed-off-b

[PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node

2018-03-06 Thread Haiyue Wang
The IPMI KCS device part of the LPC interface and is used for communication with the host processor. Signed-off-by: Haiyue Wang --- arch/arm/boot/dts/aspeed-g5.dtsi | 43 +++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspe

[PATCH v2] mmc: Export card RCA register to sysfs.

2018-03-06 Thread Harish Jenny K N
This patch exports RCA register to sysfs which will help in reading the disk identification information. Reviewed-by: Shawn Lin Signed-off-by: Harish Jenny K N --- Changes in v2: - Used 0x%04x to display 16 bit register drivers/mmc/core/mmc.c | 2 ++ drivers/mmc/core/sd.c | 2 ++ 2 files cha

[PATCH v2] arm64: dts: msm8916: Add cpu cooling maps

2018-03-06 Thread Amit Kucheria
From: Rajendra Nayak Add cpu cooling maps for cpu passive trip points. The cpu cooling device states are mapped to cpufreq based scaling frequencies. Signed-off-by: Rajendra Nayak Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 19 +++ 1 file changed,

Re: [PATCH] arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)

2018-03-06 Thread Doug Anderson
Hi, On Tue, Mar 6, 2018 at 10:58 AM, Marc Zyngier wrote: > On 06/03/18 18:49, Heiko Stübner wrote: >> Am Dienstag, 6. März 2018, 19:15:18 CET schrieb Marc Zyngier: >>> Hi Doug, >>> >>> On 06/03/18 18:00, Doug Anderson wrote: Hi, On Tue, Mar 6, 2018 at 3:58 AM, Marc Zyngier wrote:

B2B Prospect Contacts for 2018

2018-03-06 Thread laury . nancy
Hi, Hope you are doing well. We are a database providing company which provides lists/databases for various industries across the globe and we can provide you with contact details of decision makers and influencers of your target market. All the contacts include Contact name, Job title, ma

Re: [PATCH v4 14/24] fpga: dfl: fme: add partial reconfiguration sub feature support

2018-03-06 Thread Wu Hao
On Tue, Mar 06, 2018 at 12:29:35PM -0600, Alan Tull wrote: > On Mon, Mar 5, 2018 at 8:08 PM, Wu Hao wrote: > > On Mon, Mar 05, 2018 at 04:46:02PM -0600, Alan Tull wrote: > >> On Tue, Feb 13, 2018 at 3:24 AM, Wu Hao wrote: > >> > >> Hi Hao, > > > > Hi Alan, > > > > Thanks for the comments. > > >

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-06 Thread Chanwoo Choi
On 2018년 03월 07일 11:12, Chanwoo Choi wrote: > Hi Rob and Andrzej, > > On 2018년 03월 06일 21:53, Andrzej Hajda wrote: >> Hi Rob, Chanwoo, Krzysztof, >> >> >> On 27.02.2018 08:11, Andrzej Hajda wrote: >>> Hi, >>> >>> Thanks for reviews of previous iterations. >>> >>> This patchset introduces USB physi

Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9

2018-03-06 Thread Alex Shi
On 03/07/2018 01:25 AM, Greg KH wrote: > I suggest looking at the backports in the android-common tree that are > needed for this "feature" to work properly, and pull them out and test > them if you really want it in your Linaro trees. If you think some of > them should be added to the LTS kerne

Re: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node

2018-03-06 Thread Wang, Haiyue
On 2018-03-07 11:56, Joel Stanley wrote: And the patch is generated by rebasing on: https://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git Please help to review. Thanks for the patch. I suggest you submit this patch for inclusion in the upstream kernel. To do this, send it to: Joel Stan

[PATCH] x86: mm: typo: fix a typo in a comment line

2018-03-06 Thread Seunghun Han
Fix a typo in a comment line of pti.c. Signed-off-by: Seunghun Han --- arch/x86/mm/pti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/pti.c b/arch/x86/mm/pti.c index ce38f16..631507f 100644 --- a/arch/x86/mm/pti.c +++ b/arch/x86/mm/pti.c @@ -332,7 +332,7 @@ sta

Re: Assalam Alaikum

2018-03-06 Thread Eiman Yousef M A Al-Muzafar
Assalam Alaikum, I am Eiman Yousef M A Al-Muzafar from Qatar, I Need your Urgent Response for a Proposal of Trust and genuineness, Please Contact me now : eimanyouse...@hotmail.com

Re: [PATCH 2/2] trace_uprobe: Simplify probes_seq_show()

2018-03-06 Thread Ravi Bangoria
On 03/07/2018 03:34 AM, Kees Cook wrote: > On Tue, Mar 6, 2018 at 12:12 AM, Ravi Bangoria > wrote: >> >> On 02/08/2018 09:13 AM, Ravi Bangoria wrote: >>> Wang, ping :) >>> >>> Kees, I don't hear back from Wang and no one has reported any issues with >>> the patches yet. Can I have your Acked-by?

[EXP softirq] 3f6b5ffc70: Kernel_panic-not_syncing:kmem_cache_create:Failed_to_create_slab'pid'.Error

2018-03-06 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 3f6b5ffc706a54598b82456ae0be395aa6465982 ("EXP softirq: Is it possible to RCUify BH disable/enable?") https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2018.03.01a in testcase: boot on test machine: qemu-sys

linux-next: Tree for Mar 7

2018-03-06 Thread Stephen Rothwell
Hi all, Changes since 20180306: The mali-dp tree gained a conflict against the drm-misc tree. Non-merge commits (relative to Linus' tree): 5164 5702 files changed, 210449 insertions(+), 150844 deletions(-) I

Re: ext4 ignoring rootfs default mount options

2018-03-06 Thread Theodore Y. Ts'o
On Tue, Mar 06, 2018 at 02:03:15PM -0500, Lennart Sorensen wrote: > While switching a system from using ext3 to ext4 (It's about time) I > discovered that setting default options for the filesystem using tune2fs > -o doesn't work for the root filesystem when mounted by the kernel itself. > Filesyst

Re: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node

2018-03-06 Thread Joel Stanley
On Sun, Mar 4, 2018 at 3:33 PM, Haiyue Wang wrote: > The IPMI KCS device part of the LPC interface and is used for > communication with the host processor. > > Signed-off-by: Haiyue Wang > --- > Hi Joel & Andrew, > > The kcs-bmc-aspeed module has been in: > https://git.kernel.org/pub/scm/linux/ke

Re: [PATCH] MAINTAINERS: Add linux/of_*.h headers to appropriate subsystems

2018-03-06 Thread Vinod Koul
On Tue, Mar 06, 2018 at 09:13:34AM -0600, Rob Herring wrote: > The DeviceTree support code for specific subsystems are maintained by > the respective subsystem maintainers. However, only the DT > maintainers are listed for most of the linux/of_*.h headers. Fix this > and add the headers to the appr

Re: [PATCH v2 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding

2018-03-06 Thread Matheus Castello
Hi Eric, thanks for reviewing it. I will send the v3 of the patch with your notes. I will just wait for the Linus considerations. Best Regards Matheus Castello On 03/05/2018 07:21 PM, Eric Anholt wrote: > Matheus Castello writes: > >> To keep driver up to date we add generic pinctrl binding s

[PATCH] configfs: initialize inode with owner

2018-03-06 Thread Gwendal Grignou
From: Sarthak Kukreti Use standard helper to set inode owner when created from user space. This is a noop when the owner is root. Signed-off-by: Sarthak Kukreti Signed-off-by: Gwendal Grignou --- fs/configfs/configfs_internal.h | 5 - fs/configfs/inode.c | 14 --

Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9

2018-03-06 Thread Alex Shi
>>> But really, I don't see this need as all ARM devices that I know of that >>> are stuck on 4.9.y are already using the android-common tree. Same for >>> 4.4.y. Do you know of any that are not, and that can not just use >>> 4.14.y instead? >> >> There's way more to ARM than just Android system

Re: [PATCH v7 13/14] iommu/rockchip: Add runtime PM support

2018-03-06 Thread Tomasz Figa
On Wed, Mar 7, 2018 at 12:16 PM, JeffyChen wrote: > Hi Tomasz, > > Thanks for your reply. > > On 03/06/2018 06:07 PM, Tomasz Figa wrote: >> >> Hi Jeffy, >> >> It looks like I missed some details of how runtime PM enable works >> before, so we might be able to simplify things. Sorry for not getting

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-06 Thread Greg KH
On Tue, Mar 06, 2018 at 05:07:45PM -0800, Alexei Starovoitov wrote: > combining multiple answers... > > On 3/6/18 3:05 AM, Greg KH wrote: > > > > Any chance you can add a field to your "umh module" type such that a > > normal 'modinfo' program will be able to notice it is different easily? > > o

Re: [PATCH v7 13/14] iommu/rockchip: Add runtime PM support

2018-03-06 Thread Tomasz Figa
On Tue, Mar 6, 2018 at 7:07 PM, Tomasz Figa wrote: > Hi Jeffy, > > It looks like I missed some details of how runtime PM enable works > before, so we might be able to simplify things. Sorry for not getting > things right earlier. > > On Tue, Mar 6, 2018 at 12:27 PM, Jeffy Chen wrote: >> When the

Re: [PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core

2018-03-06 Thread Julia Cartwright
On Wed, Feb 21, 2018 at 08:15:59AM -0800, Jae Hyun Yoo wrote: > This commit adds driver implementation for PECI bus into linux > driver framework. > > Signed-off-by: Jae Hyun Yoo > --- [..] > +static int peci_locked_xfer(struct peci_adapter *adapter, > + struct peci_xfer_m

Re: [PATCH v2] scsi: sd: Keep disk read-only when re-reading partition

2018-03-06 Thread Martin K. Petersen
Jeremy, > Sorry about this, but there's a bug in the first version of this patch. > I'm not sure what the protocol is for sending revised patches when the > earlier version got accepted, but I don't see the first version in > 4.16/scsi-fixes yet. It's your lucky day! I botched fixing up somethin

Re: [PATCH 7/7] RCU, workqueue: Implement rcu_work

2018-03-06 Thread Lai Jiangshan
On Wed, Mar 7, 2018 at 1:33 AM, Tejun Heo wrote: > +/** > + * queue_rcu_work_on - queue work on specific CPU after a RCU grace period > + * @cpu: CPU number to execute work on > + * @wq: workqueue to use > + * @rwork: work to queue For many people, "RCU grace period" is clear enough, but not ALL

Re: [PATCH 1/3] arm64: dts: msm8916: Add cpu cooling maps

2018-03-06 Thread Viresh Kumar
On Tue, Mar 6, 2018 at 8:13 PM, Rob Herring wrote: > On Tue, Mar 6, 2018 at 7:05 AM, Amit Kucheria > wrote: >> model = "Qualcomm Technologies, Inc. MSM8916"; >> @@ -115,6 +116,10 @@ >> cpu-idle-states = <&CPU_SPC>; >> clocks = <&apcs 0>; >

Re: [PATCH v2 1/2] perf sched: move thread::shortname to thread_runtime

2018-03-06 Thread Namhyung Kim
Hi, On Tue, Mar 06, 2018 at 11:37:36AM +0800, changbin...@intel.com wrote: > From: Changbin Du > > The thread::shortname only used by sched command, so move it > to sched private structure. > > Signed-off-by: Changbin Du > --- [SNIP] > diff --git a/tools/perf/util/thread.h b/tools/perf/util/t

[PATCH 2/2] dt-bindings: backlight: Add binding for RAVE SP backlight driver

2018-03-06 Thread Andrey Smirnov
Add Device Tree bindings for RAVE SP backlihgt drvier - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas Stach Cc: Aleksander

[PATCH 1/2] backlight: Add RAVE SP backlight driver

2018-03-06 Thread Andrey Smirnov
This driver provides access to RAVE SP backlight control functionality. Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas Stach Cc: Aleksander Morgado Signed-off-by: Andrey Smirnov --- drivers/video/backlight/Kconfig |

Re: [PATCH v2 0/2] perf sched map: re-annotate shortname if thread comm changed

2018-03-06 Thread Du, Changbin
On Tue, Mar 06, 2018 at 11:17:07AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 06, 2018 at 08:53:02AM +0100, Jiri Olsa escreveu: > > On Tue, Mar 06, 2018 at 11:37:35AM +0800, changbin...@intel.com wrote: > > > From: Changbin Du > > > > > > v2: > > > o add a patch to move thread::shortn

Re: [PATCH v2] selftests: futex Makefile add top level TAP header echo to RUN_TESTS

2018-03-06 Thread Shuah Khan
On 03/05/2018 05:18 PM, Darren Hart wrote: > On Thu, Mar 01, 2018 at 01:19:07PM -0700, Shuah Khan wrote: >> Add top level TAP header echo, testname and separator line to make >> the output consistent with the common run_tests target. >> >> This change prevents nested TAP13 headers output from indiv

Re: [Question] printk_safe: Do you want synch./barriers in raw_spin_is_locked()

2018-03-06 Thread Sergey Senozhatsky
Hello, I'll Cc linux-kernel On (03/06/18 17:21), Steven Rostedt wrote: > On Tue, 6 Mar 2018 15:58:46 +0100 > Andrea Parri wrote: > > > Dear PRINTK maintainers, > > > > Following a recent discussion on LKML[1], I started auditing callsites > > of spin_is_locked() and the "implicit" assumptions

Re: [PATCH v2 01/11] kbuild: define PYTHON2 and PYTHON3 variables instead of PYTHON

2018-03-06 Thread Masahiro Yamada
2018-03-07 2:16 GMT+09:00 Tony Luck : > On Thu, Mar 1, 2018 at 8:31 PM, Masahiro Yamada > wrote: >> arch/ia64/scripts/unwcheck.py is apparently written in Python 2, so >> it should be invoked by 'python2'. > > I pushed the patch from Corentin Labbe to update this script to run with > either > pyt

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-06 Thread Sergey Senozhatsky
Hello Arnd, On (03/06/18 14:27), Arnd Bergmann wrote: [..] > As we are now removing blackfin, based on the latest discussion, this > part should no longer be necessary. When is this going to happen? 4.17? [..] > nds32 currently only exists in linux-next, not in the mainline kernel. > If it's the

Re: C tricks for efficient stack zeroing

2018-03-06 Thread Julia Cartwright
On Fri, Mar 02, 2018 at 08:50:17PM +0100, Jason A. Donenfeld wrote: [..] > What would be really nice would be to somehow keep track of the > maximum stack depth, and just before the function returns, clear from > the maximum depth to its stack base, all in one single call. This > would not only mak

Re: [PATCH V4] scsi: core: use blk_mq_requeue_request in __scsi_queue_insert

2018-03-06 Thread Martin K. Petersen
Jianchao, > In scsi core, __scsi_queue_insert should just put request back on > the queue and retry using the same command as before. However, for > blk-mq, scsi_mq_requeue_cmd is employed here which will unprepare > the request. To align with the semantics of __scsi_queue_insert, > use blk_mq_re

Re: [PATCH 4.4 06/34] sget(): handle failures of register_shrinker()

2018-03-06 Thread Ben Hutchings
On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Al Viro > > > [ Upstream commit 9ee332d99e4d5a97548943b81c54668450ce641b ] > > Signed-off-by: Al Viro > Signed-off-by: S

Re: [RESEND PATCH v3] crypto: add zBeWalgo compression for zram

2018-03-06 Thread Sergey Senozhatsky
Hello, On (03/06/18 20:59), Benjamin Warnke wrote: >Currently ZRAM uses compression-algorithms from the crypto-api. ZRAM >compresses each page individually. As a result the compression algorithm >is >forced to use a very small sliding window. None of the available >compression

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-06 Thread Chanwoo Choi
Hi Rob and Andrzej, On 2018년 03월 06일 21:53, Andrzej Hajda wrote: > Hi Rob, Chanwoo, Krzysztof, > > > On 27.02.2018 08:11, Andrzej Hajda wrote: >> Hi, >> >> Thanks for reviews of previous iterations. >> >> This patchset introduces USB physical connector bindings, together with >> working example.

[PATCH v3 1/2] input: Add RAVE SP Powerbutton driver

2018-03-06 Thread Andrey Smirnov
Add driver that properly handles input event emitted by RAVE SP devices. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Guenter Roeck Cc: Chris Healy Cc: Lucas Stach Reviewed-by: Lucas S

Re: [RFC PATCH 1/2] riscv/spinlock: Strengthen implementations with fences

2018-03-06 Thread Palmer Dabbelt
On Mon, 05 Mar 2018 10:24:09 PST (-0800), parri.and...@gmail.com wrote: Current implementations map locking operations using .rl and .aq annotations. However, this mapping is unsound w.r.t. the kernel memory consistency model (LKMM) [1]: Referring to the "unlock-lock-read-ordering" test reporte

[PATCH v3 2/2] dt-bindings: input: Add binding for RAVE SP input driver

2018-03-06 Thread Andrey Smirnov
Add Device Tree bindings for RAVE SP input drvier - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vg

Re: ftrace: Proposal for an Alternative RecordMcount framework

2018-03-06 Thread Steven Rostedt
On Wed, 7 Mar 2018 09:47:47 +0800 Alan Kao wrote: > > Please allow me to state the problem more clearly here. I hope this helps. > > > > 1. locations of mcount are recorded in a per-file basis. > > 2. to optimize the binary, the linker turns on some aggressive > >options, including relaxat

Re: [PATCH] ubi: Reject MLC NAND

2018-03-06 Thread David Oberhollenzer
On 03/07/2018 12:18 AM, Pavel Machek wrote: > Now... Yes, handling flash is hard, MLC NAND is worst of the > bunch. But... > MLC is not just more flimsy than SLC NAND. The real problem is that on MLC NAND, pages come in pairs. Multiple voltage levels inside a single, physical memory cell are use

Re: Regression in IPMI on 4.15.6

2018-03-06 Thread Corey Minyard
On 03/06/2018 05:54 PM, Laura Abbott wrote: On 03/06/2018 09:19 AM, Corey Minyard wrote: On 03/06/2018 11:17 AM, Laura Abbott wrote: On 03/05/2018 11:39 AM, Corey Minyard wrote: On 03/05/2018 01:31 PM, Corey Minyard wrote: On 03/05/2018 01:07 PM, Laura Abbott wrote: On 03/02/2018 05:46 AM, C

Re: [PATCH v2 2/2] dt-bindings: input: Add binding for RAVE SP input driver

2018-03-06 Thread Andrey Smirnov
On Tue, Mar 6, 2018 at 6:17 AM, Fabio Estevam wrote: > Hi Andrey, > > On Thu, Mar 1, 2018 at 1:55 PM, Andrey Smirnov > wrote: > l >> +++ b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt >> @@ -0,0 +1,24 @@ >> +Zodiac Inflight Innovations RAVE Supervisory Processor Power Button

Re: ftrace: Proposal for an Alternative RecordMcount framework

2018-03-06 Thread Alan Kao
On Thu, Mar 01, 2018 at 10:05:07AM +0800, Alan Kao wrote: > On Wed, Feb 28, 2018 at 05:12:52AM +0800, Steven Rostedt wrote: > > On Tue, 27 Feb 2018 18:04:26 +0800 > > Alan Kao wrote: > > > > > 1. During the final linking stages, do "objdump vmlinux.o | grep ..." [2] > > > > Note, doing it at th

[PATCH] staging: most: Remove unnecessary usage of BUG_ON().

2018-03-06 Thread Quytelda Kahja
There is no need for the calls to BUG_ON() in this driver, which are used to check if mbo or mbo->context are NULL; mbo is never NULL, and if mbo->context is NULL it would have already been dereferenced and oopsed before reaching the BUG_ON(). Signed-off-by: Quytelda Kahja --- drivers/staging/mo

Re: dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-03-06 Thread Mike Snitzer
On Tue, Mar 06 2018 at 4:33pm -0500, Arnd Bergmann wrote: > On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer wrote: > > On Thu, Feb 22 2018 at 10:56am -0500, > > Arnd Bergmann wrote: > > > > > Mikulas already sent a fix for this: > > https://patchwork.kernel.org/patch/10211631/ > > > > But I lik

Re: [PATCH bpf-next v8 00/11] Landlock LSM: Toward unprivileged sandboxing

2018-03-06 Thread Andy Lutomirski
On Tue, Mar 6, 2018 at 11:06 PM, Mickaël Salaün wrote: > > On 06/03/2018 23:46, Tycho Andersen wrote: >> On Tue, Mar 06, 2018 at 10:33:17PM +, Andy Lutomirski wrote: > Suppose I'm writing a container manager. I want to run "mount" in the > container, but I don't want to allow moun() i

  1   2   3   4   5   6   7   8   9   >