[PATCH v1 01/15] perf session: introduce trace file path to be shown in raw trace dump

2020-10-12 Thread Alexey Budankov
Extend reader, ordered_event and decomp objects to contain path of a trace file being displayed. Signed-off-by: Alexey Budankov --- tools/perf/util/ordered-events.h | 1 + tools/perf/util/session.c| 2 ++ tools/perf/util/session.h| 1 + 3 files changed, 4 insertions(+) diff --

[PATCH v2 1/2] powerpc/8xx: Always fault when _PAGE_ACCESSED is not set

2020-10-12 Thread Christophe Leroy
The kernel expects pte_young() to work regardless of CONFIG_SWAP. Make sure a minor fault is taken to set _PAGE_ACCESSED when it is not already set, regardless of the selection of CONFIG_SWAP. This adds at least 3 instructions to the TLB miss exception handlers fast path. Following patch will red

[PATCH v1 02/15] perf report: output trace file name in raw trace dump

2020-10-12 Thread Alexey Budankov
Output path of a trace file into raw dump (-D) @. Print offset of PERF_RECORD_COMPRESSED record instead of zero for decompressed records: 0x22...@perf.data [0x30]: event: 9 or 0x15c...@perf.data/data.7 [0x30]: event: 9 Signed-off-by: Alexey Budankov --- tools/perf/util/session.c | 75 +

[PATCH] ASoC: fsl_spdif: Add support for higher sample rates

2020-10-12 Thread Shengjiu Wang
Add 88200Hz and 176400Hz sample rates support for TX. Add 88200Hz, 176400Hz, 192000Hz sample rates support for RX. Signed-off-by: Shengjiu Wang Signed-off-by: Viorel Suman --- sound/soc/fsl/fsl_spdif.c | 16 +--- sound/soc/fsl/fsl_spdif.h | 9 - 2 files changed, 21 insertio

[PATCH v2 2/2] powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entry

2020-10-12 Thread Christophe Leroy
When _PAGE_ACCESSED is not set, a minor fault is expected. To do this, TLB miss exception ANDs _PAGE_PRESENT and _PAGE_ACCESSED into the L2 entry valid bit. To simplify the processing and reduce the number of instructions in TLB miss exceptions, manage it as an APG bit and get it next to _PAGE_GUA

[PATCH v1 03/15] perf data: open data directory in read access mode

2020-10-12 Thread Alexey Budankov
Open files located at data directory in case of read access mode. Signed-off-by: Alexey Budankov --- tools/perf/util/data.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/data.c b/tools/perf/util/data.c index c47aa34fdc0a..6ad61ac6ba67 100644 --- a/tools/perf/util/data

Re: [PATCH] arm64: dts: marvell: add DT for ESPRESSObin-Ultra

2020-10-12 Thread Andre Heider
On 12/10/2020 09:08, Andre Heider wrote: Hi Vladimir, a few comments, all by just comparing this device tree to the other espressobin files. On 09/10/2020 17:27, Vladimir Vid wrote: This adds support for ESPRESSObin-Ultra from Globalscale. Specifications are similar to the base ESPRESSObin

[PATCH v1 04/15] perf session: move reader object definition to header file

2020-10-12 Thread Alexey Budankov
Move definition of reader to session header file to be shared among different source files. Introduce reference to active reader object from session object. Signed-off-by: Alexey Budankov --- tools/perf/util/session.c | 27 --- tools/perf/util/session.h | 25 +++

[PATCH v1 05/15] perf session: introduce decompressor into trace reader object

2020-10-12 Thread Alexey Budankov
Introduce decompressor to trace reader object so that decompression could be executed on per trace file basis separately for every trace file located at data directory. Signed-off-by: Alexey Budankov --- tools/perf/util/session.c | 4 +++- tools/perf/util/session.h | 1 + 2 files changed, 4 in

linux-next: manual merge of the akpm-current tree with the kunit-next tree

2020-10-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: lib/kunit/test.c between commit: 45dcbb6f5ef7 ("kunit: test: add test plan to KUnit TAP format") from the kunit-next tree and commit: e685acc91080 ("KUnit: KASAN Integration") from the akpm-current tree. I fi

RE: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-10-12 Thread Jun Li
> -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Sunday, October 11, 2020 3:32 AM > To: Jun Li ; ChiYuan Huang > Cc: Jun Li ; Greg KH ; > Heikki Krogerus ; Linux USB List > ; lkml ; > cy_huang > Subject: Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc,

Re: [PATCH 4/5] firmware: arm_scmi: smc transport supports multi-message pool

2020-10-12 Thread Sudeep Holla
On Fri, Oct 09, 2020 at 04:17:52PM +0100, Sudeep Holla wrote: > On Fri, Oct 09, 2020 at 02:43:31PM +0200, Etienne Carriere wrote: > > On Thu, 8 Oct 2020 at 23:11, Sudeep Holla wrote: > > > > > > On Thu, Oct 08, 2020 at 04:37:21PM +0200, Etienne Carriere wrote: > > > > There is no reason for the sm

