Re: [PATCH] arm64: dts: renesas: r8a774b1-hihope-rzg2n-ex: Enable sata

2020-08-12 Thread Geert Uytterhoeven
On Mon, Aug 10, 2020 at 7:12 PM Lad Prabhakar wrote: > Enable sata interface on HiHope RZ/G2N board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s, Geert --

[PATCH 5/6] drm/rockchip: dw_hdmi: Add get_output_bus_format

2020-08-12 Thread Algea Cao
Add get_output_bus_format in dw_hdmi_plat_data to get hdmi output bus format. The output bus format is determined by color format and depth, which can be set by rockchip hdmi properties. Signed-off-by: Algea Cao --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 47 +

Re: [PATCHv7] drivers: optee: allow op-tee to access devices on the i2c bus

2020-08-12 Thread Jens Wiklander
On Tue, Aug 11, 2020 at 07:55:31PM +0200, Jorge Ramirez-Ortiz wrote: > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > control this type of cryptographic devices it needs coordinated access > to the bus, so collisions and RUNTIME_PM dont get in the way. > > This trampoline

[PATCH 2/6] drm: bridge: dw-hdmi: Implement connector atomic_begin/atomic_flush

2020-08-12 Thread Algea Cao
Introduce dw_hdmi_connector_atomic_begin() and dw_hdmi_connector_atomic_flush() to implement connector atomic_begin/atomic_flush. When enc_out_bus_format or enc_in_bus_format changed, dw_hdmi_setup is called. To avoid screen flash when updating bus format, it's need to send AVMUTE flag to make

Re: [PATCH 00/33] Add driver for HiSilicon SPMI PMIC for Hikey 970

2020-08-12 Thread Jonathan Cameron
On Wed, 12 Aug 2020 09:45:40 +0200 Mauro Carvalho Chehab wrote: > > > > > > menus in order to enable them. > > > We communicate with the Hi6421 via memory-mapped I/O. > > > > > > +config MFD_HI6421_SPMI > > > + tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC" > > > + depends

[PATCH 3/6] drm: bridge: dw-hdmi: Introduce previous_pixelclock/previous_tmdsclock

2020-08-12 Thread Algea Cao
Introduce previous_pixelclock/previous_tmdsclock to determine whether PHY needs initialization. If phy is power off, or mpixelclock/mtmdsclock is different to previous value, phy is neet to be reinitialized. Signed-off-by: Algea Cao --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 50

[PATCH 4/6] drm/rockchip: dw_hdmi: Add vendor hdmi properties

2020-08-12 Thread Algea Cao
Introduce struct dw_hdmi_property_ops in plat_data to support vendor hdmi property. Implement hdmi vendor properties color_depth_property and hdmi_output_property to config hdmi output color depth and color format. The property "hdmi_output_format", the possible value could be: - RGB

Re: [PATCH v8 0/3] drm: Add support for Cadence MHDP DPI/DP bridge and J721E wrapper.

2020-08-12 Thread Guido Günther
Hi, On Thu, Aug 06, 2020 at 01:34:29PM +0200, Swapnil Jakhade wrote: > This patch series adds new DRM bridge driver for Cadence MHDP DPI/DP > bridge. The Cadence Display Port IP is also referred as MHDP (Mobile High > Definition Link, High-Definition Multimedia Interface, Display Port). > Cadence

Re: [PATCH 2/2] mm: proc: smaps_rollup: do not stall write attempts on mmap_lock

2020-08-12 Thread Steven Price
On 11/08/2020 05:42, Chinwen Chang wrote: smaps_rollup will try to grab mmap_lock and go through the whole vma list until it finishes the iterating. When encountering large processes, the mmap_lock will be held for a longer time, which may block other write requests like mmap and munmap from

[PATCH] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-12 Thread qiang.zhang
From: Zqiang Because the last member of the "nvdimm_firmware_attributes" array was not assigned a null ptr, when traversal of "group" array is out of bounds in "internal_create_groups" func. internal_create_groups: ->for (i = 0; groups[i]; i++) ->... BUG: KASAN:

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 10:29 AM David Howells wrote: > > Miklos Szeredi wrote: > > > Worried about performance? Io-uring will allow you to do all those > > five syscalls (or many more) with just one I/O submission. > > io_uring isn't going to help here. We're talking about synchronous reads.

[PATCH 6/6] drm: bridge: dw-hdmi: Get output bus format when dw-hdmi is the only bridge

2020-08-12 Thread Algea Cao
If plat_data->get_output_bus_format() is exist, we can use it to get hdmi output bus format when dw-hdmi is the only bridge. The hdmi output bus format can be set by vendor properties. Signed-off-by: Algea Cao --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 8 +++- 1 file changed, 7

