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

2019-09-03 Thread Ramuthevar, Vadivel MuruganX
Hi Rob,  Thank you so much for prompt reply. On 3/9/2019 5:19 PM, Rob Herring wrote: On Tue, Sep 3, 2019 at 2:57 AM Ramuthevar, Vadivel MuruganX wrote: Hi Rob, Thank you for review comments. On 2/9/2019 9:38 PM, Rob Herring wrote: On Wed, Aug 28, 2019 at 08:43:14PM +0800, Ramuthevar,Vadive

Re: [PATCH v5 05/11] device property: Add fwnode_get_name for returning the name of a node

2019-09-03 Thread Heikki Krogerus
Hi Sakari, On Mon, Sep 02, 2019 at 04:57:26PM +0300, Sakari Ailus wrote: > diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c > index 951e7efd47c23..a4a0f5b80bad3 100644 > --- a/drivers/base/swnode.c > +++ b/drivers/base/swnode.c > @@ -515,6 +515,25 @@ static int software_node_read_string_

Re: [PATCH v2] merge_config.sh: ignore unwanted grep errors

2019-09-03 Thread Jon Hunter
On 02/09/2019 16:18, Guillaume Tucker wrote: > The merge_config.sh script verifies that all the config options have > their expected value in the resulting file and prints any issues as > warnings. These checks aren't intended to be treated as errors given > the current implementation. However,

Re: [PATCH] net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte

2019-09-03 Thread Vladimir Oltean
On Tue, 3 Sep 2019 at 10:19, Eric Dumazet wrote: > > > > On 9/3/19 3:08 AM, Gustavo A. R. Silva wrote: > > Add suffix LL to constant 1000 in order to avoid a potential integer > > overflow and give the compiler complete information about the proper > > arithmetic to use. Notice that this constant

[PATCH v2 5/6] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-03 Thread Gerd Hoffmann
Switch qxl to use drm_gem_object_funcs callbacks instead of drm_driver callbacks. Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.c| 8 drivers/gpu/drm/qxl/qxl_object.c | 12 2 files changed, 12 insertions(+), 8 deletions(-) d

[PATCH v2 3/6] drm/vram: use drm_gem_ttm_print_info

2019-09-03 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/drm_gem_vram_helper.c | 4 +++- drivers/gpu/drm/Kconfig | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_gem_vram_helper.c b/drivers/gpu/drm/drm_gem_vram_helper.c i

[PATCH v2 6/6] drm/qxl: use drm_gem_ttm_print_info

2019-09-03 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.h| 1 + drivers/gpu/drm/qxl/qxl_object.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 9e034c5fa87d..d4051409ce64 100644 --- a/

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-09-03 Thread Mika Westerberg
Hi Brad, On Thu, Aug 29, 2019 at 12:27:08AM +0800, Brad Campbell wrote: > It wouldn't surprise me if the firmware was doing something funky. It was > one of the first Thunderbolt equipped models and the support docs explicitly > say only one Thunderbolt display in Windows and two in later versions

Re: Is: Default governor regardless of cpuidle driver Was: [PATCH v2] cpuidle-haltpoll: vcpu hotplug support

2019-09-03 Thread Joao Martins
On 9/2/19 10:55 PM, Rafael J. Wysocki wrote: > On Thu, Aug 29, 2019 at 7:24 PM Marcelo Tosatti wrote: >> >> On Thu, Aug 29, 2019 at 06:16:05PM +0100, Joao Martins wrote: >>> On 8/29/19 4:10 PM, Joao Martins wrote: When cpus != maxcpus cpuidle-haltpoll will fail to register all vcpus past

linux-next: Tree for Sep 3

2019-09-03 Thread Stephen Rothwell
Hi all, News: I will only be doing 1 more release 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 20190902: The regulator tree gained a build failure for which I applie

Re: [PATCH 4/5] dt-bindings: dma: ti-edma: Add option for reserved channel ranges

2019-09-03 Thread Peter Ujfalusi
Hi Rob, On 30/08/2019 8.37, Peter Ujfalusi wrote: > Rob, > > On 30/08/2019 1.47, Rob Herring wrote: >> On Fri, Aug 23, 2019 at 03:56:17PM +0300, Peter Ujfalusi wrote: >>> Similarly to paRAM slots, channels can be used by other cores. >>> >>> Add optional property to configure the reserved channel

Re: Re: Re: [PATCH] mm: Add nr_free_highatomimic to fix incorrect watermatk routine

2019-09-03 Thread Michal Hocko
On Tue 03-09-19 18:59:59, Park Sangwoo wrote: > >On Mon 02-09-19 13:34:54, Sangwoo� wrote: > >>>On Fri 30-08-19 18:25:53, Sangwoo wrote: > The highatomic migrate block can be increased to 1% of Total memory. > And, this is for only highorder ( > 0 order). So, this block size is > exc

