Re: [PATCH v1 1/2] drm/stm: ltdc: add non-alpha color formats

2018-02-08 Thread Philippe CORNU
Hi Benjamin, and many thanks for having applied the 2 patches. Philippe :-) On 02/08/2018 10:40 AM, Benjamin Gaignard wrote: > 2018-02-06 10:12 GMT+01:00 Yannick FERTRE : >> Reviewed-by: Yannick Fertré >> >> >> On 02/01/2018 11:42 AM, Philippe Cornu

Re: [PATCH] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-02-08 Thread Philippe CORNU
Hi Laurent, Benjamin & Philippe, I sent an updated version of the patch following your comments Big thank you, Philippe :-) On 02/08/2018 03:09 PM, Philippe Ombredanne wrote: > Benjamin, > > On Wed, Jan 24, 2018 at 9:57 AM, Benjamin Gaignard > wrote: >>

Re: [PATCH 1/3] x86/MCE/AMD: Redo function to get SMCA bank type

2018-02-08 Thread Borislav Petkov
On Thu, Feb 01, 2018 at 12:48:11PM -0600, Yazen Ghannam wrote: > arch/x86/kernel/cpu/mcheck/mce_amd.c | 15 +++ > 1 file changed, 7 insertions(+), 8 deletions(-) > > diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd.c > b/arch/x86/kernel/cpu/mcheck/mce_amd.c > index

Re: [PATCH v4 2/2] dt/bindings: Add bindings for Layerscape external irqs

