[PATCH] MAINTAINERS: Set ARM/LPC18XX architecture orphan

2018-09-23 Thread Daniel Lezcano
While sending patches around, Joachim Eastwood was Cc'ed but I got an error its mailbox was full and the mail can not be delivered which makes me think there is no body at the other end of the line. After doing some statistics, it appears the latest commit as author/commiter is: commit

[PATCH 2/2] clocksource/drivers/fttmr010: Fix set_next_event handler

2018-09-23 Thread Daniel Lezcano
From: Tao Ren Currently, the aspeed MATCH1 register is updated to in set_next_event handler, with the assumption that COUNT register value is preserved when the timer is disabled and it continues decrementing after the timer is enabled. But the assumption is wrong: RELOAD register is loaded

[PATCH 1/2] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-09-23 Thread Daniel Lezcano
From: Keerthy The 32k clocksource is NONSTOP for non-am43 SoCs. Hence add the flag for all the other SoCs. Reported-by: Tony Lindgren Signed-off-by: Keerthy Acked-by: Tony Lindgren Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-ti-32k.c | 3 +++ 1 file changed, 3 insertions(+)

[GIT PULL] clocksource fixes for 4.19-rc

2018-09-23 Thread Daniel Lezcano
Thomas, Ingo, This pull request for clockevents / clocksource contains two fixes and is based on tip/timers/urgent: - Add the CLOCK_SOURCE_SUSPEND_NONSTOP for non-am43 SoCs (Keerthy) - Fix set_next_event handler for the fttmr010 (Tao Ren) Thanks ! -- Daniel The following changes

[PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V ---

linux-next: manual merge of the akpm-current tree with the arm64 tree

2018-09-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/Kconfig between commit: 8a695a587333 ("arm64: Kconfig: Remove ARCH_HAS_HOLES_MEMORYMODEL") from the arm64 tree and commit: e1405baa7db1 ("arm: arm64: introduce CONFIG_HAVE_MEMBLOCK_PFN_VALID") from

linux-next: Tree for Sep 24

2018-09-23 Thread Stephen Rothwell
Hi all, Changes since 20180921: Dropped trees: xarray, ida (temporarily) The bpf-next tree gained a conflict against Linus' tree. The staging tree gained a conflict against the jc_docs tree. The userns tree gained conflicts against the tip tree. The akpm-current tree gained a conflict

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

2018-09-23 Thread Greg KH
On Mon, Sep 24, 2018 at 12:50:16PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > Documentation/filesystems/00-INDEX > > between commit: > > a7ddcea58ae2 ("Drop all 00-INDEX files from Documentation/") > > from the jc_docs

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > Some drivers need to find the device on a bus having a specific firmware > node. Currently, such drivers have their own implementations to do this. > Provide a helper similar to bus_find_device_by_name so that each driver > does not

Re: [PATCH] drivers/auxdisplay: TRIVIAl removed unnessecary braces from if statements

2018-09-23 Thread Miguel Ojeda
Hi Ben, On Sun, Sep 23, 2018 at 4:33 PM, wrote: > From: Ben Moore > > removed braches from single line if statements > > Signed-off-by: Ben Moore > --- > drivers/auxdisplay/panel.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/auxdisplay/panel.c

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-23 Thread Sai Prakash Ranjan
On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: + +   trace_seq_init(>seq); +   iter->ent = fbuffer->entry; +   event_call->event.funcs->trace(iter, 0, event); +  

[PATCHv2] perf: Prevent concurent ring buffer access

2018-09-23 Thread Jiri Olsa
On Thu, Sep 13, 2018 at 11:37:54AM +0200, Peter Zijlstra wrote: > On Thu, Sep 13, 2018 at 09:46:07AM +0200, Jiri Olsa wrote: > > On Thu, Sep 13, 2018 at 09:07:40AM +0200, Peter Zijlstra wrote: > > > On Wed, Sep 12, 2018 at 09:33:17PM +0200, Jiri Olsa wrote: > > > > Some of the scheduling

Re: [PATCH 3/3] ARM: OMAP2PLUS: Remove references to AM3517-EVM since it's in DT

2018-09-23 Thread Jarkko Nikula
On 09/23/18 18:37, Adam Ford wrote: > Since the audio codecs used on the AM3517-EVM are now available > in device tree, and the audio driver wasn't really being used > anyway, this patch removes the remaining AM3517 legacy board > options and sound soc drivers. > > Signed-off-by: Adam Ford >

[PATCH 3/3] ARM: OMAP2PLUS: Remove references to AM3517-EVM since it's in DT

2018-09-23 Thread Adam Ford
Since the audio codecs used on the AM3517-EVM are now available in device tree, and the audio driver wasn't really being used anyway, this patch removes the remaining AM3517 legacy board options and sound soc drivers. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-omap2/Kconfig

[PATCH 1/3] ARM: configs: omap2plus: Add tlv320aic23 as module

2018-09-23 Thread Adam Ford
The AM3517 EVM has an expander board which has two tlv320aic23 codecs. This enables the driver for these codecs as a module. Signed-off-by: Adam Ford diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 6491419b1dad..21cabb7ad970 100644 ---

Re: [GIT PULL] MFD fixes for v4.19

2018-09-23 Thread Greg KH
On Sun, Sep 23, 2018 at 04:09:09PM +0100, Lee Jones wrote: > Morning Greg, Evening :) > Enjoy! > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > are available in the Git repository at: > >

