drivers/net/wireless/realtek/rtw88/phy.c:641 rtw_phy_linear_2_db() error: buffer overflow 8 <= 8 (assuming for loop doesn't break)

2020-08-12 Thread kernel test robot
Hi Zong-Zhe, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb893de323e2d39f7a1f6df425703a2edbdf56ea commit: ba0fbe236fb8a7b992e82d6eafb03a600f5eba43 rtw88: extract: make 8822c an individual kernel module date:

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

2020-08-12 Thread Jorge Ramirez-Ortiz, Foundries
On 12/08/20, Jens Wiklander wrote: > 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

Re: [PATCH 2/2] tty/sysrq: Add configurable handler to execute a compound action

2020-08-12 Thread Jiri Slaby
On 04. 08. 20, 18:24, Andrzej Pietrasiewicz wrote: > Userland might want to execute e.g. 'w' (show blocked tasks), followed > by 's' (sync), followed by 1000 ms delay and then followed by 'c' (crash) > upon a single magic SysRq. Or one might want to execute the famous "Raising > Elephants Is So

Re: [PATCH linux-5.2.y-rt only] hrtimer: correct the logic for grab expiry lock

2020-08-12 Thread Rasmus Villemoes
On 12/08/2020 12.50, zhantao.t...@windriver.com wrote: > From: Zhantao Tang > > In commit: 47b6de0b7f22 ("hrtimer: Add a missing bracket and hide > `migration_base' on !SMP") > a inline function is_migration_base() is introduced. But > the logic of the hrtimer_grab_expiry_lock was changed. > >

Re: [PATCH v17 14/21] mm/compaction: do page isolation first in compaction

2020-08-12 Thread Alex Shi
在 2020/8/11 下午10:47, Alexander Duyck 写道: > On Tue, Aug 11, 2020 at 1:23 AM Alex Shi wrote: >> >> >> >> 在 2020/8/10 下午10:41, Alexander Duyck 写道: >>> On Mon, Aug 10, 2020 at 6:10 AM Alex Shi wrote: 在 2020/8/7 下午10:51, Alexander Duyck 写道: > I wonder if this entire section

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-12 Thread Jessica Yu
+++ pet...@infradead.org [12/08/20 12:40 +0200]: On Wed, Aug 12, 2020 at 10:56:56AM +0200, Ard Biesheuvel wrote: The module .lds has BYTE(0) in the section contents to prevent the linker from pruning them entirely. The (NOLOAD) is there to ensure that this byte does not end up in the .ko, which

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

2020-08-12 Thread Thomas Gleixner
Thomas Gleixner writes: > Thomas Gleixner writes: >> Michal Hocko writes: >>> zone->lock should be held for a very limited amount of time. >> >> Emphasis on should. free_pcppages_bulk() can hold it for quite some time >> when a large amount of pages are purged. We surely would have converted >>

Re: [PATCH] KVM: x86/pmu: Add '.exclude_hv = 1' for guest perf_event

2020-08-12 Thread Paolo Bonzini
On 12/08/20 13:11, pet...@infradead.org wrote: >> x86 does not have a hypervisor privilege level, so it never uses > > Arguably it does when Xen, but I don't think we support that, so *phew*. Yeah, I suppose you could imagine having paravirtualized perf counters where the Xen privileged domain

Re: [PATCH 0/3] Modernize tasklet callback API

2020-08-12 Thread Allen
> > I have a patch set to convert the remaining tasklet usage in sound > drivers to either the threaded IRQ or the work, but it wasn't > submitted / merged for 5.8 due to the obvious conflict with your API > changes. > Each conversion is rather simple, but it's always a question of the > nature of

Re: [PATCH 1/2] tty/sysrq: Extend the sysrq_key_table to cover capital letters

2020-08-12 Thread Jiri Slaby
On 04. 08. 20, 18:24, Andrzej Pietrasiewicz wrote: > All slots in sysrq_key_table[] are either used, reserved or at least > commented with their intended use. This patch adds capital letter versions > available, which means adding 26 more entries. > > For already existing SysRq operations the

Re: file metadata via fs API

2020-08-12 Thread Karel Zak
On Wed, Aug 12, 2020 at 12:04:14PM +0200, Miklos Szeredi wrote: > On Wed, Aug 12, 2020 at 11:43 AM Steven Whitehouse > wrote: > > > > Hi, > > > > On 12/08/2020 09:37, Miklos Szeredi wrote: > > [snip] > > > > > > b) The awarded performance boost is not warranted for the use cases it > > > is

Re: [PATCH 1/2] tty/sysrq: Extend the sysrq_key_table to cover capital letters