Re: [PATCH] locking/rwsem: remove redundant semicolon of down_write_nest_lock

2020-08-12 Thread Christian König
Am 12.08.20 um 10:10 schrieb pet...@infradead.org: On Tue, Aug 11, 2020 at 01:18:52PM +0200, Christian König wrote: From: Guchun Chen Otherwise, braces are needed when using it. Signed-off-by: Guchun Chen Reviewed-by: Christian König Thanks! Do you pick it up or can I push it through

Re: [PATCH drm/hisilicon v3 0/2] hibmc clean up and code refactoring

2020-08-12 Thread Thomas Zimmermann
Merged into drm-misc-next Am 12.08.20 um 09:42 schrieb Tian Tao: > patch #1 and #3 is clean up, patch #2 is for code refactoring > > Changes since v1: > - Rewrite the commits messages and patch name in #1 > - Rewrite the commits message in #2. > - Add the new patch #3 > > Changes since v2: > -

[PATCH 1/6] drm: Add connector atomic_begin/atomic_flush

2020-08-12 Thread Algea Cao
In some situations, connector should get some work done when plane is updating. Such as when change output color format, hdmi should send AVMUTE to make screen black before crtc updating color format, or screen may flash. After color updating, hdmi should clear AVMUTE bring screen back to normal.

Re: [RFC V2] kthread: add object debug support

2020-08-12 Thread Stephen Boyd
Quoting Qianli Zhao (2020-08-11 22:14:14) > @@ -115,7 +125,7 @@ struct kthread_delayed_work { > } > > #define KTHREAD_WORK_INIT(work, fn){ \ > - .node = LIST_HEAD_INIT((work).node),\ > + .node = { .next =

Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-12 Thread Thomas Gleixner
Paul, "Paul E. McKenney" writes: > On Wed, Aug 12, 2020 at 02:13:25AM +0200, Thomas Gleixner wrote: >> That much I understood, but I somehow failed to figure the why out >> despite the elaborate changelog. 2 weeks of 30+C seem to have cooked my >> brain :) > > Ouch!!! And what on earth is

[PATCH 0/6] Support change dw-hdmi output color

2020-08-12 Thread Algea Cao
Support userspace to set hdmi output color via hdmi properties. Add hdmi atomic_begin/atomic_flush to make sure screen don't flash when updating color. Algea Cao (6): drm: Add connector atomic_begin/atomic_flush drm: bridge: dw-hdmi: Implement connector atomic_begin/atomic_flush drm:

Re: Documentation: build failure with sphinx >= 3.0.0: exception: cannot import name 'c_funcptr_sig_re' from 'sphinx.domains.c'

2020-08-12 Thread Markus Heiser
Am 12.08.20 um 09:30 schrieb Salvatore Bonaccorso: [..] The problem is actually related to changes happening in Sphinx 3.0.0. There is the followign issue filled upstream: https://github.com/sphinx-doc/sphinx/issues/7421 'c_funcptr_sig_re' was removed upstream in sphinx v3.0.0b1 and so the

drivers/net/wireless/intel/iwlwifi/pcie/trans.c:3730 iwl_trans_pcie_alloc() warn: passing zero to 'ERR_PTR'

2020-08-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb893de323e2d39f7a1f6df425703a2edbdf56ea commit: c239feec5038585d8ba622ecc97322e0e2f3398c iwlwifi: pcie: gen2: use DMA pool for byte-count tables date: 3 months ago config: parisc-randconfig-m031-20200811

[GIT PULL] Second batch of KVM changes for Linux 5.9

2020-08-12 Thread Paolo Bonzini
Linus, The following changes since commit 06a81c1c7db9bd5de0bd38cd5acc44bb22b99150: Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2020-08-08 14:16:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread David Howells
Miklos Szeredi wrote: > Worried about performance? Io-uring will allow you to do all those > five syscalls (or many more) with just one I/O submission. io_uring isn't going to help here. We're talking about synchronous reads. AIUI, you're adding a couple more syscalls to the list and running

Re: [PATCH] Documentation: clarify driver licensing rules

2020-08-12 Thread Greg KH
On Tue, Aug 11, 2020 at 10:17:48AM -0700, Dave Hansen wrote: > > Resend. Something appears to have eaten this on the way to LKML > (at least) the last time. > > -- > > From: Dave Hansen > > Greg has challenged some recent driver submitters on their license > choices. He was correct to do so,