[PATCH 2/3] ARM: DTS: AM3517-EVM: Add support for UI board and Audio

2018-09-23 Thread Adam Ford
The full AM3517-EVM shipped with an add-on board which contained two Audio codecs, a GPIO expander with a variety of buttons, and some other features. This patch enables these portions of the UI board because they don't directly conflict with existing features. Signed-off-by: Adam Ford diff

Re: [PATCH] perf/x86/intel: Export mem events only if there's PEBs support

2018-09-23 Thread Jiri Olsa
On Thu, Sep 06, 2018 at 03:57:48PM +0200, Jiri Olsa wrote: SNIP > > looks like it would ;-) will check and repost > > new version attached.. Michael tested on several machines, > but I couldn't find haswell with working tsx, to test > that those events are displayed > > thanks, > jirka ping

[PATCH] of: unittest: Don't dereference args.np after test errors

2018-09-23 Thread Guenter Roeck
If a devicetree parse function fails, it is quite likely that args.np is invalid. Trying to dereference it will then cause the system to crash. This was seen when trying to run devicetree unittests on a g3beige qemu system. This system has the OF_IMAP_OLDWORLD_MAC flag set in of_irq_workarounds

Re: WARNING: kmalloc bug in input_mt_init_slots

2018-09-23 Thread Dmitry Vyukov
On Fri, Sep 21, 2018 at 7:52 PM, Dmitry Torokhov wrote: > On Fri, Sep 21, 2018 at 10:24 AM syzbot > wrote: >> >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:234b69e3e089 ocfs2: fix ocfs2 read block panic >> git tree: upstream >> console output:

Re: [PATCH] drivers/auxdisplay: TRIVIAl removed unnessecary braces from if statements

2018-09-23 Thread Geert Uytterhoeven
Hi Ben, On Sun, Sep 23, 2018 at 5:33 PM Miguel Ojeda wrote: > On Sun, Sep 23, 2018 at 4:33 PM, wrote: > > From: Ben Moore > > > > removed braches from single line if statements > > > > Signed-off-by: Ben Moore Thanks for you patch! > > --- a/drivers/auxdisplay/panel.c > > +++

[PATCH] [PATCHv2 TRIVIAL] auxdisplay: remove unnecessary braces

2018-09-23 Thread benmoore422
From: Ben Moore I have removed some unnecessary braces from if statements. As well as inspecting the other driverfiles for similar style issues. Signed-off-by: Ben Moore --- drivers/auxdisplay/ht16k33.c | 4 ++-- drivers/auxdisplay/panel.c | 5 ++--- 2 files changed, 4 insertions(+), 5

Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
Hi Amit, On 9/9/2018 8:04 PM, Amit Kucheria wrote: Hi Taniya, How much have you stressed this driver? I tried it on top of an integration branch based on 4.19-rc2 that we maintain[1] and was able to get the board to reboot fairly easily with just a few "yes > /dev/null &" instances running in

Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception

2018-09-23 Thread Pu Wen
On 2018/9/20 17:39, Thomas Gleixner wrote: I reproduced the PANIC by running lkp-tests with a Intel machine. The reason is that the function early_is_amd_nb is called even if running on Intel machine. At this case the misc_ids is NULL so the PANIC occur. I'll rework a patch to solve this