[PATCH v1 06/15] perf session: load data directory into tool process memory

2020-10-12 Thread Alexey Budankov
Read trace files located at data directory into tool process memory. Basic analysis support of data directories is provided for report mode. Raw dump (-D) and aggregated reports are available for data directories, still with no memory consumption optimizations. However data directories collected

[PATCH v1 07/15] perf record: introduce trace file, compressor and stats in mmap object

2020-10-12 Thread Alexey Budankov
Introduce trace file and compressor objects into mmap object so they could be used to process and store data stream from the corresponding kernel data buffer. Introduce bytes_transferred and bytes_compressed stats so they would capture statistics for the related data buffer transfers. Make use of

[PATCH v1 08/15] perf record: write trace data into mmap trace files

2020-10-12 Thread Alexey Budankov
Write trace data into per mmap trace files located at data directory. Streaming thread adjusts its affinity according to mask of the buffer being processed. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 44 - tools/perf/util/record.h|

[PATCH v1 09/15] perf record: introduce thread specific objects for trace streaming

2020-10-12 Thread Alexey Budankov
Introduce thread local data object and its array to be used for threaded trace streaming. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index ba26d

[PATCH v1 10/15] perf record: manage thread specific data array

2020-10-12 Thread Alexey Budankov
Provide allocation, initialization, finalization and releasing of thread specific objects at thread specific data array. Allocate thread specific object for every data buffer making one-to-one relation between data buffer and a thread processing the buffer. Deliver event fd related signals to thr

[PATCH v1 11/15] perf evlist: introduce evlist__ctlfd_update() to update ctl fd status

2020-10-12 Thread Alexey Budankov
Introduce evlist__ctlfd_update() to update ctl fd poll status in evlist pollfd array using other pollfd object. Signed-off-by: Alexey Budankov --- tools/perf/util/evlist.c | 16 tools/perf/util/evlist.h | 1 + 2 files changed, 17 insertions(+) diff --git a/tools/perf/util/ev

Re: [PATCH 1/3] i2c: owl: Clear NACK and BUS error bits

2020-10-12 Thread Cristian Ciocaltea
On Sun, Oct 11, 2020 at 07:39:48PM +0530, Manivannan Sadhasivam wrote: > On Fri, Oct 09, 2020 at 12:44:39AM +0300, Cristian Ciocaltea wrote: > > When the NACK and BUS error bits are set by the hardware, the driver is > > responsible for clearing them by writing "1" into the corresponding > > status

[PATCH v1 12/15] perf record: introduce thread local variable for trace streaming

2020-10-12 Thread Alexey Budankov
Introduce thread local variable and use it for threaded trace streaming. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 71 - 1 file changed, 62 insertions(+), 9 deletions(-) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-re

[PATCH] f2fs: introduce check_swap_activate_fast()

2020-10-12 Thread Chao Yu
check_swap_activate() will lookup block mapping via bmap() one by one, so its performance is very bad, this patch introduces check_swap_activate_fast() to use f2fs_fiemap() to boost this process, since f2fs_fiemap() will lookup block mappings in batch, therefore, it can improve swapon()'s performan

Re: [PATCH 1/3] soc: qcom: geni: More properly switch to DMA mode