Re: [PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-12 Thread Stephen Boyd
Quoting Viresh Kumar (2020-08-12 01:20:13) > On 11-08-20, 14:28, Stephen Boyd wrote: > > @@ -905,7 +907,7 @@ int dev_pm_opp_set_rate(struct device *dev, unsigned > > long target_freq) > > > > ret = _set_opp_bw(opp_table, NULL, dev, true); > > if (ret) > > -

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 10:06:50AM +0200, Marco Elver wrote: > On Tue, Aug 11, 2020 at 10:17PM +0200, pet...@infradead.org wrote: > > On Tue, Aug 11, 2020 at 11:46:51AM +0200, pet...@infradead.org wrote: > > > > > So let me once again see if I can't find a better solution for this all. > > >

Re: [PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-12 Thread Viresh Kumar
On 11-08-20, 14:28, Stephen Boyd wrote: > @@ -905,7 +907,7 @@ int dev_pm_opp_set_rate(struct device *dev, unsigned long > target_freq) > > ret = _set_opp_bw(opp_table, NULL, dev, true); > if (ret) > - return ret; > + goto

Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 12, 2020 at 03:13:06AM -0400, Peilin Ye wrote: > On Wed, Aug 12, 2020 at 09:08:27AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Aug 12, 2020 at 02:55:56AM -0400, Peilin Ye wrote: > > > Prevent hfs_find_init() from dereferencing `tree` as NULL. > > > > > > Reported-and-tested-by: > >

Re: [PATCH 1/2] lockdep: improve current->(hard|soft)irqs_enabled synchronisation with actual irq state

2020-08-12 Thread Nicholas Piggin
Excerpts from pet...@infradead.org's message of August 7, 2020 9:11 pm: > > What's wrong with something like this? > > AFAICT there's no reason to actually try and add IRQ tracing here, it's > just a hand full of instructions at the most. Because we may want to use that in other places as well,

Re: [PATCH v3 0/8] huge vmalloc mappings

2020-08-12 Thread Nicholas Piggin
Excerpts from Zefan Li's message of August 12, 2020 11:07 am: > On 2020/8/12 0:32, Jonathan Cameron wrote: >> On Mon, 10 Aug 2020 12:27:24 +1000 >> Nicholas Piggin wrote: >> >>> Not tested on x86 or arm64, would appreciate a quick test there so I can >>> ask Andrew to put it in -mm. Other option

Re: [PATCH] locking/rwsem: remove redundant semicolon of down_write_nest_lock

2020-08-12 Thread peterz
On Tue, Aug 11, 2020 at 01:18:52PM +0200, Christian König wrote: > From: Guchun Chen > > Otherwise, braces are needed when using it. > > Signed-off-by: Guchun Chen > Reviewed-by: Christian König Thanks!

Re: [PATCH] clk: imx: Explicitly include bits.h

2020-08-12 Thread Stephen Boyd
Quoting Anson Huang (2020-08-04 16:17:29) > It is better to explicitly include the required header file rather > then get it through some recursive include. > > Signed-off-by: Anson Huang > --- Acked-by: Stephen Boyd

[PATCH V2] dt-bindings: gpio: Convert vf610 to json-schema

2020-08-12 Thread Anson Huang
Convert the vf610 gpio binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V1: - fix reg property to pass build; - add "additionalProperties: false". --- .../devicetree/bindings/gpio/gpio-vf610.txt| 63 -

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 2:05 AM David Howells wrote: > > { > > int fd, attrfd; > > > > fd = open(path, O_PATH); > > attrfd = openat(fd, name, O_ALT); > > close(fd); > > read(attrfd, value, size); > > close(attrfd); > > } > > Please don't go down this path.

Re: [PATCH v2 06/41] ARM: s3c24xx: pass pointer to clk driver via platform data

2020-08-12 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-08-06 11:20:23) > Passing pointers directly as platform data is fragile and undocumented. > Better to create a platform data structure which explicitly documents > what is passed to the driver. > > Suggested-by: Tomasz Figa > [krzk: Update maintainer's entry] >

Re: [PATCH v2 05/41] ARM: s3c24xx: make S3C24XX_MISCCR access indirect

2020-08-12 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-08-06 11:20:22) > From: Arnd Bergmann > > The clk driver uses both a function call into an exported > platform file and a direct register access to a hardcoded > virtual address for accessing the MISCCR register, both > become are a problem for a multiplatform

[PATCH v4 0/5] MIPS: BCM63xx: board improvements

2020-08-12 Thread Álvaro Fernández Rojas
v4: Split license change to a new patch. v3: Reword DWV-S0 board commit description to avoid possible confusions. v2: switch to SPDX license identifier. Álvaro Fernández Rojas (5): MIPS: BCM63xx: remove duplicated new lines MIPS: BCM63xx: remove EHCI from BCM6348 boards MIPS: BCM63xx:

[PATCH v4 5/5] MIPS: BCM63xx: switch to SPDX license identifier

2020-08-12 Thread Álvaro Fernández Rojas
Use SPDX license indentifier instead of local reference to COPYING. Signed-off-by: Álvaro Fernández Rojas --- v4: add new patch with SPDX license change. arch/mips/bcm63xx/boards/board_bcm963xx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v4 2/5] MIPS: BCM63xx: remove EHCI from BCM6348 boards

