Re: [PATCH v2 25/26] zorro.txt: standardize document format

2017-06-19 Thread Geert Uytterhoeven
On Sat, Jun 17, 2017 at 5:27 PM, Mauro Carvalho Chehab wrote: > Each text file under Documentation follows a different > format. Some doesn't even have titles! > > Change its representation to follow the adopted standard, > using ReST markups for it to be parseable by Sphinx: > > - Use right marks

Re: [PATCH v2] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-19 Thread Kai-Heng Feng
On Mon, Jun 19, 2017 at 3:57 PM, Pali Rohár wrote: > On Monday 19 June 2017 15:36:29 Kai-Heng Feng wrote: >> Dell Latitude 3160 does not have keyboard backlight, but there is a >> sysfs interface for it, which does nothing at all. >> >> KBD_LED_ON_TOKEN is the only token can be found. Since it doe

Re: [PATCH v5 3/4] ARM64: dts: meson-gx: use stable UART bindings with correct gate clock

2017-06-19 Thread Neil Armstrong
On 06/16/2017 10:57 PM, Kevin Hilman wrote: > Neil Armstrong writes: > >> From: Helmut Klein >> >> This patch switches to the stable UART bindings but also add the correct >> gate clock to the non-AO UART nodes for GXBB and GXL SoCs. >> >> Acked-by: Jerome Brunet >> Signed-off-by: Helmut Klein

Re: [PATCH v6 4/4] power: supply: twl4030-charger: add deferred probing for phy and iio

2017-06-19 Thread H. Nikolaus Schaller
> Am 15.06.2017 um 13:57 schrieb Sebastian Reichel > : > > Hi, > > On Wed, Jun 14, 2017 at 11:25:56AM +0200, H. Nikolaus Schaller wrote: >> This fixes an issue if both this twl4030_charger driver and >> phy-twl4030-usb are compiled as modules and loaded in random order. >> >> It has been obser

[PATCH v7 1/2] power: supply: twl4030-charger: move irq allocation to just before irqs are enabled

2017-06-19 Thread H. Nikolaus Schaller
And initialize workers and notifiers as soon as possible. This avoids a potential race if irqs are enabled and triggered too early before the worker is properly set up. Suggested-by: Grygorii Strashko Signed-off-by: H. Nikolaus Schaller --- drivers/power/supply/twl4030_charger.c | 29 +

[PATCH v7 0/2] More fixes for twl4030 charger

2017-06-19 Thread H. Nikolaus Schaller
Changes V7: * removed already merged patches from patch set * further fix for potentially wrong irq and notifier initialization sequence (suggested by Sebastian Reichel) * NULLify transceiver pointer in case of errors (suggested by Sebastian Reichel) 2017-06-14 11:25:59: Changes V6: * split up -E

[PATCH v7 2/2] power: supply: twl4030-charger: add deferred probing for phy and iio

2017-06-19 Thread H. Nikolaus Schaller
This fixes an issue if both this twl4030_charger driver and phy-twl4030-usb are compiled as modules and loaded in random order. It has been observed on GTA04 and OpenPandora devices that in worst case the boot process hangs and in best case the AC detection fails with a warning. Therefore we add

Re: [PATCH v5 0/4] tty/serial: meson_uart: add support for core clock handling

2017-06-19 Thread Neil Armstrong
On 06/14/2017 10:29 AM, Neil Armstrong wrote: > This patchset is a re-spin of Helmut Klein's v3 patchset at [0] and the v4 > patchset at [1]. > > Initially, the original patchset was made to enable usage on the non-AO UARTS > not enabled by the Bootloader (uart_B and uart_C), but the patchset nee

Re: [PATCH v2] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-19 Thread Pali Rohár
On Monday 19 June 2017 16:39:14 Kai-Heng Feng wrote: > The same rule should also apply to kbd_info.levels, right? IIRC no. levels = 1 means you can set two levels (0 and 1). Look into code. -- Pali Rohár pali.ro...@gmail.com

Re: [PATCH 23/28] mbcache: make mbcache more generic

2017-06-19 Thread Jan Kara
On Thu 15-06-17 11:25:02, Tahsin Erdogan wrote: > On Thu, Jun 15, 2017 at 12:41 AM, Jan Kara wrote: > > Can you explain a bit more what do you mean by "make it more generic" as it > > seems you just rename a couple of things here... > > The change is really just that, having names that are more g

[PATCH 2/2] crypto: caam - fix gfp allocation flags (part II)

2017-06-19 Thread Horia Geantă
This is the 2nd part of fixing the usage of GFP_KERNEL for memory allocations, taking care off all the places that haven't caused a real problem / failure. Again, the issue being fixed is that GFP_KERNEL should be used only when MAY_SLEEP flag is set, i.e. MAY_BACKLOG flag usage is orthogonal. Sig

