[PATCH] iio: light: bh1750: Move static keyword to the front of declaration

2019-09-02 Thread Krzysztof Wilczynski
Move the static keyword to the front of declaration of bh1750_chip_info_tbl, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/iio/light/bh1750.c:64:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] Sig

Re: [PATCH] media: cec-notifier: debounce reporing of invalid phys addr

2019-09-02 Thread Hans Verkuil
Hi Jonas, On 9/1/19 9:45 PM, Jonas Karlman wrote: > When EDID is refreshed, HDMI cable is unplugged/replugged or > an AVR is power cycled the CEC phys addr gets invalidated. > > This can cause some disruption of CEC communication when > adapter is being reconfigured. > > Add a debounce option th

Re: [PATCH] arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay

2019-09-02 Thread Maxime Ripard
On Tue, Aug 27, 2019 at 03:48:06PM +0200, Ondřej Jirman wrote: > Hi, > > On Tue, Aug 27, 2019 at 03:34:43PM +0200, Maxime Ripard wrote: > > On Sun, Aug 25, 2019 at 03:03:36PM +0200, Jernej Skrabec wrote: > > > Depending on kernel and bootloader configuration, it's possible that > > > Realtek ethern

Re: [PATCH V3 2/6] dt-bindings: PCI: tegra: Add PCIe slot supplies regulator entries

2019-09-02 Thread Thierry Reding
On Wed, Aug 28, 2019 at 10:58:46PM +0530, Vidya Sagar wrote: > Add optional bindings "vpcie3v3-supply" and "vpcie12v-supply" to describe > regulators of a PCIe slot's supplies 3.3V and 12V provided the platform > is designed to have regulator controlled slot supplies. > > Signed-off-by: Vidya Saga

Re: [PATCH V3 1/6] dt-bindings: PCI: tegra: Add sideband pins configuration entries

2019-09-02 Thread Thierry Reding
On Wed, Aug 28, 2019 at 10:58:45PM +0530, Vidya Sagar wrote: > Add optional bindings "pinctrl-names" and "pinctrl-0" to describe pin > configuration information of a particular PCIe controller. > > Signed-off-by: Vidya Sagar > --- > V3: > * None > > V2: > * None > > .../devicetree/bindings/pci

Re: [PATCH V3 3/6] PCI: tegra: Add support to configure sideband pins

2019-09-02 Thread Thierry Reding
On Wed, Aug 28, 2019 at 10:58:47PM +0530, Vidya Sagar wrote: > Add support to configure sideband signal pins when information is present > in respective controller's device-tree node. > > Signed-off-by: Vidya Sagar > --- > V3: > * Used 'dev' instead of 'pcie->dev' > > V2: > * Addressed review co

Re: [PATCH V3 4/6] PCI: tegra: Add support to enable slot regulators

2019-09-02 Thread Thierry Reding
On Wed, Aug 28, 2019 at 10:58:48PM +0530, Vidya Sagar wrote: > Add support to get regulator information of 3.3V and 12V supplies of a PCIe > slot from the respective controller's device-tree node and enable those > supplies. This is required in platforms like p2972- where the supplies > to x16

linux-next: build failure after merge of the powerpc tree

2019-09-02 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: arch/powerpc/mm/dma-noncoherent.c: In function 'atomic_pool_init': arch/powerpc/mm/dma-noncoherent.c:128:9: error: implicit declaration of function 'dma_atomic_pool_init'; did you mean '

Re: [PATCH] ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL

2019-09-02 Thread Takashi Iwai
On Mon, 02 Sep 2019 12:00:56 +0200, Jian-Hong Pan wrote: > > Original pin node values of ASUS UX431FL with ALC294: > > 0x12 0xb7a60140 > 0x13 0x4000 > 0x14 0x90170110 > 0x15 0x41f0 > 0x16 0x41f0 > 0x17 0x90170111 > 0x18 0x41f0 > 0x19 0x41f0 > 0x1a 0x41f0 > 0x1b 0x41f0

Re: [RFC 10/12] media: hantro: Add support for H264 decoding on RK3399

2019-09-02 Thread Hans Verkuil
On 9/1/19 2:45 PM, Jonas Karlman wrote: > Rockchip RK3399 SoC has the same Hantro G1 IP block > as RK3288, but the registers are entirely different. > > In a similar fashion as MPEG-2 and VP8 decoding, > it's simpler to just add a separate implementation. > > Signed-off-by: Jonas Karlman > --- >