2020-08-12 Thread Álvaro Fernández Rojas
There's no EHCI controller on BCM6348. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- v4: no changes. v3: no changes. v2: no changes. arch/mips/bcm63xx/boards/board_bcm963xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH v4 1/5] MIPS: BCM63xx: remove duplicated new lines

2020-08-12 Thread Álvaro Fernández Rojas
There are 3 duplicated new lines, let's remove them. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli Reviewed-by: Philippe Mathieu-Daudé --- v4: no changes. v3: no changes. v2: no changes. arch/mips/bcm63xx/boards/board_bcm963xx.c | 3 --- 1 file changed, 3 deletions(-)

[PATCH v4 3/5] MIPS: BCM63xx: enable EHCI for DWV-S0 board

2020-08-12 Thread Álvaro Fernández Rojas
BCM6358 SoCs have OHCI and EHCI controllers that share the same USB ports. Therefore, the board should also have EHCI enabled. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- v4: no changes. v3: Reword commit description to avoid possible confusions. v2: no changes.

[PATCH v4 4/5] MIPS: BCM63xx: refactor board declarations

2020-08-12 Thread Álvaro Fernández Rojas
Current board declarations are a mess. Let's put some order and make them follow the same structure. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- v4: split license change to a new patch. v3: no changes. v2: switch to SPDX license identifier.

Re: [PATCH] clk: rockchip: Fix initialization of mux_pll_src_4plls_p

2020-08-12 Thread Stephen Boyd
Quoting Nathan Chancellor (2020-08-09 21:40:20) > A new warning in Clang points out that the initialization of > mux_pll_src_4plls_p appears incorrect: > > ../drivers/clk/rockchip/clk-rk3228.c:140:58: warning: suspicious > concatenation of string literals in an array initialization; did you >

Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-12 Thread Andrei Vagin
On Tue, Aug 11, 2020 at 12:58:47AM +1000, Eugene Lubarsky wrote: > This is an idea for substantially reducing the number of syscalls needed > by monitoring tools whilst mostly re-using the existing API. > > The proposed files in this proof-of-concept patch set are: > > * /proc/all/stat > A

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Takashi Iwai
On Wed, 12 Aug 2020 09:43:22 +0200, Yu-Hsuan Hsu wrote: > > Takashi Iwai 於 2020年8月12日 週三 下午2:58寫道: > > > > On Wed, 12 Aug 2020 08:53:42 +0200, > > Yu-Hsuan Hsu wrote: > > > > > > Takashi Iwai 於 2020年8月12日 週三 下午2:14寫道: > > > > > > > > On Wed, 12 Aug 2020 05:09:58 +0200, > > > > Yu-Hsuan Hsu

Re: [PATCH 00/33] Add driver for HiSilicon SPMI PMIC for Hikey 970

2020-08-12 Thread Mauro Carvalho Chehab
Em Tue, 11 Aug 2020 18:51:11 +0100 Jonathan Cameron escreveu: > On Tue, 11 Aug 2020 17:54:29 +0200 > Mauro Carvalho Chehab wrote: > > > Em Tue, 11 Aug 2020 17:41:26 +0200 > > Mauro Carvalho Chehab escreveu: > > > > > The Hikey 970 board uses a different PMIC than the one found on Hikey

[PATCH drm/hisilicon v3 2/2] drm/hisilicon: Code refactoring for hibmc_drv_de

2020-08-12 Thread Tian Tao
The memory used to be allocated with devres helpers and released automatically. In rare circumstances, the memory's release could have happened before the DRM device got released, which would have caused memory corruption of some kind. Now we're embedding the data structures in struct

[PATCH drm/hisilicon v3 1/2] drm/hisilicon: Remove the unused include statements

2020-08-12 Thread Tian Tao
Remove some unused include statements. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 3 --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 - drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 -- 3 files changed, 10

[PATCH drm/hisilicon v3 0/2] hibmc clean up and code refactoring

2020-08-12 Thread Tian Tao
patch #1 and #3 is clean up, patch #2 is for code refactoring Changes since v1: - Rewrite the commits messages and patch name in #1 - Rewrite the commits message in #2. - Add the new patch #3 Changes since v2: - merge patch #3 into patch #2 Tian Tao (2): drm/hisilicon: Remove the unused

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Yu-Hsuan Hsu
Takashi Iwai 於 2020年8月12日 週三 下午2:58寫道: > > On Wed, 12 Aug 2020 08:53:42 +0200, > Yu-Hsuan Hsu wrote: > > > > Takashi Iwai 於 2020年8月12日 週三 下午2:14寫道: > > > > > > On Wed, 12 Aug 2020 05:09:58 +0200, > > > Yu-Hsuan Hsu wrote: > > > > > > > > Mark Brown 於 2020年8月12日 週三 上午1:22寫道: > > > > > > > > > >

