Re: [PATCH 0/5] PPC32/ioremap: Use memblock API to check for RAM

2018-02-23 Thread Christophe LEROY
Le 22/02/2018 à 13:15, Jonathan Neuschäfer a écrit : This patchset solves the same problem as my previous one[1] but follows a rather different approach. Instead of implementing DISCONTIGMEM for PowerPC32, I simply switched the "is this RAM" check in __ioremap_caller to the existing page_is_ram

Re: [PATCH RESEND 1/2] mm: swap: clean up swap readahead

2018-02-23 Thread Huang, Ying
writes: [snip] > diff --git a/mm/swap_state.c b/mm/swap_state.c > index 39ae7cfad90f..c56cce64b2c3 100644 > --- a/mm/swap_state.c > +++ b/mm/swap_state.c > @@ -332,32 +332,38 @@ struct page *lookup_swap_cache(swp_entry_t entry, > struct vm_area_struct *vma, > unsigne

Re: What was last kernel that booted on hardware XY? database was Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2A

2018-02-23 Thread Pavel Machek
Hi! > >> > BTW... I'd really like to have a database of machine, kernel version, > >> > cpuinfo, config... So that questions like "what is the latest kernel > >> > that is known to be running on this hardware" and "what config should > >> > I start from". > >> > > >> > For example, I have nokia N8

Re: collecting simple benchmark scripts?

2018-02-23 Thread Pavel Machek
Hi! > In a separate thread, some folks were looking for some simple > benchmarks for evaluating various changes to kernel internals (as > opposed to the much more focused things like xfstests). For me, this > has been an area of lore and passed-around scripts, and it seems like > maybe we should h

Re: [PATCHv4 2/4] ASoC: codec: cpcap: new codec

2018-02-23 Thread Pavel Machek
On Fri 2018-02-16 14:27:16, Mark Brown wrote: > On Fri, Feb 16, 2018 at 02:51:13PM +0100, Sebastian Reichel wrote: > > On Fri, Feb 16, 2018 at 11:39:01AM +, Mark Brown wrote: > > > > We don't have default lines like this for other MFDs... > > > Is there a reason not to add them? It looks very

Re: [PATCH v12 1/3] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled

2018-02-23 Thread kbuild test robot
Hi Ram, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 2/4] Staging: gdm724x: hci: Changed camel-case to snake-case.

2018-02-23 Thread Greg KH
On Thu, Feb 22, 2018 at 05:32:59PM -0800, Quytelda Kahja wrote: > Changed a variable name from camel to snake case to fix a coding style > issue. > > Signed-off-by: Quytelda Kahja > --- > drivers/staging/gdm724x/hci_packet.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] Staging: rtl8192e: rtllib_crypt_tkip.c: Use __func__ instead of function name and proper code ident for else statement

2018-02-23 Thread Greg KH
On Fri, Feb 23, 2018 at 12:57:16AM +0530, Debopriyo Ghosh wrote: > From: Debopriyo > > This is a patch to the rtllib_crypt_tkip.c file that fixes 2 issues found > by the checkpatch.pl tool > 1.Use of __func__ instead of function name > 2.proper code identation for else statement When you have to

Re: [RFC tip/locking/lockdep v5 08/17] lockdep: Fix recursive read lock related safe->unsafe detection

