[PATCH v3 1/7] dt-bindings: reset: Add AOSS reset bindings for SDM845 SoCs

2018-03-14 Thread Sibi S
Add SDM845 AOSS (always on subsystem) reset controller binding Signed-off-by: Sibi S --- .../devicetree/bindings/reset/qcom,aoss-reset.txt | 54 ++ include/dt-bindings/reset/qcom,sdm845-aoss.h | 17 +++ 2 files changed, 71 insertions(+) create mode 100644 Document

[PATCH v3 5/7] dt-bindings: remoteproc: Add Q6v5 Modem PIL binding for SDM845

2018-03-14 Thread Sibi S
Add new compatible string for Qualcomm SDM845 SoCs Signed-off-by: Sibi S --- Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/q

[PATCH v3 4/7] mailbox: Add support for Qualcomm SDM845 SoCs

2018-03-14 Thread Sibi S
Add the corresponding APCS offset for SDM845 SoC Signed-off-by: Sibi S --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 57bde0d..62d704d 100644 --- a/drivers/ma

[PATCH v3 6/7] remoteproc: qcom: Add support for mss remoteproc on SDM845

2018-03-14 Thread Sibi S
>From SDM845, the Q6SS reset sequence on software side has been simplified with the introduction of boot FSM which assists in bringing the Q6 out of reset Add GLINK subdevice to allow definition of GLINK edge as a child of modem-pil Signed-off-by: Sibi S --- drivers/remoteproc/qcom_q6v5_pil.c |

[PATCH v3 7/7] remoteproc: qcom: Always assert and deassert reset signals in SDM845

2018-03-14 Thread Sibi S
SDM845 brings a new reset signal ALT_RESET which is a part of the MSS subsystem hence requires some of the active clks to be enabled before assert/deassert Reset the modem if the BOOT FSM does timeout Reset assert/deassert sequence vary across SoCs adding reset, adding start/stop helper functions

Re: perf-core build fails on powerpc

2018-03-14 Thread John Garry
On 14/03/2018 07:10, John Garry wrote: On 13/03/2018 21:18, Sukadev Bhattiprolu wrote: John Garry [john.ga...@huawei.com] wrote: On 13/03/2018 20:10, Sukadev Bhattiprolu wrote: Hi John, I have an xfs file system which seems to have d_type == DT_UNKNOWN for all entries in 'tools/perf/pmu-even

[PATCH v3 3/7] dt-bindings: mailbox: Add APCS global binding for SDM845 SoCs

2018-03-14 Thread Sibi S
Include SDM845 APCS binding to the list of possible bindings Signed-off-by: Sibi S --- Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/dev

[PATCH v3 2/7] reset: qcom: AOSS (always on subsystem) reset controller

2018-03-14 Thread Sibi S
Add reset controller driver for Qualcomm SDM845 SoC to control reset signals provided by AOSS for Modem, Venus ADSP, GPU, Camera, Wireless, Display subsystem Signed-off-by: Sibi S --- drivers/reset/Kconfig | 10 +++ drivers/reset/Makefile | 1 + drivers/reset/reset-qcom-aos

[PATCH 1/2] perf record: Synthesize features before events in pipe mode

2018-03-14 Thread Jiri Olsa
We need to synthesize events first, because some features works on top of them (on report side). Link: http://lkml.kernel.org/n/tip-vz436m6fobfz8ykmuxo8p...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-record.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deleti

[PATCH 2/2] perf report: Support forced leader feature in pipe mode