Re: [PATCH] riscv: Setup exception vector for K210 properly

2020-08-12 Thread Atish Patra
On Tue, Aug 11, 2020 at 6:57 PM Anup Patel wrote: > > On Wed, Aug 12, 2020 at 12:16 AM Atish Patra wrote: > > > > On Tue, Aug 11, 2020 at 1:41 AM Anup Patel wrote: > > > > > > On Tue, Aug 11, 2020 at 12:07 PM Qiu Wenbo > > > wrote: > > > > > > > > Exception vector is missing on nommu platform

Re: [RFC v2 03/11] tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state

2020-08-12 Thread Rajendra Nayak
On 8/12/2020 1:05 PM, Amit Pundir wrote: Hi Rajendra, On Wed, 12 Aug 2020 at 11:18, Rajendra Nayak wrote: On 8/12/2020 7:03 AM, John Stultz wrote: On Tue, Aug 11, 2020 at 4:11 PM John Stultz wrote: On Wed, Mar 20, 2019 at 2:49 AM Rajendra Nayak wrote: geni serial needs to express a

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-12 Thread Roger Pau Monné
On Wed, Aug 12, 2020 at 09:28:45AM +0200, Jürgen Groß wrote: > On 11.08.20 11:44, Roger Pau Monne wrote: > > To be used in order to create foreign mappings. This is based on the > > ZONE_DEVICE facility which is used by persistent memory devices in > > order to create struct pages and kernel

Re: [PATCH 1/2] vdpa: ifcvf: return err when fail to request config irq

2020-08-12 Thread Maxime Coquelin
Hi, On 7/23/20 11:12 AM, Jason Wang wrote: > We ignore the err of requesting config interrupt, fix this. > > Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF") > Cc: Zhu Lingshan > Signed-off-by: Jason Wang > --- > drivers/vdpa/ifcvf/ifcvf_main.c | 4 > 1 file changed, 4

Re: [RFC v2 03/11] tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state

2020-08-12 Thread Amit Pundir
Hi Rajendra, On Wed, 12 Aug 2020 at 11:18, Rajendra Nayak wrote: > > > On 8/12/2020 7:03 AM, John Stultz wrote: > > On Tue, Aug 11, 2020 at 4:11 PM John Stultz wrote: > >> > >> On Wed, Mar 20, 2019 at 2:49 AM Rajendra Nayak > >> wrote: > >>> > >>> geni serial needs to express a perforamnce

Re: [PATCH v8 2/2] display/drm/bridge: TC358775 DSI/LVDS driver

2020-08-12 Thread Vinay Simha B N
sam/laurent, [PATCH] drm/bridge/tc358775: Fixes bus formats read is on top of drm-misc-next. On Wed, Aug 12, 2020 at 7:50 AM Vinay Simha B N wrote: > > Sam, > > I will look into this and send the patch ASAP. > > On Wed, Aug 12, 2020 at 12:47 AM Sam Ravnborg wrote: >> >> Hi Vinay. >> >> > >

Re: [PATCH] of/address: check for invalid range.cpu_addr

2020-08-12 Thread Colin Ian King
On 10/08/2020 15:06, Colin King wrote: > From: Colin Ian King > > Currently invalid CPU addresses are not being sanity checked resulting in > SATA setup failure on a SynQuacer SC2A11 development machine. The original > check was removed by and earlier commit, so add a sanity check back in > to

[PATCH][next] printk: reduce LOG_BUF_SHIFT range for H8300

2020-08-12 Thread John Ogness
The .bss section for the h8300 is relatively small. A value of CONFIG_LOG_BUF_SHIFT that is larger than 19 will create a static printk ringbuffer that is too large. Limit the range appropriately for the H8300. Reported-by: kernel test robot Signed-off-by: John Ogness --- based on next-20200811

Re: Documentation: build failure with sphinx >= 3.0.0: exception: cannot import name 'c_funcptr_sig_re' from 'sphinx.domains.c'

2020-08-12 Thread Salvatore Bonaccorso
Hi, On Sun, Aug 09, 2020 at 03:23:27PM +0200, Salvatore Bonaccorso wrote: > Hi > On Thu, Apr 09, 2020 at 05:04:54AM +0530, Bhaskar Chowdhury wrote: > > On 13:25 Wed 08 Apr 2020, Jonathan Corbet wrote: > > > On Wed, 8 Apr 2020 17:07:05 +0530 > > > Bhaskar Chowdhury wrote: > > > > > > >

Re: [PATCH v2 1/2] ASoC: mediatek: mt6359: add codec driver

