Re: WARNING in mark_lock

2019-06-30 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: KASAN: use-after-free Read in class_equal == BUG: KASAN: use-after-free in class_equal+0x40/0x50 kernel/locking/lockdep.c:1527 Read of size

Re: [Xen-devel] [PATCH] ALSA: xen-front: fix unintention integer overflow on left shifts

2019-06-30 Thread Oleksandr Andrushchenko
On 6/28/19 11:46 AM, Takashi Iwai wrote: On Thu, 27 Jun 2019 18:58:53 +0200, Colin King wrote: From: Colin Ian King Shifting the integer value 1 is evaluated using 32-bit arithmetic and then used in an expression that expects a 64-bit value, so there is potentially an integer overflow. Fix

Re: memory leak in create_ctx

2019-06-30 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: memory leak in create_ctx 2019/07/01 05:38:26 executed programs: 23 BUG: memory leak unreferenced object 0x888102914e00 (size 512): comm "syz-executor.4", pid 7333, jiffies 4294944085 (age 13.950s)

Re: [PATCH REBASE v2 1/2] x86, arm64: Move ARCH_WANT_HUGE_PMD_SHARE config in arch/Kconfig

2019-06-30 Thread Alex Ghiti
On 6/30/19 9:58 PM, Hanjun Guo wrote: On 2019/5/26 20:50, Alexandre Ghiti wrote: ARCH_WANT_HUGE_PMD_SHARE config was declared in both architectures: move this declaration in arch/Kconfig and make those architectures select it. Signed-off-by: Alexandre Ghiti Reviewed-by: Palmer Dabbelt ---

[PATCH v2] arm64: zynqmp: Add ZynqMP SDHCI compatible string

2019-06-30 Thread Manish Narani
Add the new compatible string for ZynqMP SD Host Controller for its use in the Arasan SDHCI driver for some of the ZynqMP specific operations. Add required properties for the same. Signed-off-by: Manish Narani --- This patch depends on the below series of patches:

RE: [net/bpf] Re: WARNING in mark_lock

2019-06-30 Thread John Fastabend
Eric Biggers wrote: > [+bpf list] > > On Tue, Jun 25, 2019 at 08:20:56AM +0200, Thomas Gleixner wrote: > > On Mon, 24 Jun 2019, syzbot wrote: > > > > > Hello, > > > > CC++ Peterz > > > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:dc636f5d Add linux-next

Re: [PATCH v2 1/2] rpmsg: core: add possibility to get message payload length

2019-06-30 Thread Bjorn Andersson
On Fri 10 May 08:02 PDT 2019, Arnaud Pouliquen wrote: > Return the rpmsg buffer payload size for sending message, so rpmsg users > can split a long message in several sub rpmsg buffers. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Fabien Dessenne This should list each person who dealt

[PATCH v2 07/11] dt-bindings: mmc: arasan: Add optional properties for Arasan SDHCI

2019-06-30 Thread Manish Narani
Add optional propeties for Arasan SDHCI which are used to set clk delays for different speed modes in the controller. Signed-off-by: Manish Narani --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v2 05/11] dt-bindings: mmc: arasan: Update Documentation for the input clock

2019-06-30 Thread Manish Narani
Add documentation for an optional input clock which is essentially used in sampling the input data coming from the card. Signed-off-by: Manish Narani --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v2 06/11] mmc: sdhci-of-arasan: Add sampling clock for a phy to use

2019-06-30 Thread Manish Narani
There are some operations like setting the clock delays may need to have two clocks, one for output path and one for input path. Adding input path clock for some phys to use. Signed-off-by: Manish Narani --- drivers/mmc/host/sdhci-of-arasan.c | 118 ++--- 1 file

[PATCH v2 00/11] Arasan SDHCI enhancements and ZynqMP Tap Delays Handling

2019-06-30 Thread Manish Narani
This patch series does the following: - Reorganize the Clock Handling in Arasan SD driver - Adds new sampling clock in Arasan SD driver - Adds support to set Clock Delays in SD Arasan Driver - Add SDIO Tap Delay handling in ZynqMP firmware driver - Add support for ZynqMP Tap Delays setting in

[PATCH v2 01/11] dt-bindings: mmc: arasan: Update documentation for SD Card Clock

2019-06-30 Thread Manish Narani
The clock handling is to be updated in the Arasan SDHCI. As the 'devm_clk_register' is deprecated in the clock framework, this needs to specify one more clock named 'clk_sdcard' to get the clock in the driver via 'devm_clk_get()'. This clock represents the clock from controller to the card.

[PATCH v2 08/11] mmc: sdhci-of-arasan: Add support to set clock phase delays for SD

2019-06-30 Thread Manish Narani
Add support to read Clock Phase Delays from the DT and set it via clk_set_phase() API from clock framework. Some of the controllers might have their own handling of setting clock delays, for this keep the set_clk_delays as function pointer which can be assigned controller specific handling of the

