Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'

2020-10-06 Thread Guenter Roeck
On 10/5/20 11:38 AM, Rob Herring wrote: > This doesn't yet do anything in the tools, but make it explicit so we can > check either 'unevaluatedProperties' or 'additionalProperties' is present > in schemas. > > 'unevaluatedProperties' is appropriate when including another schema (via > '$ref') and

Re: [PATCH] ARM: dts: cros-ec-keyboard: Add alternate keymap for KEY_LEFTMETA

2020-10-06 Thread Enric Balletbo i Serra
Hi Stephen, On 25/9/20 18:26, Stephen Boyd wrote: > On newer keyboards this key is in a different place. Add both options to > the keymap so that both new and old keyboards work. > > Cc: Douglas Anderson > Signed-off-by: Stephen Boyd > --- Queued for 5.10. Thanks, Enric > arch/arm/boot/dts

[for-linus][PATCH 04/15] tracing: Save normal string variables

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi String variables created as field variables and save variables are already handled properly by having their values copied when set. The same isn't done for normal variables, but needs to be - simply saving a pointer to a string contained in an old event isn't sufficient, since

[for-linus][PATCH 05/15] tracing: Add support for dynamic strings to synthetic events

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi Currently, sythetic events only support static string fields such as: # echo 'test_latency u64 lat; char somename[32]' > /sys/kernel/debug/tracing/synthetic_events Which is fine, but wastes a lot of space in the event. It also prevents the most commonly-defined strings in

[for-linus][PATCH 11/15] ftrace: Simplify the dyn_ftrace->flags macro

2020-10-06 Thread Steven Rostedt
From: Wei Yang All the three macro are defined to be used for ftrace_rec_count(). This can be achieved by (flags & FTRACE_REF_MAX) directly. Since no other places would use those macros, remove them for clarity. Also it fixes a typo in the comment. Link: https://lkml.kernel.org/r/202008310311

[for-linus][PATCH 12/15] ftrace: Simplify the calculation of page number for ftrace_page->records

2020-10-06 Thread Steven Rostedt
From: Wei Yang Based on the following two reasones, we could simplify the calculation: - If the number after roundup count is not power of 2, we would definitely have more than 1 empty page with a higher order. - get_count_order() just return current order, so one lower order could m

[for-linus][PATCH 10/15] ftrace: Simplify the hash calculation

2020-10-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" No need to add a check to subtract the number of bits if bits is zero after fls(). Just divide the size by two before calling it. This does give the same answer for size of 0 and 1, but that's fine. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ftrace.

[for-linus][PATCH 01/15] ftrace: Fix some typos in comment

2020-10-06 Thread Steven Rostedt
From: Qiujun Huang s/coorditate/coordinate/ s/emty/empty/ s/preeptive/preemptive/ s/succes/success/ s/carefule/careful/ Link: https://lkml.kernel.org/r/20201002143126.2890-1-hqjag...@gmail.com Signed-off-by: Qiujun Huang Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ftrace.c | 10 +

[for-linus][PATCH 00/15] tracing: Some final updates for 5.10

2020-10-06 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 1a0b112ed1247152685996b4e0edf2af9844ece4 Qiujun Huang (1): ftrace: Fix some typos in comment Steven Rostedt (VMware) (3): tracing: Change synthetic event string format to limit printed length

[for-linus][PATCH 14/15] ftrace: ftrace_global_list is renamed to ftrace_ops_list

2020-10-06 Thread Steven Rostedt
From: Wei Yang Fix the comment to comply with the code. Link: https://lkml.kernel.org/r/20200831031104.23322-7-richard.weiy...@linux.alibaba.com Signed-off-by: Wei Yang Signed-off-by: Steven Rostedt (VMware) --- include/linux/ftrace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[for-linus][PATCH 08/15] tracing: Change synthetic event string format to limit printed length

2020-10-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Change the format for printing synthetic field strings to limit the length of the string printed even if it's not correctly terminated. Link: https://lore.kernel.org/r/20201002210036.02003...@oasis.local.home Link: https://lkml.kernel.org/r/b6bdb34e70d970e8026daa

[for-linus][PATCH 07/15] selftests/ftrace: Add test case for synthetic event dynamic strings

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi Add a selftest that defines and traces a synthetic event that uses a dynamic string event field. Link: https://lkml.kernel.org/r/74445afb005046d76d59fb06696a2ceaa164dec9.1601848695.git.zanu...@kernel.org Signed-off-by: Tom Zanussi Signed-off-by: Steven Rostedt (VMware) ---

[for-linus][PATCH 03/15] tracing: Fix parse_synth_field() error handling

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi synth_field_size() returns either a positive size or an error (zero or a negative value). However, the existing code assumes the only error value is 0. It doesn't handle negative error codes, as it assigns directly to field->size (a size_t; unsigned), thereby interpreting the er

[for-linus][PATCH 06/15] tracing: Add README information for synthetic_events file

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi Add an entry with a basic description of events/synthetic_events along with a simple example. Link: https://lkml.kernel.org/r/3c7f178cf95aaeebc01eda7d95600dd937233eb7.1601848695.git.zanu...@kernel.org Signed-off-by: Tom Zanussi Signed-off-by: Steven Rostedt (VMware) --- ke