2020-08-12 Thread Jiaxin Yu
On Mon, 2020-08-10 at 19:59 +0100, Mark Brown wrote: > On Mon, Aug 10, 2020 at 11:05:53AM +0800, Jiaxin Yu wrote: > > > +void mt6359_set_playback_gpio(struct snd_soc_component *cmpnt) > > +{ > > + struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); > > > +void

Re: [PATCH 11/17] clk: imx: Add blk_ctrl combo driver

2020-08-12 Thread Abel Vesa
On 20-07-30 11:39:22, Philipp Zabel wrote: > On Thu, 2020-07-30 at 11:55 +0300, Abel Vesa wrote: > > On 20-07-29 14:46:28, Philipp Zabel wrote: > > > Hi Abel, > > > > > > On Wed, 2020-07-29 at 15:07 +0300, Abel Vesa wrote: > > > > On i.MX8MP, there is a new type of IP which is called BLK_CTRL in

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-12 Thread Jürgen Groß
On 11.08.20 11:44, Roger Pau Monne wrote: To be used in order to create foreign mappings. This is based on the ZONE_DEVICE facility which is used by persistent memory devices in order to create struct pages and kernel virtual mappings for the IOMEM areas of such devices. Note that on kernels

upstream boot error: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fb893de3 Merge tag 'tag-chrome-platform-for-v5.9' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1323384a90 kernel config: https://syzkaller.appspot.com/x/.config?x=b4f36703531c4ada

[PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-12 Thread Vinay Simha BN
- bus formats read from drm_bridge_state.output_bus_cfg.format and .atomic_get_input_bus_fmts() instead of connector Signed-off-by: Vinay Simha BN --- v1: * Laurent Pinchart review comments incorporated drm_bridge_state.output_bus_cfg.format instead of connector ---

Re: [PATCH v1 2/2] perf/core: Fake regs for leaked kernel samples

2020-08-12 Thread Like Xu
On 2020/8/12 11:52, Jin, Yao wrote: Hi Peter, On 8/11/2020 4:45 PM, Peter Zijlstra wrote: On Tue, Aug 11, 2020 at 04:31:10PM +0800, Jin, Yao wrote: Hi Peter, On 8/11/2020 3:59 PM, Peter Zijlstra wrote: On Tue, Aug 11, 2020 at 03:50:43PM +0800, Jin, Yao wrote: Could I post v2 which

Re: [PATCH 0/3] mtd: lpddr: Fix bad logic bug in print_drs_error

2020-08-12 Thread Miquel Raynal
Hi Joe, Gustavo, Joe Perches wrote on Tue, 11 Aug 2020 16:47:36 -0700: > On Mon, 2020-04-27 at 14:00 -0500, Gustavo A. R. Silva wrote: > > Hi, > > > > This series aims to fix a bad logic bug in print_drs_error, which is > > tagged for -stable. The series also include some formatting fixups.

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Tue, Aug 11, 2020 at 11:19 PM Linus Torvalds wrote: > > On Tue, Aug 11, 2020 at 1:56 PM Miklos Szeredi wrote: > > > > So that's where O_ALT comes in. If the application is consenting, > > then that should prevent exploits. Or? > > If the application is consenting AND GETS IT RIGHT it

[PATCH v8 4/4] arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster

2020-08-12 Thread Wesley Cheng
Add the required DTS node for the USB VBUS output regulator, which is available on PM8150B. This will provide the VBUS source to connected peripherals. Signed-off-by: Wesley Cheng --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 6 ++ arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 2 files

[PATCH v8 3/4] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block

2020-08-12 Thread Wesley Cheng
The PM8150B has a dedicated USB type C block, which can be used for type C orientation and role detection. Create the reference node to this type C block for further use. Signed-off-by: Wesley Cheng --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH v8 0/4] Introduce PMIC based USB type C detection

2020-08-12 Thread Wesley Cheng
Changes in v8: - Simplified some property definitions, and corrected the connector reference in the dt binding. Changes in v7: - Fixups in qcom-pmic-typec.c to remove uncesscary includes, printk formatting, and revising some logic operations. Changes in v6: - Removed

[PATCH v8 1/4] usb: typec: Add QCOM PMIC typec detection driver

2020-08-12 Thread Wesley Cheng
The QCOM SPMI typec driver handles the role and orientation detection, and notifies client drivers using the USB role switch framework. It registers as a typec port, so orientation can be communicated using the typec switch APIs. The driver also attains a handle to the VBUS output regulator, so

[PATCH v8 2/4] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding

2020-08-12 Thread Wesley Cheng
Introduce the dt-binding for enabling USB type C orientation and role detection using the PM8150B. The driver will be responsible for receiving the interrupt at a state change on the CC lines, reading the orientation/role, and communicating this information to the remote clients, which can

