[PATCH V2] ttyport: trivial fix for some typo in comments

2017-09-08 Thread Antonio Borneo
Fix some minor typo spotted in comments: - s/wit ha/with a/ - s/doestroyed/destroyed/ Signed-off-by: Antonio Borneo --- Changes: V1 -> V2 add commit message To: Greg Kroah-Hartman To: Jiri Slaby Cc: Jiri Kosina Cc: linux-kernel@vger.kernel.org --- drivers/tty/tty_port.c | 4 ++-- 1 file chan

Re: [PATCH] thermal/drivers/generic-iio-adc: Switch tz request to devm version

2017-09-08 Thread Daniel Lezcano
On 08/09/2017 04:56, Eduardo Valentin wrote: > Hey Daniel, Hi Valentin, >> static int gadc_thermal_remove(struct platform_device *pdev) > > Any particular reason why this patch does not include a removal of > gadc_thermal_remove()? Ah, yes. Missed it. Thanks. -- Daniel --

[PATCH V2] thermal/drivers/generic-iio-adc: Switch tz request to devm version

2017-09-08 Thread Daniel Lezcano
Everything mentionned here: https://lkml.org/lkml/2016/4/20/850 This driver was added before the devm_iio_channel_get() function version was merged. The sensor should be released before the iio channel, thus we had to use the non-devm version of thermal_zone_of_sensor_register(). Now the devm_ii

Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-09-08 Thread Mark yao
On 2017年09月08日 14:12, Mark yao wrote: On 2017年09月08日 13:04, Heiko Stuebner wrote: Am Freitag, 8. September 2017, 09:23:09 CEST schrieb Mark yao: On 2017年09月07日 20:09, Heiko Stübner wrote: Hi Mark, Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao: Looks good for me, so: Review

Re: [PATCH] powerpc/mm: Fix missing mmap_sem release

2017-09-08 Thread Laurent Dufour
On 07/09/2017 22:51, Davidlohr Bueso wrote: > On Thu, 07 Sep 2017, Laurent Dufour wrote: > >> The commit b5c8f0fd595d ("powerpc/mm: Rework mm_fault_error()") reviewed >> the way the error path is managed in __do_page_fault() but it was a bit too >> agressive when handling a case by returning witho

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-08 Thread Christoph Hellwig
The reason why I send out the original version of this patch is because IMA used to call ->read under i_rwsem, and that deadlocked on XFS and NFS, or ext3/4 with DAX. The call path for that is process_measurement (takes i_rwsem) -> ima_collect_measurement -> ima_calc_file_hash -> ima

Re: Re: [PATCH] mm/vmstats: add counters for the page frag cache

2017-09-08 Thread Kyeongdon Kim
On 2017-09-04 오후 5:30, Konstantin Khlebnikov wrote: On 04.09.2017 04:35, Kyeongdon Kim wrote: > Thanks for your reply, > But I couldn't find "NR_FRAGMENT_PAGES" in linux-next.git .. is that vmstat counter? or others? > I mean rather than adding bunch vmstat counters for operations it might be

Re: [PATCH v6 04/11] swiotlb: Map the buffer if it was unmapped by XPFO