[PATCH v2 11/11] mmc: sdhci-of-arasan: Add support for ZynqMP Platform Tap Delays Setup

2019-06-30 Thread Manish Narani
Apart from taps set by auto tuning, ZynqMP platform has feature to set the tap values manually. Add support to set tap delay values in HW via ZynqMP SoC framework. Signed-off-by: Manish Narani --- drivers/mmc/host/sdhci-of-arasan.c | 200 - 1 file changed,

[PATCH v2 02/11] arm64: dts: rockchip: Add optional clock property indicating sdcard clock

2019-06-30 Thread Manish Narani
As devm_clk_register() is deprecated in the clock framework, it is mandatory to use devm_clk_get() for getting the clock. This patch adds sdcard clock which will be used for the same. Signed-off-by: Manish Narani --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- 1 file changed, 2

[PATCH v2 09/11] firmware: xilinx: Add SDIO Tap Delay APIs

2019-06-30 Thread Manish Narani
Add APIs for setting SDIO Tap Delays on ZynqMP platform. Signed-off-by: Manish Narani --- drivers/firmware/xilinx/zynqmp.c | 48 include/linux/firmware/xlnx-zynqmp.h | 15 ++- 2 files changed, 62 insertions(+), 1 deletion(-) diff --git

[PATCH v2 03/11] mmc: sdhci-of-arasan: Replace deprecated clk API calls

2019-06-30 Thread Manish Narani
The clk framework APIs devm_clk_register and of_clk_add_provider, which are used here, are deprecated. Replace the calls with the new API calls. Also add an API call devm_clk_get() to get the clock from DT. Signed-off-by: Manish Narani --- drivers/mmc/host/sdhci-of-arasan.c | 21

[PATCH v2 10/11] dt-bindings: mmc: arasan: Document 'xlnx,zynqmp-8.9a' controller

2019-06-30 Thread Manish Narani
Add documentation for 'xlnx,zynqmp-8.9a' SDHCI controller and optional properties followed by example. Signed-off-by: Manish Narani --- .../devicetree/bindings/mmc/arasan,sdhci.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git

[PATCH v2 04/11] mmc: sdhci-of-arasan: Separate out clk related data to another structure

2019-06-30 Thread Manish Narani
To improve the code readability, use two different structs, one for clock provider data and one for mmc platform data. Signed-off-by: Manish Narani --- drivers/mmc/host/sdhci-of-arasan.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git

RE: memory leak in create_ctx

2019-06-30 Thread John Fastabend
syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=170e0bfea0 > kernel config:

linux-next: manual merge of the nand tree with Linus' tree

2019-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nand tree got a conflict in: drivers/mtd/nand/raw/mtk_ecc.h between commit: d2912cb15bdd ("treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500") from Linus' tree and commit: b74e6985bfe8 ("mtd: rawnand: mtk: Re-license MTK NAND