[for-linus][PATCH 02/15] tracing: Change STR_VAR_MAX_LEN

2020-10-06 Thread Steven Rostedt
From: Tom Zanussi 32 is too small for this value, and anyway it makes more sense to use MAX_FILTER_STR_VAL, as this is also the value used for variable-length __strings. Link: https://lkml.kernel.org/r/6adfd1668ac1fd8670bd58206944a762061a5559.1601848695.git.zanu...@kernel.org Tested-by: Axel R

[for-linus][PATCH 09/15] ftrace: Use fls() to get the bits for dup_hash()

2020-10-06 Thread Steven Rostedt
From: Wei Yang The effect here is to get the number of bits, lets use fls() to do this job. Link: https://lkml.kernel.org/r/20200831031104.23322-3-richard.weiy...@linux.alibaba.com Signed-off-by: Wei Yang Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ftrace.c | 5 +++-- 1 file cha

[for-linus][PATCH 15/15] tracing: Remove a pointless assignment

2020-10-06 Thread Steven Rostedt
From: Sudip Mukherjee The variable 'len' has been assigned a value but is not used after that. So, remove the assignement. Link: https://lkml.kernel.org/r/20200930184303.22896-1-sudipm.mukher...@gmail.com Signed-off-by: Sudip Mukherjee Signed-off-by: Steven Rostedt (VMware) --- kernel/trace

[for-linus][PATCH 13/15] ftrace: Format variable declarations of ftrace_allocate_records

2020-10-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" I hate when unrelated variables are declared on the same line. Split them. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ftrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index

Re: [PATCH 1/6] ftrace: define seq_file only for FMODE_READ

2020-10-06 Thread Steven Rostedt
On Mon, 31 Aug 2020 11:10:59 +0800 Wei Yang wrote: > The purpose of the operation is to get ftrace_iterator, which is embedded > in file or seq_file for FMODE_WRITE/FMODE_READ respectively. Since we > don't have a seq_file for FMODE_WRITE case, it is meaningless to cast > file->private_data to se

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-06 Thread Juri Lelli
On 06/10/20 15:48, Peter Zijlstra wrote: > On Tue, Oct 06, 2020 at 12:20:43PM +0100, Valentin Schneider wrote: > > > > On 05/10/20 15:57, Peter Zijlstra wrote: > > > In order to minimize the interference of migrate_disable() on lower > > > priority tasks, which can be deprived of runtime due to be

Re: [PATCH] thermal: power_allocate: add upper and lower limits

2020-10-06 Thread Lukasz Luba
Hi Michael, On 8/25/20 10:29 AM, Michael Kao wrote: On Wed, 2020-04-29 at 21:24 +0100, Lukasz Luba wrote: On 4/29/20 11:39 AM, Michael Kao wrote: On Fri, 2020-04-24 at 10:22 +0100, Lukasz Luba wrote: Hi Michael, On 4/24/20 8:16 AM, Michael Kao wrote: The upper and lower limits of thermal t

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-06 Thread Marek Behun
Adding Rob to Cc, Rob, could we have your opinion on this? Mine is below. On Tue, 6 Oct 2020 07:21:14 -0500 Dan Murphy wrote: > >> By the way I just realized that the DT binding in this driver seems > >> incorrect to me. > >> > >> The controller logically supports 3 LED strings, each having > >>

Re: Issue of metrics for multiple uncore PMUs (was Re: [RFC PATCH v2 23/23] perf metricgroup: remove duped metric group events)

2020-10-06 Thread Ian Rogers
On Tue, Oct 6, 2020 at 7:22 AM John Garry wrote: > > On 05/10/2020 19:05, John Garry wrote: > >> Can you provide a reproduction? Looking on broadwell > >> this metric doesn't exist. > > > > Right, I just added this test metric as my 2x x86 platform has no > > examples which I can find: > > > > dif

Re: [PATCH v8 00/18] blk-mq/scsi: Provide hostwide shared tags for SCSI HBAs

2020-10-06 Thread Jens Axboe
On 10/6/20 8:24 AM, John Garry wrote: > On 28/09/2020 17:11, Kashyap Desai wrote: >>> >>> John, >>> Have you had a chance to check these outstanding SCSI patches? scsi: megaraid_sas: Added support for shared host tagset for >> cpuhotplug scsi: scsi_debug: Support host tagset >>>

Re: [PATCH 5/6] ftrace: replace do_for_each_ftrace_rec() with for_ftrace_rec_iter()

2020-10-06 Thread Steven Rostedt
On Mon, 31 Aug 2020 11:11:03 +0800 Wei Yang wrote: > Now we have two similar infrastructure to iterate ftrace_page and > dyn_ftrace: > > * do_for_each_ftrace_rec() > * for_ftrace_rec_iter() > > The 2nd one, for_ftrace_rec_iter(), looks more generic, so preserve it > and replace do_for_each_

Re: Control Dependencies vs C Compilers

2020-10-06 Thread Peter Zijlstra
On Tue, Oct 06, 2020 at 10:23:24AM -0400, st...@rowland.harvard.edu wrote: > On Tue, Oct 06, 2020 at 03:31:15PM +0200, Peter Zijlstra wrote: > > Only if we get the compiler people on board and have them provide means > > are we guaranteed safe from the optimizer. Otherwise we'll just keep > > play

