[PATCH 9/9] habanalabs: use queue pi/ci in order to determine queue occupancy

2020-07-05 Thread Oded Gabbay
From: Ofir Bitton Instead of using the free slots amount on the compute CQ to determine whether we can submit work to queues, use the queues pi/ci. This is needed in future ASICs where we don't have CQ per queue. Signed-off-by: Ofir Bitton Signed-off-by: Oded Gabbay --- drivers/misc/habanala

[PATCH 6/9] habanalabs: PCIe iATU refactoring

2020-07-05 Thread Oded Gabbay
From: Ofir Bitton Divide iATU initialization into inbound/outbound methods. We must separate it in order to enable different match mode per PCIe region. In addition, added support for PCI address match mode. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- d

[PATCH 8/9] habanalabs: configure maximum queues per asic

2020-07-05 Thread Oded Gabbay
From: Ofir Bitton Currently the amount of maximum queues is statically configured. Using a static value is causing redundunt cycles when traversing all queues and consumes more memory than actually needed. In this patch we configure each asic with the exact number of queues needed. Signed-off-by

[PATCH 4/9] habanalabs: Add dropped cs statistics info struct

2020-07-05 Thread Oded Gabbay
From: Ofir Bitton Add command submission statistics structure which can be obtained through the info ioctl. Each drop counter describes the reason for which the command submission was dropped. This information is needed for the user to be aware of the specific reason for which the submitted work