2020-08-12 Thread Jiri Slaby
On 04. 08. 20, 18:24, Andrzej Pietrasiewicz wrote: > All slots in sysrq_key_table[] are either used, reserved or at least > commented with their intended use. This patch adds capital letter versions > available, which means adding 26 more entries. > > For already existing SysRq operations the

Re: [PATCH] Fix s390x compile error on F32 utils/stat-display.c

2020-08-12 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 22, 2020 at 11:20:53AM +0200, Thomas Richter escreveu: > Fix a compile error on F32 and gcc version 10.1 on s390 in file > utils/stat-display.c. The error does not show up with make DEBUG=y. > In fact the issue shows up when using both compiler options > -O6 and -D_FORTIFY_SOURCE=2

[PATCH] ARM: aspeed: g5: Do not set sirq polarity

2020-08-12 Thread Joel Stanley
A feature was added to the aspeed vuart driver to configure the vuart interrupt (sirq) polarity according to the LPC/eSPI strapping register. Systems that depend on a active low behaviour (sirq_polarity set to 0) such as OpenPower boxes also use LPC, so this relationship does not hold. The

Re: [PATCH] KVM: x86/pmu: Add '.exclude_hv = 1' for guest perf_event

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 12:25:43PM +0200, Paolo Bonzini wrote: > On 12/08/20 07:07, Like Xu wrote: > > To emulate PMC counter for guest, KVM would create an > > event on the host with 'exclude_guest=0, exclude_hv=0' > > which simply makes no sense and is utterly broken. > > > > To keep perf

[PATCH] arm64: traps: clean up arm64_ras_serror_get_severity()

2020-08-12 Thread Liguang Zhang
Function arm64_is_fatal_ras_serror() is always called after arm64_is_ras_serror(), so we should remove some needless arm64_is_ras_serror() call in function arm64_ras_serror_get_severity(). Signed-off-by: Liguang Zhang --- arch/arm64/include/asm/traps.h | 9 + arch/arm64/kernel/traps.c

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

2020-08-12 Thread Peter Chen
> > Thank you for your input. I've actually considered doing some > matching/resizing in > the .match_ep route as well, but it doesn't work well for situations where > multiple > configurations are in play. The reason being that if you look at the > epautoconf APIs, > the configfs driver

Re: [PATCH] iio: trigger: sysfs: Disable irqs before calling iio_trigger_poll()

2020-08-12 Thread Christian Eggers
Hi Lars On Monday, 3 August 2020, 08:52:54 CEST, Lars-Peter Clausen wrote: > On 8/3/20 8:44 AM, Christian Eggers wrote: > > ... > > is my patch sufficient, or would you prefer a different solution? > > The code in normal upstream is correct, there is no need to patch it > since

Re: [PATCH V2] arm64: dts: qcom: sc7180: Add bandwidth votes for eMMC and SDcard

2020-08-12 Thread sbhanu
On 2020-08-11 22:38, Matthias Kaehlcke wrote: On Tue, Jul 28, 2020 at 04:49:05PM +0530, sbh...@codeaurora.org wrote: On 2020-07-28 00:40, Matthias Kaehlcke wrote: > Hi, > > On Mon, Jul 27, 2020 at 12:20:38PM +0530, sbh...@codeaurora.org wrote: > > On 2020-07-24 22:40, Matthias Kaehlcke wrote: >

Re:

2020-08-12 Thread Alex Anadi
Attention: Sir/Madam, Compliments of the season. I am Mr Alex Anadi a senior staff of Computer Telex Dept of central bank of Nigeria. I decided to contact you because of the prevailing security report reaching my office and the intense nature of polity in Nigeria. This is to inform you about