2018-02-23 Thread Boqun Feng
On Thu, Feb 22, 2018 at 06:46:54PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 03:08:55PM +0800, Boqun Feng wrote: > > There are four cases for recursive read lock realted deadlocks: > > > > (--(X..Y)--> means a strong dependency path starts with a --(X*)--> > > dependency and ends with

Re: [PATCH v11 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-02-23 Thread Simon Horman
On Thu, Feb 22, 2018 at 11:37:20AM +0100, Jacopo Mondi wrote: > Add Capture Engine Unit (CEU) node to device tree. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > Reviewed-by: Laurent Pinchart > Acked-by: Hans Verkuil I have marked this patch as deferred as it depends on t

Re: [PATCH v2 0/3] new driver for Valve Steam Controller

2018-02-23 Thread Benjamin Tissoires
On Thu, Feb 22, 2018 at 6:48 PM, Rodrigo Rivas Costa wrote: > On Thu, Feb 22, 2018 at 06:06:30PM +0100, Benjamin Tissoires wrote: >> On Thu, Feb 22, 2018 at 5:31 PM, Rodrigo Rivas Costa >> wrote: >> > On Thu, Feb 22, 2018 at 10:10:40AM +0100, Benjamin Tissoires wrote: >> >> On Thu, Feb 22, 2018 a

Re: [0/8] target-iSCSI: Adjustments for several function implementations

2018-02-23 Thread SF Markus Elfring
> You're 1/8 patch had an actual bug fix hidden amongst the style churn. It showed the general possibility to adjust the source code structure for the function “chap_server_compute_md5” also because of the usage of the single jump label “out” before. > I don't see any such fixes in the other pat

RE: [PATCH v5] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2018-02-23 Thread Tian, Kevin
> From: Alex Williamson > Sent: Friday, February 23, 2018 6:59 AM > > On Thu, 1 Feb 2018 01:27:38 -0500 > Suravee Suthikulpanit wrote: > > > VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which > requires > > IOTLB flushing for every unmapping. This results in large IOTLB flushing

Re: [2/2] crypto: bcm: One function call less in do_shash() after error detection

2018-02-23 Thread SF Markus Elfring
> This patch is pointless as kfree on NULL is a no-op. I prefer to avoid unnecessary function calls generally. Regards, Markus

[PATCH v11 0/7] Address error and recovery for AER and DPC

2018-02-23 Thread Oza Pawandeep
This patch set brings in error handling support for DPC The current implementation of AER and error message broadcasting to the EP driver is tightly coupled and limited to AER service driver. It is important to factor out broadcasting and other link handling callbacks. So that not only when AER ge

[PATCH v11 1/7] PCI/AER: Rename error recovery to generic pci naming

2018-02-23 Thread Oza Pawandeep
This patch renames error recovery to generic name with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index a4bfea5..aeb83a0 100644 --- a/drivers/pci/pcie/aer/aerdrv_core.c +++ b/drivers/pci/pcie/aer/aerdrv_core.c @@

[PATCH v11 7/7] PCI/DPC: Enumerate the devices after DPC trigger event

2018-02-23 Thread Oza Pawandeep
Implement error_resume callback in DPC so, after DPC trigger event enumerates the devices beneath. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c index e15bcda..751efc0 100644 --- a/drivers/pci/pcie/pcie-dpc.c +++ b/drivers/pci/pcie/pcie-dpc.c

[PATCH v11 4/7] PCI/DPC: Unify and plumb error handling into DPC

2018-02-23 Thread Oza Pawandeep
Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pcie_do_recovery. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index abc514e..f8575da 100644 --- a

[PATCH v11 2/7] PCI/AER: factor out error reporting from AER

2018-02-23 Thread Oza Pawandeep
This patch factors out error reporting callbacks, which are currently tightly coupled with AER. DPC should be able to register callbacks and attmept recovery when DPC trigger event occurs. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index fcd8191..abc514e 1006

[tip:x86/platform] x86/pci: Simplify code by using the new dmi_get_bios_year() helper

2018-02-23 Thread tip-bot for Andy Shevchenko
Commit-ID: 69c42d493db452ea87c1ac56e83c978512f4e6ec Gitweb: https://git.kernel.org/tip/69c42d493db452ea87c1ac56e83c978512f4e6ec Author: Andy Shevchenko AuthorDate: Thu, 22 Feb 2018 14:59:21 +0200 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:20:30 +0100 x86/pci: Simplify code

[PATCH v11 6/7] PCI: Unify wait for link active into generic pci

2018-02-23 Thread Oza Pawandeep
Clients such as pciehp, dpc are using pcie_wait_link_active, which waits till the link becomes active or inactive. Made generic function and moved it to drivers/pci/pci.c Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 18a42f8.

Re: [PATCH] perf annotate: Support to display the LBR data in tui mode

2018-02-23 Thread Peter Zijlstra
On Fri, Feb 23, 2018 at 10:35:58PM +0800, Jin Yao wrote: > Unlike the perf report interactive annotate mode, the perf annotate > doesn't display the LBR data. > > perf record -b ... > perf annotate function > > It should show IPC/cycle, but it doesn't. There is far more than IPC/cycle for the LB

[tip:x86/platform] ACPI/sleep: Simplify code by using the new dmi_get_bios_year() helper

2018-02-23 Thread tip-bot for Andy Shevchenko
Commit-ID: 9c0a30b67bd916a7da1a7101dbf3115e5f10d852 Gitweb: https://git.kernel.org/tip/9c0a30b67bd916a7da1a7101dbf3115e5f10d852 Author: Andy Shevchenko AuthorDate: Thu, 22 Feb 2018 14:59:22 +0200 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:20:30 +0100 ACPI/sleep: Simplify co

[PATCH v11 5/7] PCI/AER: Unify aer error defines at single space

2018-02-23 Thread Oza Pawandeep
This patch moves AER error defines to drivers/pci/pci.h. So that it unifies the error repoting codes at single place along with dpc Signed-off-by: Oza Pawandeep diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 1efefe9..7ae9bb3 100644 --- a/drivers/acpi/apei/ghes.c +++ b/dri

[tip:x86/platform] dmi: Introduce the dmi_get_bios_year() helper function

2018-02-23 Thread tip-bot for Andy Shevchenko
Commit-ID: 492a1abd61e4b4f78c1c5804840a304a9e32da04 Gitweb: https://git.kernel.org/tip/492a1abd61e4b4f78c1c5804840a304a9e32da04 Author: Andy Shevchenko AuthorDate: Thu, 22 Feb 2018 14:59:20 +0200 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:20:30 +0100 dmi: Introduce the dmi_

[PATCH v11 3/7] PCI/ERR: add mutex to synchronize recovery

2018-02-23 Thread Oza Pawandeep
This patch protects pci_do_recovery with mutex. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/pcie-err.c b/drivers/pci/pcie/pcie-err.c index fcd5add..f830975 100644 --- a/drivers/pci/pcie/pcie-err.c +++ b/drivers/pci/pcie/pcie-err.c @@ -20,6 +20,8 @@ #include #include "portdrv.h"

[tip:x86/pti] KVM/x86: Remove indirect MSR op calls from SPEC_CTRL

2018-02-23 Thread tip-bot for Paolo Bonzini
Commit-ID: ecb586bd29c99fb4de599dec388658e74388daad Gitweb: https://git.kernel.org/tip/ecb586bd29c99fb4de599dec388658e74388daad Author: Paolo Bonzini AuthorDate: Thu, 22 Feb 2018 16:43:17 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:24:35 +0100 KVM/x86: Remove indirect

[tip:x86/pti] KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()

2018-02-23 Thread tip-bot for Paolo Bonzini
Commit-ID: 946fbbc13dce68902f64515b610eeb2a6c3d7a64 Gitweb: https://git.kernel.org/tip/946fbbc13dce68902f64515b610eeb2a6c3d7a64 Author: Paolo Bonzini AuthorDate: Thu, 22 Feb 2018 16:43:18 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:24:36 +0100 KVM/VMX: Optimize vmx_vcp

[tip:x86/platform] pci: Simplify code by using the new dmi_get_bios_year() helper

2018-02-23 Thread tip-bot for Andy Shevchenko
Commit-ID: ac95090a0440be1b17aa1b5d9462d9c67146ce0b Gitweb: https://git.kernel.org/tip/ac95090a0440be1b17aa1b5d9462d9c67146ce0b Author: Andy Shevchenko AuthorDate: Thu, 22 Feb 2018 14:59:23 +0200 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:20:31 +0100 pci: Simplify code by u

[PATCH v3] x86: consider effective protection attributes in W+X check

2018-02-23 Thread Jan Beulich
Using just the leaf page table entry flags would cause a false warning in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry. Hand through both the current entry's flags as well as the accumulated effective value (the latter as pgprotval_t instead of pgprot_t, as it's not an actual e

[tip:locking/urgent] locking/xchg/alpha: Clean up barrier usage by using smp_mb() in place of __ASM__MB

2018-02-23 Thread tip-bot for Andrea Parri
Commit-ID: 79d442461df7478cdd0c50d9b8a76f431f150fa3 Gitweb: https://git.kernel.org/tip/79d442461df7478cdd0c50d9b8a76f431f150fa3 Author: Andrea Parri AuthorDate: Thu, 22 Feb 2018 10:24:29 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:38:15 +0100 locking/xchg/alpha: Clean

[tip:locking/urgent] locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs

2018-02-23 Thread tip-bot for Andrea Parri
Commit-ID: 472e8c55cf6622d1c112dc2bc777f68bbd4189db Gitweb: https://git.kernel.org/tip/472e8c55cf6622d1c112dc2bc777f68bbd4189db Author: Andrea Parri AuthorDate: Thu, 22 Feb 2018 10:24:48 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:38:16 +0100 locking/xchg/alpha: Fix xc

[tip:x86/urgent] x86/topology: Fix function name in documentation

2018-02-23 Thread tip-bot for Dou Liyang
Commit-ID: 0c52f7c5499dc708a64742da0cb7eb4f6d94588b Gitweb: https://git.kernel.org/tip/0c52f7c5499dc708a64742da0cb7eb4f6d94588b Author: Dou Liyang AuthorDate: Thu, 22 Feb 2018 16:48:12 +0800 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:40:12 +0100 x86/topology: Fix function n

[tip:x86/mm] x86/boot/compressed/64: Fix warning for 32-bit trampoline memcpy()

2018-02-23 Thread tip-bot for Arnd Bergmann
Commit-ID: fba407e1710ae4c558e1e2b55b5a55b2c07a596d Gitweb: https://git.kernel.org/tip/fba407e1710ae4c558e1e2b55b5a55b2c07a596d Author: Arnd Bergmann AuthorDate: Thu, 22 Feb 2018 12:28:05 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:29:54 +0100 x86/boot/compressed/64: F

[tip:x86/urgent] x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations

2018-02-23 Thread tip-bot for Samuel Neves
Commit-ID: 4596749339e06dc7a424fc08a15eded850ed78b7 Gitweb: https://git.kernel.org/tip/4596749339e06dc7a424fc08a15eded850ed78b7 Author: Samuel Neves AuthorDate: Wed, 21 Feb 2018 20:50:36 + Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:47:47 +0100 x86/topology: Update the '

Re: [PATCH v1 2/2] drm/panel: otm8009a: Add support for the optional power-supply

2018-02-23 Thread Philippe CORNU
Hi Thierry & David, May I ask you please your feedback on this small patch? Many thanks, Philippe :-) On 02/05/2018 10:45 AM, Philippe Cornu wrote: > Add support for the optional power-supply. > > Note: A "dummy regulator" is returned by devm_regulator_get() > if the optional regulator is not p

[PATCH v2 0/2] v2 patches for stm32-exti irq hierarchy

2018-02-23 Thread Radoslaw Pietrzyk
Radoslaw Pietrzyk (2): irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain pinctrl: stm32: Optimizes and enhances stm32gpio irqchip drivers/irqchip/irq-stm32-exti.c | 13 - drivers/pinctrl/stm32/pinctrl-stm32.c | 3 ++- 2 files changed, 2 insertions(+), 14 deletion

Re: [PATCH v1 1/2] dt-bindings/display/panel: Add support for Raydium rm68200 dsi panel

2018-02-23 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/08/2018 03:30 PM, Philippe Cornu wrote: > The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 > TFT LCD panel connected using a MIPI-DSI video interface. > > Signed-off-by: Philippe Cornu > --- > .../bindings/display/panel/raydium,rm68200.txt

Re: [PATCH v1 2/2] drm/panel: Add support for Raydium rm68200 panel driver

2018-02-23 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 02/08/2018 03:30 PM, Philippe Cornu wrote: > This patch adds Raydium Semiconductor Corporation rm68200 > 5.5" 720x1280 TFT LCD panel driver (MIPI-DSI video mode). > > Signed-off-by: Philippe Cornu > --- > drivers/gpu/drm/panel/Kconfig | 8 + >

[PATCH v2 2/2] pinctrl: stm32: Optimizes and enhances stm32gpio irqchip

2018-02-23 Thread Radoslaw Pietrzyk
- removes unneeded irq_chip.irq_eoi callback - adds irq_chip.irq_set_wake callback for possible in the future GPIO wakeup - adds irq_chip.irq_ack callback Signed-off-by: Radoslaw Pietrzyk --- drivers/pinctrl/stm32/pinctrl-stm32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

[PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-23 Thread Radoslaw Pietrzyk
- discards setting handle_simple_irq handler for hierarchy interrupts - removes acking in chained irq handler as this is done by irq_chip itself inside handle_edge_irq - removes unneeded irq_domain_ops.xlate callback Signed-off-by: Radoslaw Pietrzyk --- drivers/irqchip/irq-stm32-exti.c | 13

Re: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU

2018-02-23 Thread Philippe CORNU
Hi Benjamin, On 01/31/2018 09:05 AM, Benjamin Gaignard wrote: > In all cases we have to check pitch and size calculations to speed up > data transfer. > > Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers") > > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/stm/drv.c | 2 --

Re: [1/2] ARM: irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-23 Thread Radosław Pietrzyk
Hi Ludovic, Please check latest v2 patches series and let me know if it works on stm32h7 as it does on stm32f4 2018-02-22 12:01 GMT+01:00 Radosław Pietrzyk : > Hi Ludovic, > I have tested on stm32f429-disco and it works without a problem. > handle_edge_irq is not used in current implementation bec

Re: [PATCH 00/17] Add kexec_file_load support to s390

2018-02-23 Thread Dave Young
On 02/14/18 at 10:54am, Philipp Rudo wrote: > Hi Dave, > > I just browsed AKASHI's patches (v7). The way I see it the common code changes > are on different areas of kexec_file and shouldn't get in conflict. Only in > the > arch code (s390 and arm64) some function calls might need an update. But

Re: [PATCH] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems

2018-02-23 Thread kbuild test robot
Hi Evgeniy, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

答复: [PATCH v8 2/5] dt-bindings: scsi: ufs: add document for hisi-ufs

2018-02-23 Thread liwei (CM)
Hi, Arnd Sorry late for you. The following two suggestions we have really discussed https://lkml.org/lkml/2017/11/30/1077 -邮件原件- 发件人: arndbergm...@gmail.com [mailto:arndbergm...@gmail.com] 代表 Arnd Bergmann 发送时间: 2018年2月19日 17:58 收件人: liwei (CM) 抄送: Rob Herring; Mark Rutland; xuwei (O); Ca

Re: [PATCH v8 01/13] resource: add walk_system_ram_res_rev()

2018-02-23 Thread Dave Young
Hi AKASHI, On 02/22/18 at 08:17pm, AKASHI Takahiro wrote: > This function, being a variant of walk_system_ram_res() introduced in > commit 8c86e70acead ("resource: provide new functions to walk through > resources"), walks through a list of all the resources of System RAM > in reversed order, i.e.

Re: [PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-23 Thread Thomas Gleixner
Radoslaw, On Fri, 23 Feb 2018, Radoslaw Pietrzyk wrote: > - discards setting handle_simple_irq handler for hierarchy interrupts > - removes acking in chained irq handler as this is done by > irq_chip itself inside handle_edge_irq > - removes unneeded irq_domain_ops.xlate callback if that's all f

Re: [PATCH v8 02/13] kexec_file: make an use of purgatory optional

2018-02-23 Thread Dave Young
Hi AKASHI, On 02/22/18 at 08:17pm, AKASHI Takahiro wrote: > On arm64, no trampline code between old kernel and new kernel will be > required in kexec_file implementation. This patch introduces a new > configuration, ARCH_HAS_KEXEC_PURGATORY, and allows related code to be > compiled in only if nece

Re: [PATCH] firmware: qcom_scm: use correct parameter type for dma_alloc_coherent

2018-02-23 Thread Benjamin Gaignard
2018-02-08 15:26 GMT+01:00 Benjamin Gaignard : > 2018-02-08 15:09 GMT+01:00 Arnd Bergmann : >> On Thu, Feb 8, 2018 at 1:21 PM, Benjamin Gaignard >> wrote: >>> dma_alloc_coherent expects it third argument type to be dma_addr_t and >>> not phys_addr_t. >>> When phys_addr_t is defined as u32 and dma_

Re: [RFC tip/locking/lockdep v5 08/17] lockdep: Fix recursive read lock related safe->unsafe detection

2018-02-23 Thread Boqun Feng
On Fri, Feb 23, 2018 at 04:21:34PM +0800, Boqun Feng wrote: > On Thu, Feb 22, 2018 at 06:46:54PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 22, 2018 at 03:08:55PM +0800, Boqun Feng wrote: > > > There are four cases for recursive read lock realted deadlocks: > > > > > > (--(X..Y)--> means a stron

Re: [PATCH v2 0/5] vfio, dax: prevent long term filesystem-dax pins and other fixes

2018-02-23 Thread Haozhong Zhang
On 02/22/18 23:17 -0800, Dan Williams wrote: > Changes since v1 [1]: > > * Fix the detection of device-dax file instances in vma_is_fsdax(). > (Haozhong, Gerd) > > * Fix compile breakage in the FS_DAX=n and DEV_DAX=y case. (0day robot) > > [1]: https://lists.01.org/pipermail/linux-nvdimm/2018-

Re: [PATCH] lightnvm: fix memory leak in pblk_luns_init

2018-02-23 Thread Javier González
> On 23 Feb 2018, at 07.12, Matias Bjørling wrote: > > On 02/23/2018 12:03 AM, Huaicheng Li wrote: >> Please ignore my previous email as I found the memory is free'ed at >> pblk_init()'s error handling logic. >> Sorry for the interruption. >> On Thu, Feb 22, 2018 at 3:01 PM, Huaicheng Li >> wrot

Re: [PATCH 5/6] mfd: cros_ec_dev: Check communication with ec at resume

2018-02-23 Thread Gwendal Grignou
On Thu, Feb 22, 2018 at 1:41 AM, Enric Balletbo i Serra wrote: > Hi Gwendal, > > On 22/02/18 03:20, Gwendal Grignou wrote: >> On Mon, Feb 19, 2018 at 2:41 PM, Enric Balletbo i Serra >> wrote: >>> From: Gwendal Grignou >> This patch is not needed anymore. It was added to >>> >>> Send dummy comman

Re: [PATCH 5/6] mfd: cros_ec_dev: Check communication with ec at resume

2018-02-23 Thread Enric Balletbo i Serra
Hi Gwendal, On 23/02/18 10:01, Gwendal Grignou wrote: > On Thu, Feb 22, 2018 at 1:41 AM, Enric Balletbo i Serra > wrote: >> Hi Gwendal, >> >> On 22/02/18 03:20, Gwendal Grignou wrote: >>> On Mon, Feb 19, 2018 at 2:41 PM, Enric Balletbo i Serra >>> wrote: From: Gwendal Grignou >>> This patc

Re: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU

2018-02-23 Thread Benjamin Gaignard
2018-02-23 9:33 GMT+01:00 Philippe CORNU : > Hi Benjamin, > > On 01/31/2018 09:05 AM, Benjamin Gaignard wrote: >> In all cases we have to check pitch and size calculations to speed up >> data transfer. >> >> Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers") >> >> Signed-off-by: Benjamin

Re: [PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-23 Thread Radosław Pietrzyk
I think the HW is fairly simple and straightforward comparing to other irq chips so it's rather a logic that concerned me the most i.e. why gpio irqs were handled in a "simple" manner whereas the rest of interrupts in "edge" manner. According to specification all interrupts are edge driven and that

Re: [0/8] target-iSCSI: Adjustments for several function implementations

2018-02-23 Thread SF Markus Elfring
> Calling crypto_free_shash(NULL) is actually fine. Really? > It doesn't dereference the parameter, it just does pointer math on it in > crypto_shash_tfm() and returns if it's NULL in crypto_destroy_tfm(). Can a passed null pointer really work in this function? https://elixir.bootlin.com/linux

Re: [PATCH] perf annotate: Support to display the LBR data in tui mode

2018-02-23 Thread Jin, Yao
On 2/23/2018 4:25 PM, Peter Zijlstra wrote: On Fri, Feb 23, 2018 at 10:35:58PM +0800, Jin Yao wrote: Unlike the perf report interactive annotate mode, the perf annotate doesn't display the LBR data. perf record -b ... perf annotate function It should show IPC/cycle, but it doesn't. There i

Re: [PATCH V2 4/7] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-23 Thread Daniel Lezcano
On 23/02/2018 06:24, Viresh Kumar wrote: > On 21-02-18, 16:29, Daniel Lezcano wrote: >> The next changes will add new way to cool down a CPU. In order to >> sanitize and make the overall cpu cooling code consistent and robust >> we must prevent the cpu cooling devices to co-exists with the same >>

Re: [PATCH V2 0/7] CPU cooling device new strategies

2018-02-23 Thread Daniel Lezcano
On 23/02/2018 06:26, Viresh Kumar wrote: > On Wed, Feb 21, 2018 at 8:59 PM, Daniel Lezcano > wrote: >> Changelog: >> V2: >> - Dropped the cpu combo cooling device >> - Added the acked-by tags >> - Replaced task array by a percpu structure >> - Fixed the copyright dates >>

[PATCH] media: imx274: fix typo in error message

2018-02-23 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli --- drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c index 664e8acdf2a0..daec33f4196a 100644 --- a/drivers/media/i2c/imx274.c +++ b/drivers/media/i2c/imx274.c @@ -142

Re: linux-next: Signed-off-by missing for commits in the staging tree

2018-02-23 Thread Greg KH
On Wed, Nov 29, 2017 at 09:59:16AM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Tue, 28 Nov 2017 20:41:39 +0100 Greg KH wrote: > > > > I need to set up a git hook for this :( > > I couldn't find an appropriate hook for fetching or merging other > trees :-( Instead I run the attached script b

Re: linux-next: Signed-off-by missing for commit in the staging tree

2018-02-23 Thread Greg KH
On Fri, Feb 23, 2018 at 08:51:37AM +1100, Stephen Rothwell wrote: > Hi Greg, > > Commit > > cc738c1a69da ("staging: lustre: opencode cfs_cap_{raise, lower, raised}") > > is missing a Signed-off-by from its author. Obviously I wasn't running your script very often, so I've now fixed my workflo

drivers/media/common/videobuf2/videobuf2-core.o:(__jump_table+0x10): undefined reference to `__tracepoint_vb2_buf_queue'

2018-02-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0f9da844d87796ac31b04e81ee95e155e9043132 commit: 7952be9b6ece3d3c4d61f9811d7e5a984580064a media: drivers/media/common/videobuf2: rename from videobuf date: 4 weeks ago config: x86_64-randconfig-s1-02231552

Re: [PATCH 1/6] arm64: dts: renesas: r8a77965: Add "reg" properties

2018-02-23 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Add "reg" properties to place-holder nodes with unit address defined for > R-Car M3-N SoC. > > This silences the following DTC compiler warning: > Warning (unit_address_vs_reg): Node /soc/... has a unit name, > but no reg property

[PATCH] microblaze: Provide pgprot_device/writecombine macros for nommu

2018-02-23 Thread Michal Simek
These macros are required for generic mmap.c implementation created by: commit f719582435af ("PCI: Add pci_mmap_resource_range() and use it for ARM64") which Microblaze is going to use. Reported-by: kbuild test robot Suggested-by: David Woodhouse Signed-off-by: Michal Simek --- arch/microblaz

Re: [PATCH 2/6] arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells

2018-02-23 Thread Geert Uytterhoeven
On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Add "#address-cells" and "#size-cells" properties to all place-holder nodes > that have children nodes defined by salvator-x[s].dtsi device tree. > > This silences the following DTC compiler warnings: > Warning (reg_format): "reg" property in

Re: [PATCH 3/6] arm64: dts: renesas: r8a77965: Remove stale reg property

2018-02-23 Thread Geert Uytterhoeven
On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Remove "reg" property from cache-controller-0 device node as it does not > have any unit address. > > This silences the following DTC compiler warning: > Warning (unit_address_vs_reg): Node /cpus/cache-controller-0 has a reg > or ranges proper

Re: [PATCH 4/6] arm64: dts: renesas: r8a77965: Add #phy-cells property

2018-02-23 Thread Geert Uytterhoeven
On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Add "#phy-cells" property to "usb-phy@e65ee000" device node. > > This silences the following DTC compiler warning: > Warning (phys_property): Missing property '#phy-cells' in node > /soc/usb-phy@e65ee000 or bad phandle (referred from > /soc/us

[PATCH] [BUGFIX] arm: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed

2018-02-23 Thread Masami Hiramatsu
Since get_kprobe_ctlblk() uses smp_processor_id() to access per-cpu variable, it hits smp_processor_id sanity check as below. [7.006928] BUG: using smp_processor_id() in preemptible [] code: swapper/0/1 [7.007859] caller is debug_smp_processor_id+0x20/0x24 [7.008438] CPU: 0 PI

Re: [PATCH v8 03/13] kexec_file,x86,powerpc: factor out kexec_file_ops functions

2018-02-23 Thread Dave Young
Hi AKASHI, On 02/22/18 at 08:17pm, AKASHI Takahiro wrote: > As arch_kexec_kernel_*_{probe,load}(), arch_kimage_file_post_load_cleanup() > and arch_kexec_kernel_verify_sg can be parameterized with a kexec_file_ops > array and now duplicated among some architectures, let's factor them out. > > Sign

RE: [RFC PATCH] mmc: sdhci-of-arasan: Add auto tuning support for ZynqMP Platform

2018-02-23 Thread Manish Narani
> -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Friday, February 23, 2018 1:04 PM > To: Manish Narani ; michal.si...@xilinx.com; > ulf.hans...@linaro.org; linux-arm-ker...@lists.infradead.org; linux- > m...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-23 Thread Laurent Pinchart
Hi Frank, On Friday, 23 February 2018 05:20:43 EET Frank Rowand wrote: > On 02/22/18 02:25, Laurent Pinchart wrote: > > On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: > >> On 02/20/18 15:10, Laurent Pinchart wrote: > >>> Hello, > >>> > >>> This patch series addresses a design mist

Re: [PATCH 5/6] arm64: dts: renesas: r8a77965: Add #pwm-cells property

2018-02-23 Thread Geert Uytterhoeven
On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Add "#pwm-cells" property to "pwm@e6e31000" device node. > > This silences the following DTC compiler warning: > Warning (pwms_property): Missing property '#pwm-cells' in node > /soc/pwm@e6e31000 or bad phandle (referred from /backlight:pwms[0

Re: [PATCH 6/6] arm64: dts: renesas: r8a77965: Add #interrupt-cells property

2018-02-23 Thread Geert Uytterhoeven
On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi wrote: > Add "#interrupt-cells" property and "interrupt-controller" label to > "interrupt-controller@e61c" device node. > > This silences the following DTC compiler warnings: > Warning (interrupts_property): Missing interrupt-controller or > interr

Re: [PATCH v3] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-23 Thread Keiji Hayashibara
Hello Marcus, I'm sorry that it became a different thread. I'll be careful hereafter. This mail is reply to here. https://patchwork.kernel.org/patch/10232065/ > diff --git a/drivers/watchdog/uniphier_wdt.c b/drivers/watchdog/uniphier_wdt.c > index 0ea2339d9702..769d75344050 100644 > --- a/dri

RE: [PATCH 4/4] drm/ttm: keep BOs reserved until end of eviction

2018-02-23 Thread He, Roger
looks good to me. Reviewed-by: Roger He -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Tuesday, February 20, 2018 8:58 PM To: amd-...@lists.freedesktop.org; dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel

Re: [PATCH 1/2] pci: endpoint: Free func_name after last usage

2018-02-23 Thread Lorenzo Pieralisi
On Fri, Feb 23, 2018 at 11:40:49AM +0530, Kishon Vijay Abraham I wrote: > Hi Lorenzo, > > On Thursday 22 February 2018 11:49 PM, Lorenzo Pieralisi wrote: > > On Wed, Feb 21, 2018 at 01:47:06PM +0100, Rolf Evers-Fischer wrote: > >> From: Rolf Evers-Fischer > >> > >> This commit decreases the numbe

Re: samples/seccomp/ broken when cross compiling s390, ppc allyesconfig

2018-02-23 Thread Michal Hocko
On Thu 22-02-18 09:30:35, Kees Cook wrote: > On Thu, Feb 22, 2018 at 5:07 AM, Michal Hocko wrote: > > On Wed 14-02-18 09:14:47, Kees Cook wrote: > > [...] > >> I can send it through my seccomp tree via James Morris. > > > > Could you please do it? > > Hi! Yes, sorry, this fell through the cracks.

Re: [PATCH 1/3] KVM: x86: use native MSR ops for SPEC_CTRL

2018-02-23 Thread Paolo Bonzini
On 22/02/2018 18:07, Konrad Rzeszutek Wilk wrote: >> Having a paravirt indirect call in the IBRS restore path is not a >> good idea, since we are trying to protect from speculative execution >> of bogus indirect branch targets. It is also slower, so use >> native_wrmsrl on the vmentry path too. >

Re: [PATCH 3/3] auxdisplay: img-ascii-lcd: Silence 2 uninitialized warnings

2018-02-23 Thread Miguel Ojeda
Hi Geert, On Mon, Feb 19, 2018 at 7:40 PM, Geert Uytterhoeven wrote: > Hi Miguel, > > On Mon, Feb 19, 2018 at 5:09 PM, Miguel Ojeda > wrote: >> The warnings are: >> >> drivers/auxdisplay/img-ascii-lcd.c: warning: 'err' may be used >> uninitialized in this function [-Wuninitialized] >> >> At

Re: [PATCH v2 0/3] gpio-keys: Add support for specifying wakeup event action

2018-02-23 Thread JeffyChen
Hi Heiko, Thanks for your reply :) On 02/14/2018 09:39 PM, Heiko Stübner wrote: Hi Jeffy, Am Samstag, 10. Februar 2018, 12:09:04 CET schrieb Jeffy Chen: On chromebook kevin, we are using gpio-keys for pen insert event. But we only want it to wakeup the system when ejecting the pen. So we may

Re: [PATCH v2 07/17] tracing: probeevent: Introduce new argument fetching code

2018-02-23 Thread Masami Hiramatsu
On Fri, 23 Feb 2018 13:30:03 +0900 Namhyung Kim wrote: > On Wed, Feb 21, 2018 at 11:57:36PM +0900, Masami Hiramatsu wrote: > > Replace {k,u}probe event argument fetching framework > > with switch-case based. Currently that is implemented > > with structures, macros and chain of function-pointers,

Re: [BUGFIX PATCH v2.1] tracing: probeevent: Fix to support minus offset from symbol

2018-02-23 Thread Masami Hiramatsu
On Fri, 23 Feb 2018 09:15:42 +0900 Namhyung Kim wrote: > Hi Masami, > > On Thu, Feb 22, 2018 at 04:45:01PM +0900, Masami Hiramatsu wrote: > > In Documentation/trace/kprobetrace.txt, it says > > > > @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol) > > > > However, the

RE: [PATCH 3/4] drm/ttm: handle already locked BOs during eviction and swapout.

2018-02-23 Thread He, Roger
-Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Tuesday, February 20, 2018 8:58 PM To: amd-...@lists.freedesktop.org; dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org Subject: [PATCH 3/4] drm/ttm: handle

RE: [PATCH 2/4] drm/amdgpu: use new ww_mutex_is_owned_by function

2018-02-23 Thread He, Roger
Reviewed-by: Roger He -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Tuesday, February 20, 2018 8:58 PM To: amd-...@lists.freedesktop.org; dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org Subject: [PATCH 2

Re: linux-next: manual merge of the staging tree with Linus' tree

2018-02-23 Thread Greg KH
On Fri, Feb 23, 2018 at 01:28:36PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/fsl-mc/bus/Kconfig > > between commit: > > 02b7b2844c2f ("staging: fsl-mc: fix build testing on x86") > > from Linus' tree an

Re: [PATCH] MIPS: ath25: check for kzalloc allocation failure

2018-02-23 Thread James Hogan
On Thu, Feb 22, 2018 at 05:50:12PM +, Colin King wrote: > From: Colin Ian King > > Currently there is no null check on a failed allocation of board_data, > and hence a null pointer dereference will occurr. Fix this by checking > for the out of memory null pointer. > > Fixes: a7473717483e ("

Re: [PATCH] MIPS: OCTEON: irq: check for null return on kzalloc allocation

2018-02-23 Thread James Hogan
On Thu, Feb 22, 2018 at 10:10:30AM -0800, David Daney wrote: > On 02/22/2018 10:08 AM, Colin King wrote: > > From: Colin Ian King > > > > The allocation of host_data is not null checked, leading to a > > null pointer dereference if the allocation fails. Fix this by > > adding a null check and ret

Re: [PATCH 3/3] ARM: davinci: mark spi_board_info arrays as const

2018-02-23 Thread Sekhar Nori
On Thursday 22 February 2018 10:13 PM, Arnd Bergmann wrote: > On Tue, Feb 20, 2018 at 5:24 PM, Arnd Bergmann wrote: >> Building with LTO revealed that three spi_board_info arrays are marked >> __initconst, but not const: >> >> arch/arm/mach-davinci/board-dm365-evm.c: In function 'dm365_evm_init':

Re: [PATCH 00/17] Add kexec_file_load support to s390

2018-02-23 Thread Philipp Rudo
Hi Dave On Fri, 23 Feb 2018 16:34:05 +0800 Dave Young wrote: > On 02/14/18 at 10:54am, Philipp Rudo wrote: > > Hi Dave, > > > > I just browsed AKASHI's patches (v7). The way I see it the common code > > changes > > are on different areas of kexec_file and shouldn't get in conflict. Only in >

Re: [PATCH v2 1/3] Input: gpio-keys - add support for wakeup event action

2018-02-23 Thread JeffyChen
Hi Brian, Thanks for your reply. On 02/13/2018 06:13 AM, Brian Norris wrote: > >if (bdata->gpiod) { >+ int active_low = gpiod_is_active_low(bdata->gpiod); >+ >if (button->debounce_interval) { >error = gpiod_set_debounce(bdata->gpiod, >

Re: [PATCH 6/6] arm64: dts: renesas: r8a77965: Add #interrupt-cells property

2018-02-23 Thread jacopo mondi
Hi Geert, On Fri, Feb 23, 2018 at 10:27:16AM +0100, Geert Uytterhoeven wrote: > On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi > wrote: > > Add "#interrupt-cells" property and "interrupt-controller" label to > > "interrupt-controller@e61c" device node. > > > > This silences the following DTC

[GIT PULL] printk for 4.16-rc3

2018-02-23 Thread Petr Mladek
Linus, please pull one printk-related fix for 4.16-rc3 from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus - People expect to see the real pointer value for %px. Let's substitute "(null)" only for the other %p? format modifiers that need to deference

Re: [PATCH 1/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-23 Thread Michal Hocko
On Mon 19-02-18 14:30:36, Robert Harris wrote: > > > > On 19 Feb 2018, at 12:39, Michal Hocko wrote: > > > > On Mon 19-02-18 12:14:26, Robert Harris wrote: > >> > >> > >>> On 19 Feb 2018, at 08:26, Michal Hocko wrote: > >>> > >>> On Sun 18-02-18 16:47:55, robert.m.har...@oracle.com wrote: >

[tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-23 Thread tip-bot for Jan Beulich
Commit-ID: 6e558c9d10146ebe7f04917af2f8533b811f9c25 Gitweb: https://git.kernel.org/tip/6e558c9d10146ebe7f04917af2f8533b811f9c25 Author: Jan Beulich AuthorDate: Fri, 23 Feb 2018 01:27:37 -0700 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 09:51:38 +0100 x86/mm: Consider effective

[PATCH] x86: mce: fix kernel panic when check_interval is changed

2018-02-23 Thread Seunghun Han
I am Seunghun Han and a senior security researcher at National Security Research Institute of South Korea. I found a critical security issue which can make kernel panic in userspace. After analyzing the issue carefully, I found that MCE driver in the kernel has a problem which can be occurred in S

Re: [PATCH v2 1/3] Input: gpio-keys - add support for wakeup event action

2018-02-23 Thread JeffyChen
Hi Enric, Thanks for your reply. On 02/14/2018 06:25 AM, Enric Balletbo Serra wrote: Hi, 2018-02-13 19:25 GMT+01:00 Brian Norris : Hi Enric, On Tue, Feb 13, 2018 at 11:40:44AM +0100, Enric Balletbo i Serra wrote: On 12/02/18 23:13, Brian Norris wrote: On Sat, Feb 10, 2018 at 07:09:05PM +08

[PATCH v1 00/19] refactor dts and add support for more boards

2018-02-23 Thread sean.wang
From: Sean Wang The series is to refactor current .dts for allowing more boards can properly join and reuse almost the same device node definitions. Before we're doing that, some works about enhancements and fixups are being made on the dt-binding document and .dts files. In addition, the series

  1   2   3   4   5   6   7   8   9   10   >