2020-10-12 Thread Akash Asthana
Hi Stephen, static void geni_se_select_dma_mode(struct geni_se *se) { + u32 proto = geni_se_read_proto(se); u32 val; geni_se_irq_clear(se); + val = readl_relaxed(se->base + SE_GENI_M_IRQ_EN); + if (proto != GENI_SE_UART) { Not a problem with th

Re: [PATCH 2/3] i2c: owl: Add support for atomic transfers

2020-10-12 Thread Cristian Ciocaltea
On Sun, Oct 11, 2020 at 07:39:20PM +0530, Manivannan Sadhasivam wrote: > On Fri, Oct 09, 2020 at 12:44:40AM +0300, Cristian Ciocaltea wrote: > > Atomic transfers are required to properly power off a machine through > > an I2C controlled PMIC, such as the Actions Semi ATC260x series. > > > > System

Re: [PATCH 3/3] i2c: owl: Enable asynchronous probing

2020-10-12 Thread Cristian Ciocaltea
On Sun, Oct 11, 2020 at 07:36:45PM +0530, Manivannan Sadhasivam wrote: > On Fri, Oct 09, 2020 at 12:44:41AM +0300, Cristian Ciocaltea wrote: > > Speed up the boot process by using the asynchronous probing feature > > supported by the recent kernels. > > > > For SBCs based on the Actions Semi S500

[PATCH v1 13/15] perf record: stop threads in the end of trace streaming

2020-10-12 Thread Alexey Budankov
Close write fd of comm.msg pipe to signal thread to terminate and receive THREAD_MSG__READY confirmation on termination. Accumulate thread stats into global stats to be correctly calculated and displayed in perf tool output. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 64 +

[PATCH] qla2xxx: Return EBUSY on fcport deletion

2020-10-12 Thread Daniel Wagner
When the fcport is about to be deleted we should return EBUSY instead of ENODEV. Only for EBUSY the request will be requeued in a multipath setup. Also in case we have a valid qpair but the firmware has not yet started return EBUSY to avoid dropping the request. Signed-off-by: Daniel Wagner ---

[GIT PULL] arch/microblaze patches for 5.10-rc1

2020-10-12 Thread Michal Simek
Hi Linus, please pull the following patch to your tree. Thanks, Michal The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.monstr.eu/linux-2.6-microblaze.git tags/microblaz

[PATCH v1 14/15] perf record: start threads in the beginning of trace streaming

2020-10-12 Thread Alexey Budankov
Start threads in detached state because its management is possible via messaging. Block signals prior the threads start so only main tool thread would be notified on external async signals during data collection. Streaming threads connect one-to-one to mapped data buffers and write into per-CPU t

Re: [PATCH net-next v4 01/10] net: bridge: extend the process of special frames

2020-10-12 Thread Nikolay Aleksandrov
On Fri, 2020-10-09 at 14:35 +, Henrik Bjoernlund wrote: > 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 add

Re: [PATCH 4/5] firmware: arm_scmi: smc transport supports multi-message pool

2020-10-12 Thread Etienne Carriere
On Mon, 12 Oct 2020 at 10:57, Sudeep Holla wrote: > > On Fri, Oct 09, 2020 at 04:17:52PM +0100, Sudeep Holla wrote: > > On Fri, Oct 09, 2020 at 02:43:31PM +0200, Etienne Carriere wrote: > > > On Thu, 8 Oct 2020 at 23:11, Sudeep Holla wrote: > > > > > > > > On Thu, Oct 08, 2020 at 04:37:21PM +0200

[PATCH v1 15/15] perf record: introduce --threads command line option

2020-10-12 Thread Alexey Budankov
Provide --threads option in perf record command line interface. Threaded streaming mode mitigates profiling data losses and resolves scalability issues of serial and asynchronous (--aio) trace streaming modes on multicore server systems. The implementation is based on the prototype [1], [2] and t

Re: [PATCH] perf c2c: Update usage for showing memory events

2020-10-12 Thread Jiri Olsa
On Sun, Oct 11, 2020 at 08:10:22PM +0800, Leo Yan wrote: > Since commit b027cc6fdf1b ("perf c2c: Fix 'perf c2c record -e list' to > show the default events used"), "perf c2c" tool can show the memory > events properly, it's no reason to still suggest user to use the > command "perf mem record -e li

Re: general protection fault in qp_release_pages

2020-10-12 Thread Arnd Bergmann
On Mon, Oct 12, 2020 at 10:14 AM Dmitry Vyukov wrote: > On Mon, Oct 12, 2020 at 10:01 AM Arnd Bergmann wrote: > > On Mon, Oct 12, 2020 at 8:11 AM syzbot > > > > Adding everyone from the git history that did meaningful changes in the past > > for this driver, as there is no specific maintainer fil

Re: [PATCH] staging: wfx: Spacing and alignment cleanup

2020-10-12 Thread Jérôme Pouiller
On Monday 12 October 2020 10:26:30 CEST izabela.bakoll...@gmail.com wrote: > From: Izabela Bakollari > > This patch fixes minor issue with spacing and alignment. > > checkpatch message: > CHECK: Alignment should match open parenthesis > > Signed-off-by: Izabela Bakollari > --- > drivers/stagi

Re: [tip:x86/pti] BUILD SUCCESS WITH WARNING 767d46ab566dd489733666efe48732d523c8c332

2020-10-12 Thread Rong Chen
Hi Boris, On 9/17/20 9:37 PM, Philip Li wrote: On Thu, Sep 17, 2020 at 10:00:44AM +0200, Borislav Petkov wrote: On Thu, Sep 17, 2020 at 03:36:20PM +0800, Philip Li wrote: The 2nd type is this one, which is a summarized report of head to provide an overview. Most of time, repo owner can receive

Re: [PATCH net] net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid

2020-10-12 Thread Anant Thazhemadam
On 12-10-2020 13:29, Dominique Martinet wrote: > Anant Thazhemadam wrote on Mon, Oct 12, 2020: >> In p9_fd_create_unix, checking is performed to see if the addr (passed >> as an argument) is NULL or not. >> However, no check is performed to see if addr is a valid address, i.e., >> it doesn't enti

Re: [f2fs-dev] [PATCH] f2fs: fix writecount false positive in releasing compress blocks

2020-10-12 Thread Chao Yu
On 2020/10/12 12:59, Daeho Jeong wrote: From: Daeho Jeong In current condition check, if it detects writecount, it return -EBUSY regardless of f_mode of the file. Fixed it. Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,

[PATCH bpf] bpf: sockmap: add locking annotations to iterator

2020-10-12 Thread Lorenz Bauer
The sparse checker currently outputs the following warnings: include/linux/rcupdate.h:632:9: sparse: sparse: context imbalance in 'sock_hash_seq_start' - wrong count at exit include/linux/rcupdate.h:632:9: sparse: sparse: context imbalance in 'sock_map_seq_start' - wrong count at exit A

[GIT PULL] EDAC queue for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the EDAC pile accumulated this time around. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.

Re: [External] Re: [PATCH] mm: proc: add Sock to /proc/meminfo

2020-10-12 Thread Eric Dumazet
On 10/12/20 10:39 AM, Muchun Song wrote: > On Mon, Oct 12, 2020 at 3:42 PM Eric Dumazet wrote: >> >> On Mon, Oct 12, 2020 at 6:22 AM Muchun Song wrote: >>> >>> On Mon, Oct 12, 2020 at 2:39 AM Cong Wang wrote: On Sat, Oct 10, 2020 at 3:39 AM Muchun Song wrote: > > The

RE: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-10-12 Thread Jun Li
> -Original Message- > From: ChiYuan Huang > Sent: Monday, October 12, 2020 2:23 PM > To: Guenter Roeck > Cc: Jun Li ; Jun Li ; Greg KH > ; Heikki Krogerus > ; Linux USB List > ; lkml ; > cy_huang > Subject: Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count > not re

Re: [PATCH 7/8] ASoC: madera: use semicolons rather than commas to separate statements

2020-10-12 Thread Charles Keepax
On Sun, Oct 11, 2020 at 11:19:38AM +0200, Julia Lawall wrote: > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-o

Re: [PATCH 1/8] ASoC: wm8350: use semicolons rather than commas to separate statements

2020-10-12 Thread Charles Keepax
On Sun, Oct 11, 2020 at 11:19:32AM +0200, Julia Lawall wrote: > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-o

Re: [Cocci] [PATCH] coccinelle: iterators: Add for_each_child.cocci script

2020-10-12 Thread Julia Lawall
On Thu, 24 Sep 2020, Sumera Priyadarsini wrote: > While iterating over child nodes with the for_each functions, if > control is transferred from the middle of the loop, as in the case > of a break or return or goto, there is no decrement in the > reference counter thus ultimately resulting in a

Re: general protection fault in qp_release_pages

2020-10-12 Thread Dmitry Vyukov
On Mon, Oct 12, 2020 at 11:16 AM Arnd Bergmann wrote: > > On Mon, Oct 12, 2020 at 10:14 AM Dmitry Vyukov wrote: > > On Mon, Oct 12, 2020 at 10:01 AM Arnd Bergmann wrote: > > > On Mon, Oct 12, 2020 at 8:11 AM syzbot > > > > > > Adding everyone from the git history that did meaningful changes in t

Re: [PATCH 1/5] firmware: arm_scmi: always initialize protocols

2020-10-12 Thread Sudeep Holla
On Fri, Oct 09, 2020 at 02:31:55PM +0200, Etienne Carriere wrote: > On Thu, 8 Oct 2020 at 21:17, Sudeep Holla wrote: > > > > On Thu, Oct 08, 2020 at 04:37:18PM +0200, Etienne Carriere wrote: > > > Remove the IDR replacement that prevent initializing an SCMI protocol > > > when it has already been

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-12 Thread Thomas Gleixner
On Sun, Oct 11 2020 at 22:15, David Woodhouse wrote: > On 11 October 2020 18:12:08 BST, Thomas Gleixner wrote: >> On Sat, Oct 10 2020 at 12:58, David Woodhouse wrote: >>> On 10 October 2020 12:44:10 BST, Thomas Gleixner >> wrote: >>> Yeah. There's some muttering to be done for HPET about whether

[PATCH net v2 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-12 Thread Christian Eggers
The comparison of optname with SO_TIMESTAMPING_NEW is wrong way around, so SOCK_TSTAMP_NEW will first be set and than reset again. Additionally move it out of the test for SOF_TIMESTAMPING_RX_SOFTWARE as this seems unrelated. This problem happens on 32 bit platforms were the libc has already switc

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

2020-10-12 Thread Daniel Wagner
Hi Sebastian, On Sat, Oct 10, 2020 at 12:01:46AM +0200, Sebastian Andrzej Siewior wrote: > Dear RT folks! > > I'm pleased to announce the v5.9-rc8-rt14 patch set. > > Changes since v5.9-rc8-rt13: FWIW, all my tests passed. Thanks, Daniel ps: this time I didn't do the same mistake...

[PATCH net v2 2/2] socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled

2020-10-12 Thread Christian Eggers
SOCK_TSTAMP_NEW (timespec64 instead of timespec) is also used for hardware time stamps (configured via SO_TIMESTAMPING_NEW). User space (ptp4l) first configures hardware time stamping via SO_TIMESTAMPING_NEW which sets SOCK_TSTAMP_NEW. In the next step, ptp4l disables SO_TIMESTAMPNS(_NEW) (softwar

[GIT PULL] RAS queue for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the RAS pile this time around. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/ras_

Re: [PATCH] perf bench: Use condition variables in numa.

2020-10-12 Thread Jiri Olsa
On Fri, Oct 09, 2020 at 11:40:56PM -0700, Ian Rogers wrote: > The existing approach to synchronization between threads in the numa > benchmark is unbalanced mutexes. This synchronization causes thread > sanitizer to warn of locks being taken twice on a thread without an > unlock, as well as unlocks

[ANNOUNCE] 4.4.238-rt208

2020-10-12 Thread Daniel Wagner
Hello RT-list! I'm pleased to announce the 4.4.238-rt208 stable release. This is an update to the latest stable Linux release. No RT spefic changes. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.4-rt Head SH

[PATCH SRv6 End.X] Signed-off-by: Reji Thomas

2020-10-12 Thread Reji Thomas
seg6: Fix End.X nexthop to use oif. Currently End.X action doesn't consider the outgoing interface while looking up the nexthop.This breaks packet path functionality while using link local address as the End.X nexthop.The patch fixes this for link local addresses. Signed-off-by: Reji Thomas -

Re: general protection fault in qp_release_pages

2020-10-12 Thread Arnd Bergmann
On Mon, Oct 12, 2020 at 11:29 AM Dmitry Vyukov wrote: > On Mon, Oct 12, 2020 at 11:16 AM Arnd Bergmann wrote: > > > There is already a recorded fix for this on the dashboard: > > > > Ok, good. > > > > > https://syzkaller.appspot.com/bug?extid=f58fe4bb535845237057 > > > VMCI: check return value of

Re: [PATCH V6 RESEND] HID: ASUS: Add support for ASUS N-Key keyboard

2020-10-12 Thread Hans de Goede
Hi, On 10/11/20 9:05 AM, Luke Jones wrote: Hello Hans and others, thank you for your valuable feedback On Fri, Oct 9, 2020 at 16:22, Hans de Goede wrote: Hi, On 9/23/20 11:56 PM, Luke D Jones wrote: The ASUS N-Key keyboard uses the productId of 0x1866 and is used in almost all modern ASUS g

Re: [External] Re: [PATCH] mm: proc: add Sock to /proc/meminfo

2020-10-12 Thread Muchun Song
On Mon, Oct 12, 2020 at 5:24 PM Eric Dumazet wrote: > > > > On 10/12/20 10:39 AM, Muchun Song wrote: > > On Mon, Oct 12, 2020 at 3:42 PM Eric Dumazet wrote: > >> > >> On Mon, Oct 12, 2020 at 6:22 AM Muchun Song > >> wrote: > >>> > >>> On Mon, Oct 12, 2020 at 2:39 AM Cong Wang > >>> wrote: > >

[RFC PATCH v1] clk: rockchip: add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks

2020-10-12 Thread Johan Jonker
Add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks, so that the parent COMPOSITE_FRACMUX and COMPOSITE_NOMUX also update. Signed-off-by: Johan Jonker --- drivers/clk/rockchip/clk-rk3188.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --gi

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

2020-10-12 Thread Dietmar Eggemann
On 05/10/2020 16:57, Peter Zijlstra wrote: [...] > --- a/kernel/sched/rt.c > +++ b/kernel/sched/rt.c > @@ -1859,7 +1859,7 @@ static struct task_struct *pick_next_pus > * running task can migrate over to a CPU that is running a task > * of lesser priority. > */ > -static int push_rt_task(str

[tip:irq/core] BUILD SUCCESS 863bae1fbcfa0420e5f51389218a9532542aa00f

2020-10-12 Thread kernel test robot
nfig sparc defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-202

[GIT PULL] x86/cpu updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the x86/cpu changes collected this time. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

RE: [PATCH v2 2/4] bindings/perf/imx-ddr: update compatible string

2020-10-12 Thread Joakim Zhang
Hi John, I saw this binding file has changed to yaml format, this patch seems not need any more. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml?h=next-20201009 Best Regards, Joakim Zhang > -Original Message--

linux-next: Tree for Oct 12

2020-10-12 Thread Stephen Rothwell
Hi all, Changes since 20201009: New tree: counters The arm64 tree gained a conflict against the asm-generic tree. The net-next tree gained a conflict against the net tree. The tip tree still had its build failure for which I applied a supplied patch. The irqchip tree gained a conflict a

[PATCH][RFC] tools/power turbostat: Fix ACPI CState format issue

2020-10-12 Thread Chen Yu
Currently if the system boots with BIOS _CST Cstate information enabled, the turbostat output would have unaligned problems: C1_ACPI C2_ACPI C3_ACPI POLL% C1_ACPI%C2_ACPI%C3_ACPI% CPU%c1 5 37 138 0.000.021.3098.51 0.380.000.00 99.4

[GIT PULL] MMC updates for v5.10

2020-10-12 Thread Ulf Hansson
Hi Linus, Here's the PR with the updates for MMC for v5.10. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 4243219141b67d7c2fdb2d8073c17c539b9263eb: mmc: core: don't set limits.discard_granu

Re: [PATCH] arm:traps: Don't print stack or raw PC/LR values in backtraces

2020-10-12 Thread Sebastian Andrzej Siewior
On 2020-10-11 22:32:38 [+0100], Russell King - ARM Linux admin wrote: > I don't have a problem getting rid of the hex numbers in [< >] > although then I will need to convert the symbol back to an address > using the vmlinux to then calculate its address to then find the > appropriate place in the o

RE: [PATCH RFC v4 13/13] perf vendor events: Add JSON metrics for imx8mm DDR Perf

2020-10-12 Thread Joakim Zhang
> -Original Message- > From: John Garry > Sent: 2020年10月8日 18:15 > To: a...@kernel.org; w...@kernel.org; mark.rutl...@arm.com; > jo...@redhat.com; irog...@google.com; leo@linaro.org; > pet...@infradead.org; mi...@redhat.com; > alexander.shish...@linux.intel.com; namhy...@kernel.org; >

[PATCH] mm: Make allocator take care of memoryless numa node

2020-10-12 Thread Xianting Tian
In architecture like powerpc, we can have cpus without any local memory attached to it. In such cases the node does not have real memory. In many places of current kernel code, it doesn't judge whether the node is memoryless numa node before calling allocator interface. This patch is to use local

Re: [PATCH 1/2] net: store KCOV remote handle in sk_buff

2020-10-12 Thread Aleksandr Nogikh
On Mon, 12 Oct 2020 at 10:12, Johannes Berg wrote: [...] > > @@ -233,6 +233,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t > > gfp_mask, > > skb->end = skb->tail + size; > > skb->mac_header = (typeof(skb->mac_header))~0U; > > skb->transport_header = (typeof(skb->trans

[GIT PULL] x86/platform updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the x86/platform queue. Thx. --- The following changes since commit a1b8638ba1320e6684aa98233c15255eb803fac7: Linux 5.9-rc7 (2020-09-27 14:38:10 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_platfo

Re: [PATCH 3/5] firmware: arm_scmi: add config dependency for smc transport

2020-10-12 Thread Etienne Carriere
On Fri, 9 Oct 2020 at 17:58, Sudeep Holla wrote: > > On Fri, Oct 09, 2020 at 02:33:41PM +0200, Etienne Carriere wrote: > > On Thu, 8 Oct 2020 at 23:08, Sudeep Holla wrote: > > > > > > On Thu, Oct 08, 2020 at 04:37:20PM +0200, Etienne Carriere wrote: > > > > Fix dependencies for configuration swit

Re: [PATCH] tracing: fix compile failure on RT with PREEMPT_RT off

2020-10-12 Thread Sebastian Andrzej Siewior
On 2020-10-10 16:45:54 [-0500], Clark Williams wrote: > This patch is against v5.9-rc8-rt14 > > Fix a compile issue when CONFIG_PREEMPT_RT is not defined. If > we're not on an RT kernel, just set the migration disabled > status to zero. Thank you. Let me fold it where it belongs. As of now, I don

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Jiri Olsa
On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > I split out tools/lib/traceevent from the kernel tree using "git subtree", > which recreates all the commits of a directory and makes that directory a > stand alone. I then updated the Makefiles, and copied over some of the > header

Re: [PATCH] x86/alternative: don't call text_poke() in lazy TLB mode

2020-10-12 Thread Peter Zijlstra
On Fri, Oct 09, 2020 at 04:42:25PM +0200, Juergen Gross wrote: > When running in lazy TLB mode the currently active page tables might > be the ones of a previous process, e.g. when running a kernel thread. > > This can be problematic in case kernel code is being modified via > text_poke() in a ker

Re: [PATCH V6 RESEND] HID: ASUS: Add support for ASUS N-Key keyboard

2020-10-12 Thread Andy Shevchenko
On Mon, Oct 12, 2020 at 12:51 PM Hans de Goede wrote: > On 10/11/20 9:05 AM, Luke Jones wrote: > > On Fri, Oct 9, 2020 at 16:22, Hans de Goede wrote: ... > > All the DSL we've dumped are here: > > https://gitlab.com/asus-linux/reverse-engineering/-/tree/master/dsl > > > > I'm not sure where to

[GIT PULL] x86/pasid updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull the x86/pasid pile. Thx. --- The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_pasid_for_

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

2020-10-12 Thread Paul Cercueil
Hi Stephen, Le lun. 12 oct. 2020 à 15:24, Stephen Rothwell a écrit : Hi all, On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell wrote: On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell wrote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) fai

Re: SD_LOAD_BALANCE

2020-10-12 Thread Vincent Guittot
Hi Julia, On Sat, 10 Oct 2020 at 18:14, Julia Lawall wrote: > > Hello, > > Previously, I was wondering about why starting in Linux v5.8 my unblocking > threads were moving to different sockets more frequently than in previous > releases. Now, I think that I have found the reason. > > The first i

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Zamir SUN
On Mon, Oct 12, 2020 at 6:12 PM Jiri Olsa wrote: > > On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > > I split out tools/lib/traceevent from the kernel tree using "git subtree", > > which recreates all the commits of a directory and makes that directory a > > stand alone. I then

-next: Kconfig asks about XFS formats when I don't have XFS enabled

2020-10-12 Thread Pavel Machek
Hi! I don't have XFS enabled, yet I'm asked if I want to support its old format: +config XFS_SUPPORT_V4 + bool "Support deprecated V4 (crc=0) format" + default y This needs to have dependence on XFS_FS. + This option will become default N in September 2025. Support for the +

[PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static

2020-10-12 Thread Mark-PK Tsai
mst_intc_of_init is not intended to be used ouside of irq-mst-intc.c, declare it static. Reported-by: kernel test robot Signed-off-by: Mark-PK Tsai --- drivers/irqchip/irq-mst-intc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mst-intc.c b/drivers/irq

Re: [PATCH] x86/x86_64_defconfig: Enable the serial console

2020-10-12 Thread Guillaume Tucker
On 12/10/2020 04:58, Willy Tarreau wrote: > Hi Enric, > > On Sun, Oct 11, 2020 at 07:05:55PM +0200, Enric Balletbo i Serra wrote: >> For arm64 (i.e : arm64_defconfig): >> 1. Someone renames CONFIG_A to CONFIG_AB, sends a patch, and as he did a >> grep, the patch modifies all the defconfigs. >>

Re: [PATCH v2 1/3] objtool: check: Fully validate the stack frame

2020-10-12 Thread Julien Thierry
On 9/29/20 8:18 PM, Josh Poimboeuf wrote: On Mon, Sep 28, 2020 at 10:36:29AM +0100, Julien Thierry wrote: +++ b/tools/objtool/arch/x86/include/cfi_regs.h @@ -22,4 +22,7 @@ #define CFI_RA16 #define CFI_NUM_REGS 17 A few more naming nitpicks: +#define ST

[GIT PULL] x86/misc updates for v5.10

2020-10-12 Thread Borislav Petkov
Hi Linus, please pull some miscellaneous fixes. Thx. --- The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_misc

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-12 Thread Lukasz Luba
Hi Rob, On 10/9/20 3:01 PM, Rob Herring wrote: On Fri, Oct 09, 2020 at 12:10:03PM +0100, Nicola Mazzucato wrote: Hi Viresh, I'm glad it helped. Please find below my reply. On 10/9/20 6:39 AM, Viresh Kumar wrote: On 08-10-20, 17:00, Nicola Mazzucato wrote: On 10/8/20 4:03 PM, Ionela Voinescu

[PATCH] drm/ingenic: Fix bad revert

2020-10-12 Thread Paul Cercueil
Fix a badly reverted commit. The revert commit was cherry-picked from drm-misc-next to drm-misc-next-fixes, and in the process some unrelated code was added. Fixes: a3fb64c00d44 "Revert "gpu/drm: ingenic: Add option to mmap GEM buffers cached"" Signed-off-by: Paul Cercueil --- drivers/gpu/drm/i

Re: [PATCH] mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for GL975x

2020-10-12 Thread Ulf Hansson
On Mon, 12 Oct 2020 at 10:41, Ben Chuang wrote: > > Hi Ulf, > > Regarding this patch, we also want to fix the EMI of one hardware > using the old version(such as v5.4). > Is there a chance to append a Fixes tag on this patch ? Unfortunately no. $subject patch is a part of the pull request with mm

Re: [PATCH] x86/alternative: don't call text_poke() in lazy TLB mode

2020-10-12 Thread Jürgen Groß
On 12.10.20 12:13, Peter Zijlstra wrote: On Fri, Oct 09, 2020 at 04:42:25PM +0200, Juergen Gross wrote: When running in lazy TLB mode the currently active page tables might be the ones of a previous process, e.g. when running a kernel thread. This can be problematic in case kernel code is being

[PATCH 2/2] kunit: tool: Mark 'kunittest_config' as constant again

2020-10-12 Thread SeongJae Park
From: SeongJae Park 'kunit_kernel.kunittest_config' was constant at first, and therefore it used UPPER_SNAKE_CASE naming convention that usually means it is constant in Python world. But, commit e3212513a8f0 ("kunit: Create default config in '--build_dir'") made it modifiable to fix a use case o

drivers/gpu/drm/rockchip/rockchip_rgb.c:71:22: warning: no previous prototype for 'rockchip_rgb_init'

2020-10-12 Thread kernel test robot
config: nds32-randconfig-r006-20201012 (attached as .config) compiler: nds32le-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

drivers/net/wireless/mediatek/mt76/mt7915/init.c:339:26: sparse: sparse: cast from restricted __le16

2020-10-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bbf5c979011a099af5dc76498918ed7df445635b commit: 00b2e16e006390069480e90478aa8b6e924996d7 mt76: mt7915: add TxBF capabilities date: 5 months ago config: parisc-randconfig-s032-20201012 (attached as

[PATCH 1/2] kunit: tool: Fix LinuxSourceTree's missed handling of 'build_dir'

2020-10-12 Thread SeongJae Park
From: SeongJae Park Because commit d43c7fb05765 ("kunit: tool: fix improper treatment of file location") removed 'kunit_kernel.kunitconfig_path' modification for the '--builddir' argument, running kunit with '--build_dir' now fails with below error message: Traceback (most recent call last):

Re: [PATCH 0/4] powercap/dtpm: Add the DTPM framework

2020-10-12 Thread Daniel Lezcano
Hi Hans, On 07/10/2020 12:43, Hans de Goede wrote: > Hi, > > On 10/6/20 2:20 PM, Daniel Lezcano wrote: >> The density of components greatly increased the last decade bringing a >> numerous number of heating sources which are monitored by more than 20 >> sensors on recent SoC. The skin temperatu

Re: [PATCH] cpufreq: stats: Fix string format specifier mismatch

2020-10-12 Thread Rafael J. Wysocki
On Mon, Oct 12, 2020 at 6:50 AM Viresh Kumar wrote: > > Fix following warning: > > drivers/cpufreq/cpufreq_stats.c:63:10: warning: %d in format string (no. > 1) requires 'int' but the argument type is 'unsigned int' > > Fixes: 40c3bd4cfa6f ("cpufreq: stats: Defer stats update to > cpufreq_stats_r

Re: SD_LOAD_BALANCE

2020-10-12 Thread Julia Lawall
> > Would it be useful to always check whether prev is idle, perhaps in > > wake_affine_idle or perhaps in select_idle_sibling? > > Yes, that would make sense to add a condition in wake_affine_idle to > return prev if this cpu is not idle (or about to become idle) The case where this cpu is idle

Re: [ANNOUNCE] libtraceevent.git

2020-10-12 Thread Jiri Olsa
On Mon, Oct 12, 2020 at 06:19:14PM +0800, Zamir SUN wrote: > On Mon, Oct 12, 2020 at 6:12 PM Jiri Olsa wrote: > > > > On Wed, Oct 07, 2020 at 01:07:50PM -0400, Steven Rostedt wrote: > > > I split out tools/lib/traceevent from the kernel tree using "git subtree", > > > which recreates all the commi

Re: [PATCH v2 2/4 RESEND] MIPS: Loongson64: Clean up numa.c

2020-10-12 Thread Thomas Bogendoerfer
On Sun, Oct 11, 2020 at 07:47:52AM +0800, Tiezhu Yang wrote: > (1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the > related useless code. > > (2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of > "end_pfn - start_pfn" to avoid the redundant calculation.

Re: [PATCH v2 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-12 Thread Thomas Bogendoerfer
On Thu, Oct 08, 2020 at 11:33:25PM +0200, Thomas Bogendoerfer wrote: > cpu-probe.c has grown when supporting more and more CPUs and there > are use cases where probing for all the CPUs isn't useful like > running on a R3k system. But still the fpu handling is nearly > the same. For sharing put the

Re: [PATCH v2 1/4 RESEND] MIPS: Loongson64: Select SMP in Kconfig to avoid build error

2020-10-12 Thread Thomas Bogendoerfer
On Sun, Oct 11, 2020 at 07:47:51AM +0800, Tiezhu Yang wrote: > In the current code, CONFIG_SMP can be set as N by user on the Loongson > platform, then there exists the following build error under !CONFIG_SMP: > > CC arch/mips/kernel/asm-offsets.s > In file included from ./include/linux/gfp

Re: [PATCH] MIPS: cpu-probe: remove MIPS_CPU_BP_GHIST option bit

2020-10-12 Thread Thomas Bogendoerfer
On Fri, Oct 09, 2020 at 02:26:48PM +0200, Thomas Bogendoerfer wrote: > MIPS_CPU_BP_GHIST is only set two times and more or less immediately > used in cpu-probe.c itself. Remove this option to make room in options > word. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/include/asm/cpu-fe

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