Re: [PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings

2019-09-02 Thread Maxime Ripard
Hi Guenther, On Fri, Aug 30, 2019 at 09:48:11AM -0700, Guenter Roeck wrote: > On Wed, Aug 21, 2019 at 04:38:30PM +0200, Maxime Ripard wrote: > > From: Maxime Ripard > > > > The watchdogs have a bunch of generic properties that are needed in a > > device tree. Add a YAML schemas for those. > > > >

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

2019-09-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/riscv/Kconfig between commit: d95f1a542c3d ("RISC-V: Implement sparsemem") from the risc-v tree and commit: f6a9089b8915 ("riscv: make mmap allocation top-down by default") from the akpm-current tree. I

Re: [PATCH v5 2/2] powerpc: Add support to initialize ima policy rules

2019-09-02 Thread Michael Ellerman
Hi Nayna, Some more comments below. Nayna Jain writes: > POWER secure boot relies on the kernel IMA security subsystem to > perform the OS kernel image signature verification. Again this is just a design choice we've made, it's not specified anywhere or anything like that. And it only applies t

[PATCH net-next] r8152: modify rtl8152_set_speed function

2019-09-02 Thread Hayes Wang
First, for AUTONEG_DISABLE, we only need to modify MII_BMCR. Second, add advertising parameter for rtl8152_set_speed(). Add RTL_ADVERTISED_xxx for advertising parameter of rtl8152_set_speed(). Then, the advertising settings from ethtool could be saved. Signed-off-by: Hayes Wang --- drivers/net/

Re: [PATCH v5 1/2] powerpc: detect the secure boot mode of the system

2019-09-02 Thread Michael Ellerman
Hi Nayna, Sorry I've taken so long to get to this series, there's just too many patches that need reviewing :/ Nayna Jain writes: > Secure boot on POWER defines different IMA policies based on the secure > boot state of the system. The terminology throughout is a bit vague, we have POWER, Power

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

2019-09-02 Thread Christoph Hellwig
On Mon, Sep 02, 2019 at 09:40:11PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: Yes, this conflict is expected and we dicussed it before. I'll make sure Linus is in the loop when sending the p

Re: [PATCH v3 4/7] usb: mtk-xhci: support ip-sleep wakeup for MT8183

2019-09-02 Thread kbuild test robot
Hi Chunfeng, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3-rc6 next-20190830] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/C

Re: [PATCH v3 08/11] PCI: layerscape: Modify the MSIX to the doorbell mode

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:13AM +0800, Xiaowei Bao wrote: > dw_pcie_ep_raise_msix_irq was never called in the exisitng driver > before, because the ls1046a platform don't support the MSIX feature > and msix_capable was always set to false. > Now that add the ls1088a platform with MSIX support, b

Re: [PATCH v2 1/3] ASoC: es8316: judge PCM rate at later timing

2019-09-02 Thread Mark Brown
On Sun, Sep 01, 2019 at 01:26:48AM +0900, Katsuhiro Suzuki wrote: > This patch change the judge timing about playing/capturing PCM rate. > > Original code set constraints list of PCM rate limits at set_sysclk. > This strategy works well if system is using fixed rate clock. > > But some boards and

Re: [PATCH] media: vimc: fla: Add virtual flash subdevice

2019-09-02 Thread Hans Verkuil
Hi Lucas, Eduardo, Thank you for the patch! Some comments below: On 9/1/19 11:11 PM, Lucas A. M. Magalhães wrote: > From: Lucas A. M. Magalhaes > > Add a virtual subdevice to simulate the flash control API. > Those are the supported controls: > v4l2-ctl -d /dev/v4l-subdev6 -L > Flash Controls

Re: [PATCH 1/3] x86: fix typo in comment for poke_text_early

2019-09-02 Thread Borislav Petkov
On Mon, Sep 02, 2019 at 12:24:34PM +0200, Marco Ammon wrote: > In the documentation for text_poke_early, "protected again" should > actually be "protected against". This patch fixes the spelling mistake. For the future: Avoid having "This patch" or "This commit" in the commit message. It is tauto

[PATCH 3/3] perf stat: Add --per-numa agregation support

2019-09-02 Thread Jiri Olsa
Adding new --per-numa option to aggregate counts per NUMA nodes for system-wide mode measurements. You can specify --per-numa in live mode: # perf stat -a -I 1000 -e cycles --per-numa # time numa cpus counts unit events 1.000542550 N0 20 6,202,09

[PATCH 0/3] perf stat: Add --per-numa option

2019-09-02 Thread Jiri Olsa
hi, adding --per-numa option to aggregate stats per NUMA nodes, you can get now use stat command like: # perf stat -a -I 1000 -e cycles --per-numa # time numa cpus counts unit events 1.000542550 N0 20 6,202,097 cycles 1.000542550 N

[PATCH 1/3] libperf: Add perf_cpu_map__max function

2019-09-02 Thread Jiri Olsa
So it can be used from multiple places. Link: http://lkml.kernel.org/n/tip-yp3h5rl9e8piybufq41zq...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c| 14 +- tools/perf/lib/cpumap.c | 12 tools/perf/lib/include/perf/cpumap.h |

[PATCH 2/3] perf tools: Add perf_env__numa_node function