Re: [RFC PATCH 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-08-12 Thread Stephan Gerhold
On Wed, Aug 12, 2020 at 11:10:38AM +0200, Ulf Hansson wrote: > > I wasn't sure if the changes in drivers/base/power/domain.c > > should be made in a separate commit, but they need to be made together > > with the other changes. > > I would suggest to move the changes in

[PATCH linux-5.2.y-rt only] hrtimer: correct the logic for grab expiry lock

2020-08-12 Thread zhantao.tang
From: Zhantao Tang In commit: 47b6de0b7f22 ("hrtimer: Add a missing bracket and hide `migration_base' on !SMP") a inline function is_migration_base() is introduced. But the logic of the hrtimer_grab_expiry_lock was changed. This patch is to correct it. Signed-off-by: Zhantao Tang ---

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

2020-08-12 Thread Tomi Valkeinen
Hi Guido, On 12/08/2020 11:39, Guido Günther wrote: > 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,

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 10:56:56AM +0200, Ard Biesheuvel wrote: > The module .lds has BYTE(0) in the section contents to prevent the > linker from pruning them entirely. The (NOLOAD) is there to ensure > that this byte does not end up in the .ko, which is more a matter of > principle than anything

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

2020-08-12 Thread Mauro Carvalho Chehab
Em Wed, 12 Aug 2020 09:43:53 +0100 Jonathan Cameron escreveu: > On Wed, 12 Aug 2020 09:45:40 +0200 > Mauro Carvalho Chehab wrote: > > > > > > This is mixing and matching managed an unmanaged. Should be one or the > > > other > > > or we might be hiding some race conditions. > > I

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

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 10:36:14AM +0200, Christian König wrote: > 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:

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

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 06:18:28PM +1000, Nicholas Piggin wrote: > 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

Aw: [PATCH 2/3] arm64: dts: mt7622: add reset node for mmc device

2020-08-12 Thread Frank Wunderlich
> Gesendet: Mittwoch, 12. August 2020 um 11:37 Uhr > Von: "Wenbin Mei" > Betreff: [PATCH 3/3] mmc: mediatek: add optional module reset property > This patch adds a optional reset management for msdc. > Sometimes the bootloader does not bring msdc register > to default state, so need reset the

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

2020-08-12 Thread Thomas Gleixner
Stephen, Stephen Boyd writes: > Quoting Qianli Zhao (2020-08-11 22:14:14) >> +/** kernel/kthread **/ >> +#define KWORK_ENTRY_STATIC ((void *) 0x600 + POISON_POINTER_DELTA) > > Is this related to the debugobjects change here? It looks like another > version of list poison.

Re: [PATCH] KVM: x86/pmu: Add '.exclude_hv = 1' for guest perf_event

2020-08-12 Thread Paolo Bonzini
On 12/08/20 07:07, Like Xu wrote: > To emulate PMC counter for guest, KVM would create an > event on the host with 'exclude_guest=0, exclude_hv=0' > which simply makes no sense and is utterly broken. > > To keep perf semantics consistent, any event created by > pmc_reprogram_counter() should both

[PATCH] arm64: dts: sdm845: Fixup OPP table for all qup devices

2020-08-12 Thread Rajendra Nayak
This OPP table was based on the clock VDD-FMAX tables seen in downstream code, however it turns out the downstream clock driver does update these tables based on later/production rev of the chip and whats seen in the tables belongs to an early engineering rev of the SoC. Fix up the OPP tables such

[PATCH 2/3] habanalabs: check correct vmalloc return code

2020-08-12 Thread Oded Gabbay
From: Ofir Bitton vmalloc can return different return code than NULL and a valid pointer. We must validate it in order to dereference a non valid pointer. Signed-off-by: Ofir Bitton Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/memory.c | 9 +++--

[PATCH 3/3] habanalabs: correctly report inbound pci region cfg error

2020-08-12 Thread Oded Gabbay
From: Ofir Bitton During inbound iATU configuration we can get errors while configuring PCI registers, there is a certain scenario in which these errors are not reflected and driver is loaded with wrong configuration. Signed-off-by: Ofir Bitton Signed-off-by: Oded Gabbay ---

[PATCH 1/3] habanalabs: validate FW file size

2020-08-12 Thread Oded Gabbay
From: Ofir Bitton We must validate FW size in order not to corrupt memory in case a malicious FW file will be present in system. Signed-off-by: Ofir Bitton Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/firmware_if.c | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH v2 1/2] ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM

2020-08-12 Thread Mark Brown
On Tue, 11 Aug 2020 13:02:04 +0100, Srinivas Kandagatla wrote: > Looks like the q6afe-dai dapm widget registers are set as "0", > which is a not correct. > > As this registers will be read by ASoC core during startup > which will throw up errors, Fix this by making the registers > as SND_SOC_NOPM

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