Re: [PATCH v4 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-05 Thread Zhou Yanjie
Hi Paul, 在 2020/7/5 下午8:58, Paul Cercueil 写道: Hi Zhou, Le dim. 5 juil. 2020 à 20:34, 周琰杰 (Zhou Yanjie) a écrit : X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system.

Re: [PATCHv3 2/6] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2020-07-05 Thread Grzegorz Jaszczyk
On Sat, 4 Jul 2020 at 11:39, Marc Zyngier wrote: > > On 2020-07-03 15:28, Grzegorz Jaszczyk wrote: > > On Thu, 2 Jul 2020 at 19:24, Marc Zyngier wrote: > >> > >> On 2020-07-02 15:17, Grzegorz Jaszczyk wrote: > >> > From: Suman Anna > >> > > >> > The Programmable Real-Time Unit Subsystem (PRUSS)

RE: [PATCH 2/9] habanalabs: rephrase error messages

2020-07-05 Thread Tomer Tayar
On Sun, Jul 5, 2020 at 16:13 Oded Gabbay wrote: > rephrase some error/warning/notice messages to make them more > accessible to > ordinary users. > > There is no need to print context ASID as the driver currently doesn't > support multiple contexts. > > Signed-off-by: Oded Gabbay Reviewed-by:

Re: [PATCH 4.19 119/131] tracing: Fix event trigger to accept redundant spaces

2020-07-05 Thread Sasha Levin
On Fri, Jul 03, 2020 at 09:21:03PM +0200, Pavel Machek wrote: > > commit 6784beada631800f2c5afd567e5628c843362cee upstream. > > > > Fix the event trigger to accept redundant spaces in > > the trigger input. > > > > For example, these return -EINVAL > > > > echo " traceon" > events/ftrace/print/

RE: [PATCH 7/9] habanalabs: remove soft-reset support from GAUDI

2020-07-05 Thread Tomer Tayar
On Sun, Jul 5, 2020 at 16:13 Oded Gabbay wrote: > Soft-reset isn't supported in GAUDI. Remove the code that performs it and > print error in case the user wants to do it via sysfs. > > Signed-off-by: Oded Gabbay Reviewed-by: Tomer Tayar

Re: [FOR-STABLE-3.9+] sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds

2020-07-05 Thread Sasha Levin
On Fri, Jul 03, 2020 at 01:13:54PM +0530, Viresh Kumar wrote: On 03-07-20, 09:40, Greg KH wrote: On Fri, Jul 03, 2020 at 12:54:04PM +0530, Viresh Kumar wrote: > From: Shile Zhang > > We added the 'sched_rr_timeslice_ms' SCHED_RR tuning knob in this commit: > > ce0d30ae ("sched/rt: Add a t

[PATCH v5 1/2] gpio: add GPO driver for PCA9570

2020-07-05 Thread Sungbo Eo
NXP PCA9570 is a 4-bit I2C GPO expander without interrupt functionality. Its ports are controlled only by a data byte without register address. Datasheet: https://www.nxp.com/docs/en/data-sheet/PCA9570.pdf Signed-off-by: Sungbo Eo --- v5: * amended the commit message * removed unnecessary castin

Re: [PATCHv3 6/6] irqchip/irq-pruss-intc: Add event mapping support

2020-07-05 Thread Grzegorz Jaszczyk
Hi Suman, On Thu, 2 Jul 2020 at 18:25, Suman Anna wrote: > > Hi Greg, > > On 7/2/20 9:17 AM, Grzegorz Jaszczyk wrote: > > The PRUSS INTC receives a number of system input interrupt source events > > and supports individual control configuration and hardware prioritization. > > These input events

Re: [PATCH v4 08/15] arm64: kvm: Duplicate hyp/tlb.c for VHE/nVHE

2020-07-05 Thread Marc Zyngier
On Thu, 25 Jun 2020 14:14:13 +0100, David Brazdil wrote: > > tlb.c contains code for flushing the TLB, with code shared between VHE/nVHE. > Because common code is small, duplicate tlb.c and specialize each copy for > VHE/nVHE. > > Signed-off-by: David Brazdil > --- > arch/arm64/kernel/image-va

[PATCH v10 3/3] media: vimc: Add a control to display info on test image

2020-07-05 Thread Kaaira Gupta
Add a control in VIMC to display information such as the correct order of colors for a given test pattern, counter, brightness, hue, saturation, contrast, width and height at sensor over test image. Signed-off-by: Kaaira Gupta Acked-by: Helen Koike Reviewed-by: Kieran Bingham --- drivers/media

[PATCH v10 2/3] media: tpg: Add function to return colors' order of test image

2020-07-05 Thread Kaaira Gupta
Currently there is no method to know the correct order of the colors for a test image generated by tpg. Write a function that returns a string of colors' order given a tpg. It returns a NULL pointer in case of test patterns which do not have a well defined colors' order. Hence add a NULL check for

[PATCH v10 1/3] media: tpg: change char argument to const char

2020-07-05 Thread Kaaira Gupta
Change the argument of type char * to const char * for function tpg_gen_text(). This function should take in a const char * as opposed to char * as it does not make changes to the text. This issue was found while passing the order of colors of tpg generated test image (which is a const char *) to

[PATCH v10 0/3] media: Add colors' order and other info over test image

2020-07-05 Thread Kaaira Gupta
This patchset aims to add a method to display the correct order of colors for a test image generated. It does so by adding a function which returns a string of correct order of the colors for a test pattern. It then adds a control in vimc which displays the string over test image. It also displays

[PATCH v5 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-05 Thread Zhou Yanjie
X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system. Tested-by: 周正 (Zhou Zheng) Co-developed-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 周琰杰 (

[PATCH v5 1/2] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-07-05 Thread Zhou Yanjie
Add the OST bindings for the X1 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil --- Notes: v1->v2: No change. v2->v3: Fix wrong parameters in "clocks". v3->v4: 1.Rename "ingenic,ost.yaml" to "ingenic

[PATCH v5 0/2] Add support for the OST in Ingenic X1000.

2020-07-05 Thread Zhou Yanjie
v4->v5: Use "of_io_request_and_map()" instead "of_iomap()". Suggested-by: Paul Cercueil 周琰杰 (Zhou Yanjie) (2): dt-bindings: timer: Add Ingenic X1000 OST bindings. clocksource: Ingenic: Add support for the Ingenic X1000 OST. .../devicetree/bindings/timer/ingenic,sysost.yaml | 60 +++ drive

[RFC PATCH] riscv: enable per-task stack canaries

2020-07-05 Thread guoren
From: Guo Ren After compare arm64 and x86 implementations, seems arm64's is more flexible and readable. The key point is how gcc get the offset of stack_canary from gs/el0_sp. x86: Use a fix offset from gs, not flexible. struct fixed_percpu_data { /* * GCC hardcodes the stack c

Re: [PATCH] riscv: Add STACKPROTECTOR supported

2020-07-05 Thread Guo Ren
Hi Kees, On Sun, Jul 5, 2020 at 2:53 PM Kees Cook wrote: > > On Sun, Jul 05, 2020 at 06:24:15AM +, guo...@kernel.org wrote: > > From: Guo Ren > > > > The -fstack-protector & -fstack-protector-strong features are from > > gcc. The patch only add basic kernel support to stack-protector > > fea

Re: [PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-07-05 Thread Valentin Schneider
Sorry for getting back to this only now; On 22/06/20 09:37, Vincent Guittot wrote: > On Sun, 21 Jun 2020 at 00:28, Valentin Schneider > wrote: >> On 20/06/20 18:49, Ionela Voinescu wrote: >> > On Thursday 18 Jun 2020 at 17:03:24 (+0200), Vincent Guittot wrote: >> >> Having this weak function d

[PATCH] btfrs: initialize return of btrfs_extent_same

2020-07-05 Thread trix
From: Tom Rix clang static analysis flags a garbage return fs/btrfs/reflink.c:611:2: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn] return ret; ^~ ret will not be set when olen is 0 When olen is 0, this function does no work. So

Re: [PATCH v2 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-05 Thread Guenter Roeck
On Sun, Jul 05, 2020 at 11:47:25AM +0800, Chris Ruehl wrote: > Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. > > Signed-off-by: Chris Ruehl > --- > drivers/hwmon/shtc1.c | 22 -- > 1 file changed, 20 insertions(+), 2 deletions(-) > > diff --git a/driv

[PATCH] ARM: dts: qcom: add prng definition to ipq806x

2020-07-05 Thread Jonathan McDowell
Add missing prng definition for ipq806x SoC Signed-off-by: Jonathan McDowell --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi index b912da9a3ff3..22e0669b9133 100644 --- a

RE: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref

2020-07-05 Thread Andy Duan
From: Sven Van Asbroeck > Hi Fabio, Andy, > > On Thu, Jul 2, 2020 at 6:29 PM Fabio Estevam wrote: > > > > With the device tree approach, I think that a better place to touch > > GPR5 would be inside the fec driver. > > > > Are we 100% sure this is the best way forward, though? > > All the FEC

Re: [PATCH] btfrs: initialize return of btrfs_extent_same

2020-07-05 Thread Nikolay Borisov
On 5.07.20 г. 17:20 ч., t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags a garbage return > > fs/btrfs/reflink.c:611:2: warning: Undefined or garbage value returned to > caller [core.uninitialized.UndefReturn] > return ret; > ^~ > ret will not be

Re: [PATCH] btfrs: initialize return of btrfs_extent_same

2020-07-05 Thread Nikolay Borisov
On 5.07.20 г. 17:20 ч., t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags a garbage return > > fs/btrfs/reflink.c:611:2: warning: Undefined or garbage value returned to > caller [core.uninitialized.UndefReturn] > return ret; > ^~ > ret will not be

Re: [PATCHv2 3/5] watchdog: rti-wdt: add support for window size configuration

2020-07-05 Thread Guenter Roeck
On 7/3/20 5:04 AM, Tero Kristo wrote: > RTI watchdog can support different open window sizes. Add support for > these and add a new module parameter to configure it. The default open > window size for the driver still remains at 50%. > > Also, modify the margin calculation logic a bit for 32k sour

[PATCH] soc: qcom-geni-se: fix configury of qcom-geni-se.c

2020-07-05 Thread trix
From: Tom Rix In a randconfig, qcom-geni-se.c breaks with drivers/soc/qcom/qcom-geni-se.c: In function ‘geni_remove_earlycon_icc_vote’: drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit declaration of function ‘of_get_next_parent’; did you mean ‘of_get_parent’? [-Werror=implicit-function

Re: [PATCHv2 2/5] watchdog: add support for adjusting last known HW keepalive time

2020-07-05 Thread Guenter Roeck
On 7/3/20 5:04 AM, Tero Kristo wrote: > Certain watchdogs require the watchdog only to be pinged within a > specific time window, pinging too early or too late cause the watchdog > to fire. In cases where this sort of watchdog has been started before > kernel comes up, we must adjust the watchdog k

Re: [PATCHv2 4/5] watchdog: rti-wdt: attach to running watchdog during probe

2020-07-05 Thread Guenter Roeck
On 7/3/20 5:04 AM, Tero Kristo wrote: > If the RTI watchdog is running already during probe, the driver must > configure itself to match the HW. Window size and timeout is probed from > hardware, and the last keepalive ping is adjusted to match it also. > > Signed-off-by: Tero Kristo > --- > dri

Re: [RFC v2 1/2] fs: Add IOCB_NOIO flag for generic_file_read_iter

2020-07-05 Thread Andreas Gruenbacher
On Fri, Jul 3, 2020 at 1:41 PM Matthew Wilcox wrote: > > On Fri, Jul 03, 2020 at 11:53:24AM +0200, Andreas Gruenbacher wrote: > > Add an IOCB_NOIO flag that indicates to generic_file_read_iter that it > > shouldn't trigger any filesystem I/O for the actual request or for > > readahead. This allow

Re: [PATCHv2 5/5] watchdog: rti-wdt: balance pm runtime enable calls

2020-07-05 Thread Guenter Roeck
On 7/3/20 5:04 AM, Tero Kristo wrote: > PM runtime should be disabled in the fail path of probe and when > the driver is removed. > > Fixes: 2d63908bdbfb ("watchdog: Add K3 RTI watchdog support") > Signed-off-by: Tero Kristo Reviewed-by: Guenter Roeck > --- > drivers/watchdog/rti_wdt.c | 2 ++

Re: [PATCH ghak90 V9 02/13] audit: add container id

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Implement the proc fs write to set the audit container identifier of a > process, emitting an AUDIT_CONTAINER_OP record to document the event. > > This is a write from the container orchestrator task to a proc entry of > the form /proc/

Re: [PATCH ghak90 V9 01/13] audit: collect audit task parameters

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:21 AM Richard Guy Briggs wrote: > > The audit-related parameters in struct task_struct should ideally be > collected together and accessed through a standard audit API. > > Collect the existing loginuid, sessionid and audit_context together in a > new struct audit_task_in

Re: [PATCH ghak90 V9 05/13] audit: log container info of syscalls

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Create a new audit record AUDIT_CONTAINER_ID to document the audit > container identifier of a process if it is present. > > Called from audit_log_exit(), syscalls are covered. > > Include target_cid references from ptrace and signal. >

Re: [PATCH ghak90 V9 06/13] audit: add contid support for signalling the audit daemon

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Add audit container identifier support to the action of signalling the > audit daemon. > > Since this would need to add an element to the audit_sig_info struct, > a new record type AUDIT_SIGNAL_INFO2 was created with a new > audit_sig_i

Re: [PATCH ghak90 V9 04/13] audit: log drop of contid on exit of last task

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Since we are tracking the life of each audit container indentifier, we > can match the creation event with the destruction event. Log the > destruction of the audit container identifier when the last process in > that container exits.

Re: [PATCH ghak90 V9 07/13] audit: add support for non-syscall auxiliary records

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Standalone audit records have the timestamp and serial number generated > on the fly and as such are unique, making them standalone. This new > function audit_alloc_local() generates a local audit context that will > be used only for a

Re: [PATCH ghak90 V9 11/13] audit: contid check descendancy and nesting

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:23 AM Richard Guy Briggs wrote: > > Require the target task to be a descendant of the container > orchestrator/engine. > > You would only change the audit container ID from one set or inherited > value to another if you were nesting containers. > > If changing the contid,

Re: [PATCH ghak90 V9 08/13] audit: add containerid support for user records

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:23 AM Richard Guy Briggs wrote: > > Add audit container identifier auxiliary record to user event standalone > records. > > Signed-off-by: Richard Guy Briggs > Acked-by: Neil Horman > Reviewed-by: Ondrej Mosnacek > --- > kernel/audit.c | 19 --- > 1 fi

Re: [PATCH ghak90 V9 10/13] audit: add support for containerid to network namespaces

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:23 AM Richard Guy Briggs wrote: > > This also adds support to qualify NETFILTER_PKT records. > > Audit events could happen in a network namespace outside of a task > context due to packets received from the net that trigger an auditing > rule prior to being associated wit

Re: [PATCH ghak90 V9 13/13] audit: add capcontid to set contid outside init_user_ns

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:24 AM Richard Guy Briggs wrote: > > Provide a mechanism similar to CAP_AUDIT_CONTROL to explicitly give a > process in a non-init user namespace the capability to set audit > container identifiers of individual children. > > Provide the /proc/$PID/audit_capcontid interfac

Re: [PATCH ghak90 V9 12/13] audit: track container nesting

2020-07-05 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:23 AM Richard Guy Briggs wrote: > > Track the parent container of a container to be able to filter and > report nesting. > > Now that we have a way to track and check the parent container of a > container, modify the contid field format to be able to report that > nesting

[GIT PULL] Kbuild fixes for v5.8-rc4

2020-07-05 Thread Masahiro Yamada
Hi Linus, Please pull some more Kbuild fixes. Thanks. The following changes since commit 48778464bb7d346b47157d21ffde2af6b2d39110: Linux 5.8-rc2 (2020-06-21 15:45:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git ta

[GIT PULL] SCSI fixes for 5.8-rc3

2020-07-05 Thread James Bottomley
Four small fixes in three drivers. The mptfusion one has actually caused use visible issues in certain kernel configurations. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Christoph Hellwig (1): scsi: mptfusion

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Mike Rapoport
On Fri, Jul 03, 2020 at 07:00:11AM -0700, Doug Anderson wrote: > Hi, > > On Fri, Jul 3, 2020 at 4:40 AM Mike Rapoport wrote: > > > > On Thu, Jul 02, 2020 at 11:43:47PM -0700, Abhishek Bhardwaj wrote: > > > We have tried to steer away from kernel command line args for a few > > > reasons. > > > >

Re: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-05 Thread Guenter Roeck
On Fri, Jul 03, 2020 at 11:48:09AM +, Johnson CH Chen (陳昭勳) wrote: > Let ds1374 watchdog use watchdog core functions. It also includes > improving watchdog timer setting and nowayout, and just uses ioctl() > of watchdog core. > > Signed-off-by: Johnson Chen > Reported-by: kernel test robot >

Re: [PATCH 4/4] media: docs: Depricate mfc frame skip control

2020-07-05 Thread Randy Dunlap
On 7/5/20 5:11 AM, Stanimir Varbanov wrote: > Depricate mfc private frame skip mode control for new Deprecate Also in $subject. > clients and use the standard one instead. > > Signed-off-by: Stanimir Varbanov > --- > Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 + > 1 f

Re: [PATCH] kbuild: make Clang build userprogs for target architecture

2020-07-05 Thread Masahiro Yamada
On Wed, Jul 1, 2020 at 4:13 AM Miguel Ojeda wrote: > > On Tue, Jun 30, 2020 at 6:26 PM Masahiro Yamada wrote: > > > > I can reproduce this in the following > > simple test code: > > > > > > ->8 > > #include > > > > int main(void) > > { > > ssize_t x = 1; >

Re: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref

2020-07-05 Thread Sven Van Asbroeck
Hi Andy, thank you so much for your time and attention. See below. On Sun, Jul 5, 2020 at 10:45 AM Andy Duan wrote: > > Don't consider it complex, GPR5[9] just select the rgmii gtx source from PAD > or internal > Like: > GPR5[9] is cleared: PAD -> MAC gtx > GPR5[9] is set: Pll_enet -> MAC gtx >

Re: [PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

2020-07-05 Thread Masahiro Yamada
On Sun, Jul 5, 2020 at 4:19 PM Paul Menzel wrote: > > Dear Masahiro, > > > Am 05.07.20 um 09:14 schrieb Masahiro Yamada: > > On Thu, Jul 2, 2020 at 8:12 PM Paul Menzel wrote: > >> > >> Running `make savedefconfig` creates by default `defconfig`, which is, > >> currently, on git’s radar, for examp

Re: [v2,iproute2-next 1/2] action police: change the print message quotes style

2020-07-05 Thread David Ahern
On 6/28/20 8:04 PM, Po Liu wrote: > Change the double quotes to single quotes in fprintf message to make it > more readable. > > Signed-off-by: Po Liu > --- > v1->v2 changes: > - Patch new added > > tc/m_police.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > applied both t

[GIT pull] x86/urgent for v5.8-rc4

2020-07-05 Thread Thomas Gleixner
Linus, please pull the latest x86/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2020-07-05 up to: cc801833a171: x86/ldt: Disable 16-bit segments on Xen PV A series of fixes for x86: - Reset MXCSR in kernel_fpu_begin() to prevent using a stale u

[GIT pull] irq/urgent for v5.8-rc4

2020-07-05 Thread Thomas Gleixner
Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2020-07-05 up to: 98817a84ff1c: Merge tag 'irqchip-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent A set of interrupt

[GIT pull] core/urgent for v5.8-rc4

2020-07-05 Thread Thomas Gleixner
Linus, please pull the latest core/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-2020-07-05 up to: 5fdeefa053df: Merge branch 'urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/urgent A single fix for

Re: [PATCH] tty: serial: meson_uart: Init port lock early

2020-07-05 Thread Marc Zyngier
On 2020-07-05 12:22, Andy Shevchenko wrote: On Sun, Jul 05, 2020 at 11:28:56AM +0100, Marc Zyngier wrote: On 2020-07-05 11:07, Andy Shevchenko wrote: > On Sun, Jul 5, 2020 at 12:32 PM Marc Zyngier wrote: > > > > The meson UART driver triggers a lockdep splat at boot time, due > > to the new exp

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-05 Thread Qian Cai
On Sun, Jul 05, 2020 at 08:58:54PM +0800, Feng Tang wrote: > On Sun, Jul 05, 2020 at 08:15:03AM -0400, Qian Cai wrote: > > > > > > > On Jul 5, 2020, at 12:45 AM, Feng Tang wrote: > > > > > > I did reproduce the problem, and from the debugging, this should > > > be the same root cause as > > >

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Waiman Long
On 7/5/20 11:23 AM, Mike Rapoport wrote: Nothing prevents people from continuing to use the command line options if they want, right? This just allows a different default. So if a distro is security focused and decided that it wanted a slower / more secure default then it could ship that way but

include/linux/compiler.h:350:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)

2020-07-05 Thread kernel test robot
: mips-randconfig-r001-20200705 (attached as .config) compiler: mipsel-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 git checkout

Re: [PATCH net-next v2 0/7] Add devlink-health support for devlink ports

2020-07-05 Thread Jakub Kicinski
On Sat, 4 Jul 2020 16:16:42 +0200 Jiri Pirko wrote: > Sat, Jul 04, 2020 at 01:44:39AM CEST, k...@kernel.org wrote: > >On Fri, 3 Jul 2020 06:27:31 +0300 Moshe Shemesh wrote: > >> Implement support for devlink health reporters on per-port basis. First > >> part in the series prepares common functi

Re: [PATCH 1/3] selftests/harness: Clean up kern-doc for fixtures

2020-07-05 Thread Jakub Kicinski
On Sat, 4 Jul 2020 23:12:30 -0700 Kees Cook wrote: > The FIXTURE*() macro kern-doc examples had the wrong names for the C code > examples associated with them. Fix those and clarify that FIXTURE_DATA() > usage should be avoided. > > Cc: Shuah Khan > Cc: Jakub Kicinski > Fixes: 74bc7c97fa88 ("ks

Re: [PATCH 2/3] selftests/seccomp: Refactor to use fixture variants

2020-07-05 Thread Jakub Kicinski
On Sat, 4 Jul 2020 23:12:31 -0700 Kees Cook wrote: > Now that the selftest harness has variants, use them to eliminate a > bunch of copy/paste duplication. > > Cc: Andy Lutomirski > Cc: Will Drewry > Cc: Jakub Kicinski > Signed-off-by: Kees Cook Acked-by: Jakub Kicinski

Re: [PATCH] CodingStyle: Inclusive Terminology -- Black and white does not refer to race.

2020-07-05 Thread nipponmail
You have it all wrong. The black in blacklist refers to women, as in the yin and the yang. The white refers to men: a constructive force. (While the women are destructive in society: always pitting the whitelist (men) against each-other, because said list didn't obey the blacklist (where women bel

Re: [PATCH v2] hung_task:add detecting task in D state milliseconds timeout

2020-07-05 Thread Matthew Wilcox
On Sun, Jul 05, 2020 at 08:48:52PM +0800, yang che wrote: > @@ -16,8 +16,9 @@ extern unsigned int sysctl_hung_task_all_cpu_backtrace; > > extern intsysctl_hung_task_check_count; > extern unsigned int sysctl_hung_task_panic; > +extern unsigned long sysctl_hung_task_timeout_millisecs;

Re: [RFC] hung_task:add detecting task in D state milliseconds timeout

2020-07-05 Thread Matthew Wilcox
On Fri, Jul 03, 2020 at 11:18:28AM +0800, yang che wrote: > my understanding, KernelShark can't trigger panic, hung_task can > trigger. According to my use, > sometimes need to trigger panic to grab ramdump to analyze lock and > memory problems. You shouldn't need to trigger a panic to analyse l

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Doug Anderson
Hi, On Sun, Jul 5, 2020 at 8:23 AM Mike Rapoport wrote: > > On Fri, Jul 03, 2020 at 07:00:11AM -0700, Doug Anderson wrote: > > Hi, > > > > On Fri, Jul 3, 2020 at 4:40 AM Mike Rapoport wrote: > > > > > > On Thu, Jul 02, 2020 at 11:43:47PM -0700, Abhishek Bhardwaj wrote: > > > > We have tried to s

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.8-5 tag

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sat, 04 Jul 2020 23:33:05 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.8-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9bc0b029a8889f2c67c988760aba66a8d7b22af5 Thank you! -- Deet-doot-do

Re: [GIT PULL] arm64 fixes for -rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sat, 4 Jul 2020 14:05:05 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ec84c3f6ef710661c8d14e3f63e540b795dc0a51 Thank you! -- Deet-doot-dot, I am a

[PATCH] HID: logitech-hidpp: avoid repeated "multiplier = " log messages

2020-07-05 Thread Maciej S. Szmigiero
These messages appear each time the mouse wakes from sleep, in my case (Logitech M705), every minute or so. Let's downgrade them to the "debug" level so they don't fill the kernel log by default. While we are at it, let's make clear that this is a wheel multiplier (and not, for example, XY movemen

Re: [GIT PULL] MIPS fixes for v5.8

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 5 Jul 2020 12:40:08 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/ > tags/mips_fixes_5.8_1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/45a5ac7a5cc3c71739d240c422c3818a5bc97fc4 Thank you! -- Deet-doot-dot,

Re: [RFC PATCH 4/5] powerpc/mm: Remove custom stack expansion checking

2020-07-05 Thread Christophe Leroy
Le 03/07/2020 à 16:13, Michael Ellerman a écrit : We have powerpc specific logic in our page fault handling to decide if an access to an unmapped address below the stack pointer should expand the stack VMA. The logic aims to prevent userspace from doing bad accesses below the stack pointer. H

Re: [PATCH 0/5] KVM: arm64: Remove the target table

2020-07-05 Thread Marc Zyngier
On Mon, 22 Jun 2020 11:33:12 +, James Morse wrote: > KVM's target_table indirection is a relic from 32bit where different > CPUs had different reset values for ACTLR. All 64bit CPUs have the > same behaviour here, but we support different targets, that all map > to the same behaviour. > > This

Re: [PATCH v4 00/15] Split off nVHE hyp code

2020-07-05 Thread Marc Zyngier
On Thu, 25 Jun 2020 14:14:05 +0100, David Brazdil wrote: > Refactor files in arch/arm64/kvm/hyp to compile all code which runs in EL2 > under nVHE into separate object files from the rest of KVM. This is done in > preparation for being able to unmap hyp code from EL1 and kernel code/data > from EL2

Re: [PATCH 3/5] selftests/powerpc: Update the stack expansion test

2020-07-05 Thread Christophe Leroy
Le 03/07/2020 à 16:13, Michael Ellerman a écrit : Update the stack expansion load/store test to take into account the new allowance of 4096 bytes below the stack pointer. [I didn't receive patch 2, don't know why, hence commenting patch 2 here.] Shouldn't patch 2 carry a fixes tag and be Cc

Re: [GIT PULL] io_uring fix for 5.8-rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 5 Jul 2020 07:05:49 -0600: > git://git.kernel.dk/linux-block.git tags/io_uring-5.8-2020-07-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9fbe565cb78d10ca2619ee23eac27262cff45629 Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [PULL REQUEST] i2c for 5.8

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 5 Jul 2020 08:56:33 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7783485401e802b4802c93cb1b23deb7f0d168a4 Thank you! -- Deet-doot-dot, I am a bot

Re: [GIT PULL] SCSI fixes for 5.8-rc3

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 05 Jul 2020 08:22:50 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/19a61a753d0705fcb41e7aa130351e0a0a54c3bd Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [Ksummit-discuss] [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-05 Thread opal hart
On Sun, 5 Jul 2020 09:39:29 +1000 Dave Airlie wrote: > I don't totally agree on that, because like the CoC discussion, people > need concrete examples. People need reasons, saying simply "be > inclusive" doesn't work. Which people? because so far the only people I've seen take these terminologie

Re: [PATCH v2] phy: samsung: Use readl_poll_timeout function

2020-07-05 Thread Krzysztof Kozlowski
On Sun, Jul 05, 2020 at 06:04:35AM +, Anand Moon wrote: > User readl_poll_timeout function instead of open > coded handling in crport_handshake function. Your change does not replace only the "open coded handling" with readl_poll_timeout(). Your change does more - switches busy waiting with ud

Re: [PATCH] arm64: dts: exynos: Add minimal bootargs

2020-07-05 Thread 'Krzysztof Kozlowski'
On Sun, Jul 05, 2020 at 07:09:14AM +0530, Alim Akhtar wrote: > Hi Krzysztof, > > Also, why did you use different serial for console? > > > Once UART driver gets probed then console changes to ttySAC0. In case I am > using stdout-path only, > after bootconsole is disabled, kernel logs re-start pri

Re: [PATCH v2 5/8] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-05 Thread Krzysztof Kozlowski
On Thu, Jul 02, 2020 at 10:34:14PM +0200, Marek Szyprowski wrote: > On 02.07.2020 17:51, Krzysztof Kozlowski wrote: > > There is no need to keep DMA controller nodes under AMBA bus node. > > Remove the "amba" node to fix dtschema warnings like: > > > > amba: $nodename:0: 'amba' does not match

Re: [PATCH] KVM: arm64: Change default caching mode for {PEND, PROP}BASER.outer

2020-07-05 Thread Marc Zyngier
On Wed, 1 Jul 2020 16:02:06 +0200, Alexander Graf wrote: > PENDBASER and PROPBASER define the outer caching mode for LPI tables. > The memory backing them may not be outer sharable, so we mark them as nC > by default. This however, breaks Windows on ARM which only accepts > SameAsInner or RaWaWb as

[PATCH v3] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-05 Thread Krzysztof Kozlowski
There is no need to keep DMA controller nodes under AMBA bus node. Remove the "amba" node to fix dtschema warnings like: amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Keep the alphabetical order

Re: [PATCH v3 2/3] Fix undefined operation fault that can hang a cpu on crash or panic

2020-07-05 Thread Andy Lutomirski
On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: > > Fix: Mask undefined operation fault during emergency VMXOFF that must be > attempted to force cpu exit from VMX root operation. > Explanation: When a cpu may be in VMX root operation (only possible when > CR4.VMXE is set), crash or panic rebo

Re: [PATCH v1 2/2] arm64: dts: exynos: keep LDO12 always-on

2020-07-05 Thread Krzysztof Kozlowski
On Sun, Jul 05, 2020 at 12:39:18PM +0530, Alim Akhtar wrote: > LDO12 on exynos7 supply power to VDDQ_UFS20_RESET, > in case this regulator is OFF, UFS host controller > can not send command to UFS device. To keep this supply > ON, set regulator-always-on property for this ldo. Why UFS does not tak

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Abhishek Bhardwaj
On Sun, Jul 5, 2020 at 8:57 AM Waiman Long wrote: > > On 7/5/20 11:23 AM, Mike Rapoport wrote: > >> Nothing prevents people from continuing to use the command line > >> options if they want, right? This just allows a different default. > >> So if a distro is security focused and decided that it w

Re: Writing to a const pointer: is this supposed to happen?

2020-07-05 Thread Kars Mulder
On Saturday, July 04, 2020 22:54 CEST, Andy Shevchenko wrote: > This and similar are not correct. 1/ They are not replacement per se > (because of different behaviour). 2/ They simple_strto*() are not > obsoleted. > > Can you correct all places you found and make it consistent? Something like th

Re: [PATCH v3 3/3] Force all cpus to exit VMX root operation on crash/panic reliably

2020-07-05 Thread Andy Lutomirski
On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: > > Fix the logic during crash/panic reboot on Intel processors that > can support VMX operation to ensure that all processors are not > in VMX root operation. Prior code made optimistic assumptions > about other cpus that would leave other cpus

[PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Linus Lüssing
Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling") introduced a small bug which would potentially lead to accepting an MLD2 Report with a broken IPv6 header payload length field. The check needs to take into account the 2 bytes for the "Number of Sour

Re: [PATCH 5/5] virtio_console: Constify some static variables

2020-07-05 Thread Amit Shah
On (Wed) 01 Jul 2020 [22:09:50], Rikard Falkeborn wrote: > The id_table and feature_table pointers in struct virtio_driver are > pointers to const. Mark the corresponding static variables const to > allow the compiler to put them in read-only memory. > > Before: >textdata bss dec

Re: [PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Nikolay Aleksandrov
On 05/07/2020 21:22, Linus Lüssing wrote: > Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs pointer in > igmp3/mld2 report handling") introduced a small bug which would potentially > lead to accepting an MLD2 Report with a broken IPv6 header payload length > field. > > The check needs to

Re: [PATCH] MAINTAINERS: adjust entry to renaming and conversion

2020-07-05 Thread Lukas Bulwahn
On Sun, Jul 5, 2020 at 1:30 PM Ondřej Jirman wrote: > > Hello Lukas, > > On Sun, Jul 05, 2020 at 08:59:17AM +0200, Lukas Bulwahn wrote: > > Commit a74e81a56405 ("drm/panel: rocktech-jh057n00900: Rename the driver to > > st7703") and commit 7317f4574492 ("dt-bindings: panel: Convert > > rocktech,jh

general protection fault in __btf_resolve_helper_id

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9e50b94b Add linux-next specific files for 20200703 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10327e6d10 kernel config: https://syzkaller.appspot.com/x/.config?x=f99cc0faa1476ed6 dashboard

KASAN: use-after-free Read in __cfg8NUM_wpan_dev_from_attrs (2)

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e44f65fd xen-netfront: remove redundant assignment to vari.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=120f87e510 kernel config: https://syzkaller.appspot.com/x/.config?x=829871134ca5e230 das

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Waiman Long
On 7/5/20 2:22 PM, Abhishek Bhardwaj wrote: On Sun, Jul 5, 2020 at 8:57 AM Waiman Long wrote: On 7/5/20 11:23 AM, Mike Rapoport wrote: Nothing prevents people from continuing to use the command line options if they want, right? This just allows a different default. So if a distro is security

[PATCH v3 0/4] zone-append support in io-uring and aio

2020-07-05 Thread Kanchan Joshi
Changes since v2: - Use file append infra (O_APPEND/RWF_APPEND) to trigger zone-append (Christoph, Wilcox) - Added Block I/O path changes (Damien). Avoided append split into multi-bio. - Added patch to extend zone-append in block-layer to support bvec iov_iter. Append using io-uring fixed-buffer is

[PATCH v3 3/4] block: enable zone-append for iov_iter of bvec type

2020-07-05 Thread Kanchan Joshi
zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. This is used to enable zone-append with io-uring fixed-buffer. Signed-off-by: Kanchan Joshi Signed-off-by: Selvakumar S Signe

<    1   2   3   4   5   >