Re: [PATCH v8 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-23 Thread Borislav Petkov
On Sun, Sep 23, 2018 at 05:35:13PM +0800, Pu Wen wrote: > As Hygon registered its PCI Vendor ID as a new one 0x1d94, and there > are PCI Devices 0x1450/0x1463/0x1464 for Host bridge on Hygon Dhyana > platform, so add Hygon Dhyana support to the PCI and north bridge > subsystem by using the code

Re: [PATCH] staging: rtlwifi: Use proper enumerated types for Wi-Fi only interface

2018-09-23 Thread Nathan Chancellor
On Fri, Sep 21, 2018 at 03:12:02PM -0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c:1264:34: warning: > implicit conversion from enumeration type 'enum btc_chip_interface' to > different

[PATCH -next] x86/hyper-v: Remove unused including

2018-09-23 Thread YueHaibing
Remove including that don't need it. Signed-off-by: YueHaibing --- arch/x86/hyperv/hv_apic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/hyperv/hv_apic.c b/arch/x86/hyperv/hv_apic.c index 2c43e30..8eb6fbee 100644 --- a/arch/x86/hyperv/hv_apic.c +++ b/arch/x86/hyperv/hv_apic.c

[PATCH v8 01/16] x86/cpu: Create Hygon Dhyana architecture support file

2018-09-23 Thread Pu Wen
Add x86 architecture support for a new processor: Hygon Dhyana Family 18h. Carve out initialization code needed by Dhyana into a separate compilation unit. To identify Hygon Dhyana CPU, add a new vendor type X86_VENDOR_HYGON for system recognition. Since Dhyana uses AMD functionality to a large

Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
Hello Matthias, Thanks for your review comments. On 8/29/2018 11:31 PM, Matthias Kaehlcke wrote: Hi Taniya, On Tue, Jul 24, 2018 at 04:12:50PM +0530, Taniya Das wrote: The CPUfreq HW present in some QCOM chipsets offloads the steps necessary for changing the frequency of CPUs. The driver

Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
On 9/11/2018 1:00 AM, Matthias Kaehlcke wrote: On Tue, Jul 24, 2018 at 04:12:50PM +0530, Taniya Das wrote: The CPUfreq HW present in some QCOM chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-23 Thread Marc Zyngier
On Sat, 22 Sep 2018 18:09:09 +0100, Lina Iyer wrote: > > On Sat, Sep 22 2018 at 10:29 -0600, Marc Zyngier wrote: > > Hi Lina, > > > > On Tue, 04 Sep 2018 22:18:08 +0100, > > Lina Iyer wrote: > >> > >> During suspend the system may power down some of the system rails. As a > >> result, the

[PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
The CPUfreq HW present in some QCOM chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware engine. Signed-off-by: Saravana Kannan Signed-off-by: Taniya Das --- drivers/cpufreq/Kconfig.arm | 11 ++

[PATCH v8 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-09-23 Thread Taniya Das
Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's SoCs. This is required for managing the cpu frequency transitions which are controlled by the hardware engine. Signed-off-by: Taniya Das --- .../bindings/cpufreq/cpufreq-qcom-hw.txt | 169 + 1

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-23 Thread Dan Carpenter
Hi Song, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Song-Qiang/iio-magnetometer-Add-support-for-PNI-RM3100-9-axis-magnetometer/20180920-215124 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg smatch warnings:

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-23 Thread Miguel Ojeda
Hi Richard, On Sun, Sep 23, 2018 at 10:59 AM, Richard Weinberger wrote: > On Sun, Sep 23, 2018 at 3:00 AM Miguel Ojeda > wrote: >> >> Hi Diego, >> >> A few things, since it looks like this is your first patch. > > git log... Oops! I guess I mistyped the search string, sorry Diego! Cheers,

[PATCH v2] staging: rtlwifi: Use proper enumerated types for Wi-Fi only interface

2018-09-23 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c:1264:34: warning: implicit conversion from enumeration type 'enum btc_chip_interface' to different enumeration type 'enum wifionly_chip_interface' [-Wenum-conversion]

Re: [GIT pull] perf fixes for 4.19

2018-09-23 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:04PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest perf-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus Now pulled, thanks. greg k-h

Re: [GIT pull] x86 fixes for 4.19

2018-09-23 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:06PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest x86-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-for-linus Now pulled, thanks. greg k-h

net build error

2018-09-23 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:474ff2600889 net-ethtool: ETHTOOL_GUFO did not and should .. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=164c405940 kernel config: https://syzkaller.appspot.com/x/.config?x=5fa12be50bca08d8

[PATCH] staging: rtl8188eu, rtl8723bs: fix spelling mistake "evet" -> "event"

2018-09-23 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v8 09/16] x86/bugs: Add mitigation to spectre and no meltdown for Hygon Dhyana

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU has the same speculative execution as AMD family 17h, so share AMD spectre mitigation code for Hygon Dhyana. Also Hygon Dhyana is not affected by meltdown vulnerability, so add exception for it. Signed-off-by: Pu Wen --- arch/x86/kernel/cpu/bugs.c | 4 +++-

[PATCH v8 10/16] x86/mce: Add Hygon Dhyana support to MCE infrastructure

2018-09-23 Thread Pu Wen
The machine check architecture for Hygon Dhyana CPU is similar to the AMD family 17h one. To make MCE working on Hygon platform, add vendor checking for Hygon Dhyana to share the code path of AMD family 17h. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov --- arch/x86/include/asm/mce.h

[PATCH v8 16/16] cpupower, x86: Add Hygon Dhyana support

2018-09-23 Thread Pu Wen
Tool cpupower is useful to get CPU frequency information and monitor power stats on Hygon Dhyana platform. So add Hygon Dhyana support to it by checking vendor and family to share the code path of AMD family 17h. Signed-off-by: Pu Wen --- tools/power/cpupower/utils/cpufreq-info.c

[PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-23 Thread Nishad Kamdar
This patch fixes a few single statement macros in sd.c. It converts two macros to inline functions. It removes five other macros and replaces their usages with calls to the function being called in the macro definition. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- Changes in v2:

[PATCH v8 15/16] EDAC, amd64: Add Hygon Dhyana support

2018-09-23 Thread Pu Wen
To make AMD64 EDAC and MCE drivers working on Hygon platform, add support for Hygon Dhyana CPU by using the code path of AMD family 17h. Signed-off-by: Pu Wen --- drivers/edac/amd64_edac.c | 8 +++- drivers/edac/mce_amd.c| 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff

[PATCH v8 11/16] x86/kvm: Add Hygon Dhyana support to KVM infrastructure

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU has the SVM feature as AMD family 17h does. So enable the KVM infrastructure support to it. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov --- arch/x86/include/asm/kvm_emulate.h | 4 arch/x86/include/asm/virtext.h | 5 +++-- arch/x86/kvm/emulate.c

[PATCH v8 14/16] cpufreq, x86: Add Hygon Dhyana support

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU supports ACPI P-States feature, and there is SMBus device(PCI device ID 0x790b) on Hygon platform, so add Hygon Dhyana support to the cpufreq driver by using the code path of AMD family 17h. Signed-off-by: Pu Wen Acked-by: Rafael J. Wysocki ---

[PATCH v8 13/16] ACPI, x86: Add Hygon Dhyana support

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU has NONSTOP TSC feature, so enable the ACPI driver support to it. Signed-off-by: Pu Wen Acked-by: Rafael J. Wysocki --- drivers/acpi/acpi_pad.c | 1 + drivers/acpi/processor_idle.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/acpi/acpi_pad.c

[PATCH v8 0/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
[v8] * Address comments to update code to take cpufreq_hw phandle and index from the CPU nodes. * Updated the Documentation for the above change in DT. * Updated logic for assigning 'qcom_freq_domain_map' for related CPUs. * Clock input to the HW block is taken from DT which has

[PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-23 Thread Bartosz Golaszewski
Some users want to introduce device tree support to the mockup driver. Let's make it easier by switching to using generic device properties. The driver stays compatible with previous use cases and after this conversion there'll be no need to change the way probing of mockup GPIO chips works.

Re: [GIT pull] efi fix for 4.19

2018-09-23 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:03PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest efi-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > efi-urgent-for-linus > > Make the EFI arm stub device tree loader default on to unbreak

Re: [PATCH v3 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-23 Thread He Zhe
On 2018年09月23日 00:19, Steven Rostedt wrote: > On Sat, 22 Sep 2018 23:40:51 +0800 > wrote: > >> From: He Zhe >> >> log_buf_len_setup does not check input argument before passing it to >> simple_strtoull. The argument would be a NULL pointer if "log_buf_len", >> without its value, is set in

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-23 Thread Richard Weinberger
On Sun, Sep 23, 2018 at 3:00 AM Miguel Ojeda wrote: > > Hi Diego, > > A few things, since it looks like this is your first patch. git log... > On Sat, Sep 22, 2018 at 5:56 PM, Diego Viola wrote: > > On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: > >> > >> Signed-off-by: Diego Viola > >>

[PATCH v8 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-23 Thread Pu Wen
As Hygon registered its PCI Vendor ID as a new one 0x1d94, and there are PCI Devices 0x1450/0x1463/0x1464 for Host bridge on Hygon Dhyana platform, so add Hygon Dhyana support to the PCI and north bridge subsystem by using the code path of AMD family 17h. To prevent further checking PCI device

[PATCH v8 06/16] x86/alternative: Init ideal_nops for Hygon Dhyana

2018-09-23 Thread Pu Wen
The ideal_nops for Hygon Dhyana CPU should be p6_nops. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov --- arch/x86/kernel/alternative.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index b9d5e7c..184e9a0 100644 ---

Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-09-23 Thread Taniya Das
Hello Stephen, On 8/24/2018 12:08 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-08-08 03:15:26) On 8/8/2018 11:52 AM, Stephen Boyd wrote: Binding describes hardware controllable by the OS. That's the reality. Let's not add mandatory clock bindings for clocks that the OS can't do

[PATCH v8 08/16] x86/apic: Add Hygon Dhyana support to APIC

2018-09-23 Thread Pu Wen
Add Hygon Dhyana support to the APIC subsystem as it uses modern APIC. When running on 32 bit mode, bigsmp should be enabled if there are more than 8 cores online. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov --- arch/x86/kernel/apic/apic.c | 7 +++

[PATCH v8 05/16] perf/x86: Add Hygon Dhyana support to PMU infrastructure

2018-09-23 Thread Pu Wen
The PMU architecture for Hygon Dhyana CPU is similar to the AMD Family 17h one. To support Hygon Dhyana PMU, call amd_pmu_init() to share AMD PMU initialization flow, and change the PMU name to "HYGON". The Hygon Dhyana CPU supports both legacy and extension PMC MSRs(perf counter registers and

[PATCH v8 03/16] x86/cpu/mtrr: Support TOP_MEM2 and get MTRR number

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU has a special magic MSR way to force WB for memory >4GB, and support TOP_MEM2. Therefore, it is necessary to add Hygon Dhyana support in amd_special_default_mtrr(). The number of variable MTRRs for Hygon is 2 as AMD's. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov ---

[PATCH v8 02/16] x86/cpu: Get cache info and setup cache cpumap for Hygon Dhyana

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU has topology extensions bit in CPUID. With this bit, the kernel can get the cache information. So add support in cpuid4_cache_lookup_regs() to get the correct cache size. The Hygon Dhyana CPU also discovers num_cache_leaves via CPUID leaf 0x801d, so add support to it in

[PATCH v8 04/16] x86/smpboot: SMP init no delay and not flush caches before sleep

2018-09-23 Thread Pu Wen
The Hygon Dhyana CPU uses no delay in smp_quirk_init_udelay(), and returns in mwait_play_dead() as AMD does. Signed-off-by: Pu Wen Reviewed-by: Borislav Petkov --- arch/x86/kernel/smpboot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/smpboot.c

Re: [PATCH] staging: mt7621-mmc: Remove do {} while (0) loop for single statement macro

2018-09-23 Thread Nishad Kamdar
On Tue, Sep 18, 2018 at 01:27:11PM +0200, Greg Kroah-Hartman wrote: > On Sat, Sep 15, 2018 at 06:47:51PM +0530, Nishad Kamdar wrote: > > This patch removes do {} while (0) loop for single statement macros. > > Issue found by checkpatch. > > > > Signed-off-by: Nishad Kamdar > > --- > >

Re: [PATCH] mtd: rawnand: denali: add DT property to specify skipped bytes in OOB

2018-09-23 Thread Masahiro Yamada
2018-09-22 4:11 GMT-04:00 Boris Brezillon : > On Sat, 22 Sep 2018 09:41:11 +0200 > Miquel Raynal wrote: > >> Hi Masahiro, >> >> Masahiro Yamada wrote on Sat, 8 Sep >> 2018 01:10:25 +0900: >> >> > Hi Boris, >> > >> > 2018-09-07 23:53 GMT+09:00 Boris Brezillon : >> > > On Fri, 7 Sep 2018 23:42:53

Acknowledge the receipt of this message

2018-09-23 Thread Col. Hussein Harmush
Please i need your assistance my dear, I am Col. Hussein Harmush, An Army officer from Syria but now living with the United Nations on asylum. I want to seek your assistance in the following ways: 1. To assist me look for a profitable business opportunity in your country where I can invest to

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-23 Thread Jacek Anaszewski
On 09/22/2018 09:44 PM, Pavel Machek wrote: > On Sat 2018-09-22 00:18:13, Pavel Machek wrote: >> On Sat 2018-09-22 00:11:29, Jacek Anaszewski wrote: >>> On 09/21/2018 11:17 PM, Pavel Machek wrote: On Fri 2018-09-21 22:59:40, Jacek Anaszewski wrote: > Hi Baolin, > > On 09/21/2018

Re: [PATCH v8 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-23 Thread Pu Wen
On 2018/9/23 19:10, Borislav Petkov wrote: Signed-off-by: Pu Wen Acked-by: Bjorn Helgaas # pci_ids.h Reviewed-by: Borislav Petkov A note for your future submissions: if you rework a patch in a non-trivial way, you *must* drop Reviewed-by/Acked-by tags because they are not valid anymore.

Re: [PATCH] RISC-V: Show CPU ID and Hart ID separately in /proc/cpuinfo

2018-09-23 Thread Anup Patel
On Mon, Sep 17, 2018 at 7:40 PM Christoph Hellwig wrote: > > On Wed, Sep 12, 2018 at 09:47:55AM -0700, Atish Patra wrote: > > The extra hart information will not be parsed by lscpu which will make the > > cpu information inconsistent between lscpu & /proc/cpuinfo. > > > > Should we patch lscpu as

Re: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-23 Thread Olof Johansson
Hi, Apologies for the slow responses here, I meant to follow up on this sooner. On Tue, Sep 11, 2018 at 8:20 PM, Jolly Shah wrote: > Hi Sudeep and Olof, > > Clock driver from same patch set uses ioctl API along with other clock eemi > APIs. As clock patches' final review is pending by Stephen,

[PATCH 5/5] staging: vc04_services: Remove spaces after '*'

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: "foo * bar" should be "foo* bar" in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH V2 1/8] dt-bindings: mfd: document stpmic1

2018-09-23 Thread Lee Jones
On Fri, 07 Sep 2018, Pascal PAILLET-LME wrote: > From: pascal paillet > > stpmic1 is a pmic from STMicroelectronics. The stpmic1 integrates 10 > regulators and 3 switches with various capabilities. > > Signed-off-by: pascal paillet > --- > changes in v2: > * the hardware component has been

Re: [GIT PULL 1/2] ARM: exynos: mach/soc for v4.20 (or 5.0)

2018-09-23 Thread Olof Johansson
On Fri, Sep 21, 2018 at 07:45:20PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Nothing special, description in tag. > > > Best regards, > Krzysztof > > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > are

Re: [PATCH] ARM: dts: Add support for Liebherr's BK4 device (vf610 based)

2018-09-23 Thread Fabio Estevam
On Fri, Sep 21, 2018 at 12:27 PM, Lukasz Majewski wrote: > This commit adds DTS support for BK4 device from Liebherr. It > uses vf610 SoC from NXP. > > Signed-off-by: Lukasz Majewski > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/vf610-bk4.dts | 504 >

Re: [PATCH V2 2/8] mfd: stpmic1: add stpmic1 driver

2018-09-23 Thread Lee Jones
On Fri, 07 Sep 2018, Pascal PAILLET-LME wrote: > From: pascal paillet This is odd. What is your reason for not using `git send-email`? Also your name should really be capitalised. Pascal Paillet > stpmic1 is a pmic from STMicroelectronics. The stpmic1 integrates 10 "STPMIC1" and "PMIC"

Re: Code of Conduct: Let's revamp it.

2018-09-23 Thread Christoph Conrads
Dear Edward, > I know others have already said it, but: > This is legally nonsense. The only way I can revoke someone's rights to > my code under the GPL is if they violate the terms of the GPL. this aspect of FOSS licenses has -- to the best of my knowledge -- never been tested in court.

[PATCH] perf tools: Do not zero sample_id_all for group members

2018-09-23 Thread Jiri Olsa
Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We can't do that, because it needs to be the same over the whole event list. This

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-23 Thread Song Qiang
On Sat, Sep 22, 2018 at 11:14:09AM +0100, Jonathan Cameron wrote: > On Thu, 20 Sep 2018 21:13:40 +0800 > Song Qiang wrote: > ... > > +const struct regmap_access_table rm3100_volatile_table = { > > + .yes_ranges = rm3100_volatile_ranges, > > + .n_yes_ranges =

Re: Linux RDMA mini-conf at Plumbers 2018

2018-09-23 Thread Mike Rapoport
On Thu, Sep 20, 2018 at 09:54:28PM +0300, Leon Romanovsky wrote: > On Thu, Sep 20, 2018 at 12:19:23PM -0600, Jason Gunthorpe wrote: > > This is just a friendly reminder that registration deadlines are > > approaching for this conference. Please see > > > >

Re: [PATCH 4.9 069/101] ubi: fastmap: Correctly handle interrupted erasures in EBA

2018-09-23 Thread Richard Weinberger
Lars, Am Sonntag, 23. September 2018, 14:49:23 CEST schrieb Lars Persson: > On Sun, Jul 1, 2018 at 6:27 PM Greg Kroah-Hartman > wrote: > > > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Richard Weinberger > > > > commit

Re: [PATCH v12 0/6] drivers: Introduce firmware driver for ZynqMP core

2018-09-23 Thread Olof Johansson
On Thu, Sep 20, 2018 at 5:46 PM, Jolly Shah wrote: > Hi Olof, > > As suggested, this patchset is generated without ioctl interface. Please > review. If you are ok, Michal can create a pull request for merge. Hi, I replied on the other thread as well; it sounds like you will need something

[PATCH v2] RISC-V: Show CPU ID and Hart ID separately in /proc/cpuinfo

2018-09-23 Thread Anup Patel
Currently, /proc/cpuinfo show logical CPU ID as Hart ID which is in-correct. This patch shows CPU ID and Hart ID separately in /proc/cpuinfo using cpuid_to_hardid_map(). With this patch, contents of /proc/cpuinfo looks as follows: processor : 0 hart: 1 isa :

Re: [PATCH v3] dt-bindings: arm: Explicitly mark Samsung Exynos SoC as unstable

2018-09-23 Thread Olof Johansson
On Thu, Aug 30, 2018 at 7:02 PM, Krzysztof Kozlowski wrote: > Samsung Exynos SoCs and boards related bindings evolved since the initial > introduction, but initially the bindings were minimal and a bit incomplete > (they never described all the hardware modules available in the SoCs). > Since

Re: [GIT PULL 2/2] ARM: dts: exynos: DT for v4.20 (or 5.0)

2018-09-23 Thread Olof Johansson
Hi, On Fri, Sep 21, 2018 at 07:45:19PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Nothing special, description in tag. Hmm. Point 12 is special, I'd say. I commented on the patch, and I don't want to hold everything else up so it might make sense to separate that out and send a fresh pull

[PATCH] watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D

2018-09-23 Thread Guenter Roeck
The watchdog controller on NCT6796D, NCT6797D, and NCT6798D is compatible with the wtachdog controller on other Nuvoton chips. Signed-off-by: Guenter Roeck --- drivers/watchdog/w83627hf_wdt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

RE: [PATCH] RDMA/i40iw: Fix incorrect iterator type

2018-09-23 Thread Saleem, Shiraz
>Subject: [PATCH] RDMA/i40iw: Fix incorrect iterator type > >Commit f27b4746f378 ("i40iw: add connection management code") uses an >incorrect rcu iterator, whilst holding the rtnl_lock. Since the critical >region invokes >i40iw_manage_qhash(), which is a sleeping function, the rcu locking and

[PATCH] drm/rockchip: typo: selet->select

2018-09-23 Thread Marty E. Plummer
Signed-off-by: Marty E. Plummer --- drivers/gpu/drm/rockchip/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 0ccc76217ee4..7d1ccc9efc76 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++

RE: [PATCH -next] x86/hyper-v: Remove unused including

2018-09-23 Thread Michael Kelley (EOSG)
From: YueHaibing Sent: Sunday, September 23, 2018 1:20 AM > Remove including that don't need it. > > Signed-off-by: YueHaibing > --- > arch/x86/hyperv/hv_apic.c | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Michael Kelley

[PATCH] ARM: dts: gta04: add serial console wakeup irq

2018-09-23 Thread Andreas Kemnade
This enables the possibility to have more aggressive runtime pm by providing proper wakeup irq for the serial console. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[GIT PULL] MFD fixes for v4.19

2018-09-23 Thread Lee Jones
Morning Greg, Enjoy! The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-4.19 for you to fetch changes up

Re: [PATCH] mtd: rawnand: Use proper enum for flctl_dma_fifo0_transfer

2018-09-23 Thread Miquel Raynal
Hi Nathan, Nathan Chancellor wrote on Thu, 20 Sep 2018 16:30:25 -0700: > Clang warns when one enumerated type is converted implicitly to another: > > drivers/mtd/nand/raw/sh_flctl.c:483:46: warning: implicit conversion > from enumeration type 'enum dma_transfer_direction' to different >

Re: [PATCH v5 0/3] mtd: rawnand: ams-delta: Cleanups and optimizations

2018-09-23 Thread Miquel Raynal
Hi Janusz, Janusz Krzysztofik wrote on Thu, 20 Sep 2018 00:52:52 +0200: > This series consist of possibly ready to apply patches extracted from > a former one titled "mtd: rawnand: ams-delta: Use GPIO API for data I/O". > Remaining patches implementing conversion of data I/O to GPIO have been

Re: [PATCH 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-09-23 Thread Miquel Raynal
Hi Christophe, wrote on Mon, 17 Sep 2018 17:47:39 +0200: > From: Christophe Kerello > > The driver adds the support for the STMicroelectronics FMC2 NAND > Controller found on STM32MP SOCs. > > This patch is based on FMC2 command sequencer. > The purpose of the command sequencer is to

Re: [PATCH v5] mtd: rawnand: ams-delta: use GPIO lookup table

2018-09-23 Thread Miquel Raynal
Hi Janusz, Janusz Krzysztofik wrote on Thu, 20 Sep 2018 00:17:29 +0200: > Now as Amstrad Delta board - the only user of this driver - provides > GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and > use the table to locate required GPIO pins. > > Declare static variables for

Re: [PATCH] mtd: rawnand: denali: add DT property to specify skipped bytes in OOB

2018-09-23 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Sun, 23 Sep 2018 06:38:40 -0400: > 2018-09-22 4:11 GMT-04:00 Boris Brezillon : > > On Sat, 22 Sep 2018 09:41:11 +0200 > > Miquel Raynal wrote: > > > >> Hi Masahiro, > >> > >> Masahiro Yamada wrote on Sat, 8 Sep > >> 2018 01:10:25 +0900: > >> > >> > Hi

[PATCH -next] ring-buffer: Fix ring buffer size in rb_write_something

2018-09-23 Thread YueHaibing
'cnt' should be used to calculate ring buffer size rather than data->cnt Signed-off-by: YueHaibing --- kernel/trace/ring_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 65bd461..53538c3 100644 ---

Re: [PATCH 4.9 069/101] ubi: fastmap: Correctly handle interrupted erasures in EBA

2018-09-23 Thread Lars Persson
On Sun, Jul 1, 2018 at 6:27 PM Greg Kroah-Hartman wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Richard Weinberger > > commit 781932375ffc6411713ee0926ccae8596ed0261c upstream. > > Fastmap cannot track the LEB unmap

[PATCH 3/5] staging: vc04_services: Add spaces after commas

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space required after that ',' in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 1/5] staging: vc04_services: Fix "space prohibited"

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space prohibited after/before that open/closed parenthesis in the interface/vchi directory. Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 106 +- .../vc04_services/interface/vchi/vchi_cfg.h |

Re: [PATCH] MAINTAINERS: update the Annapurna Labs maintainer email

2018-09-23 Thread Olof Johansson
On Wed, Sep 19, 2018 at 08:58:02AM +0200, Antoine Tenart wrote: > Free Electrons became Bootlin. Update my email accordingly. > > Signed-off-by: Antoine Tenart > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -Olof

[PATCH 4/5] staging: vc04_services: Surround complex macros

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 2/5] staging: vc04_services: Use tabs instead of spaces

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: code indent should use tabs where possible in the interface/vchi directory Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 116 +- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git

  1   2   3   4   >