2020-08-12 Thread Karel Zak
On Tue, Aug 11, 2020 at 08:20:24AM -0700, Linus Torvalds wrote: > IOW, if you do something more along the lines of > >fd = open(""foo/bar", O_PATH); >metadatafd = openat(fd, "metadataname", O_ALT); > > it might be workable. I have thought we want to replace mountinfo to reduce

Re: [PATCH V2] mm, page_alloc: fix core hung in free_pcppages_bulk()

2020-08-12 Thread Charan Teja Kalla
On 8/12/2020 3:30 PM, David Hildenbrand wrote: > On 12.08.20 11:46, Charan Teja Kalla wrote: >> >> Thanks David for the inputs. >> >> On 8/12/2020 2:35 AM, David Hildenbrand wrote: >>> On 11.08.20 14:58, Charan Teja Reddy wrote: The following race is observed with the repeated online,

Re: [PATCH 1/1] Input: atmel_mxt_ts - allow specification of firmware file name

2020-08-12 Thread Wang, Jiada
Hi Dmitry On 2020/08/10 5:11, Dmitry Osipenko wrote: 31.07.2020 10:57, Jiada Wang пишет: From: Nick Dyer On platforms which have multiple device instances using this driver, the firmware may be different on each device. This patch makes the user give the name of the firmware file when

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

2020-08-12 Thread Thomas Gleixner
Qianli, Qianli Zhao writes: > Add debugobject support to track the life time of kthread_work > which is used to detect reinitialization/free active object problems > Add kthread_init_work_onstack/kthread_init_delayed_work_onstack for > kthread onstack support s/kthread/kthread_work/ ? It

Re: [PATCH v1 7/7] dt-bindings: phy: cadence-torrent: Update Torrent PHY bindings for generic use

2020-08-12 Thread Kishon Vijay Abraham I
Hi Swapnil, On 8/7/2020 3:42 PM, Swapnil Jakhade wrote: > Torrent PHY can be used in different multi-link multi-protocol > configurations including protocols other than DisplayPort also, > such as PCIe, USB, SGMII, QSGMII etc. Update the bindings to have > support for these configurations. > >

Aw: [PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Frank Wunderlich
> Gesendet: Mittwoch, 12. August 2020 um 11:37 Uhr > Von: "Wenbin Mei" > Betreff: [PATCH 3/3] mmc: mediatek: add optional module reset property > This patch adds a optional reset management for msdc. > Sometimes the bootloader does not bring msdc register > to default state, so need reset the

My record show that you have not yet reply my last message sent to you since last week.

2020-08-12 Thread Ms. Rosemary Matthew
Dear Friend. My record show that you have not yet reply my last message sent to you since last week. I'm writing you once again because I asked myself several unanswered questions today does it mean that my message was diverted or you disregard it intentionally. I'm Ms Rosemar Matthew. with both

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-08-12 Thread Mark Rutland
On Thu, Aug 06, 2020 at 12:26:02PM -0500, Madhavan T. Venkataraman wrote: > Thanks for the lively discussion. I have tried to answer some of the > comments below. > > On 8/4/20 9:30 AM, Mark Rutland wrote: > > > >> So, the context is - if security settings in a system disallow a page to > >>

Re: file metadata via fs API

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 11:43 AM Steven Whitehouse wrote: > > Hi, > > On 12/08/2020 09:37, Miklos Szeredi wrote: > [snip] > > > > b) The awarded performance boost is not warranted for the use cases it > > is designed for. > > This is a key point. One of the main drivers for this work is the >

Re: [PATCH V2] mm, page_alloc: fix core hung in free_pcppages_bulk()

2020-08-12 Thread David Hildenbrand
On 12.08.20 11:46, Charan Teja Kalla wrote: > > Thanks David for the inputs. > > On 8/12/2020 2:35 AM, David Hildenbrand wrote: >> On 11.08.20 14:58, Charan Teja Reddy wrote: >>> The following race is observed with the repeated online, offline and a >>> delay between two successive online of

[rcu:dev.2020.08.10a] BUILD SUCCESS 9dd4d242c535c30266a08806314ea6b016f94617

2020-08-12 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.08.10a branch HEAD: 9dd4d242c535c30266a08806314ea6b016f94617 tools/memory-model: Document categories of ordering primitives elapsed time: 724m configs tested: 73 configs skipped: 4 The following

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

2020-08-12 Thread Laurent Pinchart
Hi Vinay, Thank you for the patch. On Wed, Aug 12, 2020 at 12:55:50PM +0530, Vinay Simha BN wrote: > - 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

Re: [PATCH] rtc: pcf2127: fix alarm handling

2020-08-12 Thread Alexandre Belloni
On Wed, 12 Aug 2020 10:51:14 +0200, Alexandre Belloni wrote: > Fix multiple issues when handling alarms: > - Use threaded interrupt to avoid scheduling when atomic > - Stop matching on week day as it may not be set correctly > - Avoid parsing the DT interrupt and use what is provided by the i2c

RE: [PATCH] net: untag pointer in sockptr_is_kernel

2020-08-12 Thread David Laight
From: Miles Chen > Sent: 12 August 2020 10:16 > > On Tue, 2020-08-11 at 11:44 +, David Laight wrote: > > > On Tue, Aug 11, 2020 at 06:27:04PM +0800, Miles Chen wrote: > > > > From: Miles Chen > > > > > > > > sockptr_is_kernel() uses (sockptr.kernel >= TASK_SIZE) to tell > > > > if the

Re: [PATCH 1/2] PM / Domains: Add GENPD_FLAG_SUSPEND_ON flag

2020-08-12 Thread Ulf Hansson
On Tue, 11 Aug 2020 at 21:03, Sibi Sankar wrote: > > This is for power domains which needs to stay powered on for suspend > but can be powered on/off as part of runtime PM. This flag is aimed at > power domains coupled to remote processors which enter suspend states > independent to that of the

Re: [PATCH V2] mm, page_alloc: fix core hung in free_pcppages_bulk()

2020-08-12 Thread Charan Teja Kalla
Thanks David for the inputs. On 8/12/2020 2:35 AM, David Hildenbrand wrote: > On 11.08.20 14:58, Charan Teja Reddy wrote: >> The following race is observed with the repeated online, offline and a >> delay between two successive online of memory blocks of movable zone. >> >> P1

Re: file metadata via fs API

2020-08-12 Thread Steven Whitehouse
Hi, On 12/08/2020 09:37, Miklos Szeredi wrote: [snip] b) The awarded performance boost is not warranted for the use cases it is designed for. Thanks, Miklos This is a key point. One of the main drivers for this work is the efficiency improvement for large numbers of mounts. Ian and Karel