Re: [ANNOUNCE] v5.9-rc8-rt12

2020-10-06 Thread Daniel Wagner
Hi Sebastian, On 06.10.20 10:58, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v5.9-rc8-rt12 patch set. Just as heads up. I just tried to build for arm64 but PREEMPT_RT is not available anymore. Looks like ARCH_SUPPORTS_RT is only available for !KVM. Thanks, Dan

Re: [net-next v2 07/11] bridge: cfm: Netlink Interface.

2020-10-06 Thread Nikolay Aleksandrov
On Thu, 2020-10-01 at 10:30 +, Henrik Bjoernlund wrote: > This is the implementation of CFM netlink configuration > and status information interface. > > Add new nested netlink attributes. These attributes are used by the > user space to create/delete/configure CFM instances and get status. >

Re: [PATCH] thermal: power_allocate: add upper and lower limits

2020-10-06 Thread Lukasz Luba
On 10/6/20 3:39 PM, Lukasz Luba wrote: Hi Michael, On 8/25/20 10:29 AM, Michael Kao wrote: On Wed, 2020-04-29 at 21:24 +0100, Lukasz Luba wrote: On 4/29/20 11:39 AM, Michael Kao wrote: On Fri, 2020-04-24 at 10:22 +0100, Lukasz Luba wrote: Hi Michael, On 4/24/20 8:16 AM, Michael Kao wrot

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-06 Thread Peter Zijlstra
On Tue, Oct 06, 2020 at 04:37:04PM +0200, Juri Lelli wrote: > On 06/10/20 15:48, Peter Zijlstra wrote: > > On Tue, Oct 06, 2020 at 12:20:43PM +0100, Valentin Schneider wrote: > > > > > > On 05/10/20 15:57, Peter Zijlstra wrote: > > > > In order to minimize the interference of migrate_disable() on

Re: [net-next v2 08/11] bridge: cfm: Netlink Notifications.

2020-10-06 Thread Nikolay Aleksandrov
On Thu, 2020-10-01 at 10:30 +, Henrik Bjoernlund wrote: > This is the implementation of Netlink notifications out of CFM. > > Notifications are initiated whenever a state change happens in CFM. > > IFLA_BRIDGE_CFM: > Points to the CFM information. > > IFLA_BRIDGE_CFM_MEP_STATUS_INFO: >

Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching

2020-10-06 Thread Rob Herring
On Fri, Oct 02, 2020 at 02:45:51PM +0200, Krzysztof Kozlowski wrote: > On Fri, 2 Oct 2020 at 14:41, Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 25, 2020 at 11:26:49PM +0200, Krzysztof Kozlowski wrote: > > > The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three > > > so update

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-06 Thread Vitaly Kuznetsov
Vivek Goyal writes: > On Tue, Oct 06, 2020 at 04:05:16PM +0200, Vitaly Kuznetsov wrote: >> Vivek Goyal writes: >> >> > A. Just exit to user space with -EFAULT (using kvm request) and don't >> >wait for the accessing task to run on vcpu again. >> >> What if we also save the required inform

Re: [net-next v2 09/11] bridge: cfm: Bridge port remove.

2020-10-06 Thread Nikolay Aleksandrov
On Thu, 2020-10-01 at 10:30 +, Henrik Bjoernlund wrote: > This is addition of CFM functionality to delete MEP instances > on a port that is removed from the bridge. > A MEP can only exist on a port that is related to a bridge. > > Reviewed-by: Horatiu Vultur > Signed-off-by: Henrik Bjoernlun

[net-next v3 0/9] net: bridge: cfm: Add support for Connectivity Fault Management(CFM)

2020-10-06 Thread Henrik Bjoernlund
Connectivity Fault Management (CFM) is defined in 802.1Q section 12.14. Connectivity Fault Management (CFM) comprises capabilities for detecting, verifying, and isolating connectivity failures in Virtual Bridged Networks. These capabilities can be used in networks operated by multiple independent

[net-next v3 6/9] bridge: cfm: Kernel space implementation of CFM.

2020-10-06 Thread Henrik Bjoernlund
This is the third commit of the implementation of the CFM protocol according to 802.1Q section 12.14. Functionality is extended with CCM frame reception. The MEP instance now contains CCM based status information. Most important is the CCM defect status indicating if correct CCM frames are receive

[net-next v3 1/9] net: bridge: extend the process of special frames

2020-10-06 Thread Henrik Bjoernlund
This patch extends the processing of frames in the bridge. Currently MRP frames needs special processing and the current implementation doesn't allow a nice way to process different frame types. Therefore try to improve this by adding a list that contains frame types that need special processing. T

[net-next v3 3/9] bridge: uapi: cfm: Added EtherType used by the CFM protocol.

2020-10-06 Thread Henrik Bjoernlund
This EtherType is used by all CFM protocal frames transmitted according to 802.1Q section 12.14. Signed-off-by: Henrik Bjoernlund Reviewed-by: Horatiu Vultur Acked-by: Nikolay Aleksandrov --- include/uapi/linux/if_ether.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux

[net-next v3 2/9] bridge: cfm: Add BRIDGE_CFM to Kconfig.