Re: [RFC PATCH v5] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-06-30 Thread Chris Chiu
On Mon, Jun 17, 2019 at 2:56 PM Chris Chiu wrote: > > We have 3 laptops which connect the wifi by the same RTL8723BU. > The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. > They have the same problem with the in-kernel rtl8xxxu driver, the > iperf (as a client to an

Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-06-30 Thread Chris Chiu
On Thu, Jun 27, 2019 at 5:52 PM Chris Chiu wrote: > > The WiFi tx power of RTL8723BU is extremely low after booting. So > the WiFi scan gives very limited AP list and it always fails to > connect to the selected AP. This module only supports 1x1 antenna > and the antenna is switched to bluetooth

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

2019-06-30 Thread Stephen Rothwell
Hi all, On Mon, 1 Jul 2019 14:57:22 +1000 Stephen Rothwell wrote: > > After merging the bpf-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/net/ethernet/mellanox/mlx5/core/en_main.c:1605:5: error: conflicting > types for 'mlx5e_open_cq' > int

Re: [PATCH 12/87] dma: imx-sdma: Remove call to memset after dma_alloc_coherent

2019-06-30 Thread Vinod Koul
On 28-06-19, 01:35, Fuqian Huang wrote: > In commit af7ddd8a627c > ("Merge tag 'dma-mapping-4.21' of > git://git.infradead.org/users/hch/dma-mapping"), > dma_alloc_coherent has already zeroed the memory. > So memset is not needed. Please point to the exact commit and not the merge

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

2019-06-30 Thread Stephen Rothwell
Hi all, After merging the bpf-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/mellanox/mlx5/core/en_main.c:1605:5: error: conflicting types for 'mlx5e_open_cq' int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder,

Re: [PATCH v4 2/4] usb: xhci: Use register defined and field names

2019-06-30 Thread Vinod Koul
On 29-06-19, 00:42, Mathias Nyman wrote: > > Most of this patch should probably be squashed together with the previous > patch Will do -- ~Vinod

Re: [PATCH v4 1/4] usb: xhci: add firmware loader for uPD720201 and uPD720202 w/o ROM

2019-06-30 Thread Vinod Koul
On 29-06-19, 00:40, Mathias Nyman wrote: > On 26.6.2019 10.55, Vinod Koul wrote: > > From: Christian Lamparter > > > > This patch adds a firmware loader for the uPD720201K8-711-BAC-A > > and uPD720202K8-711-BAA-A variant. Both of these chips are listed > > in Renesas' R19UH0078EJ0500 Rev.5.00

linux-next: manual merge of the bpf-next tree with the net-next tree

2019-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_main.c between commit: 8960b38932be ("linux/dim: Rename externally used net_dim members") from the net-next tree and commits: db05815b36cb ("net/mlx5e: Add XSK zero-copy

[PATCHv2] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-06-30 Thread Po-Hsu Lin
The psock_tpacket test will need to access /proc/kallsyms, this would require the kernel config CONFIG_KALLSYMS to be enabled first. Apart from adding CONFIG_KALLSYMS to the net/config file here, check the file existence to determine if we can run this test will be helpful to avoid a

Re: [PATCH v6 3/3] arm64: kexec_file: add rng-seed support

2019-06-30 Thread Hsin-Yi Wang
On Fri, Jun 28, 2019 at 7:47 PM Hsin-Yi Wang wrote: > > > > If the RNG wasn't initialised, we'd carry on with a warning. Why do we > > follow a different policy here? > > (Sorry, please ignore previous comment) I think this part should be same as kaslr, since they are both adding random seeds:

[PATCH v5 0/2] clocksource/drivers: Create new Hyper-V clocksource driver

2019-06-30 Thread Michael Kelley
This patch series moves Hyper-V clock/timer code to a separate Hyper-V clocksource driver. Previously, Hyper-V clock/timer code and data structures were mixed in with other Hyper-V code in the ISA independent drivers/hv code as well as in ISA dependent code. The new Hyper-V clocksource driver is

[PATCH v5 2/2] clocksource/drivers: Continue making Hyper-V clocksource ISA agnostic

2019-06-30 Thread Michael Kelley
Continue consolidating Hyper-V clock and timer code into an ISA independent Hyper-V clocksource driver. Move the existing clocksource code under drivers/hv and arch/x86 to the new clocksource driver while separating out the ISA dependencies. Update Hyper-V initialization to call initialization and

[PATCH v5 1/2] clocksource/drivers: Make Hyper-V clocksource ISA agnostic

2019-06-30 Thread Michael Kelley
Hyper-V clock/timer code and data structures are currently mixed in with other code in the ISA independent drivers/hv directory as well as the ISA dependent Hyper-V code under arch/x86. Consolidate this code and data structures into a Hyper-V clocksource driver to better follow the Linux model.

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

2019-06-30 Thread Stephen Rothwell
Hi all, After merging the rdma tree, today's linux-next build (x86_64 allmodconfig) failed like this: WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_ah.o see include/linux/module.h for more information WARNING: modpost: missing MODULE_LICENSE() in

Re: [PATCH] tools/memory-model: Update the informal documentation

2019-06-30 Thread Paul E. McKenney
On Sat, Jun 29, 2019 at 11:10:44PM +0200, Andrea Parri wrote: > The formal memory consistency model has added support for plain accesses > (and data races). While updating the informal documentation to describe > this addition to the model is highly desirable and important future work, > update

[RFC 1/3] rcu: Expedite the rcu quiescent state reporting if help needed

2019-06-30 Thread Joel Fernandes (Google)
The t->rcu_read_unlock_special union's need_qs bit can be set by the scheduler tick (in rcu_flavor_sched_clock_irq) to indicate that help is needed from the rcu_read_unlock path. When this help arrives however, we can do better to speed up the quiescent state reporting which if

[RFC 2/3] rcu: Simplify rcu_note_context_switch exit from critical section

2019-06-30 Thread Joel Fernandes (Google)
The rcu_preempt_note_context_switch() tries to handle cases where __rcu_read_unlock() got preempted and then the context switch path does the reporting of the quiscent state along with clearing any bits in the rcu_read_unlock_special union. This can be handled by just calling rcu_deferred_qs()

[RFC 3/3] Revert "rcutorture: Tweak kvm options"

2019-06-30 Thread Joel Fernandes (Google)
This reverts commit a6fda6dab93c2c06ef4b8cb4b9258df6674d2438 which causes kvm.sh to not run on my machines. The qemu-system-x86_64 command runs but does nothing. Signed-off-by: Joel Fernandes (Google) --- I am Ok if we want to drop this patch but it is in my tree because without it I can't run

[PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT

2019-06-30 Thread Randy Dunlap
From: Randy Dunlap A single driver should not enable (select) an entire subsystem, such as INPUT, so change the 'select' to "depends on". Fixes: d6abe6df706c ("drm/bridge: sil_sii8620: do not have a dependency of RC_CORE") Signed-off-by: Randy Dunlap Cc: Inki Dae Cc: Andrzej Hajda Cc:

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

2019-06-30 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/cpufreq/intel_pstate.c:11: drivers/cpufreq/intel_pstate.c: In function 'intel_pstate_update_max_freq': drivers/cpufreq/intel_pstate.c:912:31: error: 'struct

linux-next: manual merge of the pm tree with the pci tree

2019-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pm tree got a conflict in: Documentation/power/pm_qos_interface.rst between commits: 151f4e2bdc7a ("docs: power: convert docs to ReST and rename to *.rst") 562fe2ef1a21 ("PM / QOS: Pass request type to dev_pm_qos_read_value()") from the pci tree

[PATCH 4/4] platform: x86: Use dev_get_drvdata()

2019-06-30 Thread Fuqian Huang
Using dev_get_drvdata directly. Signed-off-by: Fuqian Huang --- drivers/platform/x86/asus-wmi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 9b18a184e0aa..49049b02a015 100644 ---

[PATCH 1/2] drm/vkms: Add enable/disable functions per connector

2019-06-30 Thread Rodrigo Siqueira
Currently, virtual and writeback connectors have the code responsible for initialization and cleanup spread around different places in vkms. This patch creates an enable and disable function per connector which allows vkms to hotplug connectors easily. Signed-off-by: Rodrigo Siqueira ---

[PATCH 2/2] drm/vkms: Introduce configfs for enabling/disabling connectors

2019-06-30 Thread Rodrigo Siqueira
This patch introduces an implementation of vkms subsystems through configfs; we want to be able to reconfigure vkms instance without having to reload the module. This commit adds the primary support for configfs by allowing vkms to expose the ability to enable/disable its connectors.

[PATCH 2/4] input: keyboard/mouse/touchscreen/misc: Use dev_get_drvdata()

2019-06-30 Thread Fuqian Huang
Using dev_get_drvdata directly. Signed-off-by: Fuqian Huang --- drivers/input/keyboard/ep93xx_keypad.c | 10 -- drivers/input/keyboard/gpio_keys.c | 3 +-- drivers/input/keyboard/imx_keypad.c | 10 -- drivers/input/keyboard/lpc32xx-keys.c| 6 ++

[PATCH 3/4] mailbox: Use dev_get_drvdata()

2019-06-30 Thread Fuqian Huang
Using dev_get_drvdata directly. Signed-off-by: Fuqian Huang --- drivers/mailbox/bcm-flexrm-mailbox.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mailbox/bcm-flexrm-mailbox.c b/drivers/mailbox/bcm-flexrm-mailbox.c index a64116586b4c..0cfdd53d04a1 100644 ---

[PATCH 0/2] drm/vkms: Introduce basic support for configfs

2019-06-30 Thread Rodrigo Siqueira
This patchset introduces the support for configfs in vkms by adding a primary structure for handling the vkms subsystem and exposing connectors as a use case. This series allows enabling/disabling virtual and writeback connectors on the fly. The first patch of this series reworks the

[PATCH 1/4] gpu: Use dev_get_drvdata()

2019-06-30 Thread Fuqian Huang
Using dev_get_drvdata directly. Signed-off-by: Fuqian Huang --- drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 13 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c| 6 ++ drivers/gpu/drm/msm/dsi/dsi_host.c

compensation

2019-06-30 Thread Ms. Jemilla Smith
Dear Friend, I'm sorry but happy to inform you about my success in getting those funds transferred under the cooperation of a new partner from Vietnam, though I tried my best to involve you in the business but God decided the whole situations. Presently I’m in Vietnam for investment projects with

Re: [RFC PATCH 03/12] powerpc/prom_init: Add the ESM call to prom_init

2019-06-30 Thread Alexey Kardashevskiy
On 29/06/2019 08:33, Thiago Jung Bauermann wrote: > > Hello Alexey, > > Thanks for reviewing this patch! > > Alexey Kardashevskiy writes: > >> On 21/05/2019 14:49, Thiago Jung Bauermann wrote: >>> @@ -1707,6 +1723,43 @@ static void __init prom_close_stdin(void) >>> } >>> } >>> >>>

Re: [RFC PATCH v3 0/4] Deliver vGPU display vblank event to userspace

2019-06-30 Thread Zhenyu Wang
On 2019.06.28 12:43:47 +, Zhang, Tina wrote: > Hi, > > How about GVT-g supports both vblank and page flip events. Then QEMU UI can > mask/unmask the events to decide which kind of event is expected. > For DRM UI, it can decide to mask vblank event and use page flip events. We > tried DRM UI

[v2 3/3] hwmon: (nct7904) Add extra sysfs support for fan, voltage and temperature.

2019-06-30 Thread Amy.Shih
From: "amy.shih" NCT-7904D also supports reading of channel limitation registers and SMI status registers for fan, voltage and temperature monitoring, and also supports reading of temperature sensor type which is thermal diode, thermistor, AMD SB-TSI or Intel PECI, thus add below sysfs nodes:

[PATCH] cifs: fix build by selecting CONFIG_KEYS

2019-06-30 Thread Sergey Senozhatsky
CONFIG_CIFS_ACL had a dependency "depends on KEYS" which was dropped with the removal of CONFIG_CIFS_ACL. This breaks the build on systems which don't have CONFIG_KEYS in .config: cifsacl.c:37:15: error: variable ‘cifs_idmap_key_acl’ has initializer but incomplete type 37 |

Re: [PATCH 2/6] Adjust watch_queue documentation to mention mount and superblock watches. [ver #5]

2019-06-30 Thread Randy Dunlap
Hi David, On 6/28/19 8:50 AM, David Howells wrote: > Signed-off-by: David Howells > --- > > Documentation/watch_queue.rst | 20 +++- > drivers/misc/Kconfig |5 +++-- > 2 files changed, 22 insertions(+), 3 deletions(-) > > diff --git

[PATCH v2] udf: Fix incorrect final NOT_ALLOCATED (hole) extent length

2019-06-30 Thread Steven J. Magnani
In some cases, using the 'truncate' command to extend a UDF file results in a mismatch between the length of the file's extents (specifically, due to incorrect length of the final NOT_ALLOCATED extent) and the information (file) length. The discrepancy can prevent other operating systems (i.e.,

Re: nouveau: DRM: GPU lockup - switching to software fbcon

2019-06-30 Thread Sergey Senozhatsky
On (06/19/19 02:07), Ilia Mirkin wrote: > If all else fails, just remove nouveau_dri.so and/or boot with > nouveau.noaccel=1 -- should be perfect. nouveau.noaccel=1 did the trick. Is there any other, let's say less CPU-intensive, way to fix nouveau? -ss

linux-next: build warning after merge of the hwmon-staging tree

2019-06-30 Thread Stephen Rothwell
Hi all, After merging the hwmon-staging tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/hwmon/lm90.c: In function 'lm90_write_convrate': drivers/hwmon/lm90.c:597:42: warning: 'config_stop' may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-30 Thread Joel Fernandes
On Fri, Jun 28, 2019 at 08:20:45PM +0200, Sebastian Andrzej Siewior wrote: > On 2019-06-28 14:07:27 [-0400], Joel Fernandes wrote: > > On Fri, Jun 28, 2019 at 07:45:45PM +0200, Sebastian Andrzej Siewior wrote: > > > On 2019-06-28 10:30:11 [-0700], Paul E. McKenney wrote: > > > > > I believe the

Re: [PATCH v4 4/4] drm/mtk: add panel orientation property

2019-06-30 Thread CK Hu
Hi, Derek: On Fri, 2019-06-21 at 20:41 -0700, Derek Basehore wrote: > This inits the panel orientation property for the mediatek dsi driver > if the panel orientation (connector.display_info.panel_orientation) is > not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. > Reviewed-by: CK Hu > Signed-off-by:

Re: [PATCH REBASE v2 1/2] x86, arm64: Move ARCH_WANT_HUGE_PMD_SHARE config in arch/Kconfig

2019-06-30 Thread Hanjun Guo
On 2019/5/26 20:50, Alexandre Ghiti wrote: > ARCH_WANT_HUGE_PMD_SHARE config was declared in both architectures: > move this declaration in arch/Kconfig and make those architectures > select it. > > Signed-off-by: Alexandre Ghiti > Reviewed-by: Palmer Dabbelt > --- > arch/Kconfig | 3 +++

[PATCH] drm/nouveau: fix memory leak in nouveau_conn_reset()

2019-06-30 Thread Yongxin Liu
In nouveau_conn_reset(), if connector->state is true, __drm_atomic_helper_connector_destroy_state() will be called, but the memory pointed by asyc isn't freed. Memory leak happens in the following function __drm_atomic_helper_connector_reset(), where newly allocated asyc->state will be assigned to

Re: [PATCH] devfreq: tegra20: add COMMON_CLK dependency

2019-06-30 Thread Chanwoo Choi
Hi Arnd, Thanks for fixup. Reviewed-by: Chanwoo Choi Hi Myungjoo, This patch have to be merged for linux 5.3 before sending pull-request because it fixed the build error of merged patch[1] on devfreq.git. [1]

Re: [v5 6/7] drm/mediatek: change the dsi phytiming calculate method

2019-06-30 Thread CK Hu
Hi, Jitao: On Thu, 2019-06-27 at 16:01 +0800, Jitao Shi wrote: > Change the method of frame rate calc which can get more accurate > frame rate. > > data rate = pixel_clock * bit_per_pixel / lanes > Adjust hfp_wc to adapt the additional phy_data > > if MIPI_DSI_MODE_VIDEO_BURST > hfp_wc =

Re: [PATCH 41/43] docs: extcon: convert it to ReST and move to acpi dir

2019-06-30 Thread Chanwoo Choi
Hi Mauro, On 19. 6. 28. 오후 9:20, Mauro Carvalho Chehab wrote: > The intel-int3496.txt file is a documentation for an ACPI driver. > > There's no reason to keep it on a separate directory. > > So, instead of keeping it on some random location, move it > to a sub-directory inside the ACPI

Re: [v5 4/7] drm/mediatek: add frame size control

2019-06-30 Thread CK Hu
Hi, Jitao: On Thu, 2019-06-27 at 16:01 +0800, Jitao Shi wrote: > Our new DSI chip has frame size control. > So add the driver data to control for different chips. > > Signed-off-by: Jitao Shi > Reviewed-by: CK Hu This version is different than previous version, so you should remove the

Re: [PATCH] misc: fsa9480: Delete this driver

2019-06-30 Thread Chanwoo Choi
Hi Linus, On 19. 6. 30. 오후 11:03, Linus Walleij wrote: > The FSA9480 has a new driver more appropriately located > in the drivers/extcon subsystem. It is also more complete > and includes device tree support. Delete the old misc > driver. > > Cc: Paweł Chmiel > Cc: Chanwoo Choi > Cc: Arnd

Re: [PATCH 22/39] docs: ocxl.rst: add it to the uAPI book

2019-06-30 Thread Andrew Donnellan
On 28/6/19 10:30 pm, Mauro Carvalho Chehab wrote: The content of this file is user-faced. Signed-off-by: Mauro Carvalho Chehab Acked-by: Andrew Donnellan --- Documentation/{ => userspace-api}/accelerators/ocxl.rst | 2 -- Documentation/userspace-api/index.rst | 1 +

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

2019-06-30 Thread Stephen Rothwell
Hi all, After merging the xfs tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/orangefs/file.c: In function 'orangefs_getflags': fs/orangefs/file.c:372:7: warning: assignment to 'long unsigned int *' from '__u64' {aka 'long long unsigned int'} makes pointer from integer

Re: [PATCH] vfs: move_mount: reject moving kernel internal mounts

2019-06-30 Thread Al Viro
On Sat, Jun 29, 2019 at 09:39:16PM +0100, Al Viro wrote: > On Sat, Jun 29, 2019 at 01:27:44PM -0700, Eric Biggers wrote: > > > @@ -2600,7 +2600,7 @@ static int do_move_mount(struct path *old_path, > > struct path *new_path) > > if (attached && !check_mnt(old)) > > goto out; > >

linux-next: manual merge of the xfs tree with the f2fs tree

2019-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xfs tree got a conflict in: fs/f2fs/file.c between commit: 360985573b55 ("f2fs: separate f2fs i_flags from fs_flags and ext4 i_flags") from the f2fs tree and commits: de2baa49bbae ("vfs: create a generic checking and prep function for

[PATCH 0/7] Compile-test UAPI and kernel headers

2019-06-30 Thread Masahiro Yamada
1/7: add CONFIG_CC_CAN_LINK to use it in 2/7 2/7: Compile-test exported headers 3/7: Do not generate intermediate wrappers. This will avoid header search path issue. 4/7: maybe useful for 7/7 and in some other places. Add header-test-pattern-y syntax. 5/7: Minor cleanup of

[PATCH 7/7] kbuild: compile-test kernel headers to ensure they are self-contained

2019-06-30 Thread Masahiro Yamada
The headers in include/ are globally used in the kernel source tree to provide common APIs. They are included from external modules, too. It will be useful to make as many headers self-contained as possible so that we do not have to rely on a specific include order. There are more than 4000

[PATCH 2/7] kbuild: compile-test exported headers to ensure they are self-contained

2019-06-30 Thread Masahiro Yamada
Multiple people have suggested compile-testing UAPI headers to ensure they can be really included from user-space. "make headers_check" is obviously not enough to catch bugs, and we often leak unresolved references to user-space. Use the new header-test-y syntax to implement it. Please note

[PATCH 3/7] kbuild: do not create wrappers for header-test-y

2019-06-30 Thread Masahiro Yamada
header-test-y does not work with headers in sub-directories. For example, you may want to write a Makefile, like this: include/linux/Kbuild: header-test-y += mtd/nand.h This entry will create a wrapper include/linux/mtd/nand.hdrtest.c with the following content: #include "mtd/nand.h" To

[PATCH 1/7] init/Kconfig: add CONFIG_CC_CAN_LINK

2019-06-30 Thread Masahiro Yamada
Currently, scripts/cc-can-link.sh is run just for BPFILTER_UMH, but defining CC_CAN_LINK will be useful in other places. Signed-off-by: Masahiro Yamada --- Changes in v4: - New patch Changes in v3: None Changes in v2: None init/Kconfig | 3 +++ net/bpfilter/Kconfig | 2 +- 2 files

[PATCH 4/7] kbuild: support header-test-pattern-y

2019-06-30 Thread Masahiro Yamada
In my view, most of headers can be self-contained. So, it would be tedious to add every header to header-test-y explicitly. We usually end up with "all headers with some exceptions". There are two types in exceptions: [1] headers that are never compiled as standalone units For examples,

[PATCH 6/7] kheaders: include only headers into kheaders_data.tar.xz

2019-06-30 Thread Masahiro Yamada
Currently, kheaders_data.tar.xz contains some build scripts as well as headers. None of them is needed in the header archive. For ARCH=x86, this commit excludes the following from the archive: arch/x86/include/asm/Kbuild arch/x86/include/uapi/asm/Kbuild include/asm-generic/Kbuild

[PATCH 5/7] kheaders: remove meaningless -R option of 'ls'

2019-06-30 Thread Masahiro Yamada
The -R option of 'ls' is supposed to be used for directories. -R, --recursive list subdirectories recursively Since 'find ... -type f' only matches to regular files, we do not expect directories passed to the 'ls' command here. Giving -R is harmless at least, but unneeded.

[PATCH 1/2] staging: mt7621-dts: update sdhci config.

2019-06-30 Thread NeilBrown
The mtk-sd driver has been updated to support the IP in the mt7621, so update our configuration to work with it. Signed-off-by: NeilBrown --- drivers/staging/mt7621-dts/mt7621.dtsi | 41 +++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git

[PATCH 0/2] staging: update mt7621 dts for some recent driver changes

2019-06-30 Thread NeilBrown
The mt7621 MMC driver was recently removed from staging due to copyright concerns. Since then drivers/mmc/host/mtk-sd.c has been enhanced to work with the mt7621 IP. The first patch updates the dts file to match this driver. Earlier, the drivers/net/ethernet/mediatek/ driver was enhanced to

[PATCH 2/2] staging: mt7621-dts: add support for second network interface

2019-06-30 Thread NeilBrown
The mt7621 has two network interfaces, one that connects to an internal switch, and one that can connect to either that switch or an external phy, or possibly an internal phy. The Gnubee-PC2 has an external phy for use with the second interface. This patch add some support for the second

[PATCH v3] rcu: Change return type of rcu_spawn_one_boost_kthread()

2019-06-30 Thread Byungchul Park
Hello, I tested again if the WARN_ON_ONCE() is fired with my box. And it was OK. Thanks, Byungchul Changes from v2 -. Port the patch to a1af11a24cb0 (Paul's request) -. Add a few new lines for a better look Changes from v1 -. WARN_ON_ONCE() on failing to create rcu_boost_kthread. -. Changed

Re: [PATCH] docs: ipmb: place it at driver-api and convert to ReST

2019-06-30 Thread Corey Minyard
On Sat, Jun 29, 2019 at 07:36:46AM -0300, Mauro Carvalho Chehab wrote: > No new doc should be added at the main Documentation/ directory. > > Instead, new docs should be added as ReST files, within the > Kernel documentation body. Got it, thanks. -corey > > Fixes: 51bd6f291583 ("Add support

Клиентские базы! Email: proda...@armyspy.com Узнайте подробнее!

2019-06-30 Thread linux-kernel
Клиентские базы! Email: proda...@armyspy.com Узнайте подробнее!

Re: [PATCH 11/12] iomap: move the xfs writeback code to iomap.c

2019-06-30 Thread Dave Chinner
On Fri, Jun 28, 2019 at 07:33:20AM +0200, Christoph Hellwig wrote: > On Fri, Jun 28, 2019 at 10:45:42AM +1000, Dave Chinner wrote: > > You've already mentioned two new users you want to add. I don't even > > have zone capable hardware here to test one of the users you are > > indicating will use

Re: [PATCH v2] rcu: Change return type of rcu_spawn_one_boost_kthread()

2019-06-30 Thread Byungchul Park
On Sun, Jun 30, 2019 at 12:38:34PM -0700, Paul E. McKenney wrote: > On Fri, Jun 28, 2019 at 11:43:39AM +0900, Byungchul Park wrote: > > On Thu, Jun 27, 2019 at 01:57:03PM -0700, Paul E. McKenney wrote: > > > On Thu, Jun 27, 2019 at 09:42:40AM -0400, Joel Fernandes wrote: > > > > On Thu, Jun 27,

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-30 Thread Byungchul Park
On Fri, Jun 28, 2019 at 11:44:11AM -0400, Steven Rostedt wrote: > On Fri, 28 Jun 2019 19:40:45 +0900 > Byungchul Park wrote: > > > Wait.. I got a little bit confused on recordering. > > > > This 'STORE rcu_read_lock_nesting = 0' can happen before > > 'STORE rcu_read_unlock_special.b.exp_hint =

[PATCH] net: usb: asix: init MAC address buffers

2019-06-30 Thread Phong Tran
This is for fixing bug KMSAN: uninit-value in ax88772_bind Tested by https://groups.google.com/d/msg/syzkaller-bugs/aFQurGotng4/cFe9nxMCCwAJ Reported-by: syzbot+8a3fc6674bbc3978e...@syzkaller.appspotmail.com syzbot found the following crash on: HEAD commit:f75e4cfe kmsan: use

High quality PCB

2019-06-30 Thread Shenzhen ZDCL Trade Co . , Ltd .
Dear Purchasing Mangager: Nice day! Thanks for your time to read my email.I'm Eva,from Shenzhen ZDCL Trade Co., Ltd,who learns your contact information from internet.We mainly manufacture and export in PCB copy board and PCBA OEM generation of material.Main Printed circuit board,PCB design,IC

Re: [PATCH] block: fix a crash in do_task_dead()

2019-06-30 Thread Hugh Dickins
On Wed, 5 Jun 2019, Jens Axboe wrote: > > How about the following plan - if folks are happy with this sched patch, > we can queue it up for 5.3. Once that is in, I'll kill the block change > that special cases the polled task wakeup. For 5.2, we go with Oleg's > patch for the swap case. I just

[PATCH] dmaengine: dma-jz4780: Break descriptor chains on JZ4740

2019-06-30 Thread Paul Cercueil
The current driver works perfectly fine on every generation of the JZ47xx SoCs, except on the JZ4740. There, when hardware descriptors are chained together (with the LINK bit set), the next descriptor isn't automatically fetched as it should - instead, an interrupt is raised, even if the TIE bit

linux-next: manual merge of the dma-mapping tree with Linus' tree

2019-06-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in: include/linux/genalloc.h between commit: 795ee30648c7 ("lib/genalloc: introduce chunk owners") from Linus' tree and commit: cf394fc5f715 ("lib/genalloc.c: Add algorithm, align and zeroed family of DMA

Re: [PATCH 4/4] drm/bridge: ti-sn65dsi86: use helper to lookup panel-id

2019-06-30 Thread Rob Clark
On Sun, Jun 30, 2019 at 2:58 PM Laurent Pinchart wrote: > > Hi Rob, > > On Sun, Jun 30, 2019 at 02:50:59PM -0700, Rob Clark wrote: > > On Sun, Jun 30, 2019 at 2:17 PM Laurent Pinchart wrote: > > > On Sun, Jun 30, 2019 at 01:36:08PM -0700, Rob Clark wrote: > > > > From: Rob Clark > > > > > > > >

Re: [PATCH 4/4] drm/bridge: ti-sn65dsi86: use helper to lookup panel-id

2019-06-30 Thread Laurent Pinchart
Hi Rob, On Sun, Jun 30, 2019 at 02:50:59PM -0700, Rob Clark wrote: > On Sun, Jun 30, 2019 at 2:17 PM Laurent Pinchart wrote: > > On Sun, Jun 30, 2019 at 01:36:08PM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > Use the drm_of_find_panel_id() helper to decide which endpoint to use > >

Re: [PATCH 4/4] drm/bridge: ti-sn65dsi86: use helper to lookup panel-id

2019-06-30 Thread Rob Clark
On Sun, Jun 30, 2019 at 2:17 PM Laurent Pinchart wrote: > > Hi Rob, > > Thank you for the patch. > > On Sun, Jun 30, 2019 at 01:36:08PM -0700, Rob Clark wrote: > > From: Rob Clark > > > > Use the drm_of_find_panel_id() helper to decide which endpoint to use > > when looking up panel. This way

linux-next: Fixes tag needs some work in the sound-asoc tree

2019-06-30 Thread Stephen Rothwell
Hi all, In commit 8a90efd15ef6 ("ASoC: vc4: vc4_htmi: consider CPU-Platform possibility") Fixes tag Fixes: commit 6c6de1c9e2bf2 ("ASoC: vc4: vc4_hdmi: don't select unnecessary Platform") has these problem(s): - leading word 'commit' unexpected This as also the case for the whole

Re: [PATCH v9 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2019-06-30 Thread Luca Ceresoli
Hi Vishal, a few questions below about the SLBF error management. On 11/06/19 12:10, Vishal Sagar wrote: > The Xilinx MIPI CSI-2 Rx Subsystem soft IP is used to capture images > from MIPI CSI-2 camera sensors and output AXI4-Stream video data ready > for image processing. Please refer to PG232

linux-next: Fixes tag needs some work in the wireless-drivers-next tree

2019-06-30 Thread Stephen Rothwell
Hi all, In commit d923cf6bc38a ("mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16") Fixes tag Fixes: 3ca0a6f6e9df ("mt7615: mcu: use standard signature for mt7615_mcu_msg_send") has these problem(s): - Target SHA1 does not exist Did you mean Fixes:

linux-next: Fixes tag needs some work in the net-next tree

2019-06-30 Thread Stephen Rothwell
Hi all, In commit 18d219b783da ("net: hns3: fix a -Wformat-nonliteral compile warning") Fixes tag Fixes: 46a3df9f9718 ("Add HNS3 Acceleration Engine & Compatibility Layer Support") has these problem(s): - Subject does not match target commit subject Just use git log -1

  1   2   >