[PATCH] fs: Fix some comments in open.c and read_write.c

2020-08-12 Thread Yi Wang
From: Liao Pingfang Correct comments in open.c, since the parameter(opened/cred) is not used anymore. Also correct size to maxsize in read_write.c. Signed-off-by: Liao Pingfang Signed-off-by: Yi Wang --- fs/open.c | 2 -- fs/read_write.c | 2 +- 2 files changed, 1 insertion(+), 3

[PATCH 2/3] arm64: dts: mt7622: add reset node for mmc device

2020-08-12 Thread Wenbin Mei
This commit adds reset node for mmc device. Signed-off-by: Wenbin Mei --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 1a39e0ef776b..5b9ec032ce8d 100644

[PATCH 1/3] mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings

2020-08-12 Thread Wenbin Mei
Add description for resets/reset-names. Signed-off-by: Wenbin Mei --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt index

Re: [PATCH 2/3] PM / Domains: Add support for 'assigned-performance-states'

2020-08-12 Thread Ulf Hansson
On Tue, 4 Aug 2020 at 13:47, Rajendra Nayak wrote: > > For devices which have 'assigned-performance-states' specified in DT, > set the specified performance state during attach and drop it on detach. > Also drop/set as part of runtime suspend/resume callbacks. To allow flexibility, I would

[RFC PATCH] iio: core: Add optional symbolic label to a device channel

2020-08-12 Thread Cristian Pop
If a label is defined in the device tree for this channel add that to the channel specific attributes. This is useful for userspace to be able to identify an individual channel. Signed-off-by: Cristian Pop --- drivers/iio/industrialio-core.c | 45 +++--

[PATCH 0/3] mmc: mediatek: add optional module reset property mmc: mediatek: add optional module reset property arm64: dts: mt7622: add reset node for mmc device Documentation/devicetree/bindings/mmc

2020-08-12 Thread Wenbin Mei
-- 2.18.0

[PATCH 3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Wenbin Mei
This patch adds a optional reset management for msdc. Sometimes the bootloader does not bring msdc register to default state, so need reset the msdc controller. Signed-off-by: Wenbin Mei --- drivers/mmc/host/mtk-sd.c | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH net-next RFC 00/13] Add devlink reload level option

2020-08-12 Thread Vasundhara Volam
On Wed, Aug 5, 2020 at 1:51 PM Moshe Shemesh wrote: > > > On 8/5/2020 9:55 AM, Vasundhara Volam wrote: > > On Wed, Aug 5, 2020 at 12:02 PM Moshe Shemesh wrote: > >> > >> On 8/4/2020 1:13 PM, Vasundhara Volam wrote: > >>> On Mon, Aug 3, 2020 at 7:23 PM Moshe Shemesh wrote: > On 8/3/2020

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

2020-08-12 Thread Sergei Shtylyov
Hello! On 12.08.2020 10:19, Wesley Cheng wrote: 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 ++

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

2020-08-12 Thread Laurent Pinchart
Hi Algea, Thank you for the patch. On Wed, Aug 12, 2020 at 04:35:43PM +0800, Algea Cao wrote: > 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

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 > > On 8/12/2020 12:27 PM, Felipe Balbi wrote: >> "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