2017-09-08 Thread Christoph Hellwig
On Thu, Sep 07, 2017 at 12:44:14PM -0600, Tycho Andersen wrote: > On Thu, Sep 07, 2017 at 11:10:15AM -0700, Christoph Hellwig wrote: > > > - if (PageHighMem(pfn_to_page(pfn))) { > > > + if (PageHighMem(page) || xpfo_page_is_unmapped(page)) { > > > > Please don't sprinkle xpfo details over various

[PATCH v5 10/10] net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs

2017-09-08 Thread Corentin Labbe
The Allwinner H3 SoC have two distinct MDIO bus, only one could be active at the same time. The selection of the active MDIO bus are done via some bits in the EMAC register of the system controller. This patch implement this MDIO switch via a custom MDIO-mux. Signed-off-by: Corentin Labbe --- d

[PATCH v5 07/10] arm64: dts: allwinner: add snps,dwmac-mdio compatible to emac/mdio

2017-09-08 Thread Corentin Labbe
stmmac bindings docs said that its mdio node must have compatible = "snps,dwmac-mdio"; Since dwmac-sun8i does not have any good reasons to not doing it, all their MDIO node must have it. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 + 1 file changed, 1 inse

[PATCH v5 09/10] net: stmmac: snps,dwmac-mdio MDIOs are automatically registered

2017-09-08 Thread Corentin Labbe
stmmac bindings docs said that its mdio node must have compatible = "snps,dwmac-mdio"; Since dwmac-sun8i does not have any good reasons to not doing it, all their MDIO node must have it. Since these compatible is automatically registered, dwmac-sun8i compatible does not need to be in need_mdio_ids

[PATCH v5 02/10] dt-bindings: net: Restore sun8i dwmac binding

2017-09-08 Thread Corentin Labbe
This patch restore dt-bindings documentation about dwmac-sun8i This reverts commit 8aa33ec2f481 ("dt-bindings: net: Revert sun8i dwmac binding") Signed-off-by: Corentin Labbe --- .../devicetree/bindings/net/dwmac-sun8i.txt| 84 ++ 1 file changed, 84 insertions(+) cr

[PATCH v5 06/10] ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

2017-09-08 Thread Corentin Labbe
Since dwmac-sun8i could use either an integrated PHY or an external PHY (which could be at same MDIO address), we need to represent this selection by a MDIO switch. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 30 +- 1 file changed, 25 insert

[PATCH v5 08/10] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated

2017-09-08 Thread Corentin Labbe
The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the internal one. This patch adds a new way to find if the PHY is internal, via the phy-is-integrated pr

[PATCH v5 05/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-08 Thread Corentin Labbe
This patch add documentation about the MDIO switch used on sun8i-h3-emac for integrated PHY. Signed-off-by: Corentin Labbe --- .../devicetree/bindings/net/dwmac-sun8i.txt| 127 +++-- 1 file changed, 120 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/

Re: [PATCH V2] thermal/drivers/generic-iio-adc: Switch tz request to devm version

2017-09-08 Thread Laxman Dewangan
On Friday 08 September 2017 12:31 PM, Daniel Lezcano wrote: Everything mentionned here: https://lkml.org/lkml/2016/4/20/850 This driver was added before the devm_iio_channel_get() function version was merged. The sensor should be released before the iio channel, thus we had to use the non-dev

Re: XFS mounted with 'discard' option - deleting fio test files slow

2017-09-08 Thread Christoph Hellwig
On Fri, Sep 08, 2017 at 09:34:02AM +1000, Dave Chinner wrote: > 4k random write with direct IO. 5GB file. Probably got a million 4k > extents in it. Which means XFS has sent a million tiny 4k discards > to the device. Run 'xfs_bmap -vvp fio_test_file.*' to confirm. > > Don't use "-o discard" if yo

[PATCH v5 04/10] net: stmmac: sun8i: Restore the compatibles

2017-09-08 Thread Corentin Labbe
This patch restore compatibles about dwmac-sun8i This reverts commit ad4540cc5aa3 ("net: stmmac: sun8i: Remove the compatibles") Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/st

Re: [PATCH] HID: rmi: Make sure the HID device is opened on resume

2017-09-08 Thread Benjamin Tissoires
On Jul 24 2017 or thereabouts, Lyude Paul wrote: > On Mon, 2017-07-24 at 10:15 +0200, Benjamin Tissoires wrote: > > On Jul 22 2017 or thereabouts, Lyude wrote: > > > So it looks like that suspend/resume has actually always been > > > broken on > > > hid-rmi. The fact it worked was a rather silly co

[PATCH v5 03/10] arm: dts: sunxi: Restore EMAC changes

2017-09-08 Thread Corentin Labbe
This patch restore arm DT about dwmac-sun8i This reverts commit fe45174b72ae ("arm: dts: sunxi: Revert EMAC changes") Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 9 arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 19 + arch/

[PATCH v5 00/10] net: stmmac: dwmac-sun8i: Handle integrated PHY

2017-09-08 Thread Corentin Labbe
Hello The current way to find if the PHY is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the integrated one. This patchs series adds a new way to find if the PHY is integrated, via the p

[PATCH v5 01/10] arm64: dts: allwinner: Restore EMAC changes

2017-09-08 Thread Corentin Labbe
This patch restore arm64 DT about dwmac-sun8i This reverts commit 87e1f5e8bb4b ("arm64: dts: allwinner: Revert EMAC changes") Signed-off-by: Corentin Labbe --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 16 .../boot/dts/allwinner/sun50i-a64-pine64-plus.dts| 15 ++

Re: [PATCH v5 01/10] arm64: dts: allwinner: Restore EMAC changes

2017-09-08 Thread Maxime Ripard
On Fri, Sep 08, 2017 at 09:11:47AM +0200, Corentin Labbe wrote: > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts > b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts > index 1c2387bd5df6..968908761194 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.d

Re: [PATCH 1/2] xfs: always use DAX if mount option is used

2017-09-08 Thread Christoph Hellwig
On Thu, Sep 07, 2017 at 03:08:31PM -0600, Ross Zwisler wrote: > Before support for the per-inode DAX flag was disabled the XFS the code had > an issue where the user couldn't reliably tell whether or not DAX was being > used to service page faults and I/O when the DAX mount option was used. In > t

Re: [PATCH 2/2] xfs: validate bdev support for DAX inode flag

2017-09-08 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH] arm64: KVM: VHE: reset PSTATE.UAO when switch to host

2017-09-08 Thread gengdongjiu
On 2017/9/7 23:23, Marc Zyngier wrote: > On 07/09/17 16:03, gengdongjiu wrote: >>> On 07/09/17 12:49, gengdongjiu wrote: [...] > > I really cannot think of a good reason why we'd want to do that. Playing > with set_fs() is almost universally wrong, and I'm certainly going to > oppose to an

Re: [PATCH v5 05/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-08 Thread Maxime Ripard
On Fri, Sep 08, 2017 at 09:11:51AM +0200, Corentin Labbe wrote: > This patch add documentation about the MDIO switch used on sun8i-h3-emac > for integrated PHY. > > Signed-off-by: Corentin Labbe > --- > .../devicetree/bindings/net/dwmac-sun8i.txt| 127 > +++-- > 1 file c

Re: [PATCH v1 0/4] perf annotate: Display multiple events on the left side of annotate view

2017-09-08 Thread Jin, Yao
Hi, Any comments for this patch-set? I just find a merge conflict with the latest perf/core. Do I need to send the v2 to fix the merge issue right now? Thanks Jin Yao On 8/16/2017 6:18 PM, Jin Yao wrote: perf record -e cycles,branches ... perf annotate main --stdio The result only shows cy

Re: [PATCH v5 01/10] arm64: dts: allwinner: Restore EMAC changes

2017-09-08 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 09:19:54AM +0200, Maxime Ripard wrote: > On Fri, Sep 08, 2017 at 09:11:47AM +0200, Corentin Labbe wrote: > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts > > b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts > > index 1c2387bd5df6..9689087611

Re: [PATCH 10/14] fs/xfs: Use %pS printk format for direct addresses

2017-09-08 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v5 01/10] arm64: dts: allwinner: Restore EMAC changes

2017-09-08 Thread Chen-Yu Tsai
On Fri, Sep 8, 2017 at 3:36 PM, Corentin Labbe wrote: > On Fri, Sep 08, 2017 at 09:19:54AM +0200, Maxime Ripard wrote: >> On Fri, Sep 08, 2017 at 09:11:47AM +0200, Corentin Labbe wrote: >> > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts >> > b/arch/arm64/boot/dts/allwinner/

Re: [PATCH v6 01/11] mm: add MAP_HUGETLB support to vm_mmap

2017-09-08 Thread Christoph Hellwig
On Thu, Sep 07, 2017 at 11:35:59AM -0600, Tycho Andersen wrote: > vm_mmap is exported, which means kernel modules can use it. In particular, > for testing XPFO support, we want to use it with the MAP_HUGETLB flag, so > let's support it via vm_mmap. > } else if (flags & MAP_HUGETLB) { > +

Re: [PATCH v5 05/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-08 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 09:25:38AM +0200, Maxime Ripard wrote: > On Fri, Sep 08, 2017 at 09:11:51AM +0200, Corentin Labbe wrote: > > This patch add documentation about the MDIO switch used on sun8i-h3-emac > > for integrated PHY. > > > > Signed-off-by: Corentin Labbe > > --- > > .../devicetree/b

Re: [PATCH v6 03/11] mm, x86: Add support for eXclusive Page Frame Ownership (XPFO)

2017-09-08 Thread Christoph Hellwig
I think this patch needs to be split into the generic mm code, and the x86 arch code at least. > +/* > + * The current flushing context - we pass it instead of 5 arguments: > + */ > +struct cpa_data { > + unsigned long *vaddr; > + pgd_t *pgd; > + pgprot_tmask_set; >

Re: [PATCH v6 05/11] arm64/mm: Add support for XPFO

2017-09-08 Thread Christoph Hellwig
> +/* > + * Lookup the page table entry for a virtual address and return a pointer to > + * the entry. Based on x86 tree. > + */ > +static pte_t *lookup_address(unsigned long addr) Seems like this should be moved to common arm64 mm code and used by kernel_page_present.

Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol

2017-09-08 Thread Christoph Hellwig
On Thu, Sep 07, 2017 at 11:36:08AM -0600, Tycho Andersen wrote: > We need someting like this for testing XPFO. Since it's architecture > specific, putting it in the test code is slightly awkward, so let's make it > an arch-specific symbol and export it for use in LKDTM. We really should not add an

Re: [PATCH 2/2] x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3

2017-09-08 Thread Jiri Kosina
On Thu, 7 Sep 2017, Andy Lutomirski wrote: > Jiri reported a resume-from-hibernation failure triggered by PCID. > The root cause appears to be rather odd. The hibernation asm > restores a CR3 value that comes from the image header. If the image > kernel has PCID on, it's entirely reasonable for

[PATCH] scsi: lpfc: remove redundant null check on eqe

2017-09-08 Thread Colin King
From: Colin Ian King The pointer eqe is always non-null inside the while loop, so the check to see if eqe is NULL is redudant and hence can be removed. Detected by CoverityScan CID#1248693 ("Logically Dead Code") Signed-off-by: Colin Ian King --- drivers/scsi/lpfc/lpfc_sli.c | 3 --- 1 file c

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Borislav Petkov
On Fri, Sep 08, 2017 at 08:26:44AM +0200, Thomas Gleixner wrote: > On Fri, 8 Sep 2017, Markus Trippelsdorf wrote: > > CC+ Borislav. He might have access to such a beast Can I have /proc/cpuinfo and dmesg pls, in order to see whether I have something similar? Private mail's fine too. Thx. -- R

[PATCH v4 0/3] Workaround for bus/slot reset on Cavium cn8xxx root ports

2017-09-08 Thread Jan Glauber
Using vfio-pci on a combination of cn8xxx and some PCI devices results in a kernel panic. This is triggered by issuing a bus or a slot reset on the PCI device. With this series both checks indicate that the reset is not possible preventing the kernel panic. David Daney (2): PCI: Allow PCI_DEV_F

[PATCH v4 3/3] PCI: Avoid slot reset if bus reset is not possible

2017-09-08 Thread Jan Glauber
When checking to see if a PCI slot can safely be reset, we check to see if any of the children have their PCI_DEV_FLAGS_NO_BUS_RESET flag set. Some PCIe root port bridges do not behave well after a slot reset, and may cause the device in the slot to become unusable. Add a check for the PCI_DEV_FL

Re: [PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-09-08 Thread Jörg Krause
Hi Arnaldo, On Mon, 2017-03-06 at 16:38 -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > When building with clang on a musl libc system, Alpine Linux, we end up > hitting a problem where memset() is used but its prototype is not > present, add it to avoid this: > >

Re: [PATCH] block: tolerate tracing of NULL bio

2017-09-08 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v4 1/3] PCI: Allow PCI_DEV_FLAGS_NO_BUS_RESET to be used on bus device

2017-09-08 Thread Jan Glauber
From: David Daney When checking to see if a PCI bus can safely be reset, we check to see if any of the children have their PCI_DEV_FLAGS_NO_BUS_RESET flag set. As these devices are known not to behave well after a bus reset. Some PCIe root port bridges also do not behave well after a bus reset,

[PATCH v4 2/3] PCI: Avoid bus reset for Cavium cn8xxx root ports

2017-09-08 Thread Jan Glauber
From: David Daney Root ports of cn8xxx do not function after bus reset when used with some e1000e and LSI HBA devices. Add a quirk to prevent bus reset on these root ports. Signed-off-by: David Daney [jglau...@cavium.com: fixed typo and whitespaces] Signed-off-by: Jan Glauber --- drivers/pci/

[PATCH] staging: pi433: pi433_if: Fixes minor typo errors

2017-09-08 Thread harsha
Fixes checkpatch warning -- "occured" and "succesfully" are misspelled Signed-off-by: Harsha Sharma --- drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 6b9b7df..6a10

Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Mika Westerberg
On Thu, Sep 07, 2017 at 01:47:22PM -0500, Mario Limonciello wrote: I have a small comment which you might want to consider. > +static int intel_wmi_thunderbolt_probe(struct wmi_device *wdev) > +{ > + return sysfs_create_group(&wdev->dev.kobj, &tbt_attribute_group); > +} > + > +static int inte

FINALE WAARSCHUWING VAN MICROSOFT

2017-09-08 Thread Mishra, Jatadhari
MICROSOFT VERIFICATION UPDATE Geachte klant, Lees en volg de instructies om uw Microsoft Privacy te beschermen. Als onderdeel van onze inspanningen om uw ervaring te verbeteren in onze consumentendiensten, updaten we de Microsoft Services Agreement en de Microsoft Privacy Statement. We willen

[PATCH] x86/idt: Unbreak MS HyperV hypercall vector install

2017-09-08 Thread Thomas Gleixner
The rework of the IDT setup changed the way how unused system gates are accounted. At the end of the gate initialization all unused gates in the system vector area are set to the spurios handler and marked as used for consistency reasons. Marking them as used breaks MS HyperV because it installs i

Re: [PATCH] arm64: KVM: VHE: reset PSTATE.UAO when switch to host

2017-09-08 Thread Marc Zyngier
On Fri, 8 Sep 2017 15:19:21 +0800 gengdongjiu wrote: > On 2017/9/7 23:23, Marc Zyngier wrote: > > On 07/09/17 16:03, gengdongjiu wrote: > >>> On 07/09/17 12:49, gengdongjiu wrote: > > [...] > > > > > I really cannot think of a good reason why we'd want to do that. Playing > > with se

Re: [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

2017-09-08 Thread Tobias Klauser
gt; https://github.com/0day-ci/linux/commits/Tobias-Klauser/asm-generic-io-h-remove-unnecessary-include-of-linux-vmalloc-h/20170908-012111 > config: arm-shmobile_defconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wg

Re: [RFC Part2 PATCH v3 02/26] crypto: ccp: Add Platform Security Processor (PSP) device support

2017-09-08 Thread Borislav Petkov
On Thu, Sep 07, 2017 at 06:15:55PM -0500, Gary R Hook wrote: > I would prefer that we not shorten this. The prior incarnation, > ccp_alloc_struct(), has/had been around for a while. And there are a > number of similarly named allocation functions in the driver that we > like to keep sorted. If anyt

Re: [PATCH 4/4] sched/deadline: use C bitfields for the state flags

2017-09-08 Thread Daniel Bristot de Oliveira
On 09/07/2017 12:09 PM, luca abeni wrote: > Ask the compiler to use a single bit for storing true / false values, > instead of wasting the size of a whole int value. > Tested with gcc 5.4.0 on x86_64, and the compiler produces the expected > Assembly (similar to the Assembly code generated when exp

Re: [PATCH 3/4] sched/deadline: rename __dl_clear() to __dl_sub()

2017-09-08 Thread Daniel Bristot de Oliveira
On 09/07/2017 12:09 PM, luca abeni wrote: > From: Peter Zijlstra > > __dl_sub() is more meaningful as a name, and is more consistent > with the naming of the dual function (__dl_add()). > > Signed-off-by: Peter Zijlstra (Intel) > Signed-off-by: luca abeni Reviewed-by: Daniel Bristot de Olivei

Re: [alsa-devel] [PATCH 23/25 v3] ALSA/dummy: Replace tasklet with softirq hrtimer

2017-09-08 Thread Takashi Iwai
On Wed, 06 Sep 2017 06:30:03 +0200, Takashi Sakamoto wrote: > > On Sep 6 2017 01:18, Sebastian Andrzej Siewior wrote: > > From: Thomas Gleixner > > > > The tasklet is used to defer the execution of snd_pcm_period_elapsed() to > > the softirq context. Using the CLOCK_MONOTONIC_SOFT base invokes th

Re: [PATCH 1/4] sched/sched.h: remove duplicate prototype of __dl_clear_params()

2017-09-08 Thread Daniel Bristot de Oliveira
Hi, I wonder if a commit log, even an one line comment, explaining that this function was already declared in the file could help to understand this patch... But, the patch is so trivial... that... not sure it is worth... anyway... On 09/07/2017 12:09 PM, luca abeni wrote: > Signed-off-by: luca

[PATCH v2 1/2] dt-bindings: spi: Add Spreadtrum ADI controller documentation

2017-09-08 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum ADI controller device. Signed-off-by: Baolin Wang --- Changes since v1: - Add more documentation the 'sprd,hw-channels' property and why need one hardware spinlock. --- .../devicetree/bindings/spi/spi-sprd-adi.txt | 58 ++

[PATCH v2 2/2] spi: Add ADI driver for Spreadtrum platform

2017-09-08 Thread Baolin Wang
This patch adds ADI driver based on SPI framework for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- - Add COMPILE_TEST config as dependency. - Remove spi_controller_put() function when removing driver. - Change to module_init() level. --- drivers/spi/Kconfig|6 + driv

[PATCH] staging: rt8712: xmit_linux: Avoid multiple assignments in a single line

2017-09-08 Thread harsha
Fixed coding style issue Signed-off-by: Harsha Sharma --- drivers/staging/rtl8712/xmit_linux.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/xmit_linux.c b/drivers/staging/rtl8712/xmit_linux.c index d13fd15..03c6b0c 100644 --- a/drivers/stagin

Re: [RFC Part2 PATCH v3 02/26] crypto: ccp: Add Platform Security Processor (PSP) device support

2017-09-08 Thread Borislav Petkov
On Thu, Sep 07, 2017 at 05:19:32PM -0500, Brijesh Singh wrote: > At high level, AMD-SP (AMD Secure Processor) (i.e CCP driver) will provide the > support for CCP, SEV and TEE FW commands. > > > +--- CCP > | > AMD-SP --| > |+--- SEV > ||

Re: [PATCH] selftests: breakpoints: re-order TEST_GEN_PROGS targets

2017-09-08 Thread Fathi Boudra
Shuah, should I resend? On 29 June 2017 at 12:39, Fathi Boudra wrote: > breakpoint_test can fail on arm64 with older/unpatched glibc: > > breakpoint_test_arm64.c: In function 'run_test': > breakpoint_test_arm64.c:170:25: error: 'TRAP_HWBKPT' undeclared (first use > in this function) > > due to

Re: [PATCH] ASoC: fsl_ssi: Override bit clock rate based on slot number

2017-09-08 Thread Łukasz Majewski
Hi Nicolin, On Thu, Sep 07, 2017 at 10:23:43PM -0700, Nicolin Chen wrote: The set_sysclk() now is used to override the output bit clock rate. But this is not a common way to implement a set_dai_sysclk(). And this creates a problem when a general machine driver (simple-card for example) tries to

Re: [Outreachy kernel] [PATCH] staging: pi433: pi433_if: Fixes minor typo errors

2017-09-08 Thread Julia Lawall
The subject line above is still not what is shown with git log --oneline for this file. Also, this patch fixes a previous submission so it should be v2. I suggest to read through the tutorial carefully again to get these small details. julia On Fri, 8 Sep 2017, harsha wrote: > Fixes checkpatch

[PATCH 2/3] perf tools: Open perf.data with O_CLOEXEC flag

2017-09-08 Thread Jiri Olsa
Do not carry the perf.data file descriptor into the workload process and close it when perf executes the workload. Link: http://lkml.kernel.org/n/tip-j7qdp4ucreain1cqvy485...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-

[PATCH v2 2/2] lockdep: Remove unnecessary acquisitions wrt workqueue flush

2017-09-08 Thread Byungchul Park
The workqueue added manual acquisitions to catch deadlock cases. Now crossrelease was introduced, some of those are redundant, since wait_for_completion() already includes the acquisition for itself. Removed it. Signed-off-by: Byungchul Park --- include/linux/workqueue.h | 4 ++-- kernel/workqu

Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping

2017-09-08 Thread Alexey Budankov
On 05.09.2017 19:03, Peter Zijlstra wrote: > On Tue, Sep 05, 2017 at 03:06:26PM +0300, Alexey Budankov wrote: >> [ 6614.226305] WARNING: CPU: 45 PID: 43385 at kernel/events/core.c:239 >> event_function+0xb3/0xe0 > > I think I avoided that problem by not radically rewriting > perf_event_read() but

Re: [Outreachy kernel] [PATCH] staging: rt8712: xmit_linux: Avoid multiple assignments in a single line

2017-09-08 Thread Julia Lawall
On Fri, 8 Sep 2017, harsha wrote: > Fixed coding style issue > > Signed-off-by: Harsha Sharma > --- > drivers/staging/rtl8712/xmit_linux.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/rtl8712/xmit_linux.c > b/drivers/staging/rtl8712/xmit_linux

[PATCH v2 1/2] completion: Add support for initializing completion with lockdep_map

2017-09-08 Thread Byungchul Park
To peter, Does it work? Chagnes from v1 - Add a completion initialization function with a lockdep map - Enhance readability of the workqueue code ->8- >From e148617e20ebc9c9eefe7bb222b9bba07cb963bc Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Fri, 8 Sep 2017 17:39:48 +0900 Subj

[PATCH 3/3] perf tools: Add python-clean target

2017-09-08 Thread Jiri Olsa
To be able to cleanup only python related binaries. Link: http://lkml.kernel.org/n/tip-j7qdp4ucreain1cqvy485...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/M

[PATCH 1/3] tools lib api: Fix make DEBUG=1 build

2017-09-08 Thread Jiri Olsa
Do not use -D_FORTIFY_SOURCE=2 for DEBUG build as it seems to mess up with debuginfo, which results in bad gdb experience. We already do that for perf. Link: http://lkml.kernel.org/n/tip-mfg2ly8i01dyx1tku813b...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/Makefile | 8 +++- 1

Re: 4.13 on thinkpad x220: oops when writing to SD card

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 14:06:52, Ulf Hansson wrote: > [...] > > > > > From: Adrian Hunter > > Date: Thu, 7 Sep 2017 10:40:35 +0300 > > Subject: [PATCH] mmc: block: Fix incorrectly initialized requests > > > > mmc_init_request() depends on card->bouncesz so it must be calculated > > before blk_init_all

Re: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers.

2017-09-08 Thread Pavel Machek
Hi! > From: Tristram Ha > > This series of patches is to modify the original KSZ9477 DSA driver so that > other KSZ switch drivers can be added and use the common code. > Please wrap the lines from time to time... > This patch set is against net-next. > > drivers/net/dsa/microchip/Makefil

Re: [RFC PATCH v4 3/6] i2c: add docs to clarify DMA handling

2017-09-08 Thread Wolfram Sang
Hi Mauro, thanks for your comments. Much appreciated! > There are also a couple of things here that Sphinx would complain. > So, it could be worth to rename it to *.rst, while you're writing > it, and see what: > make htmldocs > will complain and how it will look in html. OK, I'll check th

Re: [PATCH RFC 1/6] The file ksz_common.c will be used by other KSZ switch drivers.

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 21:08:58, tristram...@microchip.com wrote: > From: Tristram Ha > > Break ksz_common.c into 2 files so that the common code can be used by other > KSZ switch drivers. > > Signed-off-by: Tristram Ha > --- > diff --git a/drivers/net/dsa/microchip/Makefile > b/drivers/net/dsa/mi

Re: [PATCH RFC 1/6] The file ksz_common.c will be used by other KSZ switch drivers.

2017-09-08 Thread Pavel Machek
> > > Signed-off-by: Tristram Ha > > > --- > > > diff --git a/drivers/net/dsa/microchip/Makefile > > > b/drivers/net/dsa/microchip/Makefile > > > index ed335e2..0961c30 100644 > > > --- a/drivers/net/dsa/microchip/Makefile > > > +++ b/drivers/net/dsa/microchip/Makefile > > > @@ -1,2 +1,2 @@ > > >

Re: [PATCH RFC] Update documentation for KSZ DSA drivers so that new drivers can be added

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 21:11:45, tristram...@microchip.com wrote: > From: Tristram Ha > > Add other KSZ switches support so that patch check does not complain. Nice; unlike Andrew I believe that adding compatible strings is ok before the support is added. Device tree description is Linux-independend.

Re: [PATCH RFC 2/5] Add KSZ8795 switch driver support in Makefile

2017-09-08 Thread Pavel Machek
On Fri 2017-09-08 00:43:09, Andrew Lunn wrote: > On Thu, Sep 07, 2017 at 10:29:34PM +, tristram...@microchip.com wrote: > > > -Original Message- > > > From: Andrew Lunn [mailto:and...@lunn.ch] > > > Sent: Thursday, September 07, 2017 2:56 PM > > > To: Tristram Ha - C24268 > > > Cc: muva

[PATCH V2] thermal/drivers/step_wise: Fix temperature regulation misbehavior

2017-09-08 Thread Daniel Lezcano
There is a particular situation when the cooling device is cpufreq and the heat dissipation is not efficient enough where the temperature increases little by little until reaching the critical threshold and leading to a SoC reset. The behavior is reproducible on a hikey6220 with bad heat dissipati

Re: [PATCH] arm64: KVM: VHE: reset PSTATE.UAO when switch to host

2017-09-08 Thread gengdongjiu
Marc, Thanks for reply. On 2017/9/8 16:21, Marc Zyngier wrote: >> Marc, >> >> sorry I have another question for the PAN. >> >> In the non-VHE mode, The host kernel is running in the EL1. Before >> host kernel enter guest, host OS will call 'HVC' instruction to do >> the world-switch, and the ps

[PATCH v3] staging: pi433: Fixes minor typo errors

2017-09-08 Thread harsha
Fixes checkpatch warning -- "occured" and "succesfully" are misspelled Signed-off-by: Harsha Sharma --- drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 6b9b7df..6a10

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Borislav Petkov
On Fri, Sep 08, 2017 at 10:05:36AM +0200, Borislav Petkov wrote: > On Fri, Sep 08, 2017 at 08:26:44AM +0200, Thomas Gleixner wrote: > > On Fri, 8 Sep 2017, Markus Trippelsdorf wrote: > > > > CC+ Borislav. He might have access to such a beast > > Can I have /proc/cpuinfo and dmesg pls, in order to

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 21:17:16, tristram...@microchip.com wrote: > From: Tristram Ha > > Add KSZ8795 switch support with function code. English? "Add KSZ8795 switch support." ? > Signed-off-by: Tristram Ha > --- > diff --git a/drivers/net/dsa/microchip/ksz8795.c > b/drivers/net/dsa/microchip/ksz8

GET BACK URGENT

2017-09-08 Thread Mr. mok
Attention pls, I am Mohad I Kwame, presently the current Manager at the UBA Bank Capital (Europe) Ltd. I need a reliable and honest person to handle a very confidential transaction, which involves transfer of a huge sum of money to a foreign account. A foreigner (LATE ENGR NAZIR RUZU) an oil M

MICROSOFT VERIFICATION UPDATE

2017-09-08 Thread Mishra, Jatadhari
MICROSOFT VERIFICATION UPDATE Geachte klant, Lees en volg de instructies om uw Microsoft Privacy te beschermen. Als onderdeel van onze inspanningen om uw ervaring te verbeteren in onze consumentendiensten, updaten we de Microsoft Services Agreement en de Microsoft Privacy Statement. We willen

Re: [PATCH RFC 4/5] Add KSZ8795 register definitions

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 21:17:27, tristram...@microchip.com wrote: > From: Tristram Ha > > Add KSZ8795 switch support with register definitions. > > Signed-off-by: Tristram Ha > --- > diff --git a/drivers/net/dsa/microchip/ksz8795.h > b/drivers/net/dsa/microchip/ksz8795.h > new file mode 100644 > in

Re: [Outreachy kernel] [PATCH] staging: rt8712: xmit_linux: Avoid multiple assignments in a single line

2017-09-08 Thread Julia Lawall
On Fri, 8 Sep 2017, Harsha Sharma wrote: > Hi,Thanks for your feedback. > I will take care about readability from next time. Don't top post. You should respond to comments underneath the comment you are responding to. The person will have to go find that anyway, to understand what your commen

Re: [PATCH v2 00/20] Speculative page faults

2017-09-08 Thread Laurent Dufour
On 21/08/2017 04:26, Sergey Senozhatsky wrote: > Hello, > > On (08/18/17 00:04), Laurent Dufour wrote: >> This is a port on kernel 4.13 of the work done by Peter Zijlstra to >> handle page fault without holding the mm semaphore [1]. >> >> The idea is to try to handle user space page faults without

Re: [PATCH RFC 5/5] Add KSZ8795 SPI driver

2017-09-08 Thread Pavel Machek
Hi! > +static int ksz_spi_read(struct ksz_device *dev, u32 reg, u8 *data, > + unsigned int len) > +{ > + struct spi_device *spi = dev->priv; > + > + return ksz_spi_read_reg(spi, reg, data, len); } > + > +static int ksz_spi_read8(struct ksz_device *dev, u32 reg, u8 *val

Re: [PATCH v3] staging: pi433: Fixes minor typo errors

2017-09-08 Thread Greg KH
On Fri, Sep 08, 2017 at 02:42:14PM +0530, harsha wrote: > Fixes checkpatch warning -- "occured" and "succesfully" are misspelled > > Signed-off-by: Harsha Sharma > --- > drivers/staging/pi433/pi433_if.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) {sigh} Ok, last time for me, I

Re: [Intel-wired-lan] [PATCH] e1000e: changed some expensive calls of udelay to usleep_range

2017-09-08 Thread Pavel Machek
On Thu 2017-09-07 22:19:47, Brown, Aaron F wrote: > > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > > Behalf Of Pavel Machek > > Sent: Monday, September 4, 2017 9:26 AM > > To: Matthew Tan > > Cc: michael.kardo...@nxp.com; Williams, Mitch A > > ; linux-kernel@vger.kernel.o

Re: 4.13 on thinkpad x220: oops when writing to SD card

2017-09-08 Thread Pavel Machek
On Wed 2017-09-06 10:20:35, Seraphime Kirkovski wrote: > Hi, > > > > Seems 4.13-rc4 was already broken for that but unfortuantely > > > I didn't > > > reproduce that. So maybe Seraphime can do git-bisect as he said "I > > > get > > > it everytime" for which I assume it could be easy for him to fi

Re: n900 in next-20170901

2017-09-08 Thread Pavel Machek
Hi! > > It compiles ok, but it hangs on boot; black screen, so sometime before > > display is initialized. > > Thanks for reporting it. Based on git bisect, the regression causing > commit is 9caf25f996e8 ("mm/cma: manage the memory of the CMA area > by using the ZONE_MOVABLE"). With this path ap

Re: [PATCH V2 06/13] thermal/drivers/hisi: Remove pointless lock

2017-09-08 Thread Daniel Lezcano
On 08/09/2017 05:16, Eduardo Valentin wrote: > On Mon, Sep 04, 2017 at 09:56:05PM +0200, Daniel Lezcano wrote: >> The threaded interrupt inspect the sensors structure to look in the temp >> threshold field, but this field is read-only in all the code, except in the >> probe function before the thre

Re: [PATCH] Staging: iio: adc: Added Space around binary op.

2017-09-08 Thread Jonathan Cameron
On Fri, 8 Sep 2017 07:29:06 +0100 Jonathan Cameron wrote: > On 8 September 2017 05:47:52 BST, Himanshi Jain > wrote: > >Added space around(one on each side of) binary > >operator(-) as preferred according to kernel > >coding style. > > > >Signed-off-by: Himanshi Jain > > Take a closer look

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-08 Thread Dan Carpenter
On Thu, Sep 07, 2017 at 06:22:13PM -0700, Badhri Jagan Sridharan wrote: > +static int tcpm_validate_caps(struct tcpm_port *port, const u32 *pdo, > + unsigned int nr_pdo) > +{ > + unsigned int i; > + > + /* Should at least contain vSafe5v */ > + if (nr_pdo < 1)

Re: [PATCH 2/2] staging: typec: tcpm: Only request matching pdos

2017-09-08 Thread Dan Carpenter
On Thu, Sep 07, 2017 at 06:22:14PM -0700, Badhri Jagan Sridharan wrote: > diff --git a/drivers/staging/typec/tcpm.c b/drivers/staging/typec/tcpm.c > index 58a2c279f7d1..df0986d9f756 100644 > --- a/drivers/staging/typec/tcpm.c > +++ b/drivers/staging/typec/tcpm.c > @@ -262,6 +262,9 @@ struct tcpm_po

Re: [PATCH] Staging: iio: adc: Added Space around binary op.

2017-09-08 Thread Lars-Peter Clausen
On 09/08/2017 11:32 AM, Jonathan Cameron wrote: > On Fri, 8 Sep 2017 07:29:06 +0100 > Jonathan Cameron wrote: > >> On 8 September 2017 05:47:52 BST, Himanshi Jain >> wrote: >>> Added space around(one on each side of) binary >>> operator(-) as preferred according to kernel >>> coding style. >>>

GET BACK URGENT

2017-09-08 Thread Mr. Mom
Attention pls, I am Mohad I Kwame, presently the current Manager at the UBA Bank Capital (Europe) Ltd. I need a reliable and honest person to handle a very confidential transaction, which involves transfer of a huge sum of money to a foreign account. A foreigner (LATE ENGR NAZIR RUZU) an oil M

[PATCH] panel: display: Add support for Mitsubishi aa070mc01 TFT panel

2017-09-08 Thread Lukasz Majewski
This commit adds support for Mitsubishi aa070mc01 TFT panel working with 8 bit ISP mode (pin 19 "mode" HIGH for 20 pin TFT connector). Signed-off-by: Lukasz Majewski --- drivers/gpu/drm/panel/panel-simple.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/

[PATCH v4] staging: pi433: Fixes minor typo errors

2017-09-08 Thread harsha
From: Harsha Sharma Fixes checkpatch warning -- "occured" and "succesfully" are misspelled Signed-off-by: Harsha Sharma --- Changes in v4: -Correct the format of the subject. -Signed-off properly. drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif

  1   2   3   4   5   6   7   8   >