2018-02-08 Thread Rasmus Villemoes
On 2018-02-05 07:07, Rob Herring wrote: >> +Example: >> +scfg: scfg@157 { >> +compatible = "fsl,ls1021a-scfg", "syscon"; >> +... >> +extirq: interrupt-controller { >> +compatible = "fsl,ls1021a-extirq"; >> +

Re: [PATCH v5] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board

2018-02-08 Thread Maxime Ripard
On Thu, Feb 08, 2018 at 06:06:13PM +0800, Icenowy Zheng wrote: > Banana Pi M2 Zero board is a H2+-based board by Sinovoip, with a form > factor and GPIO holes similar to Raspberry Pi Zero. > > It features: > - Allwinner H2+ SoC > - Single-chip (16-bit) 512MiB DDR3 DRAM > - Ampak AP6212

Re: [PATCH 2/3] x86/MCE/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type

2018-02-08 Thread Borislav Petkov
On Thu, Feb 01, 2018 at 12:48:12PM -0600, Yazen Ghannam wrote: > From: Yazen Ghannam > > Currently, bank 4 is reserved on Fam17h, so we chose not to initialize > bank 4 in the smca_banks array. This means that when we check if a bank > is initialized, like during boot or

Re: [PATCH 1/2] serial: 8250: Don't service RX FIFO if interrupts are disabled

2018-02-08 Thread Andy Shevchenko
On Thu, Feb 8, 2018 at 2:55 PM, Vignesh R wrote: > Currently, data in RX FIFO is read based on UART_LSR register state even > if RDI and RLSI interrupts are disabled in UART_IER register. > This is because when IRQ handler is called due to TX FIFO empty event, > RX FIFO is

Re: [PATCH -mm -v2] mm, swap, frontswap: Fix THP swap if frontswap enabled

2018-02-08 Thread huang ying
On Thu, Feb 8, 2018 at 6:17 PM, Minchan Kim wrote: > On Wed, Feb 07, 2018 at 03:00:35PM +0800, Huang, Ying wrote: >> From: Huang Ying >> >> It was reported by Sergey Senozhatsky that if THP (Transparent Huge >> Page) and frontswap (via zswap) are

[PATCH 2/3] Documentation: bindings: add usb3-host-disable and usb3-host-port for Rockchip USB Type-C PHY

2018-02-08 Thread Enric Balletbo i Serra
From: William wu rockchip,usb3-host-disable is the register of type-c phy disable usb3 host rockchip,usb3-host-port is the register of type-c phy usb3 port number Signed-off-by: William wu Signed-off-by: Enric Balletbo i Serra

[PATCH 1/3] phy: rockchip-typec: enable usb3 host during usb3 phy power on

2018-02-08 Thread Enric Balletbo i Serra
From: William wu We have forced usb3 to work in usb2 only mode in firmware by setting usb3tousb2_en (bit3 of GRF_USB3PHY0/1_CON0) to 1, and setting host_u3_port_disable (bit0 of GRF_USB3OTG0/1_CON1) to 1 and host_u3_port (bit15~12 of GRF_USB3OTG0/1_CON1) to 0. So we need to

[PATCH 3/3] phy: rockchip-typec: force to USB2 if DP at 4 lanes mode

2018-02-08 Thread Enric Balletbo i Serra
From: Chris Zhong The usb3tousb2_en BIT will be clear to 0 in probe(), it make USB controller work at USB3 mode, and if the USB phy is turned on with DP only mode(4 lanes DP), the rockchip_usb3_phy_power_on() will return directly, so usb3_host_disable and usb3_host_port

Re: [PATCH net-queue 1/3] Partial revert "e1000e: Avoid receiver overrun interrupt bursts"

2018-02-08 Thread Alexander Duyck
On Wed, Feb 7, 2018 at 10:47 PM, Benjamin Poirier wrote: > This partially reverts commit 4aea7a5c5e940c1723add439f4088844cd26196d. > > We keep the fix for the first part of the problem (1) described in the log > of that commit, that is to read ICR in the other interrupt

Re: [PATCH net-queue 2/3] e1000e: Fix queue interrupt re-raising in Other interrupt.

2018-02-08 Thread Alexander Duyck
On Wed, Feb 7, 2018 at 10:47 PM, Benjamin Poirier wrote: > restores the ICS write for rx/tx queue interrupts which was present before > commit 16ecba59bc33 ("e1000e: Do not read ICR in Other interrupt", > v4.5-rc1) but was not restored in commit 4aea7a5c5e94 ("e1000e: Avoid >

Re: [PATCH v2] ASoC: use seq_file to dump the contents of dai_list,platform_list and codec_list

2018-02-08 Thread Andy Shevchenko
On Fri, Jan 26, 2018 at 9:16 AM, Donglin Peng wrote: > On Wed, Jan 24, 2018 at 1:37 AM, Mark Brown wrote: >> On Tue, Jan 23, 2018 at 07:08:15PM +0200, Andy Shevchenko wrote: >> >>> If it's not critical, I would suggest to wait till v4.16-rc1, where I

Re: [PATCH] ARM: dts: ls1021a: add quadspi node

2018-02-08 Thread Rasmus Villemoes
On 2018-02-05 09:03, Shawn Guo wrote: > On Fri, Jan 26, 2018 at 03:20:14PM +0100, Rasmus Villemoes wrote: >> Add a node to device tree repesenting the QuadSPI controller present on >> LS1021a. Driver support has been present since e8c034b2fbe5 (mtd: >> spi-nor: fsl-quadspi: add support for

[PATCH 6/6] ARM: configs: stm32: enable ST MFX and its GPIO expander feature

2018-02-08 Thread Amelie Delaunay
Signed-off-by: Amelie Delaunay --- arch/arm/configs/stm32_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index eb3c2e4..aa9feed 100644 --- a/arch/arm/configs/stm32_defconfig +++

[PATCH 3/6] gpio: Add GPIO support for the ST Multi-Function eXpander

2018-02-08 Thread Amelie Delaunay
ST Multi-Function eXpander (MFX) can be used as GPIO expander. It has 16 fast GPIOs and can have 8 extra alternate GPIOs when other MFX features are not enabled. Signed-off-by: Amelie Delaunay --- drivers/gpio/Kconfig | 10 + drivers/gpio/Makefile

[PATCH v1 2/2] drm/panel: Add support for Raydium rm68200 panel driver

2018-02-08 Thread Philippe Cornu
This patch adds Raydium Semiconductor Corporation rm68200 5.5" 720x1280 TFT LCD panel driver (MIPI-DSI video mode). Signed-off-by: Philippe Cornu --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile| 1 +

[PATCH v1 0/2] drm/panel: Add support for Raydium rm68200 panel

2018-02-08 Thread Philippe Cornu
The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD panel connected using a MIPI-DSI video interface. Philippe Cornu (2): dt-bindings/display/panel: Add support for Raydium rm68200 dsi panel drm/panel: Add support for Raydium rm68200 panel driver

[PATCH] ASoC: Intel: Skylake: make function skl_clk_round_rate static

2018-02-08 Thread Colin King
From: Colin Ian King The function skl_clk_round_rate is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: sound/soc/intel/skylake/skl-ssp-clk.c:250:6: warning: symbol 'skl_clk_round_rate' was not declared. Should

Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

2018-02-08 Thread Philippe Ombredanne
even On Fri, Feb 2, 2018 at 8:06 PM, Joe Perches wrote: > On Fri, 2018-02-02 at 12:27 -0600, Rob Herring wrote: >> On Fri, Feb 2, 2018 at 9:49 AM, Igor Stoppa wrote: >> > On 02/02/18 17:40, Rob Herring wrote: >> > > Add SPDX license tag check based on

Re: [PATCH v7 04/24] mm: Dont assume page-table invariance during faults

2018-02-08 Thread Laurent Dufour
On 06/02/2018 21:28, Matthew Wilcox wrote: > On Tue, Feb 06, 2018 at 05:49:50PM +0100, Laurent Dufour wrote: >> From: Peter Zijlstra >> >> One of the side effects of speculating on faults (without holding >> mmap_sem) is that we can race with free_pgtables() and therefore we

[PATCH 0/3] GPU-DRM-GMA500: Adjustments for four function implementations

2018-02-08 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 8 Feb 2018 15:27:38 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in two functions Improve four size

[PATCH 2/3] drm/gma500: Improve four size determinations

2018-02-08 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 8 Feb 2018 15:08:39 +0100 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

2018-02-08 Thread Philippe Ombredanne
Kate, On Fri, Feb 2, 2018 at 9:18 PM, Kate Stewart wrote: > This is the new way to represent GPLv2 only, as described above. > While the GPL-2.0 and GPL-2.0+ notation is still valid, it is deprecated > in the latest version, so transitioning existing over time will

Re: [PATCH 5/9] perf utils: add support for arch standard events

2018-02-08 Thread John Garry
On 08/02/2018 13:55, Jiri Olsa wrote: On Wed, Feb 07, 2018 at 01:45:00AM +0800, John Garry wrote: SNIP + char *perpkg; + char *unit; + char *metric_expr; + char *metric_name; + char *metric_group; + struct list_head list; + char strings[]; +}; +

Re: [PATCH v2 1/2] net, can, ifi: fix "write buffer full" error

2018-02-08 Thread Marc Kleine-Budde
On 02/08/2018 07:47 AM, Heiko Schocher wrote: > the driver reads in the ISR first the IRQpending register, > and clears after that in a write *all* bits in it. > > It could happen that the isr register raise bits between > this 2 register accesses, which leads in lost bits ... > > In case it

Re: [PATCH v2 05/16] arm64: dts: mt7622: add PMIC MT6380 related nodes

2018-02-08 Thread Philippe Ombredanne
Sean, On Tue, Feb 6, 2018 at 10:52 AM, wrote: > From: Sean Wang > > Enable pwrap and MT6380 on mt7622-rfb1 board. Also add all mt6380 > regulator nodes in an alone file to allow similar boards using MT6380 > able to resue the configuration. > >

Re: INFO: task hung in sync_blockdev

2018-02-08 Thread Andi Kleen
> > It seems multiple processes deadlocked on the bd_mutex. > > Unfortunately there's no backtrace for the lock acquisitions, > > so it's hard to see the exact sequence. > > Well, all in the report points to a situation where some IO was submitted > to the block device and never completed (more

Re: [PATCH] acpi: osl: Replace GFP_ATOMIC with GFP_KERNEL in acpi_os_execute

2018-02-08 Thread Rafael J. Wysocki
On Thu, Feb 8, 2018 at 2:41 PM, Jia-Ju Bai wrote: > > > On 2018/2/8 18:20, Rafael J. Wysocki wrote: >> >> On Thursday, February 8, 2018 11:13:10 AM CET Chris Wilson wrote: >>> >>> Quoting Rafael J. Wysocki (2018-02-08 09:51:41) On Thursday, January 25, 2018

Re: [PATCH 5/9] perf utils: add support for arch standard events

2018-02-08 Thread Jiri Olsa
On Thu, Feb 08, 2018 at 02:45:37PM +, John Garry wrote: > On 08/02/2018 13:55, Jiri Olsa wrote: > > On Wed, Feb 07, 2018 at 01:45:00AM +0800, John Garry wrote: > > > > SNIP > > > > > + char *perpkg; > > > + char *unit; > > > + char *metric_expr; > > > + char *metric_name; > > > + char

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Borislav Petkov
On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: > On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check > first") does not apply cleanly. Looks like it relies on 309aac77768c0 > ("x86/microcode: Decrease CPUID use") and 7a93a40be23e5 > ("x86/microcode: Remove local

Re: [PATCH 2/2] mmc: Add mmc_force_detect_change_begin / _end functions

2018-02-08 Thread Quentin Schulz
Hi Ulf, On Wed, Aug 30, 2017 at 03:43:49PM +0200, Ulf Hansson wrote: > On 30 August 2017 at 14:44, Hans de Goede wrote: > > Hi, > > > > > > On 21-07-17 16:35, Quentin Schulz wrote: > >> > >> From: Hans de Goede > >> > >> Some sdio devices have a

[PATCH v2] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-02-08 Thread Philippe Cornu
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver. Signed-off-by: Philippe Cornu --- Changes in v2: Update to "GPL-2.0+" following comments from Laurent Pinchart, Benjamin Gaignard & Philippe Ombredanne.

Re: [PATCH v7 04/24] mm: Dont assume page-table invariance during faults

2018-02-08 Thread Matthew Wilcox
On Thu, Feb 08, 2018 at 03:35:58PM +0100, Laurent Dufour wrote: > I reviewed that part of code, and I think I could now change the way > pte_unmap_safe() is checking for the pte's value. Since we now have all the > needed details in the vm_fault structure, I will pass it to > pte_unamp_same() and

Re: [PATCH 5/9] perf utils: add support for arch standard events

2018-02-08 Thread John Garry
On 08/02/2018 13:55, Jiri Olsa wrote: On Wed, Feb 07, 2018 at 01:45:00AM +0800, John Garry wrote: For some architectures (like arm), there are architecture- defined events. Sometimes these events may be "recommended" according to the architecture standard, in that the implementer is free ignore

Re: [PATCH v9 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-08 Thread Hans Verkuil
Hi Tim, I was so hoping I could make a pull request for this, but I still found problems with g/s/query_dv_timings. I strongly suspect that v4l2-compliance would fail if you boot up the system *without* a source connected. And I discovered that I was missing additional checks in the timings

Re: [PATCH v2 1/3] sched: Stop nohz stats when decayed

2018-02-08 Thread Vincent Guittot
On 8 February 2018 at 15:00, Peter Zijlstra wrote: > On Tue, Feb 06, 2018 at 08:23:05PM +0100, Vincent Guittot wrote: > >> @@ -9207,13 +9231,15 @@ void nohz_balance_enter_idle(int cpu) >> if (!housekeeping_cpu(cpu, HK_FLAG_SCHED)) >> return; >> >> +

Re: [PATCH 2/6] nvme-pci: fix the freeze and quiesce for shutdown and reset case

2018-02-08 Thread Keith Busch
On Thu, Feb 08, 2018 at 10:17:00PM +0800, jianchao.wang wrote: > There is a dangerous scenario which caused by nvme_wait_freeze in > nvme_reset_work. > please consider it. > > nvme_reset_work > -> nvme_start_queues > -> nvme_wait_freeze > > if the controller no response, we have to rely on

Re: [PATCH v2] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-02-08 Thread Philippe Ombredanne
On Thu, Feb 8, 2018 at 3:58 PM, Philippe Cornu wrote: > Add SPDX identifiers to the Synopsys DesignWare MIPI DSI > host controller driver. > > Signed-off-by: Philippe Cornu > --- > Changes in v2: Update to "GPL-2.0+" following comments from Laurent >

[PATCH] x86/decoder: Update UD0 to have operands

2018-02-08 Thread Masami Hiramatsu
According to the December 2017 Intel SDM publication, UD0 now has 2 operands by MODRM byte. So it's length should be 3 bytes. Signed-off-by: Masami Hiramatsu Reported-by: kbuild test robot --- arch/x86/lib/x86-opcode-map.txt |3 ++-

Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2

2018-02-08 Thread Arnd Bergmann
On Thu, Feb 8, 2018 at 2:49 PM, Alan Cox wrote: >> What about Pentium II and 3? I'm using 5 such machines (and also a Pentium >> MMX). I've tried a spectre test before and it wasn't reading anything useful. >> Don't know about meltdown. Is there a complete test

Re: [PATCH] ftrace: fix the file mode of graph tracer and stack tracer

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 09:41:53 +0800 Zhengyuan Liu wrote: > It's something looks weird that those files could be written by root > but shows with no write permission by ll command. > Chen LinX has sent a similar patch to fix > graph function file

Re: [PATCH] sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY

2018-02-08 Thread Leo Yan
On Thu, Feb 08, 2018 at 07:34:54PM +0530, Viresh Kumar wrote: > Forgot Cc'ing me ? :) I meant to copy you, but I wrongly added Vikram :) > On Thu, Feb 8, 2018 at 7:18 PM, Leo Yan wrote: > > Since schedutil kernel thread directly set priority to 0, the macro > >

Re: [PATCH] blk: optimization for classic polling

2018-02-08 Thread Keith Busch
On Sun, May 30, 2083 at 09:51:06AM +0530, Nitesh Shetty wrote: > This removes the dependency on interrupts to wake up task. Set task > state as TASK_RUNNING, if need_resched() returns true, > while polling for IO completion. > Earlier, polling task used to sleep, relying on interrupt to wake it

Re: [PATCH 5/9] perf utils: add support for arch standard events

2018-02-08 Thread John Garry
On 08/02/2018 13:55, Jiri Olsa wrote: On Wed, Feb 07, 2018 at 01:45:00AM +0800, John Garry wrote: SNIP +static int is_json_file(const char *name) +{ + const char *suffix; + + if (strlen(name) < 5) + return 0; + + suffix = name + strlen(name) - 5; + + if

Re: [PATCH 3/3] x86/MCE/AMD: Get address from already initialized block

2018-02-08 Thread Borislav Petkov
On Thu, Feb 01, 2018 at 12:48:13PM -0600, Yazen Ghannam wrote: > From: Yazen Ghannam > > The block address is saved after the block is initialized when > threshold_init_device() is called. > > Use the saved block address, if available, rather than trying to > rediscover

Re: [PATCH -mm -v2] mm, swap, frontswap: Fix THP swap if frontswap enabled

2018-02-08 Thread huang ying
On Wed, Feb 7, 2018 at 3:00 PM, Huang, Ying wrote: > From: Huang Ying > > It was reported by Sergey Senozhatsky that if THP (Transparent Huge > Page) and frontswap (via zswap) are both enabled, when memory goes low > so that swap is triggered,

Re: [PATCH 04/18] tracing/x86: Add arch_get_func_args() function

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 14:28:13 +0900 Namhyung Kim wrote: > Hi Steve, > > On Fri, Feb 02, 2018 at 06:05:02PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Add function to get the function arguments from pt_regs. > > > >

Re: [PATCH] KVM: nVMX: Fix CR4 after VMLAUNCH/VMRESUME failure

2018-02-08 Thread Jim Mattson
Consider the following scenario: L1 has never successfully executed VMLAUNCH. It has written 0 to vmcs12's host CR3 field using VMWRITE, but the current host CR3 value is actually 3e7000. It has written some illegal control field that the L0 KVM doesn't check itself, but defers to the hardware

Re: [PATCH v2 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support

2018-02-08 Thread Farhan Ali
On 02/08/2018 08:11 AM, Bartlomiej Zolnierkiewicz wrote: Hi, [ dri-devel ML & arch/[score,um] Maintainers added to Cc: ] On Friday, February 02, 2018 08:59:57 AM Christian Borntraeger wrote: On 02/01/2018 07:41 PM, Farhan Ali wrote: The 'commit e25df1205f37 ("[S390] Kconfig: menus with

Re: [PATCH] vsprintf: avoid misleading "(null)" for %px

2018-02-08 Thread Andy Shevchenko
On Wed, Feb 7, 2018 at 5:41 PM, Petr Mladek wrote: > On Wed 2018-02-07 16:11:13, Geert Uytterhoeven wrote: > To make it clear. I was talking about "%p" format that is handled > in the pointer() function in lib/vsprintf.c. The "(null)" makes > sense only for the many modifiers

Re: [PATCH v2 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support

2018-02-08 Thread Christian Borntraeger
On 02/08/2018 02:11 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > [ dri-devel ML & arch/[score,um] Maintainers added to Cc: ] > > On Friday, February 02, 2018 08:59:57 AM Christian Borntraeger wrote: >> On 02/01/2018 07:41 PM, Farhan Ali wrote: >>> The 'commit e25df1205f37 ("[S390]

Re: [PATCH v2 1/3] sched: Stop nohz stats when decayed

2018-02-08 Thread Will Deacon
On Thu, Feb 08, 2018 at 03:00:05PM +0100, Peter Zijlstra wrote: > On Tue, Feb 06, 2018 at 08:23:05PM +0100, Vincent Guittot wrote: > > @@ -9222,6 +9248,13 @@ void nohz_balance_enter_idle(int cpu) > > atomic_inc(_cpus); > > > > set_cpu_sd_state_idle(cpu); > > /* >* Ensures

Re: [PATCH] trace-cmd: Make the build messages to show only file names

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 11:18:20 +0200 "Vladislav Valtchev (VMware)" wrote: > Currently, the typical trace-cmd build messages like "COMPILE " and > "BUILD STATIC LIB " show file's full path, instead of just the file > name, as it used to happen before the full support

Re: [PATCH 5/9] perf utils: add support for arch standard events

2018-02-08 Thread John Garry
On 08/02/2018 14:02, Alan Cox wrote: On Thu, 8 Feb 2018 14:54:23 +0100 Jiri Olsa wrote: On Wed, Feb 07, 2018 at 01:45:00AM +0800, John Garry wrote: SNIP static void print_events_table_suffix(FILE *outfp) { fprintf(outfp, "{\n"); @@ -407,6 +469,52 @@ static char

Re: [PATCH v2 1/3] PCI: endpoint: Handle 64-bit BARs properly

2018-02-08 Thread Niklas Cassel
On Thu, Feb 08, 2018 at 06:17:32PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 08 February 2018 06:03 PM, Niklas Cassel wrote: > > A 64-bit BAR uses the succeeding BAR for the upper bits, therefore > > we cannot call pci_epc_set_bar() on a BAR that follows a 64-bit BAR. > > > > If

Re: [PATCH 16/20] auxdisplay: img-ascii-lcd: Remove MIPS_SEAD3 dep.

2018-02-08 Thread Miguel Ojeda
On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: > The MIPS_SEAD3 symbol was removed in commit 64601cb1343f ("leds: Remove SEAD-3 > driver"). Commit 64601cb1343f did not remove the MIPS_SEAD3 symbol, it seemed to a few months before, in 3f5f0a4475e1 ("MIPS: generic:

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-08 Thread Jiri Olsa
On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > From: "leilei.lin" > > Do not install cgroup event into the CPU context and schedule it > if the cgroup is not running on this CPU > > While there is no task of cgroup running specified CPU,

[GIT PULL] Ceph updates for 4.16-rc1

2018-02-08 Thread Ilya Dryomov
Hi Linus, The following changes since commit d8a5b80568a9cb66810e75b182018e9edb68e8ff: Linux 4.15 (2018-01-28 13:20:33 -0800) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.16-rc1 for you to fetch changes up to

Re: [PATCH 03/18] tracing: Add simple arguments to function based events

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 19:18:18 +0900 Namhyung Kim wrote: call->event.type, > > @@ -150,6 +310,15 @@ static void func_event_trace(struct trace_event_file > > *trace_file, > > entry = ring_buffer_event_data(event); > >

Re: [PATCH v8 0/7] TDA1997x HDMI video reciver

2018-02-08 Thread Hans Verkuil
On 02/08/18 16:13, Philipp Zabel wrote: > On Thu, 2018-02-08 at 13:01 +0100, Hans Verkuil wrote: >>> These are likely to be filled correctly already. I've just added a commit >>> to v4l2-compliance to make it easier to see what function is used: >>> >>> v4l2-compliance -m0 -v >> >> Actually,

Applied "ASoC: samsung: Add the DT binding files entry to MAINTAINERS" to the asoc tree

2018-02-08 Thread Mark Brown
The patch ASoC: samsung: Add the DT binding files entry to MAINTAINERS has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regmap-i2c: Off by one in regmap_i2c_smbus_i2c_read/write()" to the regmap tree

2018-02-08 Thread Mark Brown
The patch regmap-i2c: Off by one in regmap_i2c_smbus_i2c_read/write() has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regmap: Fix reversed bounds check in regmap_raw_write()" to the regmap tree

2018-02-08 Thread Mark Brown
The patch regmap: Fix reversed bounds check in regmap_raw_write() has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: stm32-vrefbuf: fix check on ready flag" to the regulator tree

2018-02-08 Thread Mark Brown
The patch regulator: stm32-vrefbuf: fix check on ready flag has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v2] ASoC: use seq_file to dump the contents of dai_list,platform_list and codec_list

2018-02-08 Thread Mark Brown
On Thu, Feb 08, 2018 at 04:25:10PM +0200, Andy Shevchenko wrote: > On Fri, Jan 26, 2018 at 9:16 AM, Donglin Peng wrote: > > I can send another patch after the following patch is merged: > > https://patchwork.kernel.org/patch/10178813/ > It's merged. I think whenever Mark

Re: [PATCH 09/18] tracing: Add indexing of arguments for function based events

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 19:59:24 +0900 Namhyung Kim wrote: > > @@ -347,6 +361,8 @@ static long long get_arg(struct func_arg *arg, unsigned > > long val) > > char buf[8]; > > int ret; > > > > + val += arg->index; > > + > > if (!arg->indirect) > >

Re: [PATCH net] ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE

2018-02-08 Thread Michael S. Tsirkin
On Wed, Feb 07, 2018 at 04:08:25PM +0800, Jason Wang wrote: > To avoid slab to warn about exceeded size, fail early if queue > occupies more than KMALLOC_MAX_SIZE. > > Reported-by: syzbot+e4d4f9ddd42955397...@syzkaller.appspotmail.com > Signed-off-by: Jason Wang > --- >

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-08 Thread Kirill A. Shutemov
On Wed, Feb 07, 2018 at 11:02:26AM -0800, Dave Hansen wrote: > On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled > > TME and MKTME. It includes which encryption policy/algorithm is selected > > for TME or available for

Re: [PATCH v2 1/3] sched: Stop nohz stats when decayed

2018-02-08 Thread Peter Zijlstra
On Thu, Feb 08, 2018 at 04:05:58PM +0100, Vincent Guittot wrote: > On 8 February 2018 at 15:00, Peter Zijlstra wrote: > > On Tue, Feb 06, 2018 at 08:23:05PM +0100, Vincent Guittot wrote: > > > >> @@ -9207,13 +9231,15 @@ void nohz_balance_enter_idle(int cpu) > >> if

[PATCH] UBSAN: support __ubsan_handle_type_mismatch_v1

2018-02-08 Thread Mark Rutland
Originally, UBSAN's __ubsan_handle_type_mismatch took a struct type_mismatch_data, as defined in lib/ubsan.h. This has an unsigned long alignment field. New versions of UBSAN call __ubsan_handle_type_mismatch_v1, which is similar to __ubsan_handle_type_mismatch, but takes a different struct where

Re: [PATCH v2 1/3] sched: Stop nohz stats when decayed

2018-02-08 Thread Peter Zijlstra
On Thu, Feb 08, 2018 at 03:30:31PM +, Will Deacon wrote: > On Thu, Feb 08, 2018 at 03:00:05PM +0100, Peter Zijlstra wrote: > > Without this ordering I think it would be possible to loose has_blocked > > and not observe the CPU either. > > I had a quick look at this, and I think you're right.

Re: [PATCH 11/18] tracing: Add symbol type to function based events

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 20:03:41 +0900 Namhyung Kim wrote: > > @@ -76,6 +76,7 @@ typedef u64 x64; > > typedef u32 x32; > > typedef u16 x16; > > typedef u8 x8; > > +typedef void * symbol; > > > > #define TYPE_TUPLE(type) \ > > { #type, sizeof(type),

[PATCH 1/2] dt-bindings: gpio: Add Spreadtrum EIC controller documentation

2018-02-08 Thread Baolin Wang
This patch adds the device tree bindings for the Spreadtrum EIC controller. The EIC can be recognized as one special type of GPIO, which can only be used as input. Signed-off-by: Baolin Wang --- .../devicetree/bindings/gpio/gpio-eic-sprd.txt | 51 1 file changed, 51

[PATCH 2/2] gpio: Add Spreadtrum EIC driver support

2018-02-08 Thread Baolin Wang
The Spreadtrum platform has 2 EIC controllers, one is in digital chip and another one is in PMIC. The digital-chip EIC controller has 4 sub-modules: debounce EIC, latch EIC, async EIC and sync EIC, each sub-module can has multiple groups and each group contains 8 EICs. The PMIC EIC controller has

Re: [PATCH v4 02/12] clk: sunxi-ng: Use u64 for calculation of nkmp rate

2018-02-08 Thread Maxime Ripard
On Wed, Feb 07, 2018 at 10:17:03PM +0100, Jernej Skrabec wrote: > When parent rate is 24MHz and multiplier N >= 180, intermediate clock > rate doesn't fit in 32 bit variable anymore. > > Because of that, introduce function for calculating clock rate which > uses 64 bit variable for intermediate

Re: [PATCH net-queue 1/3] Partial revert "e1000e: Avoid receiver overrun interrupt bursts"

2018-02-08 Thread Benjamin Poirier
I forgot to mark it as such but this is v2 of the series originally submitted in this thread: https://lkml.org/lkml/2018/1/26/93 Changes since v1: * series rebased to apply over "e1000e: Remove Other from EIAC." http://patchwork.ozlabs.org/patch/867833/ This essentially removes patch 3/3 from

Re: [PATCH 05/19] clk: meson: add regmap clocks

2018-02-08 Thread Jerome Brunet
On Thu, 2018-02-08 at 15:33 +0800, Yixun Lan wrote: > > +/** > > + * struct clk_regmap_mux_data - regmap backed multiplexer clock specific > > data > > + * > > + * @hw: handle between common and hardware-specific interfaces > > + * @offset: offset of theregister controlling

[PATCH v2] perf ftrace: Fix the buffer size in __write_tracing_file

2018-02-08 Thread changbin . du
From: Changbin Du The terminal character '\0' should take into account into size of the string buffer. Without this fix, the '--graph-funcs', '--nograph-funcs' and '--trace-funcs' options didn't work as expected when the doesn't exist. If usersapce writes a non-terminated string, the kernel

Re: [PATCH] spi: bcm2835aux: use 64-bit arithmetic instead of 32-bit

2018-02-08 Thread Eric Anholt
"Gustavo A. R. Silva" writes: > Add suffix ULL to constant 9 in order to give the compiler complete > information about the proper arithmetic to use. Notice that this > constant is used in a context that expects an expression of type > unsigned long long (64 bits, unsigned). > > The expression

[PATCH] media: cx18: remove unused cx18-alsa-mixer

2018-02-08 Thread Corentin Labbe
cx18-alsa-mixer functions are not used since commit 4cb565cc2700 ("V4L/DVB: cx18: make it so cx18-alsa-main.c compiles") 9 year later, lets just remove them. Signed-off-by: Corentin Labbe --- drivers/media/pci/cx18/cx18-alsa-main.c | 1 - drivers/media/pci/cx18/cx18-alsa-mixer.c | 170

[PATCH] media: ivtv: remove ivtv-alsa-mixer

2018-02-08 Thread Corentin Labbe
ivtv-alsa-mixer functions was introduced in commit 269c11fbac4f ("[media] ivtv, ivtv-alsa: Add initial ivtv-alsa interface driver for ivtv") But according to commit message, ivtv-alsa-mixer.c was already dead code. 5 years after, we should remove it. Signed-off-by: Corentin Labbe ---

Re: [PATCH] drm/bridge/synopsys: dsi: Add read feature

2018-02-08 Thread Philippe CORNU
Many thanks Philippe :-) On 02/08/2018 08:39 AM, Andrzej Hajda wrote: > On 04.02.2018 22:31, Philippe Cornu wrote: >> This patch adds the DCS/GENERIC DSI read feature. >> >> Signed-off-by: Philippe Cornu >> --- > Queued to drm-misc-next. > -- > Regards > Andrzej >

Re: [PATCH v2] drm/bridge/synopsys: dsi: Add 1.31 version support

2018-02-08 Thread Philippe CORNU
Many thanks Philippe :-) On 02/08/2018 08:39 AM, Andrzej Hajda wrote: > On 06.02.2018 09:42, Philippe Cornu wrote: >> Add support for the Synopsys DesignWare MIPI DSI version 1.31 >> Two registers need to be updated/added for supporting 1.31: >> * PHY_TMR_CFG 0x9c (updated) >>1.30 [31:24]

Re: [PATCH v5 1/3] arm64/ras: support sea error recovery

2018-02-08 Thread Xie XiuQi
Hi James, Sorry for reply late. On 2018/2/8 3:03, James Morse wrote: > Hi Xie XiuQi, > > On 30/01/18 19:19, James Morse wrote: >> On 26/01/18 12:31, Xie XiuQi wrote: >>> With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors >>> are consumed. According to the existing

Re: [PATCH v5 2/3] GHES: add a notify chain for process memory section

2018-02-08 Thread Xie XiuQi
Hi Boris, Thanks for your comments. On 2018/2/7 18:31, Borislav Petkov wrote: > On Fri, Jan 26, 2018 at 08:31:24PM +0800, Xie XiuQi wrote: >> Add a notify chain for process memory section, with >> which other modules might do error recovery. >> >> Signed-off-by: Xie XiuQi >> Tested-by: Wang

Re: [PATCH v6 00/11] Intel SGX Driver

2018-02-08 Thread Pavel Machek
On Tue 2018-01-09 16:27:30, Jarkko Sakkinen wrote: > On Thu, Jan 04, 2018 at 03:17:24PM +0100, Cedric Blancher wrote: > > So how does this protect against the MELTDOWN attack (CVE-2017-5754) > > and the MELTATOMBOMBA4 worm which uses this exploit? > > > > Ced > > Everything going out of L1 gets

Re: [PATCH] x86/xen: Calculate __max_logical_packages on PV domains

2018-02-08 Thread Juergen Gross
On 08/02/18 01:59, Boris Ostrovsky wrote: > > > On 02/07/2018 06:49 PM, Prarit Bhargava wrote: >> The kernel panics on PV domains because native_smp_cpus_done() is >> only called for HVM domains. >> >> Calculate __max_logical_packages for PV domains. >> >> Fixes: b4c0a7326f5d ("x86/smpboot: Fix

Re: [PATCH] KVM: X86: Fix SMRAM accessing even if VM is shutdown

2018-02-08 Thread Xiao Guangrong
On 02/07/2018 10:16 PM, Paolo Bonzini wrote: On 07/02/2018 07:25, Wanpeng Li wrote: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 786cd00..445e702 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -7458,6 +7458,11 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu,

Re: [PATCH 1/7] dt-bindings: soc: new driver for DaVinci genpd

2018-02-08 Thread Bartosz Golaszewski
2018-02-07 22:47 GMT+01:00 David Lechner : > On 02/07/2018 07:45 AM, Bartosz Golaszewski wrote: >> >> From: Bartosz Golaszewski >> >> Add a simple document for the DaVinci genpd driver. We use clock pm >> exclusively hence no reg property. >> >> Signed-off-by: Bartosz Golaszewski >> --- >>

Re: [PATCH 06/10] perf tools: Use machine__set_kernel_mmap instead of map_groups__fixup_end

2018-02-08 Thread Jiri Olsa
On Thu, Feb 08, 2018 at 09:34:18AM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Wed, Feb 07, 2018 at 03:48:34PM +0100, Jiri Olsa wrote: > > The machine__set_kernel_mmap does the same job as map_groups__fixup_end > > when used on kernel maps within machine__create_kernel_maps call. > > I'm not

Re: [PATCH v4] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board

2018-02-08 Thread Maxime Ripard
On Tue, Feb 06, 2018 at 09:16:47PM +0800, Icenowy Zheng wrote: > Banana Pi M2 Zero board is a H2+-based board by Sinovoip, with a form > factor and GPIO holes similar to Raspberry Pi Zero. > > It features: > - Allwinner H2+ SoC > - Single-chip (16-bit) 512MiB DDR3 DRAM > - Ampak AP6212

Re: [PATCH v21 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-02-08 Thread houlong wei
On Tue, 2018-02-06 at 10:52 +0800, CK Hu wrote: > Hi, Houlong: > > I've some inline comment. > > On Wed, 2018-01-31 at 15:28 +0800, houlong@mediatek.com wrote: > > From: "hs.l...@mediatek.com" > > > > Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code. > > > >

[PATCH 1/2] dt-bindings: media: Binding document for OV7251 camera sensor

2018-02-08 Thread Todor Tomov
Add the document for ov7251 device tree binding. CC: Rob Herring CC: Mark Rutland CC: devicet...@vger.kernel.org Signed-off-by: Todor Tomov --- .../devicetree/bindings/media/i2c/ov7251.txt | 51 ++ 1 file changed, 51 insertions(+) create mode 100644

[PATCH 2/2] media: Add a driver for the ov7251 camera sensor

2018-02-08 Thread Todor Tomov
The ov7251 sensor is a 1/7.5-Inch B VGA (640x480) CMOS Digital Image Sensor from Omnivision. The driver supports the following modes: - 640x480 30fps - 640x480 60fps - 640x480 90fps Output format is MIPI RAW 10. The driver supports configuration via user controls for: - exposure and gain; -

Re: [v3] ARM: dts: imx: Add support for Advantech DMS-BA16

2018-02-08 Thread Shawn Guo
On Wed, Feb 07, 2018 at 03:17:04AM +0800, Ken Lin wrote: > Add support for Advantech DMS-BA16 board, which uses > the Advantech BA-16 module. > > Signed-off-by: Ken Lin > --- > Changes in v3: > - Fix the SPDX lines issue > - Fix the eeprom setting issue > > arch/arm/boot/dts/Makefile

Re: [PATCH 3/3] hid: logitech-dj: delete unnecessary error messages

2018-02-08 Thread Christoph Böhmwalder
On Thu, Feb 08, 2018 at 08:56:28AM +0100, Marcus Folkesson wrote: > > Thank you, but Markus Elfring already has a submitted a patch for this one. > > /Marcus Ah sorry, I must've missed that one. Feel free to dismiss it then (it's obviously independent of the other two anyways). -- Regards,

Re: [PATCH v5 4/4] irqchip/gic-v3-its: add ability to resend MAPC on resume

2018-02-08 Thread Marc Zyngier
On 08/02/18 00:00, dbasehore . wrote: > On Wed, Feb 7, 2018 at 3:22 PM, Brian Norris wrote: >> Hi Marc, >> >> I'm really not an expert on this, so take my observations with a large >> grain of salt: >> >> On Wed, Feb 07, 2018 at 08:46:42AM +, Marc Zyngier wrote: >>> On 07/02/18 01:41, Derek

[ANNOUNCE] 4.4.115-rt130

2018-02-08 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.115-rt130 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.4-rt Head SHA1: 701115b70ba8e8b20c6cfe689db4c1dd6af3ece9 Or to build 4.4.115-rt130

<    3   4   5   6   7   8   9   10   11   12   >