2020-10-06 Thread Henrik Bjoernlund
This makes it possible to include or exclude the CFM protocol according to 802.1Q section 12.14. Signed-off-by: Henrik Bjoernlund Reviewed-by: Horatiu Vultur --- net/bridge/Kconfig | 11 +++ net/bridge/br_device.c | 3 +++ net/bridge/br_private.h | 3 +++ 3 files changed, 17 i

[net-next v3 4/9] bridge: cfm: Kernel space implementation of CFM.

2020-10-06 Thread Henrik Bjoernlund
This is the first commit of the implementation of the CFM protocol according to 802.1Q section 12.14. Connectivity Fault Management (CFM) comprises capabilities for detecting, verifying, and isolating connectivity failures in Virtual Bridged Networks. These capabilities can be used in networks ope

[net-next v3 9/9] bridge: cfm: Bridge port remove.

2020-10-06 Thread Henrik Bjoernlund
This is addition of CFM functionality to delete MEP instances on a port that is removed from the bridge. A MEP can only exist on a port that is related to a bridge. Signed-off-by: Henrik Bjoernlund m Reviewed-by: Horatiu Vultur --- net/bridge/br_cfm.c | 13 + net/bridge/br_if.c

[net-next v3 7/9] bridge: cfm: Netlink Interface.

2020-10-06 Thread Henrik Bjoernlund
This is the implementation of CFM netlink configuration and status information interface. Add new nested netlink attributes. These attributes are used by the user space to create/delete/configure CFM instances and get status. Also they are used by the kernel to notify the user space when changes i

[net-next v3 8/9] bridge: cfm: Netlink Notifications.

2020-10-06 Thread Henrik Bjoernlund
This is the implementation of Netlink notifications out of CFM. Notifications are initiated whenever a state change happens in CFM. IFLA_BRIDGE_CFM: Points to the CFM information. IFLA_BRIDGE_CFM_MEP_STATUS_INFO: This indicate that the MEP instance status are following. IFLA_BRIDGE_CFM_C

[net-next v3 5/9] bridge: cfm: Kernel space implementation of CFM.

2020-10-06 Thread Henrik Bjoernlund
This is the second commit of the implementation of the CFM protocol according to 802.1Q section 12.14. Functionality is extended with CCM frame transmission. Interface is extended with these functions: br_cfm_cc_rdi_set() br_cfm_cc_ccm_tx() br_cfm_cc_config_set() A MEP Continuity Check feature c

RE: [PATCH] media: coda: avoid starvation on well-compressed data

2020-10-06 Thread Benjamin Bara - SKIDATA
> -Original Message- > From: Ezequiel Garcia > Sent: Montag, 28. September 2020 22:06 > If you have some (public) bitstream that are known to timeout, and that you > could > share with me, that would be nice, so I could have a more complete set of > samples. Thanks for the response! We

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-06 Thread Dan Murphy
Marek On 10/6/20 9:41 AM, Marek Behun wrote: Adding Rob to Cc, Rob, could we have your opinion on this? Mine is below. Dan, I looked at the datasheet, I understand this. Nonetheless, device tree should describe how devices are connected to each other. The chip has 3 pins for 3 LED strings. If

Re: [net-next v3 0/9] net: bridge: cfm: Add support for Connectivity Fault Management(CFM)

2020-10-06 Thread Nikolay Aleksandrov
On Tue, 2020-10-06 at 14:53 +, Henrik Bjoernlund wrote: > Connectivity Fault Management (CFM) is defined in 802.1Q section 12.14. > > Connectivity Fault Management (CFM) comprises capabilities for detecting, > verifying, > and isolating connectivity failures in Virtual Bridged Networks. > The

Re: [for-linus][PATCH 00/15] tracing: Some final updates for 5.10

2020-10-06 Thread Steven Rostedt
Bah, I just realized I used the wrong script. This was suppose to be a '[for-next]' patch series :-/ -- Steve

[PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-06 Thread Alexandru Elisei
>From ARM DDI 0487F.b, page D9-2807: "Although the Statistical Profiling Extension acts as another observer in the system, for determining the Shareability domain of the DSB instructions, the writes of sample records are treated as coming from the PE that is being profiled." Similarly, on page D9

Re: [RFC] Status of orinoco_usb

2020-10-06 Thread Dan Williams
On Tue, 2020-10-06 at 08:40 -0400, Jes Sorensen wrote: > On 10/6/20 3:45 AM, Arend Van Spriel wrote: > > + Jes > > > > On 10/5/2020 4:12 PM, Kalle Valo wrote: > > > Greg Kroah-Hartman writes: > > > > > > > On Fri, Oct 02, 2020 at 01:53:58PM +0200, Sebastian Andrzej > > > > Siewior > > > > wrote:

RE: Control Dependencies vs C Compilers

2020-10-06 Thread David Laight
> Please go read memory-barriers.txt for a bunch of other examples. My brain hurts. It's not as though I've not known about most of this since the first SMP capable SPARC cpus that had a 'store buffer'. (Probably 30 years ago.) I sometimes wonder whether compiling things like the kernel requires

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-06 Thread Vivek Goyal
On Tue, Oct 06, 2020 at 04:50:44PM +0200, Vitaly Kuznetsov wrote: > Vivek Goyal writes: > > > On Tue, Oct 06, 2020 at 04:05:16PM +0200, Vitaly Kuznetsov wrote: > >> Vivek Goyal writes: > >> > >> > A. Just exit to user space with -EFAULT (using kvm request) and don't > >> >wait for the acces

Re: [PATCH v4 2/2] ovl: introduce new "uuid=off" option for inodes index feature

2020-10-06 Thread Miklos Szeredi
On Fri, Sep 25, 2020 at 10:35 AM Pavel Tikhomirov wrote: > Note: In our (Virtuozzo) use case users inside a container can create > "regular" overlayfs mounts without any "index=" option, but we still > want to migrate this containers with CRIU so we set "index=on" as kernel > default so that all

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-06 Thread Marek Behun
On Tue, 6 Oct 2020 09:57:08 -0500 Dan Murphy wrote: > Unfortunately we cannot and should not change the ABI now. > > Using the led-sources as the bank indicator does not conform to the > definition of the description of the led-sources in the yaml. > > The preference was to use the led-sources

Re: [PATCH 0/8] media: v4l2: simplify compat ioctl handling

2020-10-06 Thread Arnd Bergmann
On Fri, Oct 2, 2020 at 4:32 PM Hans Verkuil wrote: > On 17/09/2020 17:28, Arnd Bergmann wrote: > While testing I found a lot of bugs. Below is a patch that sits on top > of your series and fixes all the bugs: > > - put_v4l2_standard32: typo: p64->index -> p64->id > - get_v4l2_plane32: typo: p64 -

[PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-06 Thread Ashish Sangwan
Request for mode bits and nlink count in the nfs4_get_referral call and if server returns them use them instead of hard coded values. CC: sta...@vger.kernel.org Signed-off-by: Ashish Sangwan --- fs/nfs/nfs4proc.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff -

Re: Control Dependencies vs C Compilers

2020-10-06 Thread Nick Clifton
Hi Guys, OK, so playing the devils advocate here... > Mostly I just want the compiler people to say they'll guarantee the > behaviour if we do 'X'. If 'X' happens to be 'any dynamic branch headed > by a volatile load' that's fine by me. Is a compiler hack really the right way to go here ?

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-06 Thread H.J. Lu
On Tue, Oct 6, 2020 at 5:12 AM H.J. Lu wrote: > > On Tue, Oct 6, 2020 at 2:25 AM Dave Martin wrote: > > > > On Mon, Oct 05, 2020 at 10:17:06PM +0100, H.J. Lu wrote: > > > On Mon, Oct 5, 2020 at 6:45 AM Dave Martin wrote: > > > > > > > > On Tue, Sep 29, 2020 at 01:57:42PM -0700, Chang S. Bae wrot

Re: [PATCH 5.4 00/57] 5.4.70-rc1 review

2020-10-06 Thread Ben Hutchings
On Tue, 2020-10-06 at 13:55 +0530, Naresh Kamboju wrote: [...] > NOTE: > While running LTP containers test suite, > I noticed this kernel panic on arm64 Juno-r2 devices. > Not easily reproducible and not seen on any other arm64 devices. > > steps to reproduce: > --- > # boo

Re: [RESEND PATCH v2] mtd: spi-nor: Fix address width on flash chips > 16MB

2020-10-06 Thread Pratyush Yadav
On 06/10/20 03:23PM, Bert Vermeulen wrote: > If a flash chip has more than 16MB capacity but its BFPT reports > BFPT_DWORD1_ADDRESS_BYTES_3_OR_4, the spi-nor framework defaults to 3. > > The check in spi_nor_set_addr_width() doesn't catch it because addr_width > did get set. This fixes that check.

Re: [PATCH v4 06/13] x86/platform/uv: Add and Decode Arch Type in UVsystab

2020-10-06 Thread Borislav Petkov
On Mon, Oct 05, 2020 at 02:35:58PM -0700, Mike Travis wrote: > > > On 10/5/2020 2:21 PM, Borislav Petkov wrote: > > On Mon, Oct 05, 2020 at 03:39:22PM -0500, Mike Travis wrote: > > > A patch to add and process the UV Arch Type field in the UVsystab passed > > > from UV BIOS to the kernel. > > >

[PATCH v1] Bluetooth: hci_qca: Wait for timeout during suspend

2020-10-06 Thread Balakrishna Godavarthi
From: Venkata Lakshmi Narayana Gubba Currently qca_suspend() is relied on IBS mechanism. During FW download and memory dump collections, IBS will be disabled. In those cases, driver will allow suspend and still uses the serdev port, which results to errors. Now added a wait timeout if suspend is

[PATCH][next] ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun"

2020-10-06 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_warn message. Fix it. Signed-off-by: Colin Ian King --- sound/soc/atmel/mchp-spdifrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/mchp-spdifrx.c b/sound/soc/atmel/mchp-spdifrx.c index 726e4951d9a

Re: [PATCH 00/11] Introduce Simple atomic and non-atomic counters

2020-10-06 Thread Shuah Khan
On 9/28/20 5:13 PM, Kees Cook wrote: On Mon, Sep 28, 2020 at 04:41:47PM -0600, Shuah Khan wrote: On 9/26/20 10:29 AM, Kees Cook wrote: On Fri, Sep 25, 2020 at 05:47:14PM -0600, Shuah Khan wrote: 7. Verified that the test module compiles in kunit env. and test module can be loaded

Re: [PATCH v4 0/4] spi: spi-mtk-nor: Add mt8192 support.

2020-10-06 Thread Mark Brown
On Tue, 29 Sep 2020 15:37:51 +0800, Ikjoon Jang wrote: > This patchset adds 36bit dma address and power management > supports for mt8192-nor. Additionally, use dma_alloc_coherent() > instead of kmalloc() for internal bounce buffer for platforms > of only supporting 32bit addresses. > > Changes in

Re: [PATCH] ASoC: omap-mcbsp: Fix use of uninitialised pointer

2020-10-06 Thread Mark Brown
On Sun, 4 Oct 2020 11:25:36 +0100, Alex Dewar wrote: > Commit 9c34d023dc35 ("ASoC: omap-mcbsp: Re-arrange files for core McBSP > and Sidetone function split"), in rearranging various files, also replaced > calls to platform_get_resource_by_name() + devm_ioremap_resource() with a > single call to de

Re: [PATCH v5 0/4] spi: spi-mtk-nor: Add mt8192 support.

2020-10-06 Thread Mark Brown
On Tue, 6 Oct 2020 15:54:01 +0800, Ikjoon Jang wrote: > This patchset adds 36bit dma address and power management > supports for mt8192-nor. > > Changes in v5: > - Rebase from merge conflict > > Changes in v4: > - Drop two patches from a list, addressed by an another series > - Fix 0-day ci 'shif

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-06 Thread Vitaly Kuznetsov
Vivek Goyal writes: > On Tue, Oct 06, 2020 at 04:50:44PM +0200, Vitaly Kuznetsov wrote: >> Vivek Goyal writes: >> >> > On Tue, Oct 06, 2020 at 04:05:16PM +0200, Vitaly Kuznetsov wrote: >> >> Vivek Goyal writes: >> >> >> >> > A. Just exit to user space with -EFAULT (using kvm request) and don'

Re: [PATCH v2 2/5] s390/pci: track whether util_str is valid in the zpci_dev

2020-10-06 Thread Cornelia Huck
On Fri, 2 Oct 2020 16:00:41 -0400 Matthew Rosato wrote: > We'll need to keep track of whether or not the byte string in util_str is > valid and thus needs to be passed to a vfio-pci passthrough device. > > Signed-off-by: Matthew Rosato > Acked-by: Niklas Schnelle > Acked-by: Christian Borntra

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-06 Thread Dave Martin
On Tue, Oct 06, 2020 at 05:12:29AM -0700, H.J. Lu wrote: > On Tue, Oct 6, 2020 at 2:25 AM Dave Martin wrote: > > > > On Mon, Oct 05, 2020 at 10:17:06PM +0100, H.J. Lu wrote: > > > On Mon, Oct 5, 2020 at 6:45 AM Dave Martin wrote: > > > > > > > > On Tue, Sep 29, 2020 at 01:57:42PM -0700, Chang S.

Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline

2020-10-06 Thread Maxime Ripard
Hi Dave, On Fri, Oct 02, 2020 at 04:57:05PM +0100, Dave Stevenson wrote: > Hi Maxime > > On Fri, 2 Oct 2020 at 16:19, Maxime Ripard wrote: > > > > Hi Tim, > > > > On Thu, Oct 01, 2020 at 11:15:46AM +0100, Tim Gover wrote: > > > hdmi_enable_4k60=1 causes the firmware to select 3.3 GHz for the PLL

Re: [PATCH v2 5/5] MAINTAINERS: Add entry for s390 vfio-pci

2020-10-06 Thread Cornelia Huck
On Fri, 2 Oct 2020 16:00:44 -0400 Matthew Rosato wrote: > Add myself to cover s390-specific items related to vfio-pci. > > Signed-off-by: Matthew Rosato > --- > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 190c7fa..389c4ad 100

Re: [PATCH 0/8] media: v4l2: simplify compat ioctl handling

2020-10-06 Thread Hans Verkuil
Hi Arnd, On 06/10/2020 17:14, Arnd Bergmann wrote: > On Fri, Oct 2, 2020 at 4:32 PM Hans Verkuil wrote: >> On 17/09/2020 17:28, Arnd Bergmann wrote: > >> While testing I found a lot of bugs. Below is a patch that sits on top >> of your series and fixes all the bugs: >> >> - put_v4l2_standard32:

[PATCH] dt: writing-schema: Fix indentation of items

2020-10-06 Thread Jerome Pouiller
From: Jérôme Pouiller The items 'allOf' and 'properties' are indented with one space. This change as been introduced in commit cdea0121ae80 ("docs: writing-schema.md: convert from markdown to ReST") and it produces weird results in Html and Pdf outputs. Obviously, this extra indentation was unat

Re: [PATCH v10 11/11] vfio: Document nested stage control

2020-10-06 Thread Auger Eric
Hi Zenghui, On 9/24/20 3:42 PM, Zenghui Yu wrote: > Hi Eric, > > On 2020/3/21 0:19, Eric Auger wrote: >> The VFIO API was enhanced to support nested stage control: a bunch of >> new iotcls, one DMA FAULT region and an associated specific IRQ. >> >> Let's document the process to follow to set up n

Re: [PATCH v39 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-10-06 Thread Sean Christopherson
On Tue, Oct 06, 2020 at 10:30:16AM +0200, Jethro Beekman wrote: > On 2020-10-06 04:57, Sean Christopherson wrote: > > On Sat, Oct 03, 2020 at 07:50:56AM +0300, Jarkko Sakkinen wrote: > >> +struct sgx_enclave_run { > >> + __u64 tcs; > >> + __u64 user_handler; > >> + __u64 user_data; > >> + __u32

Re: [PATCH] perf: arm_spe: Use Inner Shareable DSB when draining the buffer

2020-10-06 Thread Marc Zyngier
Hi Alex, On Tue, 06 Oct 2020 16:05:20 +0100, Alexandru Elisei wrote: > > From ARM DDI 0487F.b, page D9-2807: > > "Although the Statistical Profiling Extension acts as another observer in > the system, for determining the Shareability domain of the DSB > instructions, the writes of sample record

Re: [RESEND PATCH v2] mtd: spi-nor: Fix address width on flash chips > 16MB

2020-10-06 Thread Greg KH
On Tue, Oct 06, 2020 at 03:23:46PM +0200, Bert Vermeulen wrote: > If a flash chip has more than 16MB capacity but its BFPT reports > BFPT_DWORD1_ADDRESS_BYTES_3_OR_4, the spi-nor framework defaults to 3. > > The check in spi_nor_set_addr_width() doesn't catch it because addr_width > did get set. T

Re: [PATCH] mmc: meson-gx: remove IRQF_ONESHOT

2020-10-06 Thread Thomas Gleixner
Brad, On Wed, Oct 07 2020 at 00:45, Brad Harper wrote: > I'm happy to test anything on a range of amlogic hardware with standard > / rt and  multiple mmc devices.  Ill test Jerome's patch in next 24 > hours to report the results. please do not top-post and trim your replies. > On 6/10/2020 11:

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-10-06 Thread David Hildenbrand
On 17.09.20 10:46, Anshuman Khandual wrote: > During memory hotplug process, the linear mapping should not be created for > a given memory range if that would fall outside the maximum allowed linear > range. Else it might cause memory corruption in the kernel virtual space. > > Maximum linear mapp

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-06 Thread H.J. Lu
On Tue, Oct 6, 2020 at 8:25 AM Dave Martin wrote: > > On Tue, Oct 06, 2020 at 05:12:29AM -0700, H.J. Lu wrote: > > On Tue, Oct 6, 2020 at 2:25 AM Dave Martin wrote: > > > > > > On Mon, Oct 05, 2020 at 10:17:06PM +0100, H.J. Lu wrote: > > > > On Mon, Oct 5, 2020 at 6:45 AM Dave Martin wrote: > >

RE: Control Dependencies vs C Compilers

2020-10-06 Thread David Laight
> My suggestion as an alternative is to use assembler instead. > That way you can guarantee that you get the instructions you > want in the order that you want them. It should be fairly > straightforward to create a macro or inline function that > contains the necessary code and this can

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-10-06 Thread Paul E. McKenney
On Tue, Oct 06, 2020 at 11:03:34AM +0100, Mel Gorman wrote: > On Fri, Oct 02, 2020 at 07:41:20AM -0700, Paul E. McKenney wrote: > > On Fri, Oct 02, 2020 at 11:19:52AM +0100, Mel Gorman wrote: > > > On Fri, Oct 02, 2020 at 11:58:58AM +0200, Peter Zijlstra wrote: > > > > > It's enabled by default by

Re: [RFC 0/3] iommu: Reserved regions for IOVAs beyond dma_mask and iommu aperture

2020-10-06 Thread Auger Eric
Hi all, On 10/5/20 3:08 PM, Christoph Hellwig wrote: > On Mon, Oct 05, 2020 at 11:44:10AM +0100, Lorenzo Pieralisi wrote: >>> I see that there are both OF and ACPI hooks in pci_dma_configure() and >>> both modify dev->dma_mask, which is what pci-sysfs is exposing here, >>> but I'm not convinced th

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-06 Thread Dave Martin
On Tue, Oct 06, 2020 at 08:18:03AM -0700, H.J. Lu wrote: > On Tue, Oct 6, 2020 at 5:12 AM H.J. Lu wrote: > > > > On Tue, Oct 6, 2020 at 2:25 AM Dave Martin wrote: > > > > > > On Mon, Oct 05, 2020 at 10:17:06PM +0100, H.J. Lu wrote: > > > > On Mon, Oct 5, 2020 at 6:45 AM Dave Martin wrote: > > >

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-06 Thread Dave Hansen
On 10/6/20 8:25 AM, Dave Martin wrote: > Or are people reporting real stack overruns on x86 today? We have real overruns. We have ~2800 bytes of XSAVE (regisiter) state mostly from AVX-512, and a 2048 byte MINSIGSTKSZ.

Re: [PATCH][next] ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun"

2020-10-06 Thread Codrin.Ciubotariu
On 06.10.2020 18:20, Colin King wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > From: Colin Ian King > > There is a spelling mistake in a dev_warn message. Fix it. > > Signed-off-by: Colin Ian King Reviewed-by: Codrin Ciubotariu Tha

Re: Is usb_hcd_giveback_urb() allowed in task context?

2020-10-06 Thread Andrey Konovalov
On Tue, Oct 6, 2020 at 3:23 AM Alan Stern wrote: > > On Mon, Oct 05, 2020 at 05:38:22PM -0600, Shuah Khan wrote: > > On 10/5/20 9:25 AM, Alan Stern wrote: > > > On Mon, Oct 05, 2020 at 05:21:30PM +0200, Andrey Konovalov wrote: > > > No, no -- it won't work right if it's called in process context.

Re: [PATCH v4 0/4] Add system mmu support for Armada-806

2020-10-06 Thread Denis Odintsov
Hi, > Am 15.07.2020 um 09:06 schrieb Tomasz Nowicki : > > The series is meant to support SMMU for AP806 and a workaround > for accessing ARM SMMU 64bit registers is the gist of it. > > For the record, AP-806 can't access SMMU registers with 64bit width. > This patches split the readq/writeq into

Re: Control Dependencies vs C Compilers

2020-10-06 Thread Paul E. McKenney
On Tue, Oct 06, 2020 at 03:37:24PM +, David Laight wrote: > > My suggestion as an alternative is to use assembler instead. > > That way you can guarantee that you get the instructions you > > want in the order that you want them. It should be fairly > > straightforward to create a macr

use case for register_pstore_blk?

2020-10-06 Thread Christoph Hellwig
Hi WeiXiong, hi Kees, what is the use case for the code added in commit 17639f67c1d6 ("pstore/blk: Introduce backend for block devices"). This still doesn't have a user, and the API looks really odd to me. By our normal kernel rules we should not add new exports without users and this should pro

Re: [PATCH v39 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-10-06 Thread Jarkko Sakkinen
On Mon, Oct 05, 2020 at 07:57:05PM -0700, Sean Christopherson wrote: > On Sat, Oct 03, 2020 at 07:50:56AM +0300, Jarkko Sakkinen wrote: > > From: Sean Christopherson > > + /* Validate that the reserved area contains only zeros. */ > > + push%rax > > + push%rbx > > + mov $SGX_EN

Re: [PATCH] mfd: kempld-core: Mark kempld-acpi_table as __maybe_unused

2020-10-06 Thread Michael Brunner
On Tue, 2020-10-06 at 07:53 +0100, Lee Jones wrote: > On Mon, 05 Oct 2020, Michael Brunner wrote: > > > On Fri, 2020-10-02 at 08:01 +0100, Lee Jones wrote: > > > On Thu, 01 Oct 2020, Michael Brunner wrote: > > > > > > > The Intel 0-DAY CI Kernel Test Service reports an unused variable > > > > war

Re: [PATCH -v2 12/17] sched,rt: Use cpumask_any*_distribute()

2020-10-06 Thread Qais Yousef
On 10/05/20 16:57, Peter Zijlstra wrote: > Replace a bunch of cpumask_any*() instances with > cpumask_any*_distribute(), by injecting this little bit of random in > cpu selection, we reduce the chance two competing balance operations > working off the same lowest_mask pick the same CPU. > > Signed

Re: [PATCH v39 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-10-06 Thread Jarkko Sakkinen
On Tue, Oct 06, 2020 at 10:30:16AM +0200, Jethro Beekman wrote: > On 2020-10-06 04:57, Sean Christopherson wrote: > > On Sat, Oct 03, 2020 at 07:50:56AM +0300, Jarkko Sakkinen wrote: > >> From: Sean Christopherson > >> + /* Validate that the reserved area contains only zeros. */ > >> + push%

[net v2] net: dsa: microchip: fix race condition

2020-10-06 Thread Christian Eggers
Between queuing the delayed work and finishing the setup of the dsa ports, the process may sleep in request_module() (via phy_device_create()) and the queued work may be executed prior to the switch net devices being registered. In ksz_mib_read_work(), a NULL dereference will happen within netof_ca

[PATCH v3 2/2] firmware: Keem Bay: Add support for Arm Trusted Firmware Service call

2020-10-06 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Add header file to handle API function for device driver to communicate with Arm Trusted Firmware. Signed-off-by: Muhammad Husaini Zulkifli --- .../linux/firmware/intel/keembay_firmware.h | 46 +++ 1 file changed, 46 insertions(+) create mode

[PATCH v3 1/2] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-10-06 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Voltage switching sequence is needed to support UHS-1 interface. There are 2 places to control the voltage. 1) By setting the AON register using firmware driver calling system-level platform management layer (SMC) to set the register. 2) By controlling the GPIO exp

[PATCH v3 0/2] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-10-06 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Hi. The first patch is to enable UHS-1 Support for Keem Bay EVM. The second patch is the header file to handle ATF call. These 2 patches was tested with Keem Bay evaluation module board. Kindly help to review this patch set. Thank you. Changes since v2: - Rem

Re: ACPI _CST introduced performance regresions on Haswll

2020-10-06 Thread Rafael J. Wysocki
Hi Mel, On 10/6/2020 10:36 AM, Mel Gorman wrote: Hi Rafael, Numerous workload regressions have bisected repeatedly to the commit 6d4f08a6776 ("intel_idle: Use ACPI _CST on server systems") but only on a set of haswell machines that all have the same CPU. CPU(s): 48 On-line CPU(s)

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