Re: [f2fs-dev] [PATCH v3] f2fs: change virtual mapping way for compression pages

2020-08-12 Thread Gao Xiang
On Wed, Aug 12, 2020 at 02:17:11PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > By profiling f2fs compression works, I've found vmap() callings have > unexpected hikes in the execution time in our test environment and > those are bottlenecks of f2fs decompression path. Changing these with >

Re: [LTP] [x86/entry] 2bbc68f837: ltp.ptrace08.fail

2020-08-12 Thread Cyril Hrubis
Hi! > do_debug is a bit of a red herring here. ptrace should not be able to > put a breakpoint on a kernel address, period. I would just pick a > fixed address that's in the kernel text range or even just in the > pre-KASLR text range and make sure it gets rejected. Maybe try a few > different

Re: [RFC PATCH] coccinelle: misc: add uninitialized_var.cocci script

2020-08-12 Thread Julia Lawall
On Wed, 12 Aug 2020, Markus Elfring wrote: > > +@r@ > > +identifier var; > > +type T; > > +position p; > > +@@ > > + > > +( > > +* T var@p = var; > > +| > > +* T var@p = *(&(var)); > > I suggest to simplify such code for the semantic patch language a bit. > Can an other variant be more

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

2020-08-12 Thread Laurent Pinchart
Hi Algea, Thank you for the patch. On Wed, Aug 12, 2020 at 04:34:07PM +0800, Algea Cao wrote: > 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

Re: [PATCH] PM: runtime: Add kerneldoc comments to multiple helpers

2020-08-12 Thread Ulf Hansson
On Fri, 31 Jul 2020 at 19:03, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Add kerneldoc comments to multiple PM-runtime helper functions > defined as static inline wrappers around lower-level routines to > provide quick reference decumentation of their behavior. > > Some of them are

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:09 PM, Rajendra Nayak wrote: 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

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

2020-08-12 Thread Chinwen Chang
On Wed, 2020-08-12 at 09:39 +0100, Steven Price wrote: > 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,

Re: [PATCH] lib/cmdline: prevent unintented access to address

2020-08-12 Thread Andy Shevchenko
On Wed, Aug 12, 2020 at 11:54:02AM +0900, Seungil Kang wrote: Thanks for the patch, my comments below. > When args = "\"\0", "i" will be 0 and args[i-1] is used (line:238) Can you be less ambiguous with the args value? (Perhaps provide a hexdump of it for better understanding) > Because of "i"

[PATCH] Fix references to nommu-mmap.rst

2020-08-12 Thread Stephen Kitt
nommu-mmap.rst was moved to Documentation/admin-guide/mm; this patch updates the remaining stale references to Documentation/mm. Fixes: 800c02f5d030 ("docs: move nommu-mmap.txt to admin-guide and rename to ReST") Signed-off-by: Stephen Kitt --- init/Kconfig | 2 +- mm/Kconfig | 2 +-

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

2020-08-12 Thread Laurent Pinchart
Hi Algea, Thank you for the patch. On Wed, Aug 12, 2020 at 04:34:33PM +0800, Algea Cao wrote: > 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,

Re: [PATCH v5 3/6] ov5670: Support probe whilst the device is in a low power state

2020-08-12 Thread Sakari Ailus
Hi Bingbu, Thanks for the review. On Wed, Aug 12, 2020 at 05:12:28PM +0800, Bingbu Cao wrote: > > > On 8/10/20 10:27 PM, Sakari Ailus wrote: > > Tell ACPI device PM code that the driver supports the device being in a > > low power state when the driver's probe function is entered. > > > >

Re: [PATCH] net: Fix potential memory leak in proto_register()

2020-08-12 Thread linmiaohe
Hi all: David Miller wrote: >From: Cong Wang >Date: Tue, 11 Aug 2020 16:02:51 -0700 > >>> @@ -3406,6 +3406,16 @@ static void sock_inuse_add(struct net *net, >>> int val) } #endif >>> >>> +static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) { >>> + if (!twsk_prot) >>> +

Re: [PATCH v2 07/13] MIPS: generic: Support booting with built-in or appended DTB

2020-08-12 Thread Paul Cercueil
Le mer. 12 août 2020 à 12:15, Sergei Shtylyov a écrit : Hello! On 12.08.2020 3:15, Paul Cercueil wrote: The plat_get_fdt() checked that the kernel was booted using UHI before reading the 'fw_passed_dtb' variable. However, this variable is also set when the kernel has been appended, or

Re: [PATCH v3] exfat: remove EXFAT_SB_DIRTY flag