[PATCH 1/2] crypto: caam - fix gfp allocation flags (part I)

2017-06-19 Thread Horia Geantă
Changes in the SW cts (ciphertext stealing) code in commit 0605c41cc53ca ("crypto: cts - Convert to skcipher") revealed a problem in the CAAM driver: when cts(cbc(aes)) is executed and cts runs in SW, cbc(aes) is offloaded in CAAM; cts encrypts the last block in atomic context and CAAM incorrectly

[PATCH v2 1/2] sched/rt: add utilization tracking

2017-06-19 Thread Vincent Guittot
schedutil governor relies on cfs_rq's util_avg to choose the OPP when cfs tasks are running. When the CPU is overloaded by cfs and rt tasks, cfs tasks are preempted by rt tasks and in this case util_avg reflects the remaining capacity that is used by cfs tasks but not what cfs tasks want to use. In

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Sebastian Andrzej Siewior
On 2017-06-17 10:14:37 [+0200], Mike Galbraith wrote: > Hi Sebastian, Hi Mike, > > I noticed a couple things wrt migrate_disable() changes... > > During that rebase, migrate_disable() was changed to no longer map to > preempt_disable() for nonrt, but some patches still assume it does.  It > now

[PATCH v2 0/2] sched/rt: track rt rq utilization

2017-06-19 Thread Vincent Guittot
When both cfs and rt tasks compete to run on a CPU, we can see some frequency drops with schedutil governor. In such case, the cfs_rq's utilization doesn't reflect anymore the utilization of cfs tasks but only the remaining part that is not used by rt tasks. We should monitor the stolen utilization

[PATCH v2 2/2] cpufreq/schedutil: add rt utilization tracking

2017-06-19 Thread Vincent Guittot
add both cfs and rt utilization when selecting an OPP as rt can preempt and steal cfs's running time --- kernel/sched/cpufreq_schedutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c :if expand("%") == ""|br

