Re: [PATCH 1/6] swap: Add comments to lock_cluster_or_swap_info()

2018-07-13 Thread Dave Hansen
> +/* > + * At most times, fine grained cluster lock is sufficient to protect Can we call out those times, please? > + * the operations on sis->swap_map. Please be careful with the naming. You can call it 'si' because that's what the function argument is named. Or, swap_info_struct because t

Re: [bug] kpti, perf_event, bts: sporadic truncated trace

2018-07-13 Thread Peter Zijlstra
On Thu, Jul 12, 2018 at 06:22:13PM -0700, Hugh Dickins wrote: > A little "optimization" crept into alloc_bts_buffer() along the way, > which now places bts_interrupt_threshold not on a record boundary. > And Stephane has shown me the sentence in Vol 3B, 17.4.9, which says > "This address must point

Re: [PATCH 07/39] x86/entry/32: Enter the kernel via trampoline stack

2018-07-13 Thread Joerg Roedel
Hi Andy, thanks for you valuable feedback. On Thu, Jul 12, 2018 at 02:09:45PM -0700, Andy Lutomirski wrote: > > On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > -.macro SAVE_ALL pt_regs_ax=%eax > > +.macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 > >cld > > +/* Push segment registers

Re: [PATCH 1/2] ARM: dts: imx51-zii-scu3-esb: Add switch IRQ line pinumx config

2018-07-13 Thread Fabio Estevam
On Fri, Jul 13, 2018 at 2:15 AM, Andrey Smirnov wrote: > I wanted to avoid relying on defaults be it register reset values or > settings that bootloader left us with. Default value of 0xa5 works, > but, given how the pin is IRQ_TYPE_LEVEL_HIGH, I though it would be > better to configure it to hav

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-13 Thread Peter Zijlstra
On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: > On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra wrote: > > > > The locking pattern is fairly simple and shows where RCpc comes apart > > from expectation real nice. > > So who does RCpc right now for the unlock-lock sequence? Someb

Re: [PATCH v5 0/5] sparse_init rewrite

2018-07-13 Thread Pavel Tatashin
> About PPC64, your patchset fixes the issue as the population gets followed by > a > sparse_init_one_section(). > > It can be seen here: > > Before: > > kernel: vmemmap_populate f000..f0004000, node 0 > kernel: * f000..f001 allocated at > (pt

Re: [PATCH v5 5/5] mm/sparse: delete old sprase_init and enable new one

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:09 AM Oscar Salvador wrote: > > > > -#ifdef CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER > > -static void __init sparse_early_mem_maps_alloc_node(void *data, > > - unsigned long pnum_begin, > > - unsigned long pnum_end,

Re: [PATCH 02/19] mmc: mmci: merge qcom dml feature into mmci dma

2018-07-13 Thread Ulf Hansson
On 11 July 2018 at 17:19, Ludovic BARRE wrote: > > > On 07/05/2018 05:26 PM, Ulf Hansson wrote: >> >> On 12 June 2018 at 15:14, Ludovic Barre wrote: >>> >>> From: Ludovic Barre >>> >>> This patch integrates qcom dml feature into mmci_dma file. >>> Qualcomm Data Mover lite/local is already a vari

[PATCH] clk: imx6ul: fix missing of_node_put()

2018-07-13 Thread Nicholas Mc Guire
- Problem located with experimental coccinelle script Patch was compile tested with: imx_v6_v7_defconfig (implies CONFIG_SOC_IMX6UL=y) Patch is against 4.18-rc4 (localversion-next is next-20180713) drivers/clk/imx/clk-imx6ul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/c

Re: [PATCH] soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata

2018-07-13 Thread Ulf Hansson
On 13 July 2018 at 12:01, Leonard Crestez wrote: > This is functionally identical but simpler and slightly faster. > > The PU domain is turned on at boot time and never turned off. In the > current implementation the pm core will repeatedly call power_off when > the domain is unused and get -EBUSY

Re: [PATCH 6/6] coresight: etm-perf: Add support for ETR backend

2018-07-13 Thread Suzuki K Poulose
On 12/07/18 21:57, Mathieu Poirier wrote: Hi Suzuki, On Wed, Jul 11, 2018 at 03:16:39PM +0100, Suzuki K Poulose wrote: Add support for using TMC-ETR as backend for ETM perf tracing. We use software double buffering at the moment. i.e, the TMC-ETR uses a separate buffer than the perf ring buffer

[0/13] staging:rtl8192u: Coding style changes

2018-07-13 Thread John Whitmore
This series is just coding style changes to clear checkpatch issues. I don't think that there are any changes that impact code execution. I tacked on the end a patch from my last series that failed, again just a rename to avoid CamelCase warning. jwhitmore

[PATCH 04/13] staging:rtl8192u: remove typedef from structure SwChnlCmd - Style

2018-07-13 Thread John Whitmore
Checkpatch warns against creation of new types in code. This patch simply removes the "typedef" declaration of the structure SwChnlCmd to clear this issue. Simple coding style issue which should not impact runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c

[PATCH 01/13] staging:rtl8192u: remove typedef of enumeration SwChnlCmdID - Style

2018-07-13 Thread John Whitmore
To clear a checkpatch issue removed the typedef of the enumeration SwChnlCmdID this should not impact runtime code as it's only a coding style change. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 12 ++-- 2 files

[PATCH 06/13] staging:rtl8192u: Rename enum label CmdID_End > CMD_ID_END - Style

2018-07-13 Thread John Whitmore
Rename enum label to clear a CamelCase warning from checkpatch. This is a simple style change and should not impact execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2 files changed, 6 insertions(+),

[PATCH 05/13] staging:rtl8192u: Rename SwChnlCmdID > switch_chan_cmd_id - Coding Style

2018-07-13 Thread John Whitmore
Rename enumerated type to clear a CamelCase warning from checkpatch. The change is style only. No impact on run time execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++-- drivers/staging/rtl8192u/r819xU_phy.h | 4 ++-- 2 files changed, 4 insertions(+), 4 del

[PATCH 07/13] staging:rtl8192u: rename CmdID_SetTxPowerLevel > CMD_ID_SET_TX_PWR_LEVEL

2018-07-13 Thread John Whitmore
Rename enumeration label CmdID_SetTxPowerLevel to CMD_ID_SET_TX_PWR_LEVEL. This change clears a checkpatch warning on CamelCase. The change should not impact runtime execution, style change only. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++-- drivers/staging/rtl

[PATCH 02/13] staging:rtl8192u: remove typdef from enumeration HW90_BLOCK_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types in code. This patch simply removes the typedef from the enumeration HW90_BLOCK_E to clear this warning. There should be no impact on run time code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++--- driver

[PATCH 08/13] staging:rtl8192u: Remove unused enum label CmdID_BBRegWrite10

2018-07-13 Thread John Whitmore
The enum label CmdID_BBRegWrite10 is not used in the code, so removed from the source code. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h ind

[PATCH 09/13] staging:rtl8192u: Rename CmdID_WritePortUlong > CMD_ID_WRITE_PORT_ULONG

2018-07-13 Thread John Whitmore
Rename enum label CmdID_WritePortUlong to CMD_ID_WRITE_PORT_ULONG to clear the checkpatch CamelCase issue. Simple syle change which should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2 fil

[PATCH 12/13] staging:rtl8192u: Rename CmdID_RF_WriteReg > CMD_ID_RF_WRITE_REG - Style

2018-07-13 Thread John Whitmore
Rename enum label CmdID_RF_WriteReg to CMD_ID_RF_WRITE_REG. This change clears the checkpatch issue with CamelCase. The change is style only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++--- drivers/staging/rtl8192u/r819xU_ph

[PATCH 11/13] staging:rtl8192u: Rename CmdID_WritePortUchar > CMD_ID_WRITE_PORT_UCHAR

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUchar to CMD_ID_WRITE_PORT_UCHAR, to clear the checkpatch issue with CamelCase. The change is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl81

[PATCH 13/13] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
Simple rename of the preprosessor switch, protecting against multiple inclusion of the header file. Change to clear the checkpatch coding style issue. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 10/13] staging:rtl8192u: Rename CmdID_WritePortUshort > CMD_ID_WRITE_PORT_USHORT

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUshort to CMD_ID_WRITE_PORT_USHORT to clear the checkpatch warning on CamelCase naming. This is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl

[PATCH 03/13] staging:rtl8192u: Remove typdef from enumeration RF90_RADIO_PATH_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types. This patch simply removes the typedef from the enumeration RF90_RADIO_PATH_E to clear this checkpatch warning. There should be no impact on run time code execution, as this is a coding style issue only. Signed-off-by: John Whitmore --- drivers/st

Re: [PATCH 04/10] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
On Fri, Jul 13, 2018 at 11:39:38AM +0200, Greg KH wrote: > On Wed, Jul 11, 2018 at 08:21:43PM +0100, John Whitmore wrote: > > Simple rename of the preprosessor switch, protecting against multiple > > inclusion of the header file. Change to clear the checkpatch coding style > > issue. > > > > Signe

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), > > and the second time in tsc_init(). > > > > Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it s

Re: [PATCH v13 14/18] x86/tsc: initialize cyc2ns when tsc freq. is determined

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:13 AM Dou Liyang wrote: > > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > cyc2ns converts tsc to nanoseconds, and it is handled in a per-cpu data > > structure. > > > > Currently, the setup code for c2ns data for every possible CPU goes through > > the same sequen

Re: [PATCH 08/32] genirq: Synchronize only with single thread on free_irq()

2018-07-13 Thread Bjorn Helgaas
On Fri, Jul 13, 2018 at 09:21:09AM +0200, Lukas Wunner wrote: > On Thu, Jul 12, 2018 at 05:21:09PM -0500, Bjorn Helgaas wrote: > > On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas Wunner wrote: > > > When pciehp is converted to threaded IRQ handling, removal of unplugged > > > devices below a PCIe h

Re: [PATCH 14/14] arm64: dts: marvell: armada-37xx: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell Armada 37xx device > tree accordingly. > > S

Re: [PATCH 13/14] arm64: dts: marvell: armada-cp110: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell cp110 device tree > accordingly. > > Signed-

[PATCH] ARM64: dts: meson-axg: remove vddio_ao18 from SoC dtsi

2018-07-13 Thread Jerome Brunet
Regulator should not be defined inside the SoC dtsi file. vddio_ao18 is already defined in the S400 board dts anyway. Signed-off-by: Jerome Brunet --- Kevin, This patch fixes a problem in a patch [0] you have applied recently. I did not put a Fixes tag because the branch on which you've applied

Re: [PATCH 1/2] dt-bindings: pfuze100: add optional pfuze-disable-sw binding

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 10:30:39AM +0200, Marco Felsch wrote: > On 18-07-12 16:31, Mark Brown wrote: > > On Thu, Jul 12, 2018 at 01:02:39PM +0200, Marco Felsch wrote: > > > +Optional properties: > > > +- pfuze-disable-sw: Disable all unused switch regulators to save power > > This is a bit of a c

[PATCH v6 07/37] component: alloc component_match without any comp to match

2018-07-13 Thread Ramalingam C
If all the components associated to a component master is not added to the component framework due to the HW capability or Kconfig selection, component_match will be NULL at component_master_add_with_match(). To avoid this, component_match_alloc() is added to the framework, to allcoate the struct

[PATCH] ARM64: dts: meson-axg: add adc buttons the S400

2018-07-13 Thread Jerome Brunet
Add the 6 adc buttons of the amlogic S400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.d

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 09:35:06AM +0200, Linus Walleij wrote: > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. That'd be ideal, though just waiting till after the merge window when all these cleanups are in works too -

[PATCH v13 2/2] Add oom victim's memcg to the oom context information

2018-07-13 Thread ufo19890607
From: yuzhoujian The current oom report doesn't display victim's memcg context during the global OOM situation. While this information is not strictly needed, it can be really helpful for containerized environments to locate which container has lost a process. Now that we have a single line for t

Re: [PATCH] fs: Add to super_blocks list after SB_BORN is set.

2018-07-13 Thread Al Viro
On Fri, Jul 13, 2018 at 07:09:03PM +0900, Tetsuo Handa wrote: > More simple version. Is this assumption correct? Racy, for obvious reasons (sget/sget)

Re: [PATCH v5 1/2] timers: Don't wake ktimersoftd on every tick

2018-07-13 Thread Anna-Maria Gleixner
Hi Haris, On Thu, 28 Jun 2018, Haris Okanovic wrote: > Collect expired timers in interrupt context to avoid overhead of waking > ktimersoftd on every scheduler tick. > > This is implemented by storing lists of expired timers in the timer_base > struct, which is updated by the interrupt routing o

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Oscar Salvador
On Thu, Jul 12, 2018 at 04:37:29PM -0400, Pavel Tatashin wrote: > sparse_init() requires to temporary allocate two large buffers: > usemap_map and map_map. Baoquan He has identified that these buffers are so > large that Linux is not bootable on small memory machines, such as a kdump > boot. The bu

[PATCH 1/3] ntp: Remove redundant arguments

2018-07-13 Thread Ondrej Mosnacek
The 'ts' argument of process_adj_status() and process_adjtimex_modes() is unused and can be safely removed. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index a09ded765f6c

[PATCH 2/3] ntp: Use kstrtos64 for s64 variable

2018-07-13 Thread Ondrej Mosnacek
...instead of kstrtol with a dirty cast. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 25031ffb5d25..6c764addef3e 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@

[PATCH 3/3] timekeeping/ntp: Constify some function arguments

2018-07-13 Thread Ondrej Mosnacek
Add 'const' to some function arguments and variables to make it easier to read the code. Signed-off-by: Ondrej Mosnacek --- include/linux/timekeeping.h| 2 +- kernel/time/ntp.c | 6 +++--- kernel/time/ntp_internal.h | 2 +- kernel/time/timekeeping.c |

Re: [PATCH 1/2] tracing: kprobes: Prohibit probing on notrace functions

2018-07-13 Thread Steven Rostedt
On Fri, 13 Jul 2018 11:53:01 +0900 Masami Hiramatsu wrote: > On Thu, 12 Jul 2018 13:54:12 -0400 > Francis Deslauriers wrote: > > > From: Masami Hiramatsu > > > > Prohibit kprobe-events probing on notrace function. > > Since probing on the notrace function can cause recursive > > event call. I

Re: [PATCH v6 10/21] s390: vfio-ap: sysfs interfaces to configure adapters

2018-07-13 Thread Tony Krowiak
On 07/09/2018 02:11 PM, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides the sysfs interfaces for assigning AP adapters to and unassigning AP adapters from a mediated matrix device. The IDs of the AP adapters assigned to the mediated matrix device are stored in an AP mask (

Re: [PATCH v6 13/21] s390: vfio-ap: sysfs interface to view matrix mdev matrix

2018-07-13 Thread Tony Krowiak
On 07/09/2018 04:38 PM, Pierre Morel wrote: On 09/07/2018 14:20, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides a sysfs interface to view the AP matrix configured for the mediated matrix device. The relevant sysfs structures are: /sys/devices/vfio_ap ... [matrix] ..

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Pavel Tatashin
> > Signed-off-by: Pavel Tatashin > > Looks good to me, and it will make the code much shorter/easier. > > Reviewed-by: Oscar Salvador > Thank you! Pave

[GIT PULL][PATCH] tracing: Reorder display of TGID to be after PID

2018-07-13 Thread Steven Rostedt
Linus, Joel Fernandes asked to add a feature in tracing that Android had its own patch internally for. I took it back in 4.13. Now he realizes that he had a mistake, and swapped the values from what Android had. This means that the old Android tools will break when using a new kernel that has th

[PATCH 1/2] mux:adgs1408/1409: New driver for Analog Devices ADGS1408/1409 mux …

2018-07-13 Thread Mircea Caprioru
This patch adds basic support for Analog Device ADGS1408/09 SPI mux controller. The device is probed and set to a disabled state. It uses the new mux controller framework. Signed-off-by: Mircea Caprioru --- MAINTAINERS| 7 +++ drivers/mux/Kconfig| 12 drivers/mux/Makefil

Re: [PATCH] pinctrl: mt7622: fix probe fail by misuse the selector

2018-07-13 Thread Tony Lindgren
* Linus Walleij [180713 08:14]: > On Thu, Jul 12, 2018 at 7:50 AM wrote: > > > From: Sean Wang > > > > After the commit acf137951367 ("pinctrl: core: Return selector to the > > pinctrl driver") and the commit 47f1242d19c3 ("pinctrl: pinmux: Return > > selector to the pinctrl driver"), it's nece

[PATCH v2 2/3] regulator: pfuze100: add support to en-/disable switch regulators

2018-07-13 Thread Marco Felsch
Add enable/disable support for switch regulators on pfuze100. Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") which is reverted due to boot regressions by commit 464a5686e6c9 ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). Disabling t

[PATCH v2 1/3] dt-bindings: pfuze100: add optional disable switch-regulators binding

2018-07-13 Thread Marco Felsch
This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/ Signed-o

[PATCH v2 0/2] Re-Enable support to disable switch regulators

2018-07-13 Thread Marco Felsch
Hi, Anson had added the support to disable the switched regulators, but there were regressions [1] with old dtb's, so the commit was reverted [2]. At all, the support to disable the switch regulators seems to me to be a good feature. But we have to add a special dt-property to avoid regressions wi

[PATCH 2/2] ASoC: allow soc-core to pick up name prefixes from component nodes

2018-07-13 Thread Jerome Brunet
When the component does not match the configuration table provided by the card, let soc-core check the component node for a name prefix Signed-off-by: Jerome Brunet --- sound/soc/soc-core.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/sound/so

[PATCH 1/2] ASoC: add DT documentation for the sound-name-prefix property

2018-07-13 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- .../devicetree/bindings/sound/name-prefix.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/name-prefix.txt diff --git a/Documentation/devicetree/bindings/sound/name-prefix.txt b/Do

[PATCH 0/2] ASoC: add sound-name-prefix property

2018-07-13 Thread Jerome Brunet
This patchset add support in ASoC to pick up name prefix from the component nodes when the component does not match the configuration table provided to the card. The need for this feature came from the platform I'm working on (Amlogic A113). On this platform, the card is made of several instances

[PATCH v1] platform/x86: wmi: Switch to use new generic UUID API

2018-07-13 Thread Andy Shevchenko
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. While here, update Copyright to reflect this change along with previous one for the topic. Signed-off-by: Andy Shevchenko --- drivers/

Re: REGRESSION: [PATCH] mmc: tegra: Use sdhci_pltfm_clk_get_max_clock

2018-07-13 Thread Aapo Vienamo
On Fri, 13 Jul 2018 01:43:05 + Marcel Ziswiler wrote: > On Mon, 2018-07-02 at 15:16 +0200, Ulf Hansson wrote: > > On 4 June 2018 at 17:35, Aapo Vienamo wrote: > > > The sdhci get_max_clock callback is set to > > > sdhci_pltfm_clk_get_max_clock > > > and tegra_sdhci_get_max_clock is removed

[PATCH] regulator: core: fix _regulator_do_disable return value

2018-07-13 Thread Marco Felsch
Currently _regulator_do_disable returns 0 if either the ena_pin nor the ops.disbale() isn't present. This assumes that the call was successful but it wasn't because disbaling isn't supported at all. The last case of the if-chain should return -EINVAL, because disabling isn't supported by the drive

[PATCH] watchdog: add driver for the MEN 16z069 IP-Core

2018-07-13 Thread Johannes Thumshirn
Add a driver for the MEN 16z069 Watchdog and Reset Controller IP-Core. Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ drivers/watchdog/Kconfig | 10 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/menz69_wdt.c | 175 +++

Re: [PATCH v2 0/5] Improve Broadcom PAXC support

2018-07-13 Thread Lorenzo Pieralisi
On Mon, Jun 11, 2018 at 05:21:02PM -0700, Ray Jui wrote: > This patch series improves the Broadcom PAXC support by 1) adding more > quirks for specific versions of PAXC controllers; 2) adding logic to > reject internally unconfigured physical functions from the embedded > network processor acting a

Re: [PATCH] regulator: core: fix _regulator_do_disable return value

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 02:56:24PM +0200, Marco Felsch wrote: > Currently _regulator_do_disable returns 0 if either the ena_pin nor the > ops.disbale() isn't present. This assumes that the call was successful > but it wasn't because disbaling isn't supported at all. > The last case of the if-chai

Re: [PATCH v1] platform/x86: wmi: Switch to use new generic UUID API

2018-07-13 Thread Andy Shevchenko
On Fri, 2018-07-13 at 15:53 +0300, Andy Shevchenko wrote: > There are new types and helpers that are supposed to be used in new > code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. > > While here, update Copyright to reflect this change along with >

Re: [PATCH 02/19] mmc: mmci: merge qcom dml feature into mmci dma

2018-07-13 Thread Ludovic BARRE
On 07/13/2018 01:17 PM, Ulf Hansson wrote: On 11 July 2018 at 17:19, Ludovic BARRE wrote: On 07/05/2018 05:26 PM, Ulf Hansson wrote: On 12 June 2018 at 15:14, Ludovic Barre wrote: From: Ludovic Barre This patch integrates qcom dml feature into mmci_dma file. Qualcomm Data Mover lite

[PATCH v1] ras: Use consistent types for UUIDs

2018-07-13 Thread Andy Shevchenko
The commit 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER section") brought inconsistency in UUID types which are used across the RAS subsystem. Fix this by moving to use guid_t everywhere. Cc: Tyler Baicar Signed-off-by: Andy Shevchenko --- drivers/ras/ras.c

[GIT PULL] arm64 fixes for 4.18-rc5

2018-07-13 Thread Will Deacon
Hi Linus, Catalin's out enjoying the sunshine, so I'm sending the fixes for a couple of weeks (although there hopefully won't be any more!). Summary is in the tag, but we've got a revert of a previous fix because it broke the build with some distro toolchains and a preemption fix when detemining w

Re: [PATCH v13 2/2] Add oom victim's memcg to the oom context information

2018-07-13 Thread Michal Hocko
On Fri 13-07-18 19:55:52, ufo19890...@gmail.com wrote: > From: yuzhoujian > > The current oom report doesn't display victim's memcg context during the > global OOM situation. While this information is not strictly needed, it > can be really helpful for containerized environments to locate which >

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-13 Thread Michael Ellerman
Peter Zijlstra writes: > On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: >> On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra wrote: >> > >> > The locking pattern is fairly simple and shows where RCpc comes apart >> > from expectation real nice. >> >> So who does RCpc right now fo

[PATCH] mmc: tegra: Add and use tegra_sdhci_get_max_clock()

2018-07-13 Thread Aapo Vienamo
Implement and use tegra_sdhci_get_max_clock() which returns the true maximum host clock rate. The issue with tegra_sdhci_get_max_clock() is that it returns the current clock rate of the host instead of the maximum one, which can lead to unnecessarily small clock rates. This differs from the previo

Re: [PATCH v5 1/5] mm/sparse: abstract sparse buffer allocations

2018-07-13 Thread Oscar Salvador
On Thu, Jul 12, 2018 at 04:37:26PM -0400, Pavel Tatashin wrote: > +static void *sparsemap_buf __meminitdata; > +static void *sparsemap_buf_end __meminitdata; > + > +void __init sparse_buffer_init(unsigned long size, int nid) > +{ > + BUG_ON(sparsemap_buf); Why do we need a BUG_ON() here? Looki

Re: Patch to consider for stable 3.18, 4.4 and 4.9

2018-07-13 Thread Greg KH
On Mon, Mar 05, 2018 at 08:43:41PM +, Tomasz Kramkowski wrote: > In September last year, Ben Hutchings submitted commit [9547837bdccb] > for 3.16.48-rc1 and I informed him that it would be useless without > [3f3752705dbd] (and that maybe [c3883fe06488] would be useful as well). > Ben dropped th

Re: [PATCH v5 1/5] mm/sparse: abstract sparse buffer allocations

2018-07-13 Thread Pavel Tatashin
On 07/13/2018 09:17 AM, Oscar Salvador wrote: > On Thu, Jul 12, 2018 at 04:37:26PM -0400, Pavel Tatashin wrote: >> +static void *sparsemap_buf __meminitdata; >> +static void *sparsemap_buf_end __meminitdata; >> + >> +void __init sparse_buffer_init(unsigned long size, int nid) >> +{ >> +BUG_O

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-13 Thread David Howells
Whilst I'm at it, do we want the option of doing the equivalent of mountat()? I.e. offering the option to open all the device files used by a superblock with dfd and AT_* flags in combination with the filename? David

[tip:locking/core] locking/refcount: Always allow checked forms

2018-07-13 Thread tip-bot for Mark Rutland
Commit-ID: afed7bcf9487bb28e2e2b016a195085c07416c0b Gitweb: https://git.kernel.org/tip/afed7bcf9487bb28e2e2b016a195085c07416c0b Author: Mark Rutland AuthorDate: Wed, 11 Jul 2018 10:36:07 +0100 Committer: Ingo Molnar CommitDate: Fri, 13 Jul 2018 15:23:25 +0200 locking/refcount: Always a

[PATCH 2/4] staging: mt7621-pci: Fix coding style issues reported by checkpatch

2018-07-13 Thread Oliver Hübers
From: Vanessa Borgmann Fix errors: space errors, braces Fix warnings: comment warnings Signed-off-by: Oliver Hübers Signed-off-by: Vanessa Borgmann --- drivers/staging/mt7621-pci/pci-mt7621.c | 230 1 file changed, 112 insertions(+), 118 deletions(-) diff --g

[PATCH 4/4] staging: mt7621: Add SPDX license identifier

2018-07-13 Thread Oliver Hübers
Signed-off-by: Oliver Hübers Signed-off-by: Vanessa Borgmann --- drivers/staging/mt7621-pci/pci-mt7621.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index c118d78..fbffa3e 100644 --- a/drivers/staging/mt76

[PATCH 1/4] staging: mt7621-pci: Include preferred headers

2018-07-13 Thread Oliver Hübers
This fixes the following checkpatch warnings: Use #include instead of Use #include instead of Signed-off-by: Oliver Hübers Signed-off-by: Vanessa Borgmann --- drivers/staging/mt7621-pci/pci-mt7621.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt76

[PATCH] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-07-13 Thread Waiman Long
It was discovered that running the ltp openposix_testsuite sigqueue-09-1 test on a certain 8-sock IvyBridge system caused it to have a hard lockup with a full debug kernel. [89981.861500] NMI watchdog: Watchdog detected hard LOCKUP on cpu 17 : [89981.939812] irq event stamp: 1166122 [89981.9

[PATCH] drivers: qcom: rpmh: fix unwanted error check for get_tcs_of_type()

2018-07-13 Thread Raju P L S S S N
From: "Raju P.L.S.S.S.N" The patch fixes the bug reported by Dan Carpenter. It removes the unnecessary err check for ‘tcs’ reported by static checker warning: drivers/soc/qcom/rpmh-rsc.c:111 tcs_invalidate() warn: 'tcs' isn't an ERR_PTR See also: drivers/soc/qcom/rpmh-rsc.c:178 get_tcs_for_msg()

[PATCH 3/4] staging: mt7621: Add braces around macro argument

2018-07-13 Thread Oliver Hübers
Add braces around macro argument to avoid precedence problems. This fixes the corresponding checkpatch warning. Signed-off-by: Oliver Hübers Signed-off-by: Vanessa Borgmann --- drivers/staging/mt7621-pci/pci-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/

Re: [PATCH] kconfig: remove EXPERT from CHECKPOINT_RESTORE

2018-07-13 Thread Eric W. Biederman
Pavel Emelyanov writes: > On 07/12/2018 07:33 PM, Eric W. Biederman wrote: >> >> Adrian Reber writes: >> >>> The CHECKPOINT_RESTORE configuration option was introduced in 2012 and >>> combined with EXPERT. CHECKPOINT_RESTORE is already enabled in many >>> distribution kernels and also part of

Re: [PATCH] watchdog: add driver for the MEN 16z069 IP-Core

2018-07-13 Thread Guenter Roeck
On 07/13/2018 05:58 AM, Johannes Thumshirn wrote: Add a driver for the MEN 16z069 Watchdog and Reset Controller IP-Core. Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ drivers/watchdog/Kconfig | 10 +++ drivers/watchdog/Makefile | 1 + drivers/wat

image studio for you

2018-07-13 Thread Simon
We are a team, we can process 300+ images per day for you. If you need any image editing, please let us know. Photos cut out; Photos clipping path; Photos masking; Photo shadow creation; Photos retouching; Beauty Model retouching on skin, face, body; Glamour retouching; Products retouching. We

RE: [PATCH] PCI/AER: Enable SERR# forwarding in non ACPI flow

2018-07-13 Thread Bharat Kumar Gogada
> > Currently PCI_BRIDGE_CTL_SERR is being enabled only in ACPI flow. > > This bit is required for forwarding errors reported by EP devices to > > upstream device. > > This patch enables SERR# for Type-1 PCI device. > > > > Signed-off-by: Bharat Kumar Gogada > > --- > > drivers/pci/pcie/aer.c |

Re: [PATCH v4] uart: fix race between uart_put_char() and uart_shutdown()

2018-07-13 Thread Tycho Andersen
On Fri, Jul 13, 2018 at 11:28:28AM +0200, Greg Kroah-Hartman wrote: > On Thu, Jul 12, 2018 at 12:30:01PM -0600, Tycho Andersen wrote: > > On Thu, Jul 12, 2018 at 08:25:45PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Jul 12, 2018 at 12:18:46PM -0600, Tycho Andersen wrote: > > > > On Thu, Jul 12,

Re: [PATCH] mmc: tegra: Add and use tegra_sdhci_get_max_clock()

2018-07-13 Thread Jon Hunter
On 13/07/18 14:17, Aapo Vienamo wrote: > Implement and use tegra_sdhci_get_max_clock() which returns the true > maximum host clock rate. The issue with tegra_sdhci_get_max_clock() is Don't you mean sdhci_pltfm_clk_get_max_clock above? Does this function need fixing then? Or at least should there

Re: REGRESSION: [PATCH] mmc: tegra: Use sdhci_pltfm_clk_get_max_clock

2018-07-13 Thread Jon Hunter
On 13/07/18 13:55, Aapo Vienamo wrote: > This happens because sdhci_pltfm_clk_get_max_clock() does not actually > return the maximum clock rate but the current one, leading to smaller > clock rates on some platforms. I'll send a patch that fixes this for > sdhci-tegra. Although this raises the qu

[GIT PULL] Kbuild fixes for v4.18-rc5

2018-07-13 Thread Masahiro Yamada
Hi Linus, Please pull a little more Kbuild fixes. The following changes since commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063: Linux 4.18-rc3 (2018-07-01 16:04:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/

[PATCH] block: remove blkdev_entry_to_request() macro

2018-07-13 Thread Vladimir Zapolskiy
Remove blkdev_entry_to_request() macro, which remained unused through the observable history, also note that it repeats list_entry_rq() macro verbatim. Signed-off-by: Vladimir Zapolskiy --- include/linux/blkdev.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/blkdev.h b/inclu

[PATCH] sched/deadline: Update rq_clock of later_rq when pushing a task

2018-07-13 Thread Daniel Bristot de Oliveira
Daniel Casini got this warn while running a DL task here at RetisLab: [ 461.137582] [ cut here ] [ 461.137583] rq->clock_update_flags < RQCF_ACT_SKIP [ 461.137599] WARNING: CPU: 4 PID: 2354 at kernel/sched/sched.h:967 assert_clock_updated.isra.32.part.33+0x17/0x20

Re: [PATCH] block: remove blkdev_entry_to_request() macro

2018-07-13 Thread Jens Axboe
On 7/13/18 8:07 AM, Vladimir Zapolskiy wrote: > Remove blkdev_entry_to_request() macro, which remained unused through > the observable history, also note that it repeats list_entry_rq() macro > verbatim. Applied, thanks. -- Jens Axboe

Re: [PATCH] PCI: pcie-candence-ep: remove redundant variable mmc

2018-07-13 Thread Lorenzo Pieralisi
On Wed, Jul 11, 2018 at 09:01:03AM +0100, Colin King wrote: > From: Colin Ian King > > Variable mmc is being assigned but is never used hence it is redundant > and can be removed. > > Cleans up clang warning: > warning: variable 'mmc' set but not used [-Wunused-but-set-variable] > > Signed-off-

[PATCH v4 01/12] input: add MT_TOOL_DIAL

2018-07-13 Thread Benjamin Tissoires
A dial is a tool you place on a multitouch surface which reports its orientation or a relative angle of rotation when rotating its knob. Some examples are the Dell Totem (on the Canvas 27"), the Microsoft Dial, or the Griffin Powermate, though the later can't be put on a touch surface. We give so

[PATCH v4 00/12] Hid multitouch rewrite, support os system multi-axis devices, take 4

2018-07-13 Thread Benjamin Tissoires
Hi, this is the v4 of my hid-multitouch rewrite series. Changes are: - added Peter's rev-by / acked-by - changed MT_TOOL_MAX value to be 0x0f - dropped the touch major/minor modifications Cheers, Benjamin Benjamin Tissoires (12): input: add MT_TOOL_DIAL HID: multitouch: make sure the static

[PATCH v4 04/12] HID: multitouch: store a per application quirks value

2018-07-13 Thread Benjamin Tissoires
If a device has more than one multitouch collection, there is a chance we need per tool quirks. This is the case for the Totem on the Dell Canvas. Note that thesysfs attribute quirks can now get out of sync, but there should not be much users of it as it's debugging only. Acked-by: Peter Hutterer

[PATCH v4 03/12] HID: multitouch: Store per collection multitouch data

2018-07-13 Thread Benjamin Tissoires
Currently, hid-multitouch can only handle one multitouch collection at a time. This is an issue for the Dell Canvas, as the Totem (a dial tool) is also using a multitouch-like collection. Factor out the multitouch collection data in their own struct. Acked-by: Peter Hutterer Signed-off-by: Benja

[PATCH v4 09/12] HID: microsoft: support the Surface Dial

2018-07-13 Thread Benjamin Tissoires
The tool works nicely with hid-generic, but it ends up creating 9 different input nodes with most of them only having ABS_MISC set. Filter the axis out, which reduces the amount of devices to 2. One is the proper System Multi-axis collection, the other exported device seems to provide SLEEP and PO

[PATCH v4 08/12] HID: core: do not upper bound the collection stack

2018-07-13 Thread Benjamin Tissoires
Looks like 4 was sufficient until now. However, the Surface Dial needs a stack of 5 and simply fails at probing. Dynamically add HID_COLLECTION_STACK_SIZE to the size of the stack if we hit the upper bound. Checkpatch complains about bare unsigned, so converting those to 'unsigned int' in struct h

[PATCH v4 10/12] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-07-13 Thread Benjamin Tissoires
From: Dmitry Torokhov According to Microsoft specification [1] for Precision Touchpads (and Touchscreens) the devices use "confidence" reports to signal accidental touches, or contacts that are "too large to be a finger". Instead of simply marking contact inactive in this case (which causes issue

[PATCH v4 12/12] HID: multitouch: handle palm for touchscreens

2018-07-13 Thread Benjamin Tissoires
From: Dmitry Torokhov Usually, there is no palm rejection for touchscreens. You don't rest your palm on the touchscreen while interacting with it. However, some wacom devices do so because you can rest your palm while interacting with the stylus. Unfortunately, the spec for touchscreens[1] is le

<    1   2   3   4   5   >