2019-09-02 Thread Jiri Olsa
To speed up cpu to node lookup, adding perf_env__numa_node function, that creates cpu array on the first lookup, that holds numa nodes for each stored cpu. Link: http://lkml.kernel.org/n/tip-qqwxklhissf3yjyuaszh6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/env.c | 35 +

[tip: x86/cleanups] x86: Correct misc typos

2019-09-02 Thread tip-bot2 for Marco Ammon
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 32b1cbe380417f2ed80f758791179de6b05795ab Gitweb: https://git.kernel.org/tip/32b1cbe380417f2ed80f758791179de6b05795ab Author:Marco Ammon AuthorDate:Mon, 02 Sep 2019 14:02:59 +02:00 Committe

Re: [PATCH v4] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ

2019-09-02 Thread Kalle Valo
Tony Chuang writes: >> From: Jian-Hong Pan >> Subject: [PATCH v4] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ >> >> There is a mass of jobs between spin lock and unlock in the hardware >> IRQ which will occupy much time originally. To make system work more >> efficiently, this patch m

Re: [PATCH] media: vimc: Implement debayer control for mean window size

2019-09-02 Thread Hans Verkuil
On 9/1/19 9:40 PM, Arthur Moraes do Lago wrote: > Add mean window size parameter for debayer filter as a control in > vimc-debayer. > > vimc-debayer was patched to allow changing mean windows parameter > of the filter without needing to reload the driver. The parameter > can now be set using a v4l

Re: [PATCH v1 1/2] clk: intel: Add CGU clock driver for a new SoC

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:43:13PM +0800, Tanwar, Rahul wrote: > On 28/8/2019 11:09 PM, Andy Shevchenko wrote: > > On Wed, Aug 28, 2019 at 03:00:17PM +0800, Rahul Tanwar wrote: > > > drivers/clk/intel/Kconfig | 13 + > > > drivers/clk/intel/Makefile | 4 + > > Any plans what to do

Applied "regulator: provide regulator_bulk_set_supply_names()" to the regulator tree

2019-09-02 Thread Mark Brown
The patch regulator: provide regulator_bulk_set_supply_names() has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Re: [PATCH v1 1/2] clk: intel: Add CGU clock driver for a new SoC

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:20:30PM +0300, Andy Shevchenko wrote: > On Mon, Sep 02, 2019 at 03:43:13PM +0800, Tanwar, Rahul wrote: > > On 28/8/2019 11:09 PM, Andy Shevchenko wrote: > > > On Wed, Aug 28, 2019 at 03:00:17PM +0800, Rahul Tanwar wrote: > > > Does val == 0 follows the table, i.e. makes