Re: linux-next: Signed-off-by missing for commits in the kgdb-dt tree

2019-09-03 Thread Daniel Thompson
On Tue, Sep 03, 2019 at 07:16:57AM +1000, Stephen Rothwell wrote: > Hi all, > > Commits > > f12dc871e3ec ("kgdb: fix comment regarding static function") > c60d67aad7b7 ("kdb: Replace strncmp with str_has_prefix") > > are missing a Signed-off-by from their committer. Oops. Fixed! Daniel.

[PATCH] sched: rt: Make RT capacity aware

2019-09-03 Thread Qais Yousef
Capacity Awareness refers to the fact that on heterogeneous systems (like Arm big.LITTLE), the capacity of the CPUs is not uniform, hence when placing tasks we need to be aware of this difference of CPU capacities. In such scenarios we want to ensure that the selected CPU has enough capacity to me

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

2019-09-03 Thread Rob Herring
On Tue, Sep 3, 2019 at 11:08 AM Ramuthevar, Vadivel MuruganX wrote: > > Hi Rob, > > Thank you so much for prompt reply. > > On 3/9/2019 5:19 PM, Rob Herring wrote: > > On Tue, Sep 3, 2019 at 2:57 AM Ramuthevar, Vadivel MuruganX > > wrote: > >> Hi Rob, > >> > >> Thank you for review comments. >

[PATCH v2 4/5] dt-bindings: i3c: add a note for no guarantee of 'assigned-address' use

2019-09-03 Thread Vitor Soares
By default, the framework will try to assign the 'assigned-address' to the device but if the address is already in use the device dynamic address will be different. Signed-off-by: Vitor Soares --- Documentation/devicetree/bindings/i3c/i3c.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-09-03 Thread Mika Westerberg
On Tue, Sep 03, 2019 at 01:13:28PM +0300, Mika Westerberg wrote: > Hi Brad, > > On Thu, Aug 29, 2019 at 12:27:08AM +0800, Brad Campbell wrote: > > It wouldn't surprise me if the firmware was doing something funky. It was > > one of the first Thunderbolt equipped models and the support docs explici

[PATCH v2 5/5] i3c: master: dw: reattach device on first available location of address table

2019-09-03 Thread Vitor Soares
For today the reattach function only update the device address on the controller. Update the location to the first available too, will optimize the enumeration process avoiding additional checks to keep the available positions on address table consecutive. Signed-off-by: Vitor Soares Reviewed-by

[PATCH v2 0/5] i3c: remove device if failed on pre_assign_dyn_addr()

2019-09-03 Thread Vitor Soares
This patch series remove the devices that fail during pre_assign_dyn_addr() and were being sent on DEFSVLS command. With the change above, during the i3c_master_add_i3c_dev_locked() is necessary to check if the device has i3c_boardinfo and try to assign the i3c_dev_boardinfo->init_dyn_addr if there

[PATCH v2 2/5] i3c: master: make sure ->boardinfo is initialized in add_i3c_dev_locked()

2019-09-03 Thread Vitor Soares
The newdev->boardinfo assignment was missing in i3c_master_add_i3c_dev_locked() and hence the ->of_node info isn't propagated to i3c_dev_desc. Fix this by trying to initialize device i3c_dev_boardinfo if available. Cc: Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Vito

[PATCH v2 3/5] dt-bindings: i3c: Make 'assigned-address' valid if static address == 0

2019-09-03 Thread Vitor Soares
The I3C devices without a static address can require a specific dynamic address for priority reasons. Let's update the binding document to make the 'assigned-address' property valid if static address == 0 and add an example with this use case. Signed-off-by: Vitor Soares --- Documentation/devic

[PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
On pre_assing_dyn_addr() the devices that fail: i3c_master_setdasa_locked() i3c_master_reattach_i3c_dev() i3c_master_retrieve_dev_info() are kept in memory and master->bus.devs list. This makes the i3c devices without a dynamic address are sent on DEFSLVS CCC command. Fix this by detaching a

[PATCH] scripts/checkpatch.pl - don't check for const structs if list is empty

2019-09-03 Thread Valdis Klētnieks
If the list of structures we expect to be const is empty (due to file permissions, or the file being empty, etc), we get odd complaints about structures: [/usr/src/linux-next] scripts/checkpatch.pl -f drivers/staging/netlogic/platform_net.h No structs that should be const will be found - file '

Re: [PATCH] ACPI: support for NXP i2c controller

2019-09-03 Thread Oleksij Rempel
One more question, On 02.09.19 22:56, Rafael J. Wysocki wrote: On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han wrote: Enable NXP i2c controller to boot with ACPI Signed-off-by: Meenakshi Aggarwal Signed-off-by: Udit Kumar Signed-off-by: Chuanhua Han Wolfram, any objections to this from th

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

2019-09-03 Thread Ramuthevar, Vadivel MuruganX
Hi Rob,    Thank you for your suggestions and clarifications. On 3/9/2019 6:34 PM, Rob Herring wrote: On Tue, Sep 3, 2019 at 11:08 AM Ramuthevar, Vadivel MuruganX wrote: Hi Rob, Thank you so much for prompt reply. On 3/9/2019 5:19 PM, Rob Herring wrote: On Tue, Sep 3, 2019 at 2:57 AM Ra

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Boris Brezillon
On Tue, 3 Sep 2019 12:35:50 +0200 Vitor Soares wrote: > On pre_assing_dyn_addr() the devices that fail: > i3c_master_setdasa_locked() > i3c_master_reattach_i3c_dev() > i3c_master_retrieve_dev_info() > > are kept in memory and master->bus.devs list. This makes the i3c devices > without a d

Re: [PATCH] net: 9p: Fix possible null-pointer dereferences in p9_cm_event_handler()

2019-09-03 Thread Dominique Martinet
Jia-Ju, Dominique Martinet wrote on Wed, Jul 24, 2019: > Jia-Ju Bai wrote on Wed, Jul 24, 2019: > > In p9_cm_event_handler(), there is an if statement on 260 to check > > whether rdma is NULL, which indicates that rdma can be NULL. > > If so, using rdma->xxx may cause a possible null-pointer deref

[PATCH] spi: spi-fsl-dspi: Fix race condition in TCFQ/EOQ interrupt

2019-09-03 Thread Vladimir Oltean
When the driver is working in TCFQ/EOQ mode (i.e. interacts with the SPI controller's FIFOs directly) the following sequence of operations happens: - The first byte of the tx buffer gets pushed to the TX FIFO (dspi->len gets decremented). This triggers the train of interrupts that handle the r

[Patch V2] soc/tegra: fuse: Add fuse clock check in tegra_fuse_readl

2019-09-03 Thread Nagarjuna Kristam
tegra_fuse_readl() can be called from drivers at any time. If this API is called before tegra_fuse_probe(), we end up enabling clock before it is registered. Add check for fuse clock in tegra_fuse_readl() and return corresponding error if any. Signed-off-by: Nagarjuna Kristam --- V2: - Ad

Re: [PATCH 03/12] media: hantro: Fix H264 motion vector buffer offset

2019-09-03 Thread Philipp Zabel
Hi Jonas, On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: > A decoded 8-bit 4:2:0 frame need memory for up to 448 macroblocks > and is laid out in memory as follow: Do you mean "A decoded 8-bit 4:2:0 frame needs up to 448 bytes per macroblock"? A 1280x720 frame already consists of 3600 m

Re: [PATCH v2 3/6] drm/vram: use drm_gem_ttm_print_info

2019-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2019 at 12:12:45PM +0200, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > Acked-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_gem_vram_helper.c | 4 +++- > drivers/gpu/drm/Kconfig | 1 + > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/d

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-03 Thread Luca Ceresoli
Hi Wolfram, On 03/09/19 11:34, Wolfram Sang wrote: > >> Not if you define enough addresses in the pool. E.g. the DS90UB954 >> hardware can have 8 aliases per port, so if you have (n_ports * 8) >> addresses in the pool the problem is solved. > > And then you plug-in somewhere another board with a

Re: [RFC 5/9] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-03 Thread Krzysztof Kozlowski
On Tue, 3 Sep 2019 at 10:25, Rob Herring wrote: > > On Tue, Sep 3, 2019 at 8:58 AM Krzysztof Kozlowski wrote: > > > > On Mon, 26 Aug 2019 at 13:54, Rob Herring wrote: > > > > > > On Fri, Aug 23, 2019 at 9:54 AM Krzysztof Kozlowski > > > wrote: > > > > > > > > Convert Samsung Exynos Power Manag

[PATCH -tip v2] kprobes: Prohibit probing on BUG() and WARN() address

2019-09-03 Thread Masami Hiramatsu
Since BUG() and WARN() may use a trap (e.g. UD2 on x86) to get the address where the BUG() has occurred, kprobes can not do single-step out-of-line that instruction. So prohibit probing on such address. Without this fix, if someone put a kprobe on WARN(), the kernel will crash with invalid opcode

RE: [PATCH] ACPI: support for NXP i2c controller

2019-09-03 Thread Meenakshi Aggarwal
+biwen > -Original Message- > From: Oleksij Rempel > Sent: Tuesday, September 3, 2019 4:20 PM > To: Rafael J. Wysocki ; Chuanhua Han > ; Wolfram Sang ; Andy > Shevchenko > Cc: Rafael J. Wysocki ; Len Brown ; > Shawn Guo ; Sascha Hauer ; > ACPI Devel Maling List ; Linux Kernel Mailing Lis

[PATCH v4 1/4] PCI: pciehp: Add pciehp_set_indicators() to jointly set LED indicators

2019-09-03 Thread Denis Efremov
Add pciehp_set_indicators() to set power and attention indicators with a single register write. Thus, avoiding waiting twice for Command Complete. Signed-off-by: Denis Efremov --- drivers/pci/hotplug/pciehp.h | 5 + drivers/pci/hotplug/pciehp_hpc.c | 21 + 2 files ch

[PATCH v4 0/4] Simplify PCIe hotplug indicator control

2019-09-03 Thread Denis Efremov
PCIe defines two optional hotplug indicators: a Power indicator and an Attention indicator. Both are controlled by the same register, and each can be on, off or blinking. The current interfaces (pciehp_green_led_{on,off,blink}() and pciehp_set_attention_status()) are non-uniform and require two reg

[PATCH v4 3/4] PCI: pciehp: Remove pciehp_set_attention_status()

2019-09-03 Thread Denis Efremov
Remove pciehp_set_attention_status() and use pciehp_set_indicators() instead, since the code is mostly the same. Reviewed-by: Kuppuswamy Sathyanarayanan Signed-off-by: Denis Efremov --- drivers/pci/hotplug/pciehp.h | 1 - drivers/pci/hotplug/pciehp_core.c | 7 ++- drivers/pci/hotplu

RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
Hi Boris, From: Boris Brezillon Date: Tue, Sep 03, 2019 at 11:52:37 > On Tue, 3 Sep 2019 12:35:50 +0200 > Vitor Soares wrote: > > > On pre_assing_dyn_addr() the devices that fail: > > i3c_master_setdasa_locked() > > i3c_master_reattach_i3c_dev() > > i3c_master_retrieve_dev_info() > > >

[PATCH v4 2/4] PCI: pciehp: Switch LED indicators with a single write

2019-09-03 Thread Denis Efremov
This patch replaces all consecutive switches of power and attention indicators with pciehp_set_indicators() call. Thus, performing only single write to a register. Reviewed-by: Kuppuswamy Sathyanarayanan Reviewed-by: Lukas Wunner Signed-off-by: Denis Efremov --- drivers/pci/hotplug/pciehp_ctr

[PATCH v4 4/4] PCI: pciehp: Remove pciehp_green_led_{on,off,blink}()

2019-09-03 Thread Denis Efremov
Remove pciehp_green_led_{on,off,blink}() and use pciehp_set_indicators() instead, since the code is mostly the same. Reviewed-by: Kuppuswamy Sathyanarayanan Signed-off-by: Denis Efremov --- drivers/pci/hotplug/pciehp.h | 6 +++--- drivers/pci/hotplug/pciehp_ctrl.c | 7 +++--- drivers/pc

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

2019-09-03 Thread Mark Brown
On Tue, Sep 03, 2019 at 04:19:10AM +0900, Katsuhiro Suzuki wrote: > On 2019/09/02 21:02, Mark Brown wrote: > > The best way to handle this is to try to support both fixed and variable > > clock rates, some other drivers do this by setting constraints based on > > MCLK only if the MCLK has been set

Linux Foundation Technical Advisory Board Elections -- voting procedures

2019-09-03 Thread Laura Abbott
Hi, On behalf of the Linux Foundation Technical Advisory Board (TAB), I'd like to take this opportunity to announce the voting procedures for the 2019 TAB elections. As was announced[1], this year we are moving to electronic voting. Everyone who is registered for kernel summit (co-located with Li

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-03 Thread kbuild test robot
/Anshuman-Khandual/mm-debug-Add-tests-for-architecture-exported-page-table-helpers/20190903-162959 config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Przemyslaw Gaj
Hi Vitor, I'm sorry for the delay. The 09/03/2019 12:35, Vitor Soares wrote: > EXTERNAL MAIL > > > On pre_assing_dyn_addr() the devices that fail: > i3c_master_setdasa_locked() > i3c_master_reattach_i3c_dev() > i3c_master_retrieve_dev_info() > > are kept in memory and master->bus.devs li

Re: [PATCH] 9p/vfs_super.c: Remove unused parameter data in v9fs_fill_super

2019-09-03 Thread Dominique Martinet
Bharath Vedartham wrote on Thu, May 23, 2019: > v9fs_fill_super has a param 'void *data' which is unused in the > function. > > This patch removes the 'void *data' param in v9fs_fill_super and changes > the parameters in all function calls of v9fs_fill_super. > > Signed-off-by: Bharath Vedartham

Re: [PATCH v5 05/11] device property: Add fwnode_get_name for returning the name of a node

2019-09-03 Thread Sakari Ailus
Moi, Thanks for the comments. On Tue, Sep 03, 2019 at 01:10:13PM +0300, Heikki Krogerus wrote: > Hi Sakari, > > On Mon, Sep 02, 2019 at 04:57:26PM +0300, Sakari Ailus wrote: > > diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c > > index 951e7efd47c23..a4a0f5b80bad3 100644 > > --- a/dri

Re: [PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-03 Thread Michael Ellerman
Christophe Leroy writes: > Le 03/09/2019 à 07:23, Alastair D'Silva a écrit : >> From: Alastair D'Silva >> >> Similar to commit 22e9c88d486a >> ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") >> this patch converts the following ASM symbols to C: >> flush_icache_range() >>

Re: [PATCH v3 5/7] arm64: dts: mt8183: add usb and phy nodes

2019-09-03 Thread kbuild test robot
Hi Chunfeng, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190902] [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/Chunfen

Re: [PATCH] regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized

2019-09-03 Thread Mark Brown
On Mon, Sep 02, 2019 at 03:10:47PM -0700, Yizhuo wrote: > In function pfuze100_regulator_probe(), variable "val" could be > initialized if regmap_read() fails. However, "val" is used to > decide the control flow later in the if statement, which is > potentially unsafe. > struct regul

Re: [RFC v3] vhost: introduce mdev based hardware vhost backend

2019-09-03 Thread Michael S. Tsirkin
On Wed, Aug 28, 2019 at 01:37:12PM +0800, Tiwei Bie wrote: > Details about this can be found here: > > https://lwn.net/Articles/750770/ > > What's new in this version > == > > There are three choices based on the discussion [1] in RFC v2: > > > #1. We expose a VFIO devic

Re: [PATCH v5 09/11] lib/vsprintf: OF nodes are first and foremost, struct device_nodes

2019-09-03 Thread Andy Shevchenko
On Tue, Sep 03, 2019 at 11:28:16AM +0200, Petr Mladek wrote: > On Tue 2019-09-03 10:52:33, Petr Mladek wrote: > > On Mon 2019-09-02 16:57:30, Sakari Ailus wrote: > > > Factor out static kobject_string() function that simply calls > > > device_node_string(), and thus remove references to kobjects (a

[PATCH v4 03/16] vfs: subtype handling moved to fuse

2019-09-03 Thread Miklos Szeredi
From: David Howells The unused vfs code can be removed. Don't pass empty subtype (same as if ->parse callback isn't called). The bits that are left involve determining whether it's permitted to split the filesystem type string passed in to mount(2). Consequently, this means that we cannot get

[PATCH v4 04/16] fuse: export fuse_end_request()

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi virtio-fs will need to complete requests from outside fs/fuse/dev.c. Make the symbol visible. Signed-off-by: Stefan Hajnoczi Signed-off-by: Miklos Szeredi --- fs/fuse/dev.c| 19 ++- fs/fuse/fuse_i.h | 5 + 2 files changed, 15 insertions(+), 9 de

[PATCH v4 00/16] virtio-fs: shared file system for virtual machines

2019-09-03 Thread Miklos Szeredi
Posting latest version to virtio mailing list as well. I guess patches 15 and 16 are most interesting to the virt community. The reasons for creating a new fs are spelled out in the previous posting: https://lore.kernel.org/linux-fsdevel/20190821173742.24574-1-vgo...@redhat.com/ Git tree for th

[PATCH v4 02/16] fuse: convert to use the new mount API

2019-09-03 Thread Miklos Szeredi
From: David Howells Convert the fuse filesystem to the new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem. See Documentation/filesystems/mount_api.txt for more in

[PATCH] csky: Move static keyword to the front of declaration

2019-09-03 Thread Krzysztof Wilczynski
Move the static keyword to the front of declaration of csky_pmu_of_device_ids, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): arch/csky/kernel/perf_event.c:1340:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaratio

Re: [PATCH 1/6] usb/ohci-sm501: remove the HCD_DMA flag

2019-09-03 Thread Guenter Roeck
ad of guestimating DMA > capabilities") > Reported-by: Guenter Roeck > Signed-off-by: Christoph Hellwig Tested-by: Guenter Roeck on top of next-20190903. Thanks! Guenter > --- > drivers/usb/host/ohci-sm501.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[PATCH v1 0/4] cpuidle, haltpoll: governor switching on idle register

2019-09-03 Thread Joao Martins
Hey, Presented herewith a series with aims to tie in together the haltpoll idle driver and governor, without sacrificing previous governor setups. In addition, there are a few fixes with respect to module loading for cpuidle-haltpoll. The series is organized as follows: Patch 1: Allows idle dr

[PATCH v1 3/4] cpuidle-haltpoll: return -ENODEV on modinit failure

2019-09-03 Thread Joao Martins
When a user loads cpuidle-haltpoll on a non KVM guest the module will successfully load, even though idle driver registration didn't take place. We should instead return -ENODEV signaling the user that the driver can't be loaded, like other error paths in haltpoll_init(). An example of such error

[PATCH v1 2/4] cpuidle-haltpoll: set haltpoll as preferred governor

2019-09-03 Thread Joao Martins
Right now, guest current governors have the following ratings: * ladder-> 10 * teo -> 19 * menu -> 20 * haltpoll -> 21 * ladder + nohz=off -> 25 haltpoll governor got introduced and it is now the default governor given its highest rating -- wit

[PATCH v1 1/4] cpuidle: allow governor switch on cpuidle_register_driver()

2019-09-03 Thread Joao Martins
The recently introduced haltpoll driver is largely only useful with haltpoll governor. To allow drivers to associate with a particular idle behaviour, add a @governor property to 'struct cpuidle_driver' and thus allow a cpuidle driver to switch to a *preferred* governor on idle driver registratio

[PATCH v4 05/16] fuse: export fuse_len_args()

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi virtio-fs will need to query the length of fuse_arg lists. Make the symbol visible. Signed-off-by: Stefan Hajnoczi Signed-off-by: Miklos Szeredi --- fs/fuse/dev.c| 7 --- fs/fuse/fuse_i.h | 5 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/

[PATCH v4 07/16] fuse: export fuse_get_unique()

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi virtio-fs will need unique IDs for FORGET requests from outside fs/fuse/dev.c. Make the symbol visible. Signed-off-by: Stefan Hajnoczi Signed-off-by: Miklos Szeredi --- fs/fuse/dev.c| 3 ++- fs/fuse/fuse_i.h | 5 + 2 files changed, 7 insertions(+), 1 deletion(-)

[PATCH v4 09/16] fuse: extract fuse_fill_super_common()

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi fuse_fill_super() includes code to process the fd= option and link the struct fuse_dev to the fd's struct file. In virtio-fs there is no file descriptor because /dev/fuse is not used. This patch extracts fuse_fill_super_common() so that both classic fuse and virtio-fs can

[PATCH v4 14/16] fuse: allow skipping control interface and forced unmount

2019-09-03 Thread Miklos Szeredi
From: Vivek Goyal virtio-fs does not support aborting requests which are being processed. That is requests which have been sent to fuse daemon on host. Signed-off-by: Vivek Goyal Signed-off-by: Miklos Szeredi --- fs/fuse/fuse_i.h | 8 fs/fuse/inode.c | 7 ++- 2 files changed, 14

[PATCH v1 4/4] cpuidle-haltpoll: do not set an owner to allow modunload

2019-09-03 Thread Joao Martins
cpuidle-haltpoll can be built as a module to allow optional late load. Given we are setting @owner to THIS_MODULE, cpuidle will attempt to grab a module reference every time a cpuidle_device is registered -- so essentially all online cpus get a reference. This prevents for the module to be unloade

[PATCH v4 12/16] fuse: delete dentry if timeout is zero

2019-09-03 Thread Miklos Szeredi
Don't hold onto dentry in lru list if need to re-lookup it anyway at next access. Only do this if explicitly enabled, otherwise it could result in performance regression. More advanced version of this patch would periodically flush out dentries from the lru which have gone stale. Signed-off-by:

[PATCH v4 10/16] fuse: add fuse_iqueue_ops callbacks

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi The /dev/fuse device uses fiq->waitq and fasync to signal that requests are available. These mechanisms do not apply to virtio-fs. This patch introduces callbacks so alternative behavior can be used. Note that queue_interrupt() changes along these lines: spin_lock(&fiq

[PATCH v4 16/16] virtio-fs: add Documentation/filesystems/virtiofs.rst

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi Add information about the new "virtiofs" file system. Signed-off-by: Stefan Hajnoczi Signed-off-by: Miklos Szeredi --- Documentation/filesystems/index.rst| 10 + Documentation/filesystems/virtiofs.rst | 60 ++ MAINTAINERS

[PATCH v4 13/16] fuse: dissociate DESTROY from fuseblk

2019-09-03 Thread Miklos Szeredi
Allow virtio-fs to also send DESTROY request. Signed-off-by: Miklos Szeredi --- fs/fuse/fuse_i.h | 9 + fs/fuse/inode.c | 12 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 700df42520ec..48a3db6870ae 100644 --- a/f

[PATCH v4 15/16] virtio-fs: add virtiofs filesystem

2019-09-03 Thread Miklos Szeredi
From: Stefan Hajnoczi Add a basic file system module for virtio-fs. This does not yet contain shared data support between host and guest or metadata coherency speedups. However it is already significantly faster than virtio-9p. Design Overview === With the goal of designing somethi

[PATCH v4 11/16] fuse: separate fuse device allocation and installation in fuse_conn

2019-09-03 Thread Miklos Szeredi
From: Vivek Goyal As of now fuse_dev_alloc() both allocates a fuse device and installs it in fuse_conn list. fuse_dev_alloc() can fail if fuse_device allocation fails. virtio-fs needs to initialize multiple fuse devices (one per virtio queue). It initializes one fuse device as part of call to f

[PATCH v4 08/16] fuse: export fuse_dequeue_forget() function

2019-09-03 Thread Miklos Szeredi
From: Vivek Goyal File systems like virtio-fs need to do not have to play directly with forget list data structures. There is a helper function use that instead. Rename dequeue_forget() to fuse_dequeue_forget() and export it so that stacked filesystems can use it. Signed-off-by: Vivek Goyal Si

[PATCH v4 06/16] fuse: export fuse_send_init_request()

2019-09-03 Thread Miklos Szeredi
From: Vivek Goyal This will be used by virtio-fs to send init request to fuse server after initialization of virt queues. Signed-off-by: Vivek Goyal Signed-off-by: Miklos Szeredi --- fs/fuse/dev.c| 1 + fs/fuse/fuse_i.h | 1 + fs/fuse/inode.c | 3 ++- 3 files changed, 4 insertions(+), 1

Re: [PATCH 1/2] dt-bindings: power: syscon-reboot: Convert bindings to json-schema

2019-09-03 Thread Krzysztof Kozlowski
On Tue, 3 Sep 2019 at 11:00, Rob Herring wrote: > > On Tue, Sep 3, 2019 at 8:47 AM Krzysztof Kozlowski wrote: > > > > On Tue, 3 Sep 2019 at 09:14, Rob Herring wrote: > > > > > > On Mon, Sep 2, 2019 at 4:03 PM Krzysztof Kozlowski > > > wrote: > > > > > > > > Convert the Syscon reboot bindings t

Re: [PATCH 1/2] dt-bindings: power: syscon-reboot: Convert bindings to json-schema

2019-09-03 Thread Sebastian Reichel
On Tue, Sep 03, 2019 at 10:00:12AM +0100, Rob Herring wrote: > On Tue, Sep 3, 2019 at 8:47 AM Krzysztof Kozlowski wrote: > > > > On Tue, 3 Sep 2019 at 09:14, Rob Herring wrote: > > > > > > On Mon, Sep 2, 2019 at 4:03 PM Krzysztof Kozlowski > > > wrote: > > > > > > > > Convert the Syscon reboot

[PATCH] mmc: sdhci: Fix incorrect switch to HS mode

2019-09-03 Thread Al Cooper
When switching from any MMC speed mode that requires 1.8v (HS200, HS400 and HS400ES) to High Speed (HS) mode, the system ends up configured for SDR12 with a 50MHz clock which is an illegal mode. This happens because the SDHCI_CTRL_VDD_180 bit in the SDHCI_HOST_CONTROL2 register is left set and whe

Re: [PATCH 6/6] mfd: don't select DMA_DECLARE_COHERENT for the sm501 and tc6393xb drivers

2019-09-03 Thread Guenter Roeck
On Tue, Sep 03, 2019 at 10:46:15AM +0200, Christoph Hellwig wrote: > Now that these drivers use the usb localmem pool there is no need to > select DMA_DECLARE_COHERENT. > > Signed-off-by: Christoph Hellwig Tested-by: Guenter Roeck for SM501. > --- > drivers/mfd/Kconfig | 2 -- > 1 file chang

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-09-03 Thread Mika Westerberg
On Tue, Sep 03, 2019 at 07:11:32PM +0800, Brad Campbell wrote: > G'day Mika, > > I'm sending you two dmesg because with that patch applied, a warm boot (as > in reboot) comes up with all 3 heads, but a cold boot only has the two. I > thought that was odd, so I reproduced it a couple of times just

Benötigen Sie persönliche Finanzen?

2019-09-03 Thread Loan Offers
Benötigen Sie persönliche Finanzen? Business Cash Finance? Ungesicherte Finanzierung Schnelle und einfache Finanzierung? Schneller Bewerbungsprozess? Finanzen. Zu den erbrachten Dienstleistungen gehören * Debt Consolidation Finance * Business Finance Services * Hilfe zu Personal Finance Services Be

RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
From: Przemyslaw Gaj Date: Tue, Sep 03, 2019 at 12:13:57 > Hi Vitor, > > I'm sorry for the delay. > > The 09/03/2019 12:35, Vitor Soares wrote: > > EXTERNAL MAIL > > > > > > On pre_assing_dyn_addr() the devices that fail: > > i3c_master_setdasa_locked() > > i3c_master_reattach_i3c_dev() >

Re: [PATCH v5 1/2] mm: Allow the page cache to allocate large pages

2019-09-03 Thread Michal Hocko
On Mon 02-09-19 03:23:40, William Kucharski wrote: > Add an 'order' argument to __page_cache_alloc() and > do_read_cache_page(). Ensure the allocated pages are compound pages. Why do we need to touch all the existing callers and change them to use order 0 when none is actually converted to a diffe

Applied "regulator: add missing 'static inline' to a helper's stub" to the regulator tree

2019-09-03 Thread Mark Brown
The patch regulator: add missing 'static inline' to a helper's stub 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 th

Applied "spi: uniphier: remove unnecessary code" to the spi tree

2019-09-03 Thread Mark Brown
The patch spi: uniphier: remove unnecessary code has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "spi: uniphier: introduce polling mode" to the spi tree

2019-09-03 Thread Mark Brown
The patch spi: uniphier: introduce polling mode has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "spi: spi-fsl-dspi: Fix race condition in TCFQ/EOQ interrupt" to the spi tree

2019-09-03 Thread Mark Brown
The patch spi: spi-fsl-dspi: Fix race condition in TCFQ/EOQ interrupt has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: uniphier: fix wrong register overwrite" to the spi tree

2019-09-03 Thread Mark Brown
The patch spi: uniphier: fix wrong register overwrite has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-03 Thread Jarkko Nikula
Hi Chris On 9/3/19 11:18 AM, Mika Westerberg wrote: +Jarkko On Tue, Sep 03, 2019 at 04:10:27PM +0800, Chris Chiu wrote: Hi, We're working on the acer Gemnilake laptop TravelMate B118-M for touchpad not working issue. The touchpad fails to bring up and the i2c-hid ouput the message as follows

[PATCH -next] usb: cdns3: remove set but not used variable 'priv_dev'

2019-09-03 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_init': drivers/usb/cdns3/gadget.c:2665:23: warning: variable 'priv_dev' set but not used [-Wunused-but-set-variable] drivers/usb/cdns3/gadget.c: In function cdns3_start_all_request: drivers/usb/

[PATCH][usb-next] usb: cdns3: fix spelling mistake: "cnfiguration" -> "configuration"

2019-09-03 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_dbg message. Fix it. Signed-off-by: Colin Ian King --- drivers/usb/cdns3/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index 3094ad65ffc9..acf2d4c6a6

[PATCH -next] usb: cdns3: Fix Wunused-but-set-variable warning

2019-09-03 Thread YueHaibing
drivers/usb/cdns3/ep0.c: In function cdns3_ep0_feature_handle_device: drivers/usb/cdns3/ep0.c:290:6: warning: variable wIndex set but not used [-Wunused-but-set-variable] drivers/usb/cdns3/ep0.c:289:6: warning: variable wValue set but not used [-Wunused-but-set-variable] wIndex is never used, so

[PATCH v1 2/3] clk: rockchip: Add dt-binding header for rk3308

2019-09-03 Thread Finley Xiao
Add the dt-bindings header for the rk3308, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Finley Xiao --- include/dt-bindings/clock/rk3308-cru.h | 387 + 1 file changed, 387 insertions(+) create mode 100644 inclu

KASAN: use-after-free Read in str_to_user

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=112b031260 kernel config: https://syzkaller.appspot.com/x/.

WARNING in hso_free_net_device

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=15f17e6160 kernel config: https://syzkaller.appspot.com/x/.

KASAN: use-after-free Read in atusb_disconnect

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=15c4eba660 kernel config: https://syzkaller.appspot.com/x/.

[PATCH v1 0/3] clk: rockchip: support clock controller for rk3308 SoC

2019-09-03 Thread Finley Xiao
Finley Xiao (3): dt-bindings: Add bindings for rk3308 clock controller clk: rockchip: Add dt-binding header for rk3308 clk: rockchip: Add clock controller for the RK3308 .../devicetree/bindings/clock/rockchip,rk3308.txt | 58 ++ drivers/clk/rockchip/Makefile | 1 +

KASAN: use-after-free Read in rsi_rx_done_handler

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=1031c5f260 kernel config: https://syzkaller.appspot.com/x/.

KASAN: use-after-free Write in usbhid_open

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=16ab998260 kernel config: https://syzkaller.appspot.com/x/.

KASAN: use-after-free Read in usbhid_close

2019-09-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=140a786c60 kernel config: https://syzkaller.appspot.com/x/.

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