Re: [PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-19 Thread Olivier MOYSAN
Hello Mark, On 06/16/2017 07:49 PM, Mark Brown wrote: > On Fri, Jun 16, 2017 at 02:15:29PM +0200, olivier moysan wrote: >> Use a specific flag for SAI interface instead >> of common stm32 asoc flag. > > This doesn't apply against current code, please check and resend. > I pushed this patch-set

Re: linux-next: build failure after merge of the block tree

2017-06-19 Thread Sebastian Ott
On Thu, 15 Jun 2017, Sebastian Ott wrote: > On Tue, 13 Jun 2017, Stephen Rothwell wrote: > > After merging the block tree, today's linux-next build (s390x > > s390-defconfig) failed like this: > > > > drivers/s390/block/scm_blk.c:293:10: error: 'BLK_MQ_RQ_QUEUE_BUSY' > > undeclared (first use in

Re: [PATCH 28/28] quota: add extra inode count to dquot transfer functions

2017-06-19 Thread Jan Kara
On Fri 16-06-17 18:50:58, Tahsin Erdogan wrote: > On Thu, Jun 15, 2017 at 12:57 AM, Jan Kara wrote: > > Hum, rather handle this similarly to how we handle delalloc reserved space. > > Add a callback to dq_ops to get "inode usage" of an inode and then use it > > in dquot_transfer(), dquot_free_inod

Re: [PATCH v15 2/7] power: add power sequence library

2017-06-19 Thread Peter Chen
On Mon, Jun 19, 2017 at 10:09:58AM +0200, Ulf Hansson wrote: > On 15 June 2017 at 12:06, Peter Chen wrote: > > On Thu, Jun 15, 2017 at 11:35:20AM +0200, Ulf Hansson wrote: > >> On 15 June 2017 at 11:11, Peter Chen wrote: > >> > On Thu, Jun 15, 2017 at 10:11:45AM +0200, Ulf Hansson wrote: > >> >>

[PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix

2017-06-19 Thread Jerome Brunet
Shenzhen Libre Technology Co., Ltd is a single board computer manufacturer Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/

Re: [PATCH v3 4/4] dt-bindings: media: Document Synopsys Designware HDMI RX

2017-06-19 Thread Jose Abreu
Hi Sylwester, Thanks for the feedback! On 18-06-2017 18:34, Sylwester Nawrocki wrote: > Hi Jose, > > On 06/16/2017 06:38 PM, Jose Abreu wrote: >> Document the bindings for the Synopsys Designware HDMI RX. >> >> Signed-off-by: Jose Abreu >> new file mode 100644 >> index 000..d30cc1e >> ---

[PATCH v2 3/3] ARM64: dts: meson-gxl: Add Libre Technology CC support

2017-06-19 Thread Jerome Brunet
Add support for the CC board from Shenzhen Libre Technology More information about the board are available here: https://libre.computer/blog/ Cc: Neil Armstrong Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-gxl-s905x-libretec

[PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board

2017-06-19 Thread Jerome Brunet
This patchset adds support for the CC board from Shenzhen Libre Technology This board derives from the s905x p212 reference design. it provides: * Ethernet using the internal PHY * 4 USB ports * Composite Audio/Video jack * HDMI * IR It also provides 2 Headers (40 and 8 pins) for GPIOs and the fo

[PATCH v2 2/3] dt-bindings: arm: amlogic: Add Libre Technology CC board

2017-06-19 Thread Jerome Brunet
Add bindings documentation for the CC board from Shenzhen Libre Technology Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings

[PATCH 1/1] ASoC: stm32: change configuration flag

2017-06-19 Thread olivier moysan
Use a specific flag for SAI and I2S interfaces, instead of common flag. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 19 --- sound/soc/stm/Makefile | 6 +++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kco

Re: [PATCH v2] clocksource/drivers/tcb_clksrc: make IO endian agnostic

2017-06-19 Thread Nicolas Ferre
Le 17/06/2017 à 13:35, Alexandre Belloni a écrit : > Now that AVR32 is gone, we can use the proper IO accessors that are > correctly handling endianness. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Thanks! > --- > Changes in v2: > - Also use the _relaxed version in tc_next_ev

Re: [PATCH v4 1/2] media: i2c: adv748x: add adv748x driver

2017-06-19 Thread Hans Verkuil
On 06/13/2017 02:35 AM, Kieran Bingham wrote: From: Kieran Bingham Provide support for the ADV7481 and ADV7482. The driver is modelled with 4 subdevices to allow simultaneous streaming from the AFE (Analog front end) and HDMI inputs though two CSI TX entities. The HDMI entity is linked to the

Re: [PATCH v2 2/4] drm/panel: Add support for s6e63j0x03 panel driver

2017-06-19 Thread Andrzej Hajda
On 15.06.2017 12:03, Hoegeun Kwon wrote: > This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver > which uses mipi_dsi bus to communicate with panel. The panel has > 320×320 resolution in 1.63" physical panel. This panel is used in > Samsung Galaxy Gear 2. > > Signed-off-by: Inki Dae >

Re: [PATCH] kbuild: switch to thin archives

2017-06-19 Thread Pavel Machek
On Mon 2017-06-19 17:45:21, Nicholas Piggin wrote: > On Sun, 18 Jun 2017 12:04:26 +0200 > Pavel Machek wrote: > > > On Fri 2017-06-02 22:54:54, Nicholas Piggin wrote: > > > Switch from incremental build to thin archives for packaging built-in.o. > > > binutils version must be bumped to 2.20. Prop

[PATCH v4 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce struct ipmmu_features to track various hardware and software implementation changes inside the driver for different kinds of IPMMU hardware. Add use_ns_alias_offset as a first example of a feature to control if the secure register bank offset should be used or not. Si

[PATCH v4 00/09] iommu/ipmmu-vmsa: r8a7795 support V4

2017-06-19 Thread Magnus Damm
iommu/ipmmu-vmsa: r8a7795 support V4 [PATCH v4 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias [PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature [PATCH v4 03/09] iommu/ipmmu-vmsa: Enable multi context support [PATCH v4 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DE

[PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-06-19 Thread Magnus Damm
From: Magnus Damm Add root device handling to the IPMMU driver by allowing certain DT compat strings to enable has_cache_leaf_nodes that in turn will support both root devices with interrupts and leaf devices that face the actual IPMMU consumer devices. Signed-off-by: Magnus Damm --- Changes

[PATCH v4 03/09] iommu/ipmmu-vmsa: Enable multi context support

2017-06-19 Thread Magnus Damm
From: Magnus Damm Add support for up to 8 contexts. Each context is mapped to one domain. One domain is assigned one or more slave devices. Contexts are allocated dynamically and slave devices are grouped together based on which IPMMU device they are connected to. This makes slave devices tied to

[PATCH v4 07/09] iommu/ipmmu-vmsa: Make IMBUSCTR setup optional

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce a feature to allow opt-out of setting up IMBUSCR. The default case is unchanged. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2: - None Changes since V1: - Updated the commit message - Reworked patch to coexist with the multi conte

[PATCH v4 05/09] iommu/ipmmu-vmsa: IPMMU device is 40-bit bus master

2017-06-19 Thread Magnus Damm
From: Magnus Damm The r8a7795 IPMMU supports 40-bit bus mastering. Both the coherent DMA mask and the streaming DMA mask are set to unlock the 40-bit address space for coherent allocations and streaming operations. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2:

[PATCH v4 08/09] iommu/ipmmu-vmsa: Allow two bit SL0

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce support for two bit SL0 bitfield in IMTTBCR by using a separate feature flag. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2: - None Changes since V1: - None drivers/iommu/ipmmu-vmsa.c | 14 +- 1 file changed, 13 ins

[PATCH v4 06/09] iommu/ipmmu-vmsa: Write IMCTR twice

2017-06-19 Thread Magnus Damm
From: Magnus Damm Write IMCTR both in the root device and the leaf node. To allow access of IMCTR introduce the following function: - ipmmu_ctx_write_all() While at it also rename context functions: - ipmmu_ctx_read() -> ipmmu_ctx_read_root() - ipmmu_ctx_write() -> ipmmu_ctx_write_root() Si

[PATCH v4 09/09] iommu/ipmmu-vmsa: Hook up r8a7795 DT matching code

2017-06-19 Thread Magnus Damm
From: Magnus Damm Tie in r8a7795 features and update the IOMMU_OF_DECLARE compat string to include the updated compat string. Signed-off-by: Magnus Damm --- Changes since V3: - Rebased code on top of [PATCH 00/04] iommu/ipmmu-vmsa: 32-bit ARM update This includes support for iommu_fwsp

[PATCH v4 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE()

2017-06-19 Thread Magnus Damm
From: Magnus Damm Hook up IOMMU_OF_DECLARE() support in case CONFIG_IOMMU_DMA is enabled. The only current supported case for 32-bit ARM is disabled, however for 64-bit ARM usage of OF is required. Signed-off-by: Magnus Damm --- Changes since V3: - Reworked to fit on top of [PATCH 00/04]

Re: linux-next: manual merge of the uuid tree with the arm64 tree

2017-06-19 Thread Will Deacon
Hi Stephen, Christoph, Tyler, On Fri, Jun 16, 2017 at 03:21:36PM +1000, Stephen Rothwell wrote: > Today's linux-next merge of the uuid tree got conflicts in: > > drivers/acpi/apei/ghes.c > include/uapi/linux/uuid.h > > between commits: > > f4dccde3f9b9 ("ras: acpi/apei: cper: add support

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Kishon Vijay Abraham I
Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: > Hi Kishon/Bjorn, > > What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and > PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN register. > > Value of register After change: > register[PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI] = LEG_E

[PATCH] drm: exynos: hdmi: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 122941192 0 1348634ae drivers/gpu/d

Re: [PATCH v2 12/12] ASoC: Fix use-after-free at card unregistration

2017-06-19 Thread Takashi Iwai
On Mon, 19 Jun 2017 09:27:09 +0200, Robert Jarzmik wrote: > > From: Takashi Iwai > > soc_cleanup_card_resources() call snd_card_free() at the last of its > procedure. This turned out to lead to a use-after-free. > PCM runtimes have been already removed via soc_remove_pcm_runtimes(), > while it'

[PATCH] hwmon: (ibmpowernv) Add current(A) sensors

2017-06-19 Thread Shilpasri G Bhat
This patch exports current(A) sensors in inband sensors copied to main memory by OCC. Signed-off-by: Shilpasri G Bhat --- drivers/hwmon/ibmpowernv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c index 862b832..e0557

[PATCH 2/3] fsi/master-gpio: Add locking around gpio operations during break & link enable

2017-06-19 Thread Jeremy Kerr
Currently, we perform GPIO accesses in fsi_master_gpio_break and fsi_master_link_enable, without holding cmd_lock. This change adds the appropriate locking. Signed-off-by: Jeremy Kerr Reviewed-by: Joel Stanley Reviewed-by: Christopher Bostic --- drivers/fsi/fsi-master-gpio.c | 7 +++ 1 fil

[PATCH 3/3] fsi/master-gpio: Add external mode

2017-06-19 Thread Jeremy Kerr
This change introduces an 'external mode' for GPIO-based FSI masters, allowing the clock and data lines to be driven by an external source. For example, external mode is selected by a user when an external debug device is attached to the FSI pins. To do this, we need to set specific states for the

[PATCH 0/3] Add 'external mode' for GPIO-based FSI master

2017-06-19 Thread Jeremy Kerr
This series (on top of current char-misc-next) implements "external mode" (ie, support for FSI debug devices) for the GPIO-based FSI master driver. We implement this control in the GPIO master driver, as it has the mapping of raw GPIO pins to fsi control signals, and provides a mechanism for the k

[PATCH 1/3] fsi: Add fsi_master_rescan()

2017-06-19 Thread Jeremy Kerr
We'll want non-core fsi code to trigger a rescan, so introduce a non-static fsi_master_rescan() function. Use this for the existing unscan/scan behaviour too. Signed-off-by: Jeremy Kerr Reviewed-by: Joel Stanley Reviewed-by: Christopher Bostic --- drivers/fsi/fsi-core.c | 9 +++-- driver

[PATCH v2] Input: Add driver for GOODiX GTx5 series touchsereen

2017-06-19 Thread Wang Yafei
This driver is for GOODiX GTx5 series touchscreen controllers such as GT8589, GT7589. This driver designed with hierarchial structure, for that can be modified to support subsequent controllers easily. Some zones of the touchscreen can be set to buttons(according to the hardware). That is why it ha

Re: [PATCH v3] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-19 Thread Arvind Yadav
Hi, Thanks for you suggestion. I will update change log and re-submit. Regards ~arvind On Monday 19 June 2017 02:49 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 16 June 2017 01:48 PM, Arvind Yadav wrote: Hi Kishon/Bjorn, What is correct Setting for these two PCIECTRL_DRA7XX_CONF_IRQSTATU

Re: [RFC PATCH 24/33] irqchip/gic-v3-its: Add VPE scheduling

2017-06-19 Thread Marc Zyngier
Coming back to this after spending too long doing something else... On 16/03/17 21:41, Shanker Donthineni wrote: > Hi Eric, > > > On 03/16/2017 04:23 PM, Auger Eric wrote: >> Hi, >> >> On 17/01/2017 11:20, Marc Zyngier wrote: >>> When a VPE is scheduled to run, the corresponding redistributor mu

Re: [PATCH v2 0/3] mm: huge pages: Misc fixes for issues found during fuzzing

2017-06-19 Thread Will Deacon
On Thu, Jun 15, 2017 at 01:32:52PM -0700, Andrew Morton wrote: > On Tue, 13 Jun 2017 11:28:39 +0100 Will Deacon wrote: > > > This is v2 of the patches previously posted here: > > > >http://www.spinics.net/lists/linux-mm/msg128577.html > > > > Changes since v1 include: > > > > * Use smp_m

Re: [PATCH V3] staging: vt6655 - style fix

2017-06-19 Thread Dan Carpenter
On Sat, Jun 17, 2017 at 02:56:48PM +1200, Derek Robson wrote: > Fix checkpatch.pl warnings of the form "function definition argument > 'foo' should also have an identifier name" in header files. > > Signed-off-by: Derek Robson > > V1 and V2 had vague subject line > --- The subject is *still* to

[PATCH v2 1/3] tools: timer: add rtctest_setdate

2017-06-19 Thread Benjamin Gaignard
This tool allow to set directly the time and date to a RTC device. Unlike other tools isn't doens't use "struct timeval" or "time_t" so it is safe for 32bits platforms when testing for y2038/2106 bug. Signed-off-by: Benjamin Gaignard --- tools/testing/selftests/timers/Makefile | 2 +-

[PATCH v2 2/3] tool: timer: rtctest add check for problematic dates

2017-06-19 Thread Benjamin Gaignard
Some dates could be problematic because they reach the limits of RTC hardware capabilities. This patch add various of them but since it will change RTC date it will be activated only when 'd' args is set. Signed-off-by: Benjamin Gaignard --- tools/testing/selftests/timers/rtctest.c | 121 +++

[PATCH v2 3/3] rtc: st-lpc: make it robust against y2038/2106 bug

2017-06-19 Thread Benjamin Gaignard
Make driver use u64 variables and functions to be sure that it will support dates after year 2038. Signed-off-by: Benjamin Gaignard Acked-by: Patrice Chotard --- drivers/rtc/rtc-st-lpc.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-st-

[PATCH v2 0/3] rtc: make st-lpc robust against y2038/2106 bug

2017-06-19 Thread Benjamin Gaignard
On 32bits platforms "struct timeval" or "time_t" are using u32 to code the date, this cause tools like "date" or "hwclock" failed even before setting the RTC device if the date is superior to year 2038 (or 2106). To avoid this problem I add one RTC test file which directly use RTC ioctl to set and

Re: [PATCH v3 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-19 Thread Jose Abreu
Hi Sylwester, Thanks again for the feedback! On 18-06-2017 19:04, Sylwester Nawrocki wrote: > On 06/16/2017 06:38 PM, Jose Abreu wrote: >> This is an initial submission for the Synopsys Designware HDMI RX >> Controller Driver. This driver interacts with a phy driver so that >> a communication b

Re: [PATCH v15 2/7] power: add power sequence library

2017-06-19 Thread Ulf Hansson
[...] >> > >> > Unlike the MMC design, there is no dts entry to indicate whether this >> > device needs pwrseq or not at this design, it will only carry out power >> > on sequence after matching. So, return -EPROBE_DEFER may not work since >> > this device may never need pwrseq. >> >> Then, how wi

RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-19 Thread Gabriele Paoloni
Hi Rafael, Mika, Lorenzo > -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: 16 June 2017 13:23 > To: Mika Westerberg > Cc: Rafael J. Wysocki; Gabriele Paoloni; Lorenzo Pieralisi; Rafael J. > Wysocki; catalin.mari...@arm.co

[PATCH v4] PCI: dwc: dra7xx: Fix incorrect usage of IRQSTATUS_* registers

2017-06-19 Thread Arvind Yadav
'commit 47ff3de911a7 ("PCI: dra7xx: Add TI DRA7xx PCIe driver")' in order to clear MSI and MAIN interrupts requests wrote '0' to PCIECTRL_TI_CONF_IRQSTATUS_MSI and PCIECTRL_TI_CONF_IRQSTATUS_MAIN registers. However the TRM has mentioned to write '1' to clear pending event in these two registers. F

[RFC] HID: input: do not increment usages when a duplicate is found

2017-06-19 Thread Benjamin Tissoires
This is something that bothered us from a long time. When hid-input doesn't know how to map a usage, it uses *_MISC. But there is something else which increments the usage if the evdev code is already used. This leads to few issues: - some devices may have their ABS_X mapped to ABS_Y if they expor

[PATCH 1/2] ASoC: da7219: Fix HP detection procedure for all MCLK frequencies

2017-06-19 Thread Adam Thomson
Currently when HP detection procedure runs for certain MCLK frequencies, when PLL is bypassed, the procedure will incorrectly report Lineout instead of Headphones due to timing incosistencies. To avoid this problem, the PLL is temporarily enabled (if currently bypassed and MCLK present) to provide

[PATCH 2/2] ASoC: Intel: bxt: Move codec sysclk config to codec_init function

2017-06-19 Thread Adam Thomson
The MCLK for DA7219 does not change in this platform, but is currently being configured everytime as part of the platform_clock event handler for DAPM. The upshot of this is that we have unnecessary calls to this function, and it also means that if a stream hasn't yet been started, DA7219 driver do

[PATCH 0/2] ASoC: da7219: Resolve HP detect issues relating to MCLK

2017-06-19 Thread Adam Thomson
The patch set resolves issues in the HP detect feature, relating to MCLK, where the feature can misdetect headphones as lineout. Adam Thomson (2): ASoC: da7219: Fix HP detection procedure for all MCLK frequencies ASoC: Intel: bxt: Move codec sysclk config to codec_init function sound/soc/cod

[PATCH v10 0/3] add PCIe driver for Kirin PCIe

2017-06-19 Thread Xiaowei Song
Before Version Patches == patch v9 http://www.spinics.net/lists/linux-pci/msg61821.html patch V8 http://www.spinics.net/lists/linux-pci/msg61715.html patch V7 https://www.spinics.net/lists/linux-pci/msg61664.html patch V6 https://www.spinics.net/lists/linux-pci/msg61610.html pa

[PATCH v10 1/3] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Rob Herring --- .../devicetree/bindings/pci/kirin-pcie.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/kirin-pcie.txt diff --git a/Documentation/devicetree/b

Re: [PATCH 2/2] xen/input: add multi-touch support

2017-06-19 Thread Oleksandr Andrushchenko
Ping On 06/08/2017 09:45 AM, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 06/07/2017 07:56 PM, Dmitry Torokhov wrote: On Wed, May 31, 2017 at 12:06:56PM +0300, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 05/30/2017 07:37 PM, Dmitry Torokhov wrote: On Tue, May 30, 2017 at 03:50:20PM +0300,

[PATCH 1/3] PCI: mediatek: modify controller powerup logic

2017-06-19 Thread Ryder Lee
The current powerup logic may lead to unbalanced pm_runtime_enable() if the earlier probe failed due to -EPROBE_DEFER. Hence we do a little flow adjustment to avoid that: Parse standard PCI resources firstly, then check properties for each port, power on controller finally. Also, this patch remov

[PATCH v10 3/3] ARM4: defconfig: Enable Kirin PCIe

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfi

[PATCH 2/3] PCI: mediatek: turn off subsys power if no link up detected

2017-06-19 Thread Ryder Lee
There is no need to keep controller power on if slots are all empty, so a check is added to turn it off. Besides, host controllers may not need PM domain in some SoCs, thus we add dev->pm_domain to check that. Signed-off-by: Ryder Lee --- drivers/pci/host/pcie-mediatek.c | 40 +++

[PATCH 0/3] change powerup logic for MediaTek PCIe controller

2017-06-19 Thread Ryder Lee
Hi Bjorn, This patch series does some modifications to powerup logic to avoid unbalanced PM warnings, and turns off host power if no link is detected. I also make some properties(eg, PHY/reset/..) optional to gain more flexibility just in case future SoCs don't have it. Could you also fold this

[PATCH 3/3] PCI: mediatek: make some properties optioanl

2017-06-19 Thread Ryder Lee
Some properties for PCIe controller are optional and therefore change to use *optional* function. Signed-off-by: Ryder Lee --- drivers/pci/host/pcie-mediatek.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/pci/host/pcie-mediatek.c b/drivers/pci/

[PATCH v10 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-19 Thread Xiaowei Song
Hisilicon PCIe Driver shares the common functions for PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Low power mode (L1 sub-state and Suspend/Resume), hotplug and MSI feature are not supported currently. Cc: Guodong Xu Sig

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-19 Thread Mika Westerberg
On Mon, Jun 19, 2017 at 09:50:49AM +, Gabriele Paoloni wrote: > Many thanks for your response and your help here. > > I guess that as conclusion with respect to the current v9 patchset we can > disregard the idea of MFD and modify the current v9 so that it doesn't > touch directly ACPI resourc

Re: [PATCH v2] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-06-19 Thread Minghsiu Tsai
Hi, Hans, On Fri, 2017-06-16 at 12:42 +0200, Hans Verkuil wrote: > On 05/12/17 04:42, Minghsiu Tsai wrote: > > From: Daniel Kurtz > > > > Experiments show that the: > > (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPUT > > Please drop this, since this no longer applies to this patch. > I w

RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-19 Thread Gabriele Paoloni
Hi Mika > -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: 19 June 2017 11:02 > To: Gabriele Paoloni > Cc: Rafael J. Wysocki; Lorenzo Pieralisi; Rafael J. Wysocki; > catalin.mari...@arm.com; will.dea...@arm.com; robh...@kernel.org; > frowand.l...@

Re: linux-next: manual merge of the uuid tree with the arm64 tree

2017-06-19 Thread Andy Shevchenko
On Mon, 2017-06-19 at 10:19 +0100, Will Deacon wrote: > Hi Stephen, Christoph, Tyler, > On Fri, Jun 16, 2017 at 03:21:36PM +1000, Stephen Rothwell wrote: > > > Apologies for this: I've just dropped the offending merge from the > arm64 > tree so you can include the uuid tree in -next again. > > T

[PATCH v10 3/3] ARM4: defconfig: Enable Kirin PCIe

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfi

[PATCH v10 1/3] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Rob Herring --- .../devicetree/bindings/pci/kirin-pcie.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/kirin-pcie.txt diff --git a/Documentation/devicetree/b

[PATCH v10 0/3] add PCIe driver for Kirin PCIe

2017-06-19 Thread Xiaowei Song
Before Version Patches == patch v9 http://www.spinics.net/lists/linux-pci/msg61821.html patch V8 http://www.spinics.net/lists/linux-pci/msg61715.html patch V7 https://www.spinics.net/lists/linux-pci/msg61664.html patch V6 https://www.spinics.net/lists/linux-pci/msg61610.html pa

[PATCH v10 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-19 Thread Xiaowei Song
Hisilicon PCIe Driver shares the common functions for PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Low power mode (L1 sub-state and Suspend/Resume), hotplug and MSI feature are not supported currently. Cc: Guodong Xu Sig

Re: [PATCH v2] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-06-19 Thread Hans Verkuil
On 06/19/2017 12:03 PM, Minghsiu Tsai wrote: Hi, Hans, On Fri, 2017-06-16 at 12:42 +0200, Hans Verkuil wrote: On 05/12/17 04:42, Minghsiu Tsai wrote: From: Daniel Kurtz Experiments show that the: (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPUT Please drop this, since this no longer a

Re: [PATCH] drm: exynos: hdmi: make of_device_ids const.

2017-06-19 Thread Andrzej Hajda
On 19.06.2017 11:24, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data bss dec hex file

sudden increase in load 4 -> 258 in few minutes with NVidia DNN training

2017-06-19 Thread David van Leeuwen
Hello, I have a system with two NVidia gtx 1080 graphics cards for deep neural net training. Every once in a while (1x per hour--day) the load of the system goes up from 4 to 258 in a matter of minutes, without CPU utilization. The systems becomes unusable, only hard reboots suffice. It seems t

[PATCH] drm: exynos: constify mixer_match_types and *_mxr_drv_data.

2017-06-19 Thread Arvind Yadav
File size before: textdata bss dec hex filename 99831424 0 114072c8f drivers/gpu/drm/exynos/exynos_mixer.o File size after constify: textdata bss dec hex filename 11231 176 0 114072c8f drivers/gpu/drm/exynos/exynos_mixer.o

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Mike Galbraith
On Mon, 2017-06-19 at 10:52 +0200, Sebastian Andrzej Siewior wrote: > On 2017-06-17 10:14:37 [+0200], Mike Galbraith wrote: > > > During that rebase, migrate_disable() was changed to no longer map to > > preempt_disable() for nonrt, but some patches still assume it does.  It > > now depends upon P

Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in debugfs/regulator_summary

2017-06-19 Thread Mark Brown
On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote: > Extend regulator's info line with enabled/disabled status. Why is the use count not enough information here? signature.asc Description: PGP signature

Re: [PATCH v2] HID: Replace semaphore driver_lock with mutex

2017-06-19 Thread David Herrmann
Hi On Wed, Jun 14, 2017 at 1:58 PM, Arnd Bergmann wrote: > Does that mean that we can have a concurrent hid_device_remove() > and hid_device_probe() on the same device, using different > drivers and actually still need the driver_lock for that? I would assume > that the driver core handles that p

Re: linux-next: manual merge of the uuid tree with the arm64 tree

2017-06-19 Thread Will Deacon
On Mon, Jun 19, 2017 at 01:06:30PM +0300, Andy Shevchenko wrote: > On Mon, 2017-06-19 at 10:19 +0100, Will Deacon wrote: > > Hi Stephen, Christoph, Tyler, > > On Fri, Jun 16, 2017 at 03:21:36PM +1000, Stephen Rothwell wrote: > > > > > > Apologies for this: I've just dropped the offending merge fr

[PATCH v11 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-19 Thread Xiaowei Song
Hisilicon PCIe Driver shares the common functions for PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Low power mode (L1 sub-state and Suspend/Resume), hotplug and MSI feature are not supported currently. Cc: Guodong Xu Sig

Re: [PATCH][mmc-next] mmc: sdhci-pci: make guid intel_dsm_guid static

2017-06-19 Thread Ulf Hansson
On 14 June 2017 at 08:08, Adrian Hunter wrote: > On 13/06/17 16:14, Colin King wrote: >> From: Colin Ian King >> >> The guid intel_dsm_guid does not need to be in global scope, so make >> it static. >> >> Cleans up sparse warning: >> "symbol 'intel_dsm_guid' was not declared. Should it be static?

Re: [PATCH] of: update ePAPR references to point to Devicetree Specification

2017-06-19 Thread Frank Rowand
On 06/18/17 07:05, Rob Herring wrote: > On Tue, Jun 13, 2017 at 07:49:04PM -0700, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> The Devicetree Specification has superseded the ePAPR as the >> base specification for bindings. Update files in Documentation >> to reference the new docume

[PATCH v11 1/3] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Rob Herring --- .../devicetree/bindings/pci/kirin-pcie.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/kirin-pcie.txt diff --git a/Documentation/devicetree/b

[PATCH v11 3/3] ARM4: defconfig: Enable Kirin PCIe

2017-06-19 Thread Xiaowei Song
Cc: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfi

[PATCH v11 0/3]add PCIe driver for Kirin PCIe

2017-06-19 Thread Xiaowei Song
Before Version Patches == patch v9 http://www.spinics.net/lists/linux-pci/msg61821.html patch V8 http://www.spinics.net/lists/linux-pci/msg61715.html patch V7 https://www.spinics.net/lists/linux-pci/msg61664.html patch V6 https://www.spinics.net/lists/linux-pci/msg61610.html pa

Re: [PATCH][mmc-next] mmc: sdhci-pci: make guid intel_dsm_guid static

2017-06-19 Thread Christoph Hellwig
Please resend any patches I should pick up directly to me, thanks.

[PATCH v3] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-19 Thread Kai-Heng Feng
Dell Latitude 3160 does not have keyboard backlight, but there is a sysfs interface for it, which does nothing at all. KBD_LED_ON_TOKEN is the only token can be found. Since it doesn't have KBD_LED_OFF_TOKEN or KBD_LED_AUTO_*_TOKEN, it should be safe to assume at least both ON and OFF token should

[PATCH] perf test llvm: Avoid error when PROFILE_ALL_BRANCHES is set

2017-06-19 Thread Wang Nan
'if' is defined to complex code when CONFIG_PROFILE_ALL_BRANCHES is selected, which cause a 'perf test LLVM' failure like: $ ./perf test LLVM 35: LLVM search and compile: 35.1: Basic BPF llvm compile: Ok 35.2: kbuild searching :

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