Re: [PATCH v4 11/11] lib/test_printf: Add tests for %pfw printk modifier

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 11:32:40AM +0300, Sakari Ailus wrote: > Add a test for the %pfw printk modifier using software nodes. > + const struct software_node softnodes[] = { > + { .name = "first", }, > + { .name = "second", .parent = &softnodes[0], }, > + { .

Re: [RFC][PATCH 01/13] sched/deadline: Impose global limits on sched_attr::sched_period

2019-09-02 Thread Peter Zijlstra
On Mon, Sep 02, 2019 at 11:16:23AM +0200, Peter Zijlstra wrote: > On Sat, Aug 31, 2019 at 03:41:17PM +0100, Alessio Balsini wrote: > > Right! > > > > Verified that sysctl_sched_dl_period_max and sysctl_sched_dl_period_min > > values > > are now always consistent. > > > > I spent some time in try

Re: [PATCH v3 05/11] dt-bindings: pci: layerscape-pci: add compatible strings for ls1088a and ls2088a

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:10AM +0800, Xiaowei Bao wrote: > Add compatible strings for ls1088a and ls2088a. > > Signed-off-by: Xiaowei Bao > --- > v2: > - No change. > v3: > - Use one valid combination of compatible strings. > > Documentation/devicetree/bindings/pci/layerscape-pci.txt | 4

[PATCH 2/5] EDAC, mc_sysfs: Change dev_ch_attribute->channel to unsigned int

2019-09-02 Thread Robert Richter
Struct member dev_ch_attribute->channel is always used as unsigned int. Change type to unsigned int to avoid type casts. Signed-off-by: Robert Richter --- drivers/edac/edac_mc_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/

[PATCH 4/5] EDAC, mc_sysfs: Make debug messages consistent

2019-09-02 Thread Robert Richter
Debug messages are inconsistently used in the error handlers. Some lack an error message, some are called regardless the return status, messages for the same error are at different locations in the code depending on the error code. This happens esp. near put_device() calls. Make those debug message

[PATCH 0/5] EDAC: Small cleanups and fixes

2019-09-02 Thread Robert Richter
A bunch of cleanups and fixes for issues found while working with the code. Changes are individual and independent from each other. They can be applied separately (only #4 depends on #3). Also updating the reviewer's entry as I will be able to do some reviews for edac code. Note that patch #3 is

[PATCH 3/5] EDAC, mc_sysfs: Remove pointless gotos

2019-09-02 Thread Robert Richter
Use direct returns instead of gotos. Error handling code becomes smaller and better readable. Signed-off-by: Robert Richter --- drivers/edac/edac_mc_sysfs.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_

[PATCH 5/5] MAINTAINERS: update EDAC's reviewer entry

2019-09-02 Thread Robert Richter
I did some significant work with code in edac_mc.c and ghes_edac.c already, so I guess I can probably helping out a bit as code reviewer here. Signed-off-by: Robert Richter --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 97912d8333a9..79d2ae851

[PATCH 1/5] EDAC: Prefer 'unsigned int' to bare use of 'unsigned'

2019-09-02 Thread Robert Richter
Use of 'unsigned int' instead of bare use of 'unsigned'. Fix this for edac_mc*, ghes and the i5100 driver. Depending on the compiler's warning level it can throw messages like this: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' #235: FILE: drivers/edac/i5100_edac.c:854: +

Re: [PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
Hi Andy, On Mon, Sep 02, 2019 at 01:14:26PM +0300, Andy Shevchenko wrote: > On Mon, Sep 02, 2019 at 11:32:33AM +0300, Sakari Ailus wrote: > > Add two convenience functions for accessing node's parents: > > > > fwnode_count_parents() returns the number of parent nodes a given node > > has. fwnode_

[tip: x86/urgent] x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation

2019-09-02 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 9b8bd476e78e89c9ea26c3b435ad0201c3d7dbf5 Gitweb: https://git.kernel.org/tip/9b8bd476e78e89c9ea26c3b435ad0201c3d7dbf5 Author:Peter Zijlstra AuthorDate:Thu, 29 Aug 2019 10:24:45 +02:00 Committ

[RESEND PATCH v3 6/7] backlight: gpio: remove def_value from struct gpio_backlight

2019-09-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This field is unused outside of probe(). There's no need to store it. We can make it into a local variable. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Reviewed-by: Daniel Thompson --- drivers/video/backlight/gpio_back

[PATCH] keys: Fix missing null pointer check in request_key_auth_describe()

2019-09-02 Thread David Howells
From: Hillf Danton If a request_key authentication token key gets revoked, there's a window in which request_key_auth_describe() can see it with a NULL payload - but it makes no check for this and something like the following oops may occur: BUG: Kernel NULL pointer dereference at 0x

Re: [PATCH] arm64: use x22 to save boot exception level

2019-09-02 Thread Mark Rutland
On Fri, Aug 30, 2019 at 03:23:53PM -0400, Andrew F. Davis wrote: > On 8/29/19 5:47 AM, Mark Rutland wrote: > > On Wed, Aug 28, 2019 at 01:33:18PM -0400, Andrew F. Davis wrote: > We are seeing is a write-back from L3 cache. Our bootloader writes the > kernel image with caches on, then after turning

Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode

2019-09-02 Thread Mark Brown
On Sat, Aug 31, 2019 at 01:55:14AM +0300, Daniel Baluta wrote: > Fix this by setting CHMOD to Output Mode so that pins will output zero > when slots are masked or channels are disabled. This patch seems to do this unconditionally. This is fine for configurations where the SoC is the only thing d

linux-next: Tree for Sep 2

2019-09-02 Thread Stephen Rothwell
Hi all, News: I will only be doing 2 more releases before I leave for Kernel Summit (there may be some reports on Thursday, but I doubt I will have time to finish the full release) and then no more until Sept 30. Changes since 20190830: The compiler-attributes tree lost its build failure. The p

[PATCH V2] x86/Hyper-V: Fix overflow issue in the fill_gva_list()

2019-09-02 Thread lantianyu1986
From: Tianyu Lan When the 'start' parameter is >= 0xFF00 on 32-bit systems, or >= 0x'FF00 on 64-bit systems, fill_gva_list gets into an infinite loop. With such inputs, 'cur' overflows after adding HV_TLB_FLUSH_UNIT and always compares as less than end. Memory is filled with gu

[PATCH 4/5] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-02 Thread Gerd Hoffmann
Switch qxl to use drm_gem_object_funcs callbacks instead of drm_driver callbacks. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_drv.c| 8 drivers/gpu/drm/qxl/qxl_object.c | 12 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/q

[PATCH] video/fbdev/68328fb: Remove dead code

2019-09-02 Thread Souptick Joarder
This is dead code since 3.15. If their is no plan to use it further, these can be removed forever. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/68328fb.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c inde

[PATCH v3 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Peter Cai
On GPD P2 Max, the firmware could not reset the touch panel correctly. The kernel needs to take on the job instead, but the GpioInt definition in DSDT specifies ActiveHigh while the GPIO pin should actually be ActiveLow. We need to override the polarity defined by DSDT. The GPIO driver already all

Re: [PATCH v3 09/11] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:14AM +0800, Xiaowei Bao wrote: > Add PCIe EP mode support for ls1088a and ls2088a, there are some > difference between LS1 and LS2 platform, so refactor the code of > the EP driver. > > Signed-off-by: Xiaowei Bao > --- > v2: > - This is a new patch for supporting t

[PATCH v3 2/2] touchscreen: goodix: define GPIO mapping for GPD P2 Max

2019-09-02 Thread Peter Cai
The firmware of GPD P2 Max could not handle panel resets although code is present in DSDT. The kernel needs to take on this job instead, but the DSDT does not provide _DSD, rendering kernel helpless when trying to find the respective GPIO pins. Fortunately, this time GPD has proper DMI vendor / pr

Re: [PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:34:31PM +0300, Sakari Ailus wrote: > Hi Andy, > > On Mon, Sep 02, 2019 at 01:14:26PM +0300, Andy Shevchenko wrote: > > On Mon, Sep 02, 2019 at 11:32:33AM +0300, Sakari Ailus wrote: > > > Add two convenience functions for accessing node's parents: > > > > > > fwnode_coun

Re: [PATCH] x86/Hyper-V: Fix overflow issue in the fill_gva_list()

2019-09-02 Thread Tianyu Lan
On Sat, Aug 31, 2019 at 1:41 AM Michael Kelley wrote: > > From: lantianyu1...@gmail.com Sent: Thursday, August 29, 2019 11:16 PM > > > > From: Tianyu Lan > > > > fill_gva_list() populates gva list and adds offset > > HV_TLB_FLUSH_UNIT(0x100) to variable "cur" > > in the each loop. When diff

Re: [RFC 7/9] dt-bindings: rtc: s3c: Convert S3C/Exynos RTC bindings to json-schema

2019-09-02 Thread Krzysztof Kozlowski
On Mon, 26 Aug 2019 at 14:06, Rob Herring wrote: > > On Fri, Aug 23, 2019 at 9:54 AM Krzysztof Kozlowski wrote: > > > > Convert Samsung S3C/Exynos Real Time Clock bindings to DT schema format > > using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../devicetree/bindings/r

Re: [PATCH v2] kunit: fix failure to build without printk

2019-09-02 Thread Petr Mladek
On Fri 2019-08-30 16:37:10, Brendan Higgins wrote: > On Fri, Aug 30, 2019 at 11:22:43PM +, tim.b...@sony.com wrote: > > > -Original Message- > > > From: Brendan Higgins > > > > > > On Fri, Aug 30, 2019 at 3:46 PM Joe Perches wrote: > > > > > > > > On Fri, 2019-08-30 at 21:58 +, t

Re: [PATCH v6 05/24] erofs: add inode operations

2019-09-02 Thread Christoph Hellwig
On Sun, Sep 01, 2019 at 05:34:00PM +0800, Gao Xiang wrote: > > > + return iget5_locked(sb, hashval, erofs_ilookup_test_actor, > > > + erofs_iget_set_actor, &nid); > > > +#endif > > > > Just use the slightly more complicated 32-bit version everywhere so that > > you have a single actually t

Re: [PATCH v4 01/10] KVM: arm64: Document PV-time interface

2019-09-02 Thread Andrew Jones
On Fri, Aug 30, 2019 at 04:25:08PM +0100, Steven Price wrote: > On 30/08/2019 15:47, Andrew Jones wrote: > > On Fri, Aug 30, 2019 at 09:42:46AM +0100, Steven Price wrote: > >> Introduce a paravirtualization interface for KVM/arm64 based on the > >> "Arm Paravirtualized Time for Arm-Base Systems" sp

Re: [PATCH v3 11/11] misc: pci_endpoint_test: Add LS1088a in pci_device_id table

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:16AM +0800, Xiaowei Bao wrote: > Add LS1088a in pci_device_id table so that pci-epf-test can be used > for testing PCIe EP in LS1088a. > > Signed-off-by: Xiaowei Bao > --- > v2: > - No change. > v3: > - No change. > > drivers/misc/pci_endpoint_test.c | 1 + > 1

[PATCH] tools/power/x86/turbostat: Fixing PKG_MIN_PWR_LVL{1|2} values

2019-09-02 Thread Erwan Velu
As per Intel's documentation, those 2 registers are starting from offset 47 and not 48. As a result, the reported values were incorrect. Signed-off-by: Erwan Velu --- tools/power/x86/turbostat/turbostat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/power/x86/tu

[PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found

2019-09-02 Thread Michal Simek
Trivial patch which just corrects error message. Fixes: 371bb20d6927 ("power: Add simple gpio-restart driver") Signed-off-by: Michal Simek --- drivers/power/reset/gpio-restart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/gpio-restart.c b/drivers/pow

Re: [PATCH v7 5/6] powerpc/64: Make COMPAT user-selectable disabled on littleendian by default.

2019-09-02 Thread Segher Boessenkool
On Mon, Sep 02, 2019 at 12:03:12PM +1000, Michael Ellerman wrote: > Michal Suchanek writes: > > On bigendian ppc64 it is common to have 32bit legacy binaries but much > > less so on littleendian. > > I think the toolchain people will tell you that there is no 32-bit > little endian ABI defined at

Re: [PATCH RFC 00/12] media: hantro: H264 fixes and improvements

2019-09-02 Thread Ezequiel Garcia
Hi Jonas, Thanks for the series, I'll be reviewing this shortly. On Sun, 2019-09-01 at 12:42 +, Jonas Karlman wrote: > This series contains fixes and improvements for the hantro H264 decoder. > > Patch 1-6 fixes issues and limitations observed when preparing support > for field encoded conte

Re: [PATCH 2/5] EDAC, mc_sysfs: Change dev_ch_attribute->channel to unsigned int

2019-09-02 Thread Borislav Petkov
On Mon, Sep 02, 2019 at 12:33:43PM +, Robert Richter wrote: > Struct member dev_ch_attribute->channel is always used as unsigned > int. Change type to unsigned int to avoid type casts. > > Signed-off-by: Robert Richter > --- > drivers/edac/edac_mc_sysfs.c | 2 +- > 1 file changed, 1 insertio

Re: [PATCH 1/2] dt-bindings: iio: accel: add binding documentation for ADIS16240

2019-09-02 Thread Ardelean, Alexandru
On Sun, 2019-09-01 at 21:59 -0300, Rodrigo Carvalho wrote: > This patch add device tree binding documentation for ADIS16240. > > Signed-off-by: Rodrigo Ribeiro Carvalho > --- > I have doubt about what maintainer I may to put in that documentation. I > put Alexandru as maintainer because he review

Re: [PATCH v3 10/11] arm64: dts: layerscape: Add PCIe EP node for ls1088a

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:15AM +0800, Xiaowei Bao wrote: > Add PCIe EP node for ls1088a to support EP mode. > > Signed-off-by: Xiaowei Bao > --- > v2: > - Remove the pf-offset proparty. > v3: > - No change. > > arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 > ++

Re: [PATCH v2 5/8] sched/fair: use rq->nr_running when balancing load

2019-09-02 Thread Vincent Guittot
Hi Hillf, Sorry for the late reply. I have noticed that i didn't answer your question while preparing v3 On Fri, 9 Aug 2019 at 07:21, Hillf Danton wrote: > > > On Thu, 1 Aug 2019 16:40:21 +0200 Vincent Guittot wrote: > > > > cfs load_balance only takes care of CFS tasks whereas CPUs can be used

[PATCH 1/3] arm64: defconfig: Enable Qualcomm GENI based I2C controller

2019-09-02 Thread Lee Jones
Tested on the Lenovo Yoga C630 where this patch enables the keyboard, touchpad and touchscreen. Signed-off-by: Lee Jones --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index facf19cc275d..0fe943ac53

[PATCH 3/3] arm64: defconfig: Enable Qualcomm QUSB2 PHY

2019-09-02 Thread Lee Jones
Tested on the Lenovo Yoga C630 where this patch enables USB. Without it USB devices are not enumerated. Signed-off-by: Lee Jones --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index af7ca722b519..a9

[PATCH 2/3] arm64: defconfig: Enable the EFI Framebuffer

2019-09-02 Thread Lee Jones
Tested on the Lenovo Yoga C630 where this patch enables the framebuffer (screen/monitor). Without it the device appears not to boot. Signed-off-by: Lee Jones --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/de

[PATCH V4 3/4] staging: iio: adc: ad7192: Add system calibration support

2019-09-02 Thread Mircea Caprioru
This patch will add a system calibration attribute for each channel. Using this option the user will have the ability to calibrate each channel for zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM to implement the functionality. Signed-off-by: Mircea Caprioru --- Changel

Re: [PATCH v4 11/11] lib/test_printf: Add tests for %pfw printk modifier

2019-09-02 Thread Sakari Ailus
On Mon, Sep 02, 2019 at 03:26:27PM +0300, Andy Shevchenko wrote: > On Mon, Sep 02, 2019 at 11:32:40AM +0300, Sakari Ailus wrote: > > Add a test for the %pfw printk modifier using software nodes. > > > + const struct software_node softnodes[] = { > > + { .name = "first", }, > > +

[PATCH V4 1/4] iio: adc: ad7192: Add sysfs ABI documentation

2019-09-02 Thread Mircea Caprioru
Add initial ABI documentation for ad7192 adc sysfs interfaces. Signed-off-by: Mircea Caprioru --- Changelog V2: - no changes here Changelog V3: - no changes here Changelog V4: - added sysfs ABI documentation .../ABI/testing/sysfs-bus-iio-adc-ad7192 | 15 +++ 1 file change

[PATCH V4 4/4] dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192

2019-09-02 Thread Mircea Caprioru
This patch add device tree binding documentation for AD7192 adc in YAML format. Signed-off-by: Mircea Caprioru --- Changelog V2: - no changes here Changelog V3: - no changes here Changelog V4: - remove the const value from avdd and dvdd supply .../bindings/iio/adc/adi,ad7192.yaml | 1

[PATCH V4 2/4] iio: adc: ad_sigma_delta: Export ad_sd_calibrate

2019-09-02 Thread Mircea Caprioru
This patch exports the ad_sd_calibrate function in order to be able to call it from outside ad_sigma_delta. There are cases where the option to calibrate one channel at a time is necessary (ex. system calibration for zero scale and full scale). Signed-off-by: Mircea Caprioru --- Changelog V2: -

Re: linux-next: Tree for Aug 30

2019-09-02 Thread Guenter Roeck
On 9/2/19 12:55 AM, Christoph Hellwig wrote: On Sun, Sep 01, 2019 at 11:22:26AM -0700, Guenter Roeck wrote: On Sat, Aug 31, 2019 at 12:36:13AM +1000, Stephen Rothwell wrote: Hi all, Changes since 20190829: The compiler-attributes tree gained a build failure for which I reverted a commit. The

Re: [PATCH v4] mfd: Add support for Merrifield Basin Cove PMIC

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 09:38:59AM +0100, Lee Jones wrote: > On Thu, 01 Aug 2019, Andy Shevchenko wrote: > > > Add an MFD driver for Intel Merrifield Basin Cove PMIC. > > > > Firmware on the platforms which are using Basin Cove PMIC is "smarter" > > than on the rest supported by vanilla kernel. I

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-02 Thread Michal Simek
On 02. 09. 19 6:58, Linus Torvalds wrote: > On Sun, Sep 1, 2019 at 7:10 PM Randy Dunlap wrote: >> >> I guess we need a way to coerce that to call get_user_1(), >> such as a typecast. This _seems_ to work (i.e., call get_user_1()): > > No, I oversimplified. > > Try this slightly modified patch i

Re: [PATCH v1] reset: Remove copy'n'paste redundancy in the comments

2019-09-02 Thread Andy Shevchenko
On Mon, Aug 19, 2019 at 01:52:52PM +0300, Andy Shevchenko wrote: > It seems the commit bb475230b8e5 > ("reset: make optional functions really optional") > brought couple of redundant lines in the comments. > > Drop them here. Any comment on this? > > Cc: Ramiro Oliveira > Signed-off-by: Andy S

From Michelle

2019-09-02 Thread Michelle Goodman
Hallo, wie geht es dir? Hoffe, du hast meine Nachricht erhalten. Ich brauche jetzt deine dringende Antwort Vielen Dank Michelle

Re: [PATCH v6 1/5] kasan: support backing vmalloc space with real shadow memory

2019-09-02 Thread Mark Rutland
On Mon, Sep 02, 2019 at 09:20:24PM +1000, Daniel Axtens wrote: > Hook into vmalloc and vmap, and dynamically allocate real shadow > memory to back the mappings. > > Most mappings in vmalloc space are small, requiring less than a full > page of shadow space. Allocating a full shadow page per mappin

[PATCH 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-02 Thread Lee Jones
From: Bjorn Andersson The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem to be similar enough to the SDM845 that we can reuse the sdm845.dtsi. Supported by this patch is: keyboard, battery monitoring, UFS storage, USB host and Bluetooth. Signed-off-by: Bjorn Andersson Sig

Re: [PATCH 2/2] staging: iio: accel: adis16240: move out of staging

2019-09-02 Thread Ardelean, Alexandru
On Sun, 2019-09-01 at 21:59 -0300, Rodrigo Carvalho wrote: > Move ADIS16240 driver from staging to mainline. > > The ADIS16240 is a fully integrated digital shock detection > and recorder system. Hey, Comments inline. I'll probably take a look in the next days again. There seem to be some ABI/

[PATCH v2] tpm: Remove duplicate code from caps_show() in tpm-sysfs.c

2019-09-02 Thread Jarkko Sakkinen
Replace existing TPM 1.x version structs with new structs that consolidate the common parts into a single struct so that code duplication is no longer needed in caps_show(). Cc: Jerry Snitselaar Signed-off-by: Jarkko Sakkinen --- v2: Give back the TPM 1.1 version only if tpm1_getcap() returns 0.

Re: [PATCH] tpm: Remove duplicate code from caps_show() in tpm-sysfs.c

2019-09-02 Thread Jarkko Sakkinen
On Fri, Aug 30, 2019 at 09:09:02AM -0700, Jerry Snitselaar wrote: > On Thu Aug 29 19, Jarkko Sakkinen wrote: > + /* TPM 1.1 */ > > + if (tpm1_getcap(chip, TPM_CAP_VERSION_1_1, &cap, > > + "attempting to determine the 1.1 version", > > + sizeof(cap.version1)

[PATCH] tools/power/x86/turbostat: Reporting EPB as per Intel's spec

2019-09-02 Thread Erwan Velu
The actual code is reporting the EPB mode by considering a single value, while Intel's specfication defines ranges. This patch is about to report the EPB by considering ranges of energy_policy to actually report the state of the processor. This avoids reporting a "custom" value while the specific

Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode

2019-09-02 Thread Daniel Baluta
On Mon, Sep 2, 2019 at 3:42 PM Mark Brown wrote: > > On Sat, Aug 31, 2019 at 01:55:14AM +0300, Daniel Baluta wrote: > > > Fix this by setting CHMOD to Output Mode so that pins will output zero > > when slots are masked or channels are disabled. > > This patch seems to do this unconditionally. Thi

Re: [PATCH v2 06/10] PCI: layerscape: Modify the way of getting capability with different PEX

2019-09-02 Thread Andrew Murray
On Fri, Aug 23, 2019 at 04:13:30AM +, Xiaowei Bao wrote: > > > > -Original Message- > > From: Kishon Vijay Abraham I > > Sent: 2019年8月23日 11:40 > > To: Xiaowei Bao ; bhelg...@google.com; > > robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo Li > > ; lorenzo.pieral...

Re: [PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Linus Walleij
On Mon, Sep 2, 2019 at 12:01 PM Andy Shevchenko wrote: > On Sat, Aug 31, 2019 at 11:09:14AM +0800, Peter Cai wrote: > > On GPD P2 Max, the firmware could not reset the touch panel correctly. > > The kernel needs to take on the job instead, but the GpioInt definition > > in DSDT specifies ActiveHig

Re: [PATCH v3 07/11] PCI: layerscape: Modify the way of getting capability with different PEX

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:12AM +0800, Xiaowei Bao wrote: > The different PCIe controller in one board may be have different > capability of MSI or MSIX, so change the way of getting the MSI > capability, make it more flexible. > > Signed-off-by: Xiaowei Bao Please see the comments I just mad

Re: [PATCH v2 1/2] dt-bindings: clock: mediatek: add pericfg for MT8183

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 16:22:12 +0800, Chunfeng Yun wrote: > This patch adds binding of pericfg for MT8183. > > Signed-off-by: Chunfeng Yun > --- > v2: no changes > --- > .../devicetree/bindings/arm/mediatek/mediatek,pericfg.txt| 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herri

Re: [PATCH v1 13/18] dt-bindings: Document loongson vendor-prefix

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 12:32:27 +0800, Jiaxun Yang wrote: > Loongson is a MIPS-compatible processor vendor. > > Signed-off-by: Jiaxun Yang > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v3 02/16] dt-bindings: arm: Convert Marvell MMP board/soc bindings to json-schema

2019-09-02 Thread Rob Herring
On Sat, 31 Aug 2019 00:07:29 +0200, Lubomir Rintel wrote: > Convert Marvell MMP SoC bindings to DT schema format using json-schema. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - Add mrvl,pxa910 > - s/MMP2 Brownstone Board/MMP2 based boards/ > > Changes since v1: > - Added th

Re: [PATCH v5, 05/32] dt-bindings: mediatek: add mutex description for mt8183 display

2019-09-02 Thread Rob Herring
On Thu, 29 Aug 2019 22:50:27 +0800, wrote: > From: Yongqiang Niu > > This patch add mutex description for mt8183 display > > Signed-off-by: Yongqiang Niu > --- > Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herr

Re: [PATCH v2 1/3] dt-bindings: mtd: cadence-qspi:add support for Intel lgm-qspi

2019-09-02 Thread Rob Herring
On Tue, 27 Aug 2019 11:58:25 +0800, "Ramuthevar,Vadivel MuruganX" wrote: > From: Ramuthevar Vadivel Murugan > > Add new vendor specific compatible string to check Intel's Lightning > Mountain(LGM) QSPI features enablement in cadence-quadspi driver. > > Signed-off-by: Ramuthevar Vadivel

Re: [PATCH v3 2/7] dt-bindings: usb: mtk-xhci: support USB wakeup for MT8183

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 15:40:49 +0800, Chunfeng Yun wrote: > Support USB wakeup by ip-sleep mode for MT8183 > > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v2 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-09-02 Thread Rob Herring
On Wed, Aug 28, 2019 at 08:43:14PM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add a YAML schema to use the host controller driver with the > SDXC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > .../bindings/p

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-02 Thread Rob Herring
On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM

Re: [PATCH RFC 05/14] dt-bindings/interrupt-controller: pdc: add SPI config register

2019-09-02 Thread Rob Herring
On Thu, Aug 29, 2019 at 12:11:54PM -0600, Lina Iyer wrote: > In addition to configuring the PDC, additional registers that interface > the GIC have to be configured to match the GPIO type. The registers on > some QCOM SoCs are access restricted, while on other SoCs are not. They > SoCs with access

<    1   2   3   4   5   6   7   8   9   >