[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

[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 |

[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

[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

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 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 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

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

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

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 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

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

2017-09-08 Thread Tobias Klauser
m] > > url: > 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 201607

[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

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

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

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(-)

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 > >

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

2017-09-08 Thread Dan Carpenter
Your From email header says "harsha" but it should match your signed off by line which says "Harsha Sharma". regards, dan carpenter

Re: [PATCH V2 09/13] thermal/drivers/hisi: Remove costly sensor inspection

2017-09-08 Thread Daniel Lezcano
On 08/09/2017 05:22, Eduardo Valentin wrote: > On Mon, Sep 04, 2017 at 09:56:08PM +0200, Daniel Lezcano wrote: >> The sensor is all setup, bind, resetted, acked, etc... every single second. >> >> That was the way to workaround a problem with the interrupt bouncing again >> and >> again. >> >>

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

2017-09-08 Thread Dan Carpenter
On Fri, Sep 08, 2017 at 11:45:20AM +0200, Julia Lawall wrote: > > > On Fri, 8 Sep 2017, harsha wrote: > > > From: Harsha Sharma > > > > Fixes checkpatch warning -- "occured" and "succesfully" are misspelled > > > > Signed-off-by: Harsha Sharma

[PATCH] block,bfq: Disable writeback throttling

2017-09-08 Thread Luca Miccio
Similarly to CFQ, BFQ has its write-throttling heuristics, and it is better not to combine them with further write-throttling heuristics of a different nature. So this commit disables write-back throttling for a device if BFQ is used as I/O scheduler for that device. Signed-off-by: Luca Miccio

Re: [PATCH RESEND v2 0/3] tpm2-cmd: Improve self test execution

2017-09-08 Thread Jarkko Sakkinen
On Wed, Sep 06, 2017 at 03:57:40PM +0300, Jarkko Sakkinen wrote: > On Thu, Aug 31, 2017 at 07:18:55PM +0200, Alexander Steffen wrote: > > The self test logic for TPM 2.0 was probably based on the implementation > > for TPM 1.2, but did not correctly take into account some TPM 2.0 specifics. > >

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-08 Thread Nikolay Aleksandrov
On 08/09/17 13:10, Nikolay Aleksandrov wrote: > On 08/09/17 05:06, Kosuke Tatsukawa wrote: >> Hi, >> >>> On 7.09.2017 01:47, Kosuke Tatsukawa wrote: Commit cbf5ecb30560 ("net: bonding: Fix transmit load balancing in balance-alb mode") tried to fix transmit dynamic load balancing in

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

2017-09-08 Thread Lars-Peter Clausen
On 09/08/2017 11:59 AM, Julia Lawall wrote: > > > On Fri, 8 Sep 2017, Lars-Peter Clausen wrote: > >> 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,

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

2017-09-08 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > On 2017.09.08 at 11:16 +0200, Borislav Petkov wrote: > > 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

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 >

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: [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

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

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

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

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

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. > > >

[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

[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

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

2017-09-08 Thread Julia Lawall
On Fri, 8 Sep 2017, Lars-Peter Clausen wrote: > On 09/08/2017 11:59 AM, Julia Lawall wrote: > > > > > > On Fri, 8 Sep 2017, Lars-Peter Clausen wrote: > > > >> On 09/08/2017 11:32 AM, Jonathan Cameron wrote: > >>> On Fri, 8 Sep 2017 07:29:06 +0100 > >>> Jonathan Cameron

[PATCH] Staging: media: omap4iss: Use WARN_ON() instead of BUG_ON().

2017-09-08 Thread Srishti Sharma
Use WARN_ON() instead of BUG_ON() to avoid crashing the kernel. Signed-off-by: Srishti Sharma --- drivers/staging/media/omap4iss/iss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/omap4iss/iss.c

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

2017-09-08 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 04:00:20PM +0200, Andrew Lunn wrote: > > > > +static int mdio_mux_syscon_switch_fn(int current_child, int > > > > desired_child, > > > > +void *data) > > > > +{ > > > > + struct stmmac_priv *priv = data; > > > > + struct

Re: [PATCH net-next v2 02/10] net: dsa: debugfs: add tree

2017-09-08 Thread Vivien Didelot
Hi Greg, Can I ask for a quick review of this patch as well? It's the one adding the boilerplate for a single debugfs file, and I'm pretty sure it can be reduced somehow. Also more important, you will notice what seems to be a bug to me: I can read or write a file even if I didn't mask the

RE: [PATCH net-next v2 02/10] net: dsa: debugfs: add tree

2017-09-08 Thread David Laight
From: Vivien Didelot > Sent: 08 September 2017 15:57 ... > > > Also more important, you will notice what seems to be a bug to me: > > > I can read or write a file even if I didn't mask the corresponding mode > > > hence the double check in dsa_debugfs_show and dsa_debugfs_write. > > > > The mode

Re: [PATCH] MAINTAINERS: Add dri-devel as a mailing list for anything fbdev

2017-09-08 Thread Sean Paul
On Fri, Sep 8, 2017 at 11:35 AM, Daniel Vetter wrote: > fbdev is in maintenance only, except that it's still used by drm > through the drm fbdev emulation, to be able to use fbcon. And people > might want to sometimes extend fbcon to enable new features for drm > drivers,

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

2017-09-08 Thread Kees Cook
On Fri, Sep 8, 2017 at 12:55 AM, Christoph Hellwig wrote: > 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 >>

Re: [PATCH v1 07/10] iio:adc:at91-sama5d2: Support backup mode

2017-09-08 Thread Nicolas Ferre
On 08/09/2017 at 17:36, Romain Izard wrote: > Support the backup mode for platform suspend, by restoring the hardware > registers on resume. > > Signed-off-by: Romain Izard Romain, Thanks for your series: definitively some of your patches need to be integrated (I've

Re: [Outreachy kernel] [PATCH] Staging: media: imx: Prefer using BIT macro

2017-09-08 Thread Srishti Sharma
On Fri, Sep 8, 2017 at 8:59 PM, Sean Paul wrote: > On Fri, Sep 8, 2017 at 11:11 AM, Srishti Sharma wrote: >> Use BIT(x) instead of (1<> >> Signed-off-by: Srishti Sharma >> --- >> drivers/staging/media/imx/imx-media.h |

[patch v8 0/4] JTAG driver introduction

2017-09-08 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general

[patch v8 4/4] Documentation: jtag: Add ABI documentation

2017-09-08 Thread Oleksandr Shamray
Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v7->v8 v6->v7 Comments pointed by Pavel Machek - Added jtag-cdev documentation to Documentation/ABI/testing folder ---

[patch v8 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-09-08 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring Acked-by: Arnd Bergmann ---

Re: [PATCH v8 11/28] x86/insn-eval: Add utility function to identify string instructions

2017-09-08 Thread Borislav Petkov
On Fri, Aug 18, 2017 at 05:27:52PM -0700, Ricardo Neri wrote: > String instructions are special because, in protected mode, the linear > address is always obtained via the ES segment register in operands that > use the (E)DI register; the DS segment register in operands that use > the (E)SI

Re: [PATCH v1 07/10] iio:adc:at91-sama5d2: Support backup mode

2017-09-08 Thread Romain Izard
2017-09-08 18:03 GMT+02:00 Nicolas Ferre : > On 08/09/2017 at 17:36, Romain Izard wrote: >> Support the backup mode for platform suspend, by restoring the hardware >> registers on resume. >> >> Signed-off-by: Romain Izard > > Romain, > >

Re: [PATCH v2 1/3] ASoC: samsung: i2s: Use specific name for i2s dais

2017-09-08 Thread Krzysztof Kozlowski
On Wed, Sep 06, 2017 at 10:04:13AM +0900, Jaechul Lee wrote: > Add specific dais name when components are registered. Component and dai > name will follow their parent dev name, if the name isn't described. In > case of this driver, each dais will have same name like '1144.i2s0' by >

Re: [Outreachy kernel] [PATCH] Staging: media: omap4iss: Use WARN_ON() instead of BUG_ON().

2017-09-08 Thread Julia Lawall
On Fri, 8 Sep 2017, Srishti Sharma wrote: > Use WARN_ON() instead of BUG_ON() to avoid crashing the kernel. > > Signed-off-by: Srishti Sharma > --- > drivers/staging/media/omap4iss/iss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH RFC 06/10] perf tools: lock to protect comm_str rb tree

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 10:55:50AM -0700, kan.li...@intel.com escreveu: > From: Kan Liang > > Add comm_str_lock to protect comm_str rb tree. > > Signed-off-by: Kan Liang > --- > tools/perf/util/comm.c | 18 ++ > 1 file changed, 14

Re: [PATCH 1/3] kthread: add a mechanism to store cgroup info

2017-09-08 Thread Tejun Heo
Hello, On Wed, Sep 06, 2017 at 07:00:51PM -0700, Shaohua Li wrote: > +#ifdef CONFIG_CGROUPS > +void kthread_set_orig_css(struct cgroup_subsys_state *css); > +struct cgroup_subsys_state *kthread_get_orig_css(void); > +void kthread_reset_orig_css(void); * It's a bit weird to associate a kthread

[PATCH] staging: typec: tcpm: Comparison to NULL changed as "!port->partner_altmode[pmdata->altmodes]"

2017-09-08 Thread Harsha Sharma
Fixes coding style issue Signed-off-by: Harsha Sharma --- drivers/staging/typec/tcpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/typec/tcpm.c b/drivers/staging/typec/tcpm.c index 630fe75..9f4a5a5 100644 ---

Re: [PATCH 3/3] dmaengine: sun6i: Add support for Allwinner A64

2017-09-08 Thread Maxime Ripard
Hi, On Mon, Sep 04, 2017 at 09:14:52AM +0100, André Przywara wrote: > > And obviously, while maintaining the stability of the binding of those > > hundreds properties. > > > > Or, you can base all this on the compatible, and be done with it once > > and for all. > > What I am after is to cover

Re: [PATCH 1/3] kthread: add a mechanism to store cgroup info

2017-09-08 Thread Tejun Heo
On Fri, Sep 08, 2017 at 07:35:37AM -0700, Tejun Heo wrote: > * It's a bit weird to associate a kthread with a css without being > specific. If what's needed is a generic association (this kthread > is temporarily servicing this cgroup), it should be associated with > the cgroup. But, I

Re: [PATCH] Staging: media: omap4iss: Use WARN_ON() instead of BUG_ON().

2017-09-08 Thread Dan Carpenter
On Fri, Sep 08, 2017 at 07:38:18PM +0530, Srishti Sharma wrote: > Use WARN_ON() instead of BUG_ON() to avoid crashing the kernel. > > Signed-off-by: Srishti Sharma > --- > drivers/staging/media/omap4iss/iss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH v2] tracing: Ignore mmiotrace from kernel commandline

2017-09-08 Thread Steven Rostedt
On Wed, 30 Aug 2017 12:19:30 +0800 "Ziqian SUN (Zamir)" wrote: > From: "Ziqian SUN (Zamir)" > > The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in > kernel commandline. With this patch, a trace_noboot_tracer_list > is implemented and will be

Re: [PATCH 3/3] block/loop: make loop cgroup aware

2017-09-08 Thread Tejun Heo
Hello, On Wed, Sep 06, 2017 at 07:00:53PM -0700, Shaohua Li wrote: > diff --git a/drivers/block/loop.c b/drivers/block/loop.c > index 9d4545f..9850b27 100644 > --- a/drivers/block/loop.c > +++ b/drivers/block/loop.c > @@ -482,6 +482,8 @@ static void lo_rw_aio_complete(struct kiocb *iocb, long >

RE: [PATCH v5] usb: serial: add vid:pid for Cypress WICED dev board

2017-09-08 Thread David Laight
> To: Jeffrey Chu .. > Patch is still corrupted :( > > Please try sending it to yourself first to verify you have your email > client set up correctly. If you are forced to send from outlook, try copy & paste from wordpad. David

Re: [PATCH v9] arm64: allwinner: h5: add NanoPi NEO Plus2 DT support

2017-09-08 Thread Maxime Ripard
On Thu, Sep 07, 2017 at 06:42:22PM +0200, Antony Antony wrote: > Add initial DT for NanoPi NEO Plus2 by FriendlyARM > - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU > - 1 GB DDR3 RAM > - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) > - micro SD card slot > - Gigabit Ethernet (external

Re: [PATCH v11 4/6] target-arm: kvm64: detect guest RAS EXTENSION feature

2017-09-08 Thread Peter Maydell
On 8 September 2017 at 15:26, gengdongjiu wrote: >> Shouldn't we need to also tell the kernel that we actually want >> it to expose RAS to the guest? Compare the PMU code in this function, >> where we set a kvm_init_features bit to do this. > In the PMU code, it indeed

Re: [PATCH 3/3] dmaengine: sun6i: Add support for Allwinner A64

2017-09-08 Thread Andre Przywara
Hi Maxime, On 08/09/17 15:39, Maxime Ripard wrote: > Hi, > > On Mon, Sep 04, 2017 at 09:14:52AM +0100, André Przywara wrote: >>> And obviously, while maintaining the stability of the binding of those >>> hundreds properties. >>> >>> Or, you can base all this on the compatible, and be done with

Re: [PATCH v4 3/6] irqdomain: move IRQ_DOMAIN_NAME_ALLOCATED define to the original position

2017-09-08 Thread Masahiro Yamada
2017-09-07 21:04 GMT+09:00 Marc Zyngier : > On 07/09/17 12:41, Masahiro Yamada wrote: >> Commit 6a6544e520ab ("genirq/irqdomain: Remove auto-recursive hierarchy >> support") not only deleted IRQ_DOMAIN_FLAG_AUTO_RECURSIVE, but also >> moved IRQ_DOMAIN_NAME_ALLOCATED up. >> >>

[PATCH] Staging: media: imx: Prefer using BIT macro

2017-09-08 Thread Srishti Sharma
Use BIT(x) instead of (1< --- drivers/staging/media/imx/imx-media.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/media/imx/imx-media.h b/drivers/staging/media/imx/imx-media.h index

[PATCH v1 10/10] tty/serial: atmel: Prevent a warning on suspend

2017-09-08 Thread Romain Izard
The atmel serial port driver reported the following warning on suspend: atmel_usart f802.serial: ttyS1: Unable to drain transmitter As the ATMEL_US_TXEMPTY status bit in ATMEL_US_CSR is always cleared when the transmitter is disabled, we need to know the transmitter's state to return the real

Re: [PATCH v2 28/40] tracing: Add support for 'field variables'

2017-09-08 Thread Tom Zanussi
On Thu, 2017-09-07 at 19:43 -0400, Steven Rostedt wrote: > On Tue, 5 Sep 2017 16:57:40 -0500 > Tom Zanussi wrote: > > > Users should be able to directly specify event fields in hist trigger > > 'actions' rather than being forced to explicitly create a variable for >

[PATCH v1 01/10] clk: at91: pmc: Wait for clocks when resuming

2017-09-08 Thread Romain Izard
Wait for the syncronization of all clocks when resuming, not only the UPLL clock. Do not use regmap_read_poll_timeout, as it will call BUG() when interrupts are masked, which is the case in here. Signed-off-by: Romain Izard --- drivers/clk/at91/pmc.c | 24

[PATCH v1 06/10] ehci-atmel: Power down during suspend is normal

2017-09-08 Thread Romain Izard
When an Atmel SoC is suspended with the backup mode, the USB bus will be powered down. As this is expected, do not return an error to the driver core when ehci_resume detects it. Signed-off-by: Romain Izard --- drivers/usb/host/ehci-atmel.c | 3 ++- 1 file changed, 2

[PATCH v1 05/10] mtd: nand: atmel: Report PMECC failures as errors

2017-09-08 Thread Romain Izard
It is not normal for the PMECC to fail when trying to fix ECC errors. Report these cases as errors. Signed-off-by: Romain Izard --- drivers/mtd/nand/atmel/pmecc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel/pmecc.c

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-09-08 Thread Thiago Jung Bauermann
AKASHI Takahiro writes: > On Fri, Aug 25, 2017 at 11:41:33AM +0100, Mark Rutland wrote: >> On Fri, Aug 25, 2017 at 10:21:06AM +0900, AKASHI Takahiro wrote: >> > On Thu, Aug 24, 2017 at 06:04:40PM +0100, Mark Rutland wrote: >> > > On Thu, Aug 24, 2017 at 05:18:06PM

Re: [PATCH 0/2] Two cleanups for Sphinx conf.py

2017-09-08 Thread Jonathan Corbet
On Sun, 3 Sep 2017 16:12:44 -0300 Mauro Carvalho Chehab wrote: > Those patches are just cleanups for Documentation/conf.py. > > The first one removes a package usage directive for a LateX package > that it is not used. > > The second one moves some LaTeX preamble

Re: [PATCH] ALSA: msnd: Optimize / harden DSP and MIDI loops

2017-09-08 Thread Greg KH
On Fri, Sep 08, 2017 at 09:06:25AM -0700, grygorii tertychnyi wrote: > Hi Greg, > > Could you please apply it for 4.4-stable. > This fixes https://nvd.nist.gov/vuln/detail/CVE-2017-9985 Why just 4.4? What about 4.12, 4.9, and any others? thanks, greg k-h

Re: [PATCH v2 2/3] ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links

2017-09-08 Thread Krzysztof Kozlowski
On Wed, Sep 06, 2017 at 10:04:14AM +0900, Jaechul Lee wrote: > Add specific cpu_dai_name to dai_link because samsung i2s driver registers > two dais and components. Selecting one of them clearly is needed more > information like cpu_dai_name, of_node. The reason why the dai_links have > to use

Re: [PATCH RFC 02/10] perf tools: using scandir to replace readdir

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 10:55:46AM -0700, kan.li...@intel.com escreveu: > From: Kan Liang > > For perf_event__synthesize_threads, perf goes through all proc files > serially by readdir. > scandir did a snapshoot of proc, which is multithreading friendly. > > It's possible

Re: [PATCH RFC 01/10] perf tools: hashtable for machine threads

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 10:55:45AM -0700, kan.li...@intel.com escreveu: > From: Kan Liang > > To process any events, it needs to find the thread in the machine first. > The machine maintains a rb tree to store all threads. The rb tree is > protected by a rw lock. > It is not

Re: [PATCH v11 4/6] target-arm: kvm64: detect guest RAS EXTENSION feature

2017-09-08 Thread gengdongjiu
Hi Peter, Sorry for my late response. > > On 18 August 2017 at 15:23, Dongjiu Geng wrote: > > check if kvm supports guest RAS EXTENSION. if so, set corresponding > > feature bit for vcpu. > > > > Signed-off-by: Dongjiu Geng > > --- > >

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

2017-09-08 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 04:17:36PM +0200, Andrew Lunn wrote: > > > Do you know why the reset times out/fails? > > > > > > > Because there are nothing connected to it. > > That should not be an issue. A read should just return 0x. And it > should return 0x fast. The timing of the MDIO

Re: [PATCH v5 2/3] perf config: Once write a config file in the end, not a repeat

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 12:18:51PM +0900, Taeung Song escreveu: > Currently set_config() can be repeatedly called for each > input config on the below case: > > $ perf config kmem.default=slab report.children=false ... > > But it's a waste, so only once write a config file > gathering all

Re: mutex_lock issues during poweroff

2017-09-08 Thread Maxime Ripard
Hi Peter, Thanks for your answer. On Thu, Sep 07, 2017 at 02:40:33PM +0200, Peter Zijlstra wrote: > On Thu, Sep 07, 2017 at 02:16:19PM +0200, Maxime Ripard wrote: > > One thing worth noting is that we couldn't reproduce the issue with a > > 4.13. We can't bisect really easily due to the amount

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

2017-09-08 Thread Borislav Petkov
On Fri, Sep 08, 2017 at 11:16:14AM +0200, Borislav Petkov wrote: ... > +blkid[1020]: segfault at 8 ip 7fec7760c3fd sp 7ffc9dd05890 error 4 > in ld-linux-x86-64.so.2[7fec775fc000+22000] > +blkid[1026]: segfault at 8 ip 7f5a31ecc3fd sp 7fffaf3604b0 error 4 > in

Re: [PATCH v4 1/6] irqdomain: rename variables in irq_domain_{push,pop}_irq()

2017-09-08 Thread Masahiro Yamada
Hi Marc, David, 2017-09-08 2:45 GMT+09:00 David Daney : > On 09/07/2017 05:47 AM, Marc Zyngier wrote: >> >> On 07/09/17 12:41, Masahiro Yamada wrote: >>> >>> The meaning of "root" in irq_domain_{push,pop} is opposite to the >>> documentation.

Re: Do we really need d_weak_revalidate???

2017-09-08 Thread David Howells
Ian Kent wrote: > So far only David commented about using ENOENT rather than EREMOTE. > > I prefer ENOENT for this case myself and he didn't object when I > explained why, David, any concerns? Not really - it just seems EREMOTE is a better fit since there is something there,

Re: [PATCH 3/3] net: skb_queue_purge(): lock/unlock the list only once

2017-09-08 Thread Eric Dumazet
On Fri, 2017-09-08 at 05:06 +, Michael Witten wrote: > Date: Thu, 7 Sep 2017 20:07:40 + > With this commit, the list's lock is locked/unlocked only once > for the duration of `skb_queue_purge()'. > > Hitherto, the list's lock has been locked/unlocked every time > an item is dequeued; this

Re: [PATCH 1/2] kokr/doc: Update memory-barriers.txt for read-to-write dependencies

2017-09-08 Thread Jonathan Corbet
On Wed, 6 Sep 2017 17:25:30 +0900 SeongJae Park wrote: > This commit applies upstream change, commit 66ce3a4dcb9f ("doc: Update > memory-barriers.txt for read-to-write dependencies") to Korean > translation. I've applied these two. Thanks, jon

[PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread Stephen Smalley
commit d178bc3a708f39cbfefc3fab37032d3f2511b4ec ("user namespace: usb: make usb urbs user namespace aware (v2)") changed kill_pid_info_as_uid to kill_pid_info_as_cred, saving and passing a cred structure instead of uids. Since the secid can be obtained from the cred, drop the secid fields from

Re: [PATCH v2 3/3] ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

2017-09-08 Thread Krzysztof Kozlowski
On Wed, Sep 06, 2017 at 10:04:15AM +0900, Jaechul Lee wrote: > devm_gpiod_get is called with GPIOF_OUT_INIT_LOW but the function doesn't > allow the parameters. Unluckily, GPIOF_OUT_INIT_LOW is same value as > GPIOD_ASIS and gpio direction isn't set properly. > > Muted stream comes up when I try

Re: [PATCH v2 27/40] tracing: Add support for 'synthetic' events

2017-09-08 Thread Tom Zanussi
On Thu, 2017-09-07 at 19:40 -0400, Steven Rostedt wrote: > On Tue, 5 Sep 2017 16:57:39 -0500 > Tom Zanussi wrote: > > > > +static int synth_field_string_size(char *type) > > +{ > > + char buf[4], *end, *start; > > + unsigned int len; > > + int size, err; > >

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-08 Thread Nikolay Aleksandrov
On 08/09/17 17:17, Kosuke Tatsukawa wrote: > Hi, > >> On 08/09/17 13:10, Nikolay Aleksandrov wrote: >>> On 08/09/17 05:06, Kosuke Tatsukawa wrote: Hi, > On 7.09.2017 01:47, Kosuke Tatsukawa wrote: >> Commit cbf5ecb30560 ("net: bonding: Fix transmit load balancing in >>

Re: [PATCH v2] tracing: Ignore mmiotrace from kernel commandline

2017-09-08 Thread Steven Rostedt
On Fri, 8 Sep 2017 10:02:04 -0400 (EDT) "Ziqian SUN (Zamir)" wrote: > Hi Steve, > > Is this solution acceptable? Any suggestions? > Sorry this patch got buried in other email. I'll take a look at it now. -- Steve

Re: [PATCH v5 3/3] perf config: Allow creating empty config set for config file autogeneration

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 12:18:56PM +0900, Taeung Song escreveu: > When there isn't a config file (e.g. ~/.perfconfig) > or it has nothing, the config set wasn't created. > If the config set not exists, a config file can't be autogenerated. > > So allow creating a empty config set in the above

Re: [PATCH 05/10] dmaengine: sun6i: Move number of pchans/vchans/request to device struct

2017-09-08 Thread Maxime Ripard
On Mon, Sep 04, 2017 at 02:30:59PM +, Brüns, Stefan wrote: > On Montag, 4. September 2017 09:43:55 CEST Maxime Ripard wrote: > > On Mon, Sep 04, 2017 at 12:40:56AM +0200, Stefan Brüns wrote: > > > Preparatory patch: If the same compatible is used for different SoCs which > > > have a common

Re: [Outreachy kernel] [PATCH] staging: typec: tcpm: Comparison to NULL changed as "!port->partner_altmode[pmdata->altmodes]"

2017-09-08 Thread Julia Lawall
On Fri, 8 Sep 2017, Harsha Sharma wrote: > Fixes coding style issue Good job on getting the From issue sorted out. The subject line change description is a bit verbose. One doesn't want to see the whole code, but rather the concept of what has changed. If you were going to tell someone

[PATCH v3] tpm-dev-common: Reject too short writes

2017-09-08 Thread Alexander Steffen
tpm_transmit() does not offer an explicit interface to indicate the number of valid bytes in the communication buffer. Instead, it relies on the commandSize field in the TPM header that is encoded within the buffer. Therefore, ensure that a) enough data has been written to the buffer, so that the

[PATCH v1 00/10] Various patches for SAMA5D2 backup mode

2017-09-08 Thread Romain Izard
While the core of the backup mode for SAMA5D2 has been integrated in v4.13, it is far from complete. Individual controllers in the chip have drivers that do not support the reset of the registers during suspend, and they need to be adapted to handle it. The first patch uses the clock wakeup code

[PATCH] MAINTAINERS: Add dri-devel as a mailing list for anything fbdev

2017-09-08 Thread Daniel Vetter
fbdev is in maintenance only, except that it's still used by drm through the drm fbdev emulation, to be able to use fbcon. And people might want to sometimes extend fbcon to enable new features for drm drivers, e.g. Hans' panel orientation work. The problem is that when those patches only touch

pull-request: wireless-drivers 2017-09-08

2017-09-08 Thread Kalle Valo
Hi Dave, few fixes to net tree for 4.14. Note that this pull request contains the iwlwifi fix Linus hopes to have by end of the merge window. Please let me know if there are any problems. Kalle The following changes since commit 8e0deed92406d93ae0365cb8a6134db5721e7aca: tipc: remove

[PATCH] signal: remove unused variable mask

2017-09-08 Thread Colin King
From: Colin Ian King The variable mask was introduced by an earlier commit and does not seem to be used, so remove it. Fixes gcc warning: kernel/signal.c:3443:19: warning: unused variable ‘mask’ [-Wunused-variable] Fixes: fc271087ebcb ("signal: replace

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

2017-09-08 Thread Brijesh Singh
On 09/08/2017 03:40 AM, Borislav Petkov wrote: 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 --| |

[patch v8 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-09-08 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by:

[patch v8 1/4] drivers: jtag: Add JTAG core driver

2017-09-08 Thread Oleksandr Shamray
Initial patch for JTAG driver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

<    1   2   3   4   5   6   7   8   9   10   >