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. Sup

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 > nex

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 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 w

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. > > > > Sign

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, dw_hdmi_set

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) >>> +

[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 +- mm/nommu

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"

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 N

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] 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: [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 fo

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 succinct

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 a

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 interconnect

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: [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 d

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 ++ arch/

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 3:47

[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 a/drivers/mmc/

[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 8a532f4453f2..35

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 prefer

[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 +++-- include/linux/

[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] 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 deleti

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 h

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 ap

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: [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 pointe

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 r

[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 conf

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 memo

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 > eff

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 > >> have

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 msd

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 B

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. > > Si

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 would

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 flashin

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, offli

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 ov

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

[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 +++-- drivers/misc/habanalabs/c

[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 --- drivers/misc/haba

[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 a/

[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

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

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. Yes

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 msd

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 instruc

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: Gu

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 intended

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 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, High

[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 --- kernel/

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 drivers/base/power/domain.c

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 th

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: [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 iio_sysfs_trigger_

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 w

[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: [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 semant

[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 proper

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 (wh

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 user

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 desig

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 user

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] 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 co

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 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: [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 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 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 Utt

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 RUNTIME_PM

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: WARNING: suspicious RCU usage in tipc_l2_send_msg

2020-08-12 Thread syzbot
syzbot has bisected this issue to: commit 786a2aa281f4c4ba424ea8b8ea1e85ab62c4a57c Author: Jarkko Sakkinen Date: Mon Jul 6 20:53:42 2020 + Revert commit e918e570415c ("tpm_tis: Remove the HID IFX0102") bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12fc36d690 start c

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

2020-08-12 Thread Wenbin Mei
Thanks for your reply. I will add this in the next version. On Wed, 2020-08-12 at 12:07 +0200, Frank Wunderlich wrote: > > 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 opti

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

2020-08-12 Thread Wenbin Mei
Thanks for your reply. I will add this in the next version. On Wed, 2020-08-12 at 12:33 +0200, Frank Wunderlich wrote: > > 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 opti

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

2020-08-12 Thread Uladzislau Rezki
On Wed, Aug 12, 2020 at 01:38:35PM +0200, Thomas Gleixner wrote: > 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 >

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

2020-08-12 Thread Amit Pundir
On Wed, 12 Aug 2020 at 15:52, Rajendra Nayak wrote: > > 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 a

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

2020-08-12 Thread Philipp Zabel
On Wed, 2020-08-12 at 17:37 +0800, Wenbin Mei wrote: > 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/

[RFC PATCH v1 02/19] powerpc/ptrace: Move declaration of ptrace_get_reg() and ptrace_set_reg()

2020-08-12 Thread Christophe Leroy
ptrace_get_reg() and ptrace_set_reg() are only used internally by ptrace. Move them in arch/powerpc/kernel/ptrace/ptrace-decl.h Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/ptrace.h| 6 -- arch/powerpc/kernel/ptrace/ptrace-decl.h | 3 +++ 2 files changed, 3 insertion

[RFC PATCH v1 09/19] powerpc/signal: Call get_tm_stackpointer() from get_sigframe()

2020-08-12 Thread Christophe Leroy
Instead of calling get_tm_stackpointer() from the caller, call it directly from get_sigframe(). This avoids a double call and allows get_tm_stackpointer() to become static and be inlined into get_sigframe() by GCC. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal.c| 9 ++---

[RFC PATCH v1 06/19] powerpc/32s: Allow deselecting CONFIG_PPC_FPU on mpc832x

2020-08-12 Thread Christophe Leroy
The e300c2 core which is embedded in mpc832x CPU doesn't have an FPU. Make it possible to not select CONFIG_PPC_FPU when building a kernel dedicated to that target. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/Kconfig.cputype | 11 +-- 1 file changed, 9 insertions(+), 2 de

[RFC PATCH v1 10/19] powerpc/signal: Refactor bad frame logging

2020-08-12 Thread Christophe Leroy
The logging of bad frame appears half a dozen of times and is pretty similar. Create signal_fault() fonction to perform that logging. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal.c| 11 +++ arch/powerpc/kernel/signal.h| 3 +++ arch/powerpc/kernel/signal_32.c |

[RFC PATCH v1 00/19] powerpc: Switch signal 32 to using user_access_begin() and friends

2020-08-12 Thread Christophe Leroy
This series replaces copies to users by unsafe_put_user() and friends with user_write_access_begin() dance in signal32. The advantages are: - No KUAP unlock/lock at every copy - More readable code. - Better generated code. Copying Al Viro who did it on x86 and may have suggestions, and Dmitry V.

[RFC PATCH v1 01/19] powerpc/signal: Move inline functions in signal.h

2020-08-12 Thread Christophe Leroy
To really be inlined, the functions needs to be defined in the same C file as the caller, or in an included header. Move functions from signal .c defined inline in signal.h Signed-off-by: Christophe Leroy Fixes: 3dd4eb83a9c0 ("powerpc: move common register copy functions from signal_32.c to sig

[RFC PATCH v1 07/19] powerpc/signal: Move access_ok() out of get_sigframe()

2020-08-12 Thread Christophe Leroy
This access_ok() will soon be performed by user_access_begin(). So move it out of get_sigframe() Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal.c| 4 arch/powerpc/kernel/signal_32.c | 4 ++-- arch/powerpc/kernel/signal_64.c | 2 +- 3 files changed, 3 insertions(+), 7 del

[RFC PATCH v1 16/19] powerpc/signal32: Switch handle_rt_signal32() to user_access_begin() logic

2020-08-12 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal_32.c | 47 + 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 4ea83578ba9d..d03ba3d8eb68 100644 --- a/arch/powerpc/

[RFC PATCH v1 12/19] powerpc/signal32: Regroup copies in save_user_regs() and save_tm_user_regs()

2020-08-12 Thread Christophe Leroy
Reorder actions in save_user_regs() and save_tm_user_regs() to regroup copies together in order to switch to user_access_begin() logic in a later patch. In save_tm_user_regs(), first perform copies to frame, then perform copies to tm_frame. Signed-off-by: Christophe Leroy --- arch/powerpc/kerne

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

2020-08-12 Thread Mark Brown
On Wed, Aug 12, 2020 at 03:29:13PM +0800, Jiaxin Yu wrote: > 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

[RFC PATCH v1 05/19] powerpc/signal: Don't manage floating point regs when no FPU

2020-08-12 Thread Christophe Leroy
There is no point in copying floating point regs when there is no FPU and MATH_EMULATION is not selected. Create a new CONFIG_PPC_FPU_REGS bool that is selected by CONFIG_MATH_EMULATION and CONFIG_PPC_FPU, and use it to opt out everything related to fp_state in thread_struct. The asm const used o

[RFC PATCH v1 11/19] powerpc/signal32: Simplify logging in handle_rt_signal32()

2020-08-12 Thread Christophe Leroy
If something is bad in the frame, there is no point in knowing which part of the frame exactly is wrong as it got allocated as a single block. Always print the root address of the frame in case on failed user access, just like handle_signal32(). Signed-off-by: Christophe Leroy --- arch/powerpc/

[RFC PATCH v1 15/19] powerpc/signal32: Switch handle_signal32() to user_access_begin() logic

2020-08-12 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal_32.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 0d076c2a9f6c..4ea83578ba9d 100644 --- a/arch/powerpc/kernel/signal_3

[RFC PATCH v1 14/19] powerpc/signal32: Switch save_user_regs() and save_tm_user_regs() to user_access_begin() logic

2020-08-12 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal_32.c | 168 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 2c3d5d4400ec..0d076c2a9f6c 100644 --- a/arch/powerpc/

[RFC PATCH v1 17/19] signal: Add unsafe_put_compat_sigset()

2020-08-12 Thread Christophe Leroy
Implement 'unsafe' version of put_compat_sigset() For the bigendian, use unsafe_put_user() directly to avoid intermediate copy through the stack. For the littleendian, use a straight unsafe_copy_to_user(). Signed-off-by: Christophe Leroy Cc: Dmitry V. Levin Cc: Al Viro --- include/linux/comp

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