2020-08-12 Thread Tetsuhiro Kohada
When should VOL_DIRTY be cleared? The current behavior is ... Case of mkdir, rmdir, rename: - set VOL_DIRTY before operation - set VOL_CLEAN after operating. In async mode, it is actually written to the media after 30 seconds. Case of cp, touch: - set VOL_DIRTY before operation

Re: [PATCH] net: untag pointer in sockptr_is_kernel

2020-08-12 Thread Miles Chen
On Tue, 2020-08-11 at 20:28 +0800, kernel test robot wrote: > Hi Miles, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on net-next/master] > [also build test ERROR on linus/master] > [cannot apply to net/master hch-configfs/for-next sparc-next/master v5.8 >

RE: [PATCH] net: untag pointer in sockptr_is_kernel

2020-08-12 Thread Miles Chen
On Tue, 2020-08-11 at 11:44 +, David Laight wrote: > > On Tue, Aug 11, 2020 at 06:27:04PM +0800, Miles Chen wrote: > > > From: Miles Chen > > > > > > sockptr_is_kernel() uses (sockptr.kernel >= TASK_SIZE) to tell > > > if the pointer is kernel space or user space. When user space uses > > >

Re: [PATCH v2 07/13] MIPS: generic: Support booting with built-in or appended DTB

2020-08-12 Thread Sergei Shtylyov
Hello! On 12.08.2020 3:15, Paul Cercueil wrote: The plat_get_fdt() checked that the kernel was booted using UHI before reading the 'fw_passed_dtb' variable. However, this variable is also set when the kernel has been appended, or when it has been built into the s/kernel/DT/? kernel.

Re: [PATCH v5 3/6] ov5670: Support probe whilst the device is in a low power state

2020-08-12 Thread Bingbu Cao
On 8/10/20 10:27 PM, Sakari Ailus wrote: > Tell ACPI device PM code that the driver supports the device being in a > low power state when the driver's probe function is entered. > > Signed-off-by: Sakari Ailus > --- > drivers/media/i2c/ov5670.c | 23 ++- > 1 file changed,

[tip: irq/urgent] genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()

2020-08-12 Thread tip-bot2 for Guenter Roeck
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: e27b1636e9337d1a1d174b191e53d0f86421a822 Gitweb: https://git.kernel.org/tip/e27b1636e9337d1a1d174b191e53d0f86421a822 Author:Guenter Roeck AuthorDate:Tue, 11 Aug 2020 11:00:01 -07:00

Re: [PATCH 2/2] ARM: dts: r8a7742: Add PCIe Controller device node

2020-08-12 Thread Geert Uytterhoeven
On Mon, Aug 10, 2020 at 7:42 PM Lad Prabhakar wrote: > Add a device node for the PCIe controller on the Renesas > RZ/G1H (r8a7742) SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10.

Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-12 Thread Jiri Slaby
On 11. 08. 20, 22:02, John Stultz wrote: > On Tue, Aug 11, 2020 at 10:00 AM Saravana Kannan wrote: >> >> On Mon, Aug 10, 2020 at 7:50 PM John Stultz wrote: >>> >>> When booting with heavily modularized config, the serial console >>> may not be able to load until after init when modules that >>>

Re: [RFC PATCH 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-08-12 Thread Ulf Hansson
On Mon, 27 Jul 2020 at 11:31, Stephan Gerhold wrote: > > The OPP core manages various resources, e.g. clocks or interconnect paths. > These resources are looked up when the OPP table is allocated once > dev_pm_opp_get_opp_table() is called the first time (either directly > or indirectly through

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

2020-08-12 Thread Sandeep Maheswaram (Temp)
Hi On 8/12/2020 12:27 PM, Felipe Balbi wrote: "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

Re: [PATCH v2] arm64: defconfig: Enable R-Car PCIe endpoint driver

2020-08-12 Thread Geert Uytterhoeven
Hi Prabhakar, CC PCI endpoint people On Tue, Aug 11, 2020 at 4:04 PM Lad Prabhakar wrote: > Enable R-Car PCIe endpoint driver on RZ/G2E board, including enabling > endpoint configurations CONFIG_PCI_ENDPOINT, CONFIG_PCI_ENDPOINT_CONFIGFS, > CONFIG_PCI_EPF_TEST and CONFIG_PCI_ENDPOINT_TEST

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

2020-08-12 Thread Dan Carpenter
Yeah, the patch doesn't work at all. I looked at one call tree and it is: hfs_mdb_get() tries to allocate HFS_SB(sb)->ext_tree. HFS_SB(sb)->ext_tree = hfs_btree_open(sb, HFS_EXT_CNID, hfs_ext_keycmp); hfs_btree_open() calls page = read_mapping_page(mapping,

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

2020-08-12 Thread peterz
On Wed, Aug 12, 2020 at 10:18:32AM +0200, pet...@infradead.org wrote: > > trace_hardirqs_restore+0x59/0x80 kernel/trace/trace_preemptirq.c:106 > > rcu_irq_enter_irqson+0x43/0x70 kernel/rcu/tree.c:1074 > > trace_irq_enable_rcuidle+0x87/0x120 > > include/trace/events/preemptirq.h:40

[PATCH V2 1/5] dt-bindings: clock: Update i.MX28 example

2020-08-12 Thread Anson Huang
Update the i.MX28 clock example to align with MXS AUART binding doc to avoid below build error: Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: clocks: [[4294967295, 45]] is too short Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:

[PATCH V2 2/5] dt-bindings: clock: Update i.MX23 example

2020-08-12 Thread Anson Huang
Update the i.MX23 clock example to align with MXS AUART binding doc to avoid below build error: Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: clocks: [[4294967295, 32]] is too short Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml:

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-12 Thread Ard Biesheuvel
On Tue, 11 Aug 2020 at 18:01, Jessica Yu wrote: > > +++ Mauro Carvalho Chehab [11/08/20 17:27 +0200]: > >Em Tue, 11 Aug 2020 16:55:24 +0200 > >pet...@infradead.org escreveu: > > > >> On Tue, Aug 11, 2020 at 04:34:27PM +0200, Mauro Carvalho Chehab wrote: > >> > [33] .plt PROGBITS

[PATCH V2 5/5] dt-bindings: serial: Convert NXP lpuart to json-schema

2020-08-12 Thread Anson Huang
Convert the NXP lpuart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- no change. --- .../devicetree/bindings/serial/fsl-lpuart.txt | 43 .../devicetree/bindings/serial/fsl-lpuart.yaml | 79 ++ 2 files changed, 79

[PATCH V2 3/5] dt-bindings: serial: Convert i.MX uart to json-schema

2020-08-12 Thread Anson Huang
Convert the i.MX uart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- no change. --- .../devicetree/bindings/serial/fsl-imx-uart.txt| 40 -- .../devicetree/bindings/serial/fsl-imx-uart.yaml | 92 ++ 2 files changed, 92

[PATCH V2 4/5] dt-bindings: serial: Convert MXS auart to json-schema

2020-08-12 Thread Anson Huang
Convert the MXS auart binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- changes since V1: - update examples to align with i.MX23/i.MX28 clock bindings; - add minItem to clocks/clock-names property as i.MX23/i.MX28 have optional clocks

[PATCH v2] 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 "grp->attrs" array is out of bounds in "create_files" func. func: create_files: ->for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++)

Re: [RFC PATCH 0/3] opp: required_opps: Power on genpd, scale down in reverse order

2020-08-12 Thread Ulf Hansson
On Thu, 30 Jul 2020 at 10:02, Stephan Gerhold wrote: > > I'm trying to get CPR (Core Power Reduction, AVS) working for MSM8916 on > mainline. > Shortly said there are two power domains that must be scaled with the CPU OPP > table: > > - (VDD)MX > - CPR > > My idea for this was to add both

RE: [PATCH v4 1/4] fpga: dfl: change data type of feature id to u16

2020-08-12 Thread David Laight
From: Moritz Fischer > Sent: 12 August 2020 04:56 > > On Mon, Aug 10, 2020 at 10:41:10AM +0800, Xu Yilun wrote: > > The feature id is stored in a 12 bit field in DFH. So a u16 variable is > > enough for feature id. > > > > This patch changes all feature id related places to fit u16. How much

Re: [PATCH 1/2] dt-bindings: PCI: rcar: Add device tree support for r8a7742

2020-08-12 Thread Geert Uytterhoeven
On Mon, Aug 10, 2020 at 7:42 PM Lad Prabhakar wrote: > Add support for r8a7742. The Renesas RZ/G1H (R8A7742) PCIe controller > is identical to the R-Car Gen2 family. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

[PATCH] rtc: pcf2127: fix alarm handling

2020-08-12 Thread Alexandre Belloni
Fix multiple issues when handling alarms: - Use threaded interrupt to avoid scheduling when atomic - Stop matching on week day as it may not be set correctly - Avoid parsing the DT interrupt and use what is provided by the i2c or spi subsystem - Avoid returning IRQ_NONE in case of error in

<    3   4   5   6   7   8   9   10   >