2018-03-14 Thread Jiri Olsa
Stephan reported a problem with forced leader in pipe mode, where report does not force the group output. The reason is that we don't force the leader in pipe mode. This patch adds HEADER_LAST_FEATURE mark to have a point where we have all events and features received, and force the group if reque

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-14 Thread Wolfgang Grandegger
Am 14.03.2018 um 10:17 schrieb Wolfgang Grandegger: Am 14.03.2018 um 10:14 schrieb Jakob Unterwurzacher: On 14.03.18 10:11, Wolfgang Grandegger wrote: +    /* handle error frames */ +    canid = le32_to_cpu(m->msg.can_msg.id); +    if (canid & CAN_ERR_FLAG) { +    ucan_handle_error_fram

Re: [1/5] powerpc/vas: Remove a stray line in Makefile

2018-03-14 Thread Michael Ellerman
On Wed, 2018-01-17 at 02:50:39 UTC, Sukadev Bhattiprolu wrote: > Remove a bogus line from arch/powerpc/platforms/powernv/Makefile that > was added by commit ece4e51 ("powerpc/vas: Export HVWC to debugfs"). > > Signed-off-by: Sukadev Bhattiprolu Applied to powerpc next, thanks. https://git.kerne

Re: [16/21] powerpc: Add missing prototype for init_IRQ

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:31 UTC, Mathieu Malaterre wrote: > A function init_IRQ was added without a prototype declared in header irq.h. > Fix the following warning (treated as error in W=1): > > CC arch/powerpc/kernel/irq.o > arch/powerpc/kernel/irq.c:662:13: error: no previous prototype

Re: [08/21] powerpc: Make function __giveup_fpu static

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:23 UTC, Mathieu Malaterre wrote: > When CONFIG_PPC_FPU is defined the prototype exposed in asm/switch_to.h is: > > extern void giveup_fpu(struct task_struct *); > > Change the function prototype of __giveup_fpu to static. Fix warning > (treated as error in W=1): > >

Re: [11/21] powerpc: Add missing prototype for hdec_interrupt

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:26 UTC, Mathieu Malaterre wrote: > In commit dabe859ec636 ("powerpc: Give hypervisor decrementer interrupts > their own handler") an empty body function was added, but no prototype was > declared. Fix warning (treated as error in W=1): > > CC arch/powerpc/kernel/

Re: [13/21] powerpc: Add missing prototype for arch_dup_task_struct

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:28 UTC, Mathieu Malaterre wrote: > In commit 55ccf3fe3f9a ("fork: move the real prepare_to_copy() users to > arch_dup_task_struct()") a new arch_dup_task_struct was added without a > prototype declared in thread_info.h header. Fix the following warning > (treated as erro

Re: [18/21] powerpc: Add missing prototypes for sys_sigreturn & sys_rt_sigreturn

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:33 UTC, Mathieu Malaterre wrote: > Two functions did not have a prototype defined in signal.h header. Fix the > following two warnings (treated as errors in W=1): > > CC arch/powerpc/kernel/signal_32.o > arch/powerpc/kernel/signal_32.c:1135:6: error: no previous

Re: PCI/hotplug: ppc: correct a php_slot usage after free

2018-03-14 Thread Michael Ellerman
On Wed, 2018-03-07 at 08:46:04 UTC, wei.guo.si...@gmail.com wrote: > From: Simon Guo > > In pnv_php_unregister_one(), pnv_php_put_slot() might kfree > php_slot structure. But there is pci_hp_deregister() after > that with php_slot reference. > > This patch moves pnv_php_put_slot() to the end of

Re: [v2, 05/21] powerpc: Avoid comparison of unsigned long >= 0 in pfn_valid

2018-03-14 Thread Michael Ellerman
On Wed, 2018-03-07 at 20:34:35 UTC, Mathieu Malaterre wrote: > Rewrite comparison since all values compared are of type `unsigned long`. > > Instead of using unsigned properties and rewriting the original code as: > (originally suggested by Segher Boessenkool ) > > #define pfn_valid(pfn) \ >

Re: [v2, 06/21] powerpc: Avoid comparison of unsigned long >= 0 in __access_ok

2018-03-14 Thread Michael Ellerman
On Fri, 2018-03-02 at 19:50:51 UTC, Mathieu Malaterre wrote: > Rewrite function-like macro into regular static inline function to avoid a > warning during macro expansion. > Fix warning (treated as error in W=1): > > CC arch/powerpc/kernel/signal_32.o > In file included from ./include/linux

Re: [v2] xmon: Setup xmon debugger hooks when first break-point is set

2018-03-14 Thread Michael Ellerman
On Sun, 2018-03-04 at 17:30:25 UTC, Vaibhav Jain wrote: > Presently sysrq key for xmon('x') is registered during kernel init > irrespective of the value of kernel param 'xmon'. Thus xmon is enabled > even if 'xmon=off' is passed on the kernel command line. However this > doesn't enable the kernel d

Re: [v2,01/21] powerpc: Remove warning on array size when empty

2018-03-14 Thread Michael Ellerman
On Fri, 2018-03-02 at 19:49:18 UTC, Mathieu Malaterre wrote: > When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the > array feature_properties is defined as an empty array, which in turn > triggers the following warning (treated as error on W=1): > > CC arch/powerpc/k

Re: xmon: Clear all breakpoints when xmon is disabled via debugfs

2018-03-14 Thread Michael Ellerman
On Sun, 2018-03-04 at 17:31:32 UTC, Vaibhav Jain wrote: > Presently when xmon is disabled by debugfs any existing > instruction/data-access breakpoints set are not disabled. This may > lead to kernel oops when those breakpoints are hit as the necessary > debugger hooks aren't installed. > > Hence

Re: powerpc/8xx: fix cpm_cascade() dual end of interrupt

2018-03-14 Thread Michael Ellerman
On Tue, 2018-02-27 at 11:25:55 UTC, Christophe Leroy wrote: > cpm_cascade() doesn't have to call eoi() as it is already called > by handle_fasteoi_irq() > > And cpm_get_irq() will always return an unsigned int so the test > is useless > > Signed-off-by: Christophe Leroy Applied to powerpc next,

Re: [v2,15/21] powerpc: Make function MMU_setup static

2018-03-14 Thread Michael Ellerman
On Wed, 2018-03-07 at 20:32:55 UTC, Mathieu Malaterre wrote: > Since function `MMU_setup` is not meant to be exported, change the > signature to `static`. Fix warning (treated as error with W=1): > > CC kernel/sys.o > arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for > ‘

Re: [21/21] powerpc: Add missing prototypes in setup_32.c

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:36 UTC, Mathieu Malaterre wrote: > This commit add the prototypes for the following function: > > - early_init > - machine_init > - ppc_setup_l2cr > - ppc_setup_l3cr > - ppc_init > > the other missing ones were already added in setup.h previously. Fix the > following w

Re: [19/21] powerpc: Add missing prototypes for hw_breakpoint_handler & arch_unregister_hw_breakpoint

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:34 UTC, Mathieu Malaterre wrote: > In commit 5aae8a537080 ("powerpc, hw_breakpoints: Implement hw_breakpoints > for 64-bit server processors") function hw_breakpoint_handler and > arch_unregister_hw_breakpoint were added without function prototypes in > hw_breakpoint.h h

Re: [PATCH v2] drm/sun4i: move rgb mode_valid from connector to encoder

2018-03-14 Thread Maxime Ripard
On Tue, Mar 13, 2018 at 12:36:57PM +0100, Giulio Benetti wrote: > mode_valid function must be connected to encoder. > Otherwise it could get not be called by drm in the case there's a > bridge connected to encoder instead of a panel. > > Move mode_valid function pointer to encoder helper functions

Re: [PATCH v2] drm/sun4i: add lvds mode_valid function

2018-03-14 Thread Maxime Ripard
On Tue, Mar 13, 2018 at 12:20:19PM +0100, Giulio Benetti wrote: > mode_valid function is missing for lvds. > > Add it making it pointed by encoder helper functions. > > Signed-off-by: Giulio Benetti Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and

Re: [17/21] powerpc: Add missing prototype for sys_debug_setcontext

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:32 UTC, Mathieu Malaterre wrote: > In commit 81e7009ea46c ("powerpc: merge ppc signal.c and ppc64 signal32.c") > the function sys_debug_setcontext was added without a prototype. > > Fix compilation warning (treated as error in W=1): > > CC arch/powerpc/kernel/si

Re: [20/21] powerpc: Add missing prototypes for ppc_select & ppc_fadvise64_64

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:35 UTC, Mathieu Malaterre wrote: > Add missing prototypes for ppc_select & ppc_fadvise64_64 to header > asm-prototypes.h. Fix the following warnings (treated as errors in W=1) > > CC arch/powerpc/kernel/syscalls.o > arch/powerpc/kernel/syscalls.c:87:1: error: no

Re: [14/21] powerpc: Add missing prototype for arch_irq_work_raise

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:29 UTC, Mathieu Malaterre wrote: > In commit 4f8b50bbbe63 ("irq_work, ppc: Fix up arch hooks") a new function > arch_irq_work_raise was added without a prototype in header irq_work.h. > > Fix the following warning (treated as error in W=1): > > CC arch/powerpc/k

Re: [12/21] powerpc: Add missing prototype for time_init

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:27 UTC, Mathieu Malaterre wrote: > The function time_init did not have a prototype defined in the time.h > header. Fix the following warning (treated as error in W=1): > > CC arch/powerpc/kernel/time.o > arch/powerpc/kernel/time.c:1068:13: error: no previous prot

Re: [10/21] powerpc: Add missing prototype for slb_miss_bad_addr

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:25 UTC, Mathieu Malaterre wrote: > In commit f0f558b131db ("powerpc/mm: Preserve CFAR value on SLB miss caused > by access to bogus address"), the function slb_miss_bad_addr was added > without a prototype. This commit adds it. > > Fix a warning (treated as error in W=1

Re: [04/21] powerpc: Mark both tmp variables as unused

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:19 UTC, Mathieu Malaterre wrote: > Since the value of `tmp` is never intended to be read, declare both `tmp` > variables as unused. Fix warning (treated as error in W=1): > > CC arch/powerpc/kernel/signal_32.o > arch/powerpc/kernel/signal_32.c: In function ‘sys

Re: [07/21] powerpc: Make functions flipper_pic_init & ug_udbg_putc static

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:22 UTC, Mathieu Malaterre wrote: > Change signature of two functions, adding static keyword to prevent the > following two warnings (treated as errors on W=1): > > CC kernel/sys.o > arch/powerpc/platforms/embedded6xx/flipper-pic.c:135:28: error: no previous > pr

Re: [02/21] powerpc: Move the inline keyword at the beginning of function declaration

2018-03-14 Thread Michael Ellerman
On Sun, 2018-02-25 at 17:22:17 UTC, Mathieu Malaterre wrote: > The inline keyword was not at the beginning of the function declaration. > Fix the following warning (treated as error in W=1) > > CC kernel/sys.o > arch/powerpc/lib/sstep.c:283:1: error: ‘inline’ is not at beginning of > d

Re: powerpc/epapr: Move register keyword at the beginning of declaration

2018-03-14 Thread Michael Ellerman
On Wed, 2018-01-31 at 07:54:43 UTC, Mathieu Malaterre wrote: > Fix warning for all register unsigned long (0,3-12) that appear during W=1 > compilation: > > ./arch/powerpc/include/asm/epapr_hcalls.h:479:2: warning: ‘register’ is > not at beginning of declaration [-Wold-style-declaration] >

Re: [v2] powerpc/via-pmu: Fix section mismatch warning

2018-03-14 Thread Michael Ellerman
On Wed, 2018-02-14 at 21:15:18 UTC, Mathieu Malaterre wrote: > Make the struct via_pmu_driver const to avoid following warning: > > WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the > variable via_pmu_driver to the function .init.text:pmu_init() > The variable via_pmu_driv

Re: [1/1] vas: vas_window_init_dbgdir: fix order of cleanup.

2018-03-14 Thread Michael Ellerman
On Wed, 2017-12-20 at 01:10:29 UTC, Sukadev Bhattiprolu wrote: > Fix the order of cleanup to ensure we free the name buffer in case > of an error creating 'hvwc' or 'info' files. > > Signed-off-by: Sukadev Bhattiprolu Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/1373cc31074

Re: [v2] macintosh: Add module license to ans-lcd

2018-03-14 Thread Michael Ellerman
On Tue, 2018-01-30 at 14:23:51 UTC, Larry Finger wrote: > In kernel 4.15, the modprobe step on my PowerBook G4 started complaining that > there was no module license for ans-lcd. > > Signed-off-by: Larry Finger Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/47d703e1d55f068c73

Re: [PATCH v3 1/7] x86/hyper-v: move hyperv.h out of uapi

2018-03-14 Thread Vitaly Kuznetsov
"Michael Kelley (EOSG)" writes: >> -Original Message- >> From: Vitaly Kuznetsov >> Sent: Friday, March 9, 2018 6:03 AM >> To: k...@vger.kernel.org >> Cc: x...@kernel.org; Paolo Bonzini ; Radim Krčmář >> ; KY Srinivasan ; Haiyang Zhang >> ; Stephen Hemminger ; Michael >> Kelley (EOSG) ; M

rx_packets/bytes stats for error frames (was: Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices)

2018-03-14 Thread Marc Kleine-Budde
On 03/14/2018 10:09 AM, Jakob Unterwurzacher wrote: > On 14.03.18 08:51, Marc Kleine-Budde wrote: >>> + memcpy(cf->data, m->msg.can_msg.data, cf->can_dlc); >>> + >>> + /* don't count error frames as real packets */ >>> + if (!(canid & CAN_ERR_FLAG)) { >>> + stats->rx_packets

Re: [PATCH v2] drm/sun4i: Handle DRM_BUS_FLAG_PIXDATA_*EDGE

2018-03-14 Thread Maxime Ripard
On Tue, Mar 13, 2018 at 06:54:37PM +0100, Giulio Benetti wrote: > Handle both positive and negative dclk polarity, > according to bus_flags, taking care of this: > > On A20 and similar SoCs, the only way to achieve Positive Edge > (Rising Edge), is setting dclk clock phase to 2/3(240°). > By defau

[PATCH] x86/sigreturn: use SYSCALL_DEFINE0

2018-03-14 Thread Tautschnig, Michael
All definitions of syscalls in x86 except for those patched here have already been using the appropriate SYSCALL_DEFINE*. Signed-off-by: Michael Tautschnig Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Jaswinder Singh Cc: Andi Kleen Cc: Dominik Brodowski --- arch/x86/kernel/si

Re: [PATCH 0/2] Introduce STM32MP1 Reset driver

2018-03-14 Thread Gabriel FERNANDEZ
Hi Philipp, Okay, i too support the idea to add custom  reset driver. Many Thanks Philipp. Best regards Gabriel On 03/14/2018 10:12 AM, Philipp Zabel wrote: > Hi Gabriel, > > On Tue, 2018-03-13 at 17:34 +0100, gabriel.fernan...@st.com wrote: >> From: Gabriel Fernandez >> >> This patch-set en

Re: [PATCH] x86: always use SYSCALL_DEFINE*

2018-03-14 Thread Tautschnig, Michael
Hi Dominik, > On 14 Mar 2018, at 05:48, Dominik Brodowski > wrote: > [...] > ... the ioperm change is already in mainline (did an equivalent change a > couple of days ago), but the sigreturn/rt_sigreturn changes still seem > useful. Could you send a fresh patch with just these two changes; and -

Re: [PATCH v4.16-rc4 2/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-14 Thread Peter Zijlstra
On Tue, Mar 13, 2018 at 11:45:45PM +, Jason Vas Dias wrote: > On 12/03/2018, Peter Zijlstra wrote: > > On Mon, Mar 12, 2018 at 07:01:20AM +, Jason Vas Dias wrote: > >> Sometimes, particularly when correlating elapsed time to performance > >> counter values, > > > > So what actual probl

Re: rx_packets/bytes stats for error frames

2018-03-14 Thread Wolfgang Grandegger
Am 14.03.2018 um 10:36 schrieb Marc Kleine-Budde: On 03/14/2018 10:09 AM, Jakob Unterwurzacher wrote: On 14.03.18 08:51, Marc Kleine-Budde wrote: + memcpy(cf->data, m->msg.can_msg.data, cf->can_dlc); + + /* don't count error frames as real packets */ + if (!(canid &

Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible

2018-03-14 Thread Dou Liyang
Hi Artern, At 03/14/2018 05:07 PM, Artem Bityutskiy wrote: On Wed, 2018-03-14 at 12:11 +0800, Dou Liyang wrote: At 03/13/2018 05:35 PM, Rafael J. Wysocki wrote: On Tue, Mar 13, 2018 at 9:39 AM, Artem Bityutskiy Longer term, yeah, I agree. Kernel's notion of possible CPU count should be realis

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-14 Thread Jakob Unterwurzacher
On 14.03.18 10:25, Wolfgang Grandegger wrote: Counting the state changes is one thing but you should also generate error messages for them. The usual test here is: $ candump -td -e any,0:0,# should report proper state changes, if you send messages with 1. no cable connected 2. CAN hi

Re: [PATCH 00/11] kexec_file: Clean up purgatory load

2018-03-14 Thread Philipp Rudo
Hi Ingo, do you have an idea about this? This problem is currently holding me back to send a v2 of the patch set. Thanks Philipp On Mon, 12 Mar 2018 15:40:16 +0800 Dave Young wrote: > Hi Philipp, > On 03/09/18 at 03:25pm, Philipp Rudo wrote: > > Hi Dave, > > > > On Fri, 9 Mar 2018 13:19:40 +0

[PATCH v3] usb: core: introduce per-port over-current counters

2018-03-14 Thread Richard Leitner
From: Richard Leitner For some userspace applications information on the number of over-current conditions at specific USB hub ports is relevant. In our case we have a series of USB hardware (using the cp210x driver) which communicates using a proprietary protocol. These devices sometimes trigge

Re: rx_packets/bytes stats for error frames

2018-03-14 Thread Jakob Unterwurzacher
On 14.03.18 10:46, Wolfgang Grandegger wrote: We do count them, as errors! This is what happens when you transmit a single CAN frame with nothing connected: "TX errors" shoots up but "RX packets" stays zero. This is handled not consistent in the existing CAN drivers. In flexcan all and c_can (

RE: [PATCH v7 00/13] Support PPTT for ARM64

2018-03-14 Thread vkilari
Hi Jeremy, > -Original Message- > From: Jeremy Linton > Sent: Thursday, March 1, 2018 3:36 AM > To: linux-a...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org; sudeep.ho...@arm.com; > lorenzo.pieral...@arm.com; hanjun@linaro.org; r...@rjwysocki.net; > will.dea...@arm.com; c

Re: [linux-next][bisected c7c133f3][gcc 4.8.5] build fail with error: first argument to ‘__builtin_choose_expr’ not a constant

2018-03-14 Thread Abdul Haleem
metal > > gcc: 4.8.5 > > > > > > Builds fine when below patch is reverted > > c7c133f3 kernel.h: skip single-eval logic on literals in min()/max() > > Those patches have been removed from today's linux-next (next-20180314). -- Regard's Abdul Haleem IBM Linux Technology Centre

[PATCH] phy: tegra: xusb: Uncomment register write

2018-03-14 Thread Thierry Reding
From: Thierry Reding The reason why this was originally commented out is no longer clear. The UPHY driver for SATA works fine with or without this change. The reset value of the XDIGCLK_EN bit is 0, so unless programmed by the bootloader this shouldn't make a difference anyway. Define a macro fo

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-14 Thread Wolfgang Grandegger
Hello Jakob, Am 14.03.2018 um 10:48 schrieb Jakob Unterwurzacher: > On 14.03.18 10:25, Wolfgang Grandegger wrote: >>> Counting the state changes is one thing but you should also generate >>> error messages for them. >> >> The usual test here is: >> >> $ candump -td -e any,0:0,# >> >> shou

Re: [PATCH v3 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-14 Thread jacopo mondi
Hi Andrzej, thanks for review On Wed, Mar 14, 2018 at 09:42:36AM +0100, Andrzej Hajda wrote: > On 13.03.2018 15:30, Jacopo Mondi wrote: > > Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel > > output decoder. > > IMO converter suits here better, but it is just suggestion.

Re: [bug, bisected] pfifo_fast causes packet reordering

2018-03-14 Thread Jakob Unterwurzacher
On 14.03.18 05:03, John Fastabend wrote: During stress-testing our "ucan" USB/CAN adapter SocketCAN driver on Linux v4.16-rc4-383-ged58d66f60b3 we observed that a small fraction of packets are delivered out-of-order. Is the stress-testing tool available somewhere? What type of packets are bein

OK

2018-03-14 Thread Ahmed Zama
Dear Friend I have a Beneficial Business Project for you worth €15 million Euros. Reply me for more information. Ahmed Zama

Re: [PATCH] ARM: dts: sun8i-h3: Add Mali node

2018-03-14 Thread Giulio Benetti
Hi, Il 14/03/2018 09:05, Maxime Ripard ha scritto: On Tue, Mar 13, 2018 at 11:16:45AM +0100, Giulio Benetti wrote: The H3 has an ARM Mali 400 GPU, so add binding to our DT. Signed-off-by: Giulio Benetti How was this tested? I wanted you asked me about this to ask you: if I can't test it o

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-14 Thread Jakob Unterwurzacher
On 14.03.18 11:04, Wolfgang Grandegger wrote: controller-problem{rx-error-warning,tx-error-warning,rx-error-passive,tx-error-passive} Just, controller-problem{rx-error-passive,tx-error-passive} Ok. (1b) cable gets connected:  (000.000883)  can0  2034   [8]  00 3C 00 00

Re: [PATCH 4.15 000/146] 4.15.10-stable review

2018-03-14 Thread Naresh Kamboju
On 13 March 2018 at 20:52, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.10 release. > There are 146 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respons

Re: [PATCH v7 1/3] irqchip/gic-v3-its: add ability to save/restore ITS state

2018-03-14 Thread Marc Zyngier
On 02/03/18 02:08, dbasehore . wrote: > On Thu, Mar 1, 2018 at 4:29 AM, Marc Zyngier wrote: >> Hi Mark, >> >> On 01/03/18 11:41, Mark Rutland wrote: >>> On Wed, Feb 28, 2018 at 09:48:18PM -0800, Derek Basehore wrote: Some platforms power off GIC logic in suspend, so we need to save/resto

Re: [PATCH 1/5] MODSIGN: do not load mok when secure boot disabled

2018-03-14 Thread joeyli
Hi Ard, First! Thanks for your review! On Tue, Mar 13, 2018 at 05:25:30PM +, Ard Biesheuvel wrote: > On 13 March 2018 at 10:37, Lee, Chun-Yi wrote: > > The mok can not be trusted when the secure boot is disabled. Which > > means that the kernel embedded certificate is the only trusted key.

[PATCH] staging: pi433: Remove comments inside code

2018-03-14 Thread hariprasath . elango
From: HariPrasath Elango Remove comments inbetween code as in this case. Signed-off-by: HariPrasath Elango --- drivers/staging/pi433/pi433_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 88da91d.

Re: [PATCH] PCI/MSI: Don't set up INTx if MSI or MSI-X is enabled

2018-03-14 Thread Rafael J. Wysocki
On 3/13/2018 10:45 PM, Bjorn Helgaas wrote: From: Bjorn Helgaas If a device already has MSI or MSI-X enabled, there's no need to set up its legacy INTx interrupt. bba6f6fc68e7 ("[PATCH] MSI-X: fix resume crash") changed the cris, frv, x86, and ia64 arches to skip INTx setup when MSI is enabled

[RFC PATCH] ACPI / processor: Get accurate possible CPU count

2018-03-14 Thread Dou Liyang
Rafael J told me in order for the ACPI-based physical CPU hotplug to work, there have to be objects in the ACPI namespace corresponding to all of the processors in question. If they are not present, there is no way to signal insertion and eject the processors safely. But, Kernel calculates the pos

[PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic

2018-03-14 Thread Richard Leitner
From: Richard Leitner Replace the hardcoded PCI vendor ID of Netlogic with a definition in pci_ids.h Signed-off-by: Richard Leitner --- drivers/usb/host/pci-quirks.c | 2 +- include/linux/pci_ids.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/pci

[PATCH 3/3] usb: host: pci: replace hardcoded renesas PCI IDs

2018-03-14 Thread Richard Leitner
From: Richard Leitner Introduce Renesas uPD72020{1,2} PCI device IDs in pci_ids.h and replace the harcoded values with them. Signed-off-by: Richard Leitner --- drivers/usb/host/pci-quirks.c | 6 -- drivers/usb/host/xhci-pci.c | 4 ++-- include/linux/pci_ids.h | 2 ++ 3 files change

[PATCH 0/3] usb: host: pci: PCI ID consolidation

2018-03-14 Thread Richard Leitner
From: Richard Leitner Centralize some hardcoded PCI IDs as definitions in the global include/linux/pci_ids.h file. This is done to reduce the amount of scattered PCI ID definitions and hardcoded values across the kernel. Richard Leitner (3): usb: host: pci: use existing Intel PCI ID macros u

[PATCH 1/3] usb: host: pci: use existing Intel PCI ID macros

2018-03-14 Thread Richard Leitner
From: Richard Leitner Instead of the hardcoded hexadecimal PCI IDs use the existing macros from pci_ids.h for Intel IDs. Signed-off-by: Richard Leitner --- drivers/usb/host/pci-quirks.c | 10 +- drivers/usb/host/xhci-pci.c | 3 ++- include/linux/pci_ids.h | 1 + 3 files chang

Re: [PATCH v5 01/36] drm/bridge: analogix_dp: detect Sink PSR state after configuring the PSR

2018-03-14 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:52 CET schrieb Enric Balletbo i Serra: > From: Yakir Yang > > Make sure the request PSR state takes effect in analogix_dp_send_psr_spd() > function, or print the sink PSR error state if we failed to apply the > requested PSR setting. > > Cc: 征增 王 > Cc: Stéphane M

Re: [PATCH v5 02/36] drm/rockchip: Remove analogix psr worker

2018-03-14 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:53 CET schrieb Enric Balletbo i Serra: > From: Sean Paul > > Now that the spinlocks and timers are gone, we can remove the psr > worker located in rockchip's analogix driver and do the enable/disable > directly. This should simplify the code and remove races on dis

Re: [PATCH v5 03/36] drm/bridge: analogix_dp: Don't change psr while bridge is disabled

2018-03-14 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:54 CET schrieb Enric Balletbo i Serra: > From: zain wang > > There is a race between AUX CH bring-up and enabling bridge which will > cause link training to fail. To avoid hitting it, don't change psr state > while enabling the bridge. > > Cc: Tomeu Vizoso > Cc:

Re: [PATCH v5 04/36] drm/rockchip: add mutex vop lock

2018-03-14 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:55 CET schrieb Enric Balletbo i Serra: > From: zain wang > > Add a lock to vop to avoid disabling the crtc while waiting for a line > flag while enabling psr. If we disable in the middle of waiting for the > line flag, we'll end up timing out or worse. > > Signed-

Re: [PATCH 1/4] ARM: dts: exynos5250: Add #sound-dai-cells property to hdmi device node

2018-03-14 Thread Sylwester Nawrocki
Hi Inki, On 03/12/2018 01:48 AM, Inki Dae wrote: > Thanks for explanation. By the way, who binds '#sound-dai-cells' property?. > This patch adds this property to hdmi device node which will be bound by > HDMI driver fo Exynos DRM but I don't see any place to bind > '#sound-dai-cells' > property

Re: [RFC] pwm: Add Xilinx AXI Timer in PWM mode support

2018-03-14 Thread Alvaro Gamez Machado
On Thu, Jul 06, 2017 at 11:13:44AM +0200, Thierry Reding wrote: > On Tue, Jun 27, 2017 at 12:05:22PM +0200, Alvaro Gamez Machado wrote: > > a) Changing "xlnx,axi-timer-2.0" compatible string for this device to > > something > >different like xlnx,axi-pwm-2.0? > > I don't see a xlnx,axi-timer-

Re: [PATCH 1/3] serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge

2018-03-14 Thread Andy Shevchenko
On Wed, Mar 14, 2018 at 2:36 AM, Daniel Kurtz wrote: > AMD Carrizo / Stoneyridge use a DesignWare 8250 UART that uses a 48 MHz > input clock. > > Allow these platforms to set up this clock by specifying a kernel command > line like: > earlycon=amdcz,mmio32,0xfedc6000,115200 > Thanks, this is what

Re: [PATCH v1 3/4] arm64: Fix the page leak in pud/pmd_set_huge

2018-03-14 Thread Marc Zyngier
On 14/03/18 08:48, Chintan Pandya wrote: > While setting huge page, we need to take care of > previously existing next level mapping. Since, > we are going to overrite previous mapping, the > only reference to next level page table will get > lost and the next level page table will be zombie, > occ

Re: [PATCH 2/3] ACPI: SPCR: Add support for AMD CT/SZ

2018-03-14 Thread Andy Shevchenko
On Wed, Mar 14, 2018 at 2:36 AM, Daniel Kurtz wrote: > AMD Carrizo / Stoneyridge use a DesignWare 8250 UART that uses a special > earlycon setup handler to configure its input clock in order to compute > baud rate divisor registers. > Detect them by examining the OEMID field in the SPCR header, an

Re: [PATCH 04/21] powerpc: Mark both tmp variables as unused

2018-03-14 Thread Christophe LEROY
Le 25/02/2018 à 18:22, Mathieu Malaterre a écrit : Since the value of `tmp` is never intended to be read, declare both `tmp` variables as unused. Fix warning (treated as error in W=1): What about using fault_in_pages_readable() instead ? Christophe CC arch/powerpc/kernel/signal_32

Re: [PATCH] irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling

2018-03-14 Thread Mark Rutland
On Tue, Mar 13, 2018 at 07:50:01PM -0500, Shanker Donthineni wrote: > The definition of the GICR_CTLR.RWP control bit was expanded to indicate > status of changing GICR_CTLR.EnableLPI from 1 to 0 is being in progress > or completed. Software must observe GICR_CTLR.RWP==0 after clearing > GICR_CTLR.

Re: [PATCH v5 05/36] drm/bridge: analogix_dp: add fast link train for eDP

2018-03-14 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:56 CET schrieb Enric Balletbo i Serra: > From: zain wang > > We would meet a short black screen when exit PSR with the full link > training, In this case, we should use fast link train instead of full > link training. > > Signed-off-by: zain wang > Signed-off-by:

[LINUX PATCH v8 0/2] Add arm pl353 smc driver for xilinx zynq soc

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli The following patches add arm pl353 static memory controller driver for xilinx zynq soc. The arm pl353 smc supports two interfaces i.e nand and nor/sram memory interfaces. The current implementation supports only a single SMC instance and nand specific configuration.

Re: [PATCH v1 4/4] Revert "arm64: Enforce BBM for huge IO/VMAP mappings"

2018-03-14 Thread Marc Zyngier
On 14/03/18 08:48, Chintan Pandya wrote: > This commit 15122ee2c515a ("arm64: Enforce BBM for huge > IO/VMAP mappings") is a temporary work-around until the > issues with CONFIG_HAVE_ARCH_HUGE_VMAP gets fixed. > > Revert this change as we have fixes for the issue. > > Signed-off-by: Chintan Pandy

[LINUX PATCH v8 1/2] Devicetree: Add pl353 smc controller devicetree binding information

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli Add pl353 static memory controller devicetree binding information. Signed-off-by: Naga Sureshkumar Relli --- Changes in v8: - None Changes in v7: - Corrected clocks description - prefixed '#' for address and size cells Changes in v6: - None Changes in v5: - Remo

[LINUX PATCH v8 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli Add driver for arm pl353 static memory controller. This controller is used in xilinx zynq soc for interfacing the nand and nor/sram memory devices. Signed-off-by: Naga Sureshkumar Relli --- Changes in v8: - None Changes in v7: - Corrected the kconfig to use tristate

Re: [PATCH v1 2/2] usb: dwc3: Add Qualcomm DWC3 glue driver

2018-03-14 Thread kbuild test robot
Hi Manu, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16-rc4] [also build test ERROR on next-20180314] [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/commits/Manu

[LINUX PATCH v8 0/2] Add arm pl353 smc nand driver for xilinx zynq soc

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli This latest series make use of ->exec_op() . Referenced the marvel driver as pointed by Miquel. Sorry for the long delay to send v8. The following patches add arm pl353 static memory controller driver for xilinx zynq soc. The arm pl353 smc supports two interfaces i.e

Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic

2018-03-14 Thread Greg KH
On Wed, Mar 14, 2018 at 11:29:32AM +0100, Richard Leitner wrote: > From: Richard Leitner > > Replace the hardcoded PCI vendor ID of Netlogic with a definition in > pci_ids.h Why? It's only being used in one file, so it should not be in pci_ids.h, right? thanks, greg k-h

Re: [PATCH v3 2/7] reset: qcom: AOSS (always on subsystem) reset controller

2018-03-14 Thread Vivek Gautam
Hi Sibi, On 3/14/2018 2:51 PM, Sibi S wrote: Add reset controller driver for Qualcomm SDM845 SoC to control reset signals provided by AOSS for Modem, Venus ADSP, GPU, Camera, Wireless, Display subsystem Signed-off-by: Sibi S --- drivers/reset/Kconfig | 10 +++ drivers/reset/Make

Re: [PATCH 1/3] usb: host: pci: use existing Intel PCI ID macros

2018-03-14 Thread Greg KH
On Wed, Mar 14, 2018 at 11:29:31AM +0100, Richard Leitner wrote: > From: Richard Leitner > > Instead of the hardcoded hexadecimal PCI IDs use the existing macros > from pci_ids.h for Intel IDs. You also did something else in this patch, yet failed to mention it here: > Signed-off-by: Richard L

Re: [PATCH v1 2/4] ioremap: Invalidate TLB after huge mappings

2018-03-14 Thread Mark Rutland
On Wed, Mar 14, 2018 at 02:18:23PM +0530, Chintan Pandya wrote: > If huge mappings are enabled, they can override > valid intermediate previous mappings. Some MMU > can speculatively pre-fetch these intermediate > entries even after unmap. That's because unmap > will clear only last level entries i

[LINUX PATCH v8 1/2] Documentation: nand: pl353: Add documentation for controller and driver

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli Added notes about the controller and driver Signed-off-by: Naga Sureshkumar Relli --- Changes in v8 - None Changes in v7: - None Changes in v6: - None Changes in v5: - Fixed the review comments Changes in v4: - None --- Documentation/mtd/nand/pl353-nand.txt | 92 +

Re: [PATCH 3/3] usb: host: pci: replace hardcoded renesas PCI IDs

2018-03-14 Thread Greg KH
On Wed, Mar 14, 2018 at 11:29:33AM +0100, Richard Leitner wrote: > From: Richard Leitner > > Introduce Renesas uPD72020{1,2} PCI device IDs in pci_ids.h and replace > the harcoded values with them. > > Signed-off-by: Richard Leitner > --- > drivers/usb/host/pci-quirks.c | 6 -- > drivers/u

[LINUX PATCH v8 2/2] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-03-14 Thread nagasureshkumarrelli
From: Naga Sureshkumar Relli Add driver for arm pl353 static memory controller nand interface with HW ECC support. This controller is used in xilinx zynq soc for interfacing the nand flash memory. Signed-off-by: Naga Sureshkumar Relli --- Changes in v8: - Added exec_op() implementation - Fixe

Re: [PATCH] pci: tegra: add MSI dependency

2018-03-14 Thread Lorenzo Pieralisi
On Tue, Mar 13, 2018 at 12:52:05PM +0100, Arnd Bergmann wrote: > Building the tegra PCIe host driver without MSI results in a link > failure: > > drivers/pci/host/pci-tegra.o:(.data+0x70): undefined reference to > `pci_msi_unmask_irq' > drivers/pci/host/pci-tegra.o:(.data+0x74): undefined referen

Re: [PATCH 4.15 000/146] 4.15.10-stable review

2018-03-14 Thread Greg Kroah-Hartman
On Wed, Mar 14, 2018 at 03:50:56PM +0530, Naresh Kamboju wrote: > On 13 March 2018 at 20:52, Greg Kroah-Hartman > wrote: > > Daniel Vacek > > mm/page_alloc: fix memmap_init_zone pageblock alignment > > > On 4.14 and 4.15, this patch breaks booting on dragonboard 410c and > hikey 620 (both a

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