Re: [PATCH net 0/2] vsock: fix null pointer dereference and cleanup in vsock_poll()

2020-08-12 Thread Stefano Garzarella
On Tue, Aug 11, 2020 at 10:24:18AM -0700, David Miller wrote: > From: Stefano Garzarella > Date: Tue, 11 Aug 2020 11:55:02 +0200 > > > The first patch fixes a potential null pointer dereference in vsock_poll() > > reported by syzbot. > > The second patch is a simple cleanup in the same block

Re: [PATCH drm/hisilicon v2 0/3] hibmc clean up and code refactoring

2020-08-12 Thread tiantao (H)
在 2020/8/12 15:04, Thomas Zimmermann 写道: Hi Am 03.08.20 um 02:38 schrieb Tian Tao: patch #1 and #3 is clean up, patch #2 is for code refactoring Sorry for all my reviews taking so long. Please merge patch #3 into patch #2 and then the series is thanks,I will send v3 to fix this.

Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Peilin Ye
On Wed, Aug 12, 2020 at 09:08:27AM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 12, 2020 at 02:55:56AM -0400, Peilin Ye wrote: > > Prevent hfs_find_init() from dereferencing `tree` as NULL. > > > > Reported-and-tested-by: > > syzbot+7ca256d0da4af073b...@syzkaller.appspotmail.com > >

Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 12, 2020 at 02:55:56AM -0400, Peilin Ye wrote: > Prevent hfs_find_init() from dereferencing `tree` as NULL. > > Reported-and-tested-by: syzbot+7ca256d0da4af073b...@syzkaller.appspotmail.com > Signed-off-by: Peilin Ye > --- > fs/hfs/bfind.c | 3 +++ > fs/hfsplus/bfind.c | 3 +++ >

Re: [PATCH drm/hisilicon v2 0/3] hibmc clean up and code refactoring

2020-08-12 Thread Thomas Zimmermann
Hi Am 03.08.20 um 02:38 schrieb Tian Tao: > patch #1 and #3 is clean up, patch #2 is for code refactoring Sorry for all my reviews taking so long. Please merge patch #3 into patch #2 and then the series is Reviewed-by: Thomas Zimmermann I noticed that hibmc use DRM_ERROR in several places. A

Re: linux-next: build warning after merge of the sound-current tree

2020-08-12 Thread Takashi Iwai
On Wed, 12 Aug 2020 01:21:19 +0200, Stephen Rothwell wrote: > > Hi all, > > After merging the sound-current tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > sound/pci/hda/patch_realtek.c: In function 'alc285_fixup_hp_gpio_led': >

Re: [RFC v4 1/3] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2020-08-12 Thread Wesley Cheng
On 8/11/2020 7:22 PM, Peter Chen wrote: > On Wed, Jun 24, 2020 at 10:31 AM Wesley Cheng wrote: >> >> Some devices have USB compositions which may require multiple endpoints >> that support EP bursting. HW defined TX FIFO sizes may not always be >> sufficient for these compositions. By

[PATCH] perf parse-events: Set exclude_guest for user-space counting

2020-08-12 Thread Jin Yao
Currently if we run 'perf record -e cycles:u', exclude_guest is 0. But it doesn't make sense that we request for user-space counting but we also get the guest report. To keep perf semantics consistent and clear, this patch sets exclude_guest for user-space counting. Signed-off-by: Jin Yao ---

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Takashi Iwai
On Wed, 12 Aug 2020 08:53:42 +0200, Yu-Hsuan Hsu wrote: > > Takashi Iwai 於 2020年8月12日 週三 下午2:14寫道: > > > > On Wed, 12 Aug 2020 05:09:58 +0200, > > Yu-Hsuan Hsu wrote: > > > > > > Mark Brown 於 2020年8月12日 週三 上午1:22寫道: > > > > > > > > On Tue, Aug 11, 2020 at 11:54:38AM -0500, Pierre-Louis Bossart

Re: [PATCH v11 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-08-12 Thread Felipe Balbi
"Sandeep Maheswaram (Temp)" writes: > Hi Felipe, > > On 7/28/2020 12:50 AM, Matthias Kaehlcke wrote: >> On Mon, Jul 27, 2020 at 10:36:36PM +0530, Sandeep Maheswaram wrote: >>> Add interconnect support in dwc3-qcom driver to vote for bus >>> bandwidth. >>> >>> This requires for two different

[Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer dereference in hfs_find_init()

2020-08-12 Thread Peilin Ye
Prevent hfs_find_init() from dereferencing `tree` as NULL. Reported-and-tested-by: syzbot+7ca256d0da4af073b...@syzkaller.appspotmail.com Signed-off-by: Peilin Ye --- fs/hfs/bfind.c | 3 +++ fs/hfsplus/bfind.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fs/hfs/bfind.c

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Yu-Hsuan Hsu
Takashi Iwai 於 2020年8月12日 週三 下午2:14寫道: > > On Wed, 12 Aug 2020 05:09:58 +0200, > Yu-Hsuan Hsu wrote: > > > > Mark Brown 於 2020年8月12日 週三 上午1:22寫道: > > > > > > On Tue, Aug 11, 2020 at 11:54:38AM -0500, Pierre-Louis Bossart wrote: > > > > > > > > constraint logic needs to know about this DSP

Re: xfs_reclaim_inodes_ag taking several seconds

2020-08-12 Thread Donald Buczek
On 8/4/20 12:11 AM, Dave Chinner wrote: On Sat, Aug 01, 2020 at 12:25:40PM +0200, Donald Buczek wrote: On 01.08.20 00:32, Dave Chinner wrote: On Fri, Jul 31, 2020 at 01:27:31PM +0200, Donald Buczek wrote: Dear Linux people, we have a backup server with two xfs filesystems on 101.9TB md-raid6

[PATCH] perf bench: fix a couple of spelling mistakes in options text

2020-08-12 Thread Colin King
From: Colin Ian King There are a couple of spelling mistakes in the text. Fix these. Signed-off-by: Colin Ian King --- tools/perf/bench/find-bit-bench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/bench/find-bit-bench.c

RE: [PATCH V2 2/2] scsi: ufs: Improve interrupt handling for shared interrupts

2020-08-12 Thread Avri Altman
> > For shared interrupts, the interrupt status might be zero, so check that > first. > > Signed-off-by: Adrian Hunter Reviewed-by: Avri Altman

Re: [PATCH v6 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-12 Thread Uwe Kleine-König
Hello Rahul, On Wed, Aug 12, 2020 at 11:49:14AM +0800, Tanwar, Rahul wrote: > Our PWM controller is actually a PWM fan controller dedicated for > controlling fan. I am looking for some suggestions from you on how > to handle fan related optional properties in such a scenario. > > Should i create

[GIT PULL] MFD for v5.9

2020-08-12 Thread Lee Jones
Good morning Linus, [with added [GIT PULL] subject line label this time] Enjoy! The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at:

[PATCH 10/14] mips: bmips: bcm6328: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6328.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm6328.dtsi

[PATCH 04/14] mips: bmips: add BCM6328 irq definitions

2020-08-12 Thread Álvaro Fernández Rojas
Add header with BCM6328 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../bcm6328-interrupt-controller.h| 68 +++ 1 file changed, 68 insertions(+) create mode 100644

[PATCH 01/14] mips: dts: brcm: allow including header files

2020-08-12 Thread Álvaro Fernández Rojas
Change /include/ with #include in order to be able to include header files from dt-bindings. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm3368-netgear-cvg834g.dts| 2 +- arch/mips/boot/dts/brcm/bcm63268-comtrend-vr-3032u.dts | 2 +-

[PATCH 03/14] mips: bmips: add BCM6318 irq definitions

2020-08-12 Thread Álvaro Fernández Rojas
Add header with BCM6318 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../bcm6318-interrupt-controller.h| 84 +++ 1 file changed, 84 insertions(+) create mode 100644

[PATCH 02/14] mips: bmips: add BCM3368 irq definitions

2020-08-12 Thread Álvaro Fernández Rojas
Add header with BCM3368 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../bcm3368-interrupt-controller.h| 19 +++ 1 file changed, 19 insertions(+) create mode 100644

[PATCH 09/14] mips: bmips: bcm3368: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm3368.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm3368.dtsi

[PATCH 08/14] mips: bmips: add BCM63268 irq definitions

2020-08-12 Thread Álvaro Fernández Rojas
Add header with BCM63268 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../bcm63268-interrupt-controller.h | 86 +++ 1 file changed, 86 insertions(+) create mode 100644

[PATCH 06/14] mips: bmips: add BCM6362 irq definitions

2020-08-12 Thread Álvaro Fernández Rojas
Add header with BCM6362 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../bcm6362-interrupt-controller.h| 71 +++ 1 file changed, 71 insertions(+) create mode 100644

[PATCH 14/14] mips: bmips: bcm63268: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm63268.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm63268.dtsi

[PATCH 11/14] mips: bmips: bcm6358: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6358.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm6358.dtsi

[PATCH 12/14] mips: bmips: bcm6362: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6362.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm6362.dtsi

[PATCH 13/14] mips: bmips: bcm6368: include and use dt-bindings

2020-08-12 Thread Álvaro Fernández Rojas
Now that there are proper device tree bindings we can start using them. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6368.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/brcm/bcm6368.dtsi

<    4   5   6   7   8   9   10   >