Re: [PATCH] usb: cdns3: Adds missing __iomem markers

2020-12-14 Thread kernel test robot
use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Pawel-Laszczak/usb-cdns3-Adds-missing-__iomem-markers/20201214-205353 base:3cc2bd440f2171f093b3a8480a4b54d8c270ed38 config: riscv-allmodconfig (attached

[GIT PULL] x86/cache for v5.11

2020-12-14 Thread Borislav Petkov
Hi Linus, please pull the resource control updates accumulated for v5.11. This branch conflicts with yours due to previous urgent fixes going in earlier and the merge conflict resolution should look like this: --- diff --cc arch/x86/kernel/cpu/resctrl/monitor.c index a98519a3a2e6,622073ffa715..00

[PATCH 2/4] e1000e: bump up timeout to wait when ME un-configure ULP mode

2020-12-14 Thread Mario Limonciello
Per guidance from Intel ethernet architecture team, it may take up to 1 second for unconfiguring ULP mode. Suggested-by: Aaron Ma Suggested-by: Sasha Netfin Fixes: f15bb6dde738cc8fa0 ("e1000e: Add support for S0ix") BugLink: https://bugs.launchpad.net/bugs/1865570 Link: https://patchwork.ozlabs

Re: [PATCH v5 08/34] KVM: SVM: Prevent debugging under SEV-ES

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:09, Tom Lendacky wrote: +static inline bool sev_guest(struct kvm *kvm) +{ +#ifdef CONFIG_KVM_AMD_SEV + struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; + + return sev->active; +#else + return false; +#endif +} + +static inline bool sev_es_guest(struct kvm *k

Re: [PATCH 01/15] irqchip: Allow to compile bcmstb on other platforms

2020-12-14 Thread Maxime Ripard
Hi Marc, On Thu, Dec 10, 2020 at 05:59:09PM +, Marc Zyngier wrote: > On 2020-12-10 13:46, Maxime Ripard wrote: > > The BCM2711 uses a number of instances of the bcmstb-l2 controller in > > its > > display engine. Let's allow the driver to be enabled through KConfig. > > > > Signed-off-by: Max

[PATCH 1/4] e1000e: Only run S0ix flows if shutdown succeeded

2020-12-14 Thread Mario Limonciello
If the shutdown failed, the part will be thawed and running S0ix flows will put it into an undefined state. Reported-by: Alexander Duyck Signed-off-by: Mario Limonciello --- drivers/net/ethernet/intel/e1000e/netdev.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --gi

Re: [PATCH] mm/vmalloc: Fix unlock order in s_stop()

2020-12-14 Thread Matthew Wilcox
On Mon, Dec 14, 2020 at 04:11:28PM +0100, Uladzislau Rezki wrote: > On Sun, Dec 13, 2020 at 09:51:34PM +, Matthew Wilcox wrote: > > If we need to iterate the list efficiently, i'd suggest getting rid of > > the list and using an xarray instead. maybe a maple tree, once that code > > is better

[PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-14 Thread Mario Limonciello
commit e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems") disabled s0ix flows for systems that have various incarnations of the i219-LM ethernet controller. This was done because of some regressions caused by an earlier commit 632fbd5eb5b0e ("e1000e: fix S0ix flows for cable

[PATCH 3/4] Revert "e1000e: disable s0ix entry and exit flows for ME systems"

2020-12-14 Thread Mario Limonciello
commit e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems") disabled s0ix flows for systems that have various incarnations of the i219-LM ethernet controller. This changed caused power consumption regressions on the following shipping Dell Comet Lake based laptops: * Latitude

Re: [PATCH bpf-next v4 07/11] bpf: Add instructions for atomic_[cmp]xchg

2020-12-14 Thread Brendan Jackman
Seems I never replied to this, thanks for the reviews! On Mon, Dec 07, 2020 at 10:37:32PM -0800, John Fastabend wrote: > Brendan Jackman wrote: > > This adds two atomic opcodes, both of which include the BPF_FETCH > > flag. XCHG without the BPF_FETCH flag would naturally encode > > atomic_set. Thi

[GIT PULL] x86/build for v5.11

2020-12-14 Thread Borislav Petkov
Hi Linus, please pull two x86/build fixes for v5.11. Thx. --- The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x8

Re: [PATCH v5 08/34] KVM: SVM: Prevent debugging under SEV-ES

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:09, Tom Lendacky wrote: Additionally, an SEV-ES guest must only and always intercept DR7 reads and writes. Update set_dr_intercepts() and clr_dr_intercepts() to account for this. I cannot see it, where is this documented? Paolo

Re: [linux-nfc] [PATCH net-next] MAINTAINERS: Update maintainer for SAMSUNG S3FWRN5 NFC

2020-12-14 Thread Krzysztof Kozlowski
On Mon, Dec 14, 2020 at 09:28:23PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > add an email to look after the SAMSUNG NFC driver. Hi Bongsu, Review and testing is always appreciated. However before adding an entry to Maintainers, I would prefer to see some activity in maintainer-like task

Re: [PATCH v5 12/34] KVM: SVM: Add initial support for a VMGEXIT VMEXIT

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:09, Tom Lendacky wrote: @@ -3184,6 +3186,8 @@ static int svm_invoke_exit_handler(struct vcpu_svm *svm, u64 exit_code) return halt_interception(svm); else if (exit_code == SVM_EXIT_NPF) return npf_interception(svm); + else if (exit_code

Re: [PATCH 1/3] PCI/ASPM: Use the path max in L1 ASPM latency check

2020-12-14 Thread Ian Kumlien
On Mon, Dec 14, 2020 at 3:02 PM Bjorn Helgaas wrote: > > On Mon, Dec 14, 2020 at 10:14:18AM +0100, Ian Kumlien wrote: > > On Mon, Dec 14, 2020 at 6:44 AM Bjorn Helgaas wrote: > > > > > > [+cc Jesse, Tony, David, Jakub, Heiner, lists in case there's an ASPM > > > issue with I211 or Realtek NICs.

Re: [PATCH net-next] nfc: s3fwrn5: Release the nfc firmware

2020-12-14 Thread Krzysztof Kozlowski
On Sun, Dec 13, 2020 at 06:58:50PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > add the code to release the nfc firmware when the firmware image size is > wrong. s/add/Add/ s/nfc/NFC/ Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v5 1/6] mmc: core: Add helper for parsing clock phase properties

2020-12-14 Thread Ulf Hansson
On Tue, 8 Dec 2020 at 02:26, Andrew Jeffery wrote: > > Drivers for MMC hosts that accept phase corrections can take advantage > of the helper by embedding a mmc_clk_phase_map_t object in their > private data and invoking mmc_of_parse_clk_phase() to extract phase > parameters. It is the responsibil

Re: [PATCH v5 16/34] KVM: SVM: Add support for SEV-ES GHCB MSR protocol function 0x100

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:09, Tom Lendacky wrote: + pr_info("SEV-ES guest requested termination: %#llx:%#llx\n", + reason_set, reason_code); + fallthrough; + } It would be nice to send these to userspace instead as a follow-up. Paolo

Re: [PATCH net-next] nfc: s3fwrn5: Remove the delay for nfc sleep

2020-12-14 Thread Krzysztof Kozlowski
On Sun, Dec 13, 2020 at 07:12:38PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > remove the delay for nfc sleep because nfc doesn't need the sleep delay. Please start sentences with capital letter. s/nfc/NFC/ (here and in subject) This explanation is very vague. Please rephrase it. Best re

Re: [PATCH] MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too

2020-12-14 Thread Zhou Yanjie
Hi Paul, On 2020/12/14 上午3:57, Paul Cercueil wrote: Hi Zhou, Le lun. 14 déc. 2020 à 3:12, Zhou Yanjie a écrit : Hi Paul, On 2020/12/12 上午8:03, Paul Cercueil wrote: The JZ4760 has the HPTLB as well, but has a XBurst CPU with a D0 CPUID. Disable the HPTLB for all XBurst CPUs with a D0 CPUID

Re: [PATCH v5 0/6] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-12-14 Thread Ulf Hansson
On Tue, 8 Dec 2020 at 02:26, Andrew Jeffery wrote: > > Hello, > > This series implements support for the MMC core clk-phase-* devicetree > bindings > in the Aspeed SD/eMMC driver. The relevant register was exposed on the AST2600 > and is present for both the SD/MMC controller and the dedicated eM

[sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Anatoly Pugachev
Hello! Enabled ftrace startup tests on a sparc64 test VM/LDOM: $ diff -u <(gzip -dc ~/dmesg/config-5.10.0.gz) <(gzip -dc /proc/config.gz) --- /dev/fd/63 2020-12-14 16:19:38.239372599 +0300 +++ /dev/fd/62 2020-12-14 16:19:38.235372433 +0300 @@ -2842,7 +2842,10 @@ # CONFIG_TRACEPOINT_BENCHMARK i

Re: [PATCH net-next] nfc: s3fwrn5: Remove unused nci prop commands

2020-12-14 Thread Krzysztof Kozlowski
On Mon, Dec 14, 2020 at 08:46:58PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > remove the unused nci prop commands that samsung driver doesn't use. Don't send patches one-by-one, but group them in a patchset. Previous comments apply here as well - NCI is acronym, start with capital letter

Re: [PATCH -next] fbdev: s3c2410fb: convert comma to semicolon

2020-12-14 Thread Krzysztof Kozlowski
On Mon, Dec 14, 2020 at 09:33:17PM +0800, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun > --- > drivers/video/fbdev/s3c2410fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Krzysztof Kozlowski B

Re: Linux 5.10

2020-12-14 Thread Mike Snitzer
On Mon, Dec 14 2020 at 12:52am -0500, Greg KH wrote: > On Mon, Dec 14, 2020 at 12:31:47AM -0500, Dave Jones wrote: > > On Sun, Dec 13, 2020 at 03:03:29PM -0800, Linus Torvalds wrote: > > > Ok, here it is - 5.10 is tagged and pushed out. > > > > > > I pretty much always wish that the last week

Re: [PATCH v5 27/34] KVM: SVM: Add support for booting APs for an SEV-ES guest

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:10, Tom Lendacky wrote: From: Tom Lendacky Typically under KVM, an AP is booted using the INIT-SIPI-SIPI sequence, where the guest vCPU register state is updated and then the vCPU is VMRUN to begin execution of the AP. For an SEV-ES guest, this won't work because the guest regist

[PATCH 2/2] hwrng: iproc-rng200: Move enable/disable in separate function

2020-12-14 Thread matthias . bgg
From: Matthias Brugger We are calling the same code for enable and disable the block in various parts of the driver. Put that code into a new function to reduce code duplication. Signed-off-by: Matthias Brugger --- drivers/char/hw_random/iproc-rng200.c | 37 --- 1 fil

[PATCH 1/2] hwrng: iproc-rng200: Fix disable of the block.

2020-12-14 Thread matthias . bgg
From: Matthias Brugger When trying to disable the block we bitwise or the control register with value zero. This will leave the block always turned on. Fix this by setting the corresponding bit to zero. Fixes: c83d45d5685f ("hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver") Signed-off-by: Ma

Re: [PATCH v5 27/34] KVM: SVM: Add support for booting APs for an SEV-ES guest

2020-12-14 Thread Paolo Bonzini
On 10/12/20 18:10, Tom Lendacky wrote: @@ -10144,6 +10144,15 @@ void kvm_vcpu_deliver_sipi_vector(struct kvm_vcpu *vcpu, u8 vector) { struct kvm_segment cs; + /* +* Guests with protected state can't have their state altered by KVM, +* call the vcpu_deliver_sipi_vect

Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting

2020-12-14 Thread Kirill A. Shutemov
On Thu, Dec 10, 2020 at 09:23:53AM -0800, Linus Torvalds wrote: > Can we please move that part to the callers too - possibly with a > separate helper function? Here it is. Still barely tested. I expected to hate it more, but it looks reasonable. Opencoded xas_for_each() smells bad, but... And di

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-14 Thread Clemens Gruber
On Mon, Dec 14, 2020 at 03:28:24PM +0100, Thierry Reding wrote: > On Fri, Dec 11, 2020 at 11:34:54AM +0100, Uwe Kleine-König wrote: > > Hello Thierry, > > > > On Fri, Dec 11, 2020 at 09:33:55AM +0100, Thierry Reding wrote: > > > On Thu, Dec 10, 2020 at 09:39:26PM +0100, Uwe Kleine-König wrote: > >

Re: [PATCH] spi: spi-qcom-qspi: Use irq trigger flags from firmware

2020-12-14 Thread Doug Anderson
Hi, On Sat, Dec 12, 2020 at 9:29 PM Stephen Boyd wrote: > > We don't need to force this to be trigger high here, as the firmware > properly configures the irq flags already. Drop it to save a line. > > Cc: Douglas Anderson > Cc: Rajendra Nayak > Cc: Mukesh Kumar Savaliya > Cc: Akash Asthana >

[PATCH net-next v4 5/5] af_vsock: Assign the vsock transport considering the vsock address flags

2020-12-14 Thread Andra Paraschiv
The vsock flags field can be set in the connect path (user space app) and the (listen) receive path (kernel space logic). When the vsock transport is assigned, the remote CID is used to distinguish between types of connection. Use the vsock flags value (in addition to the CID) from the remote add

[PATCH net-next v4 1/5] vm_sockets: Add flags field in the vsock address data structure

2020-12-14 Thread Andra Paraschiv
vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock channels for communication. In addition to this, by default, all the vsock packets are forwarded to the host, if no h

[PATCH net-next v4 4/5] af_vsock: Set VMADDR_FLAG_TO_HOST flag on the receive path

2020-12-14 Thread Andra Paraschiv
The vsock flags can be set during the connect() setup logic, when initializing the vsock address data structure variable. Then the vsock transport is assigned, also considering this flags field. The vsock transport is also assigned on the (listen) receive path. The flags field needs to be set cons

[PATCH net-next v4 0/5] vsock: Add flags field in the vsock address

2020-12-14 Thread Andra Paraschiv
vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has been available in the mainline since the v5.5 Linux kernel has been released. Implicitly, if no host->guest vsock transport is lo

Re: [PATCH v2 0/4] cppc_cpufreq: fix, clarify and improve support

2020-12-14 Thread Mian Yousaf Kaukab
On Mon, Dec 14, 2020 at 12:38:19PM +, Ionela Voinescu wrote: > Hi guys, > > I'm sending v2 of some of the patches at [1] in light of the discussions > at [2]. > > v2: > - Patches 1-3 are trivial rebase on linux next 20201211, with conflicts >fixed after eliminating what previously was "[

Re: common_interrupt: No irq handler for vector

2020-12-14 Thread Shuah Khan
On 12/12/20 12:33 PM, Thomas Gleixner wrote: On Fri, Dec 11 2020 at 13:41, Shuah Khan wrote: I am debugging __common_interrupt: 1.55 No irq handler for vector messages and noticed comments and code don't agree: I bet that's on an AMD system with broken AGESA BIOS Good luck debugging it :)

[PATCH net-next v4 2/5] vm_sockets: Add VMADDR_FLAG_TO_HOST vsock flag

2020-12-14 Thread Andra Paraschiv
Add VMADDR_FLAG_TO_HOST vsock flag that is used to setup a vsock connection where all the packets are forwarded to the host. Then, using this type of vsock channel, vsock communication between sibling VMs can be built on top of it. Changelog v3 -> v4 * Update the "VMADDR_FLAG_TO_HOST" value, as

[PATCH net-next v4 3/5] vsock_addr: Check for supported flag values

2020-12-14 Thread Andra Paraschiv
Check if the provided flags value from the vsock address data structure includes the supported flags in the corresponding kernel version. The first byte of the "svm_zero" field is used as "svm_flags", so add the flags check instead. Changelog v3 -> v4 * New patch in v4. Signed-off-by: Andra Pa

Re: [PATCH] arm64: topology: Cleanup init_amu_fie() a bit

2020-12-14 Thread Ionela Voinescu
Hi, Sorry, I missed this. On Friday 11 Dec 2020 at 16:35:55 (+0530), Viresh Kumar wrote: > On 10-12-20, 10:38, Ionela Voinescu wrote: > > Basically, that's functions purpose is only to make sure that invariance > > at the level of the policy is consistent: either all CPUs in a policy > > support

[PATCH v2 6/6] scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM

2020-12-14 Thread Bean Huo
From: Bean Huo Transaction Specific Fields (TSF) in the UPIU package could be CDB (SCSI/UFS Command Descriptor Block), OSF (Opcode Specific Field), and TM I/O parameter (Task Management Input/Output Parameter). But, currently, we take all of these as CDB in the UPIU trace. Thus makes user confus

[PATCH v2 4/6] scsi: ufs: Distinguish between query REQ and query RSP in query trace

2020-12-14 Thread Bean Huo
From: Bean Huo Currently, in the query completion trace print, since we use hba->lrb[tag].ucd_req_ptr and didn't differentiate UPIU between request and response, thus header and transaction-specific field in UPIU printed by query trace are identical. This is not very practical. As below: query_

drivers/mmc/host/sdhci-of-esdhc.c:900:33: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-14 Thread kernel test robot
: 3 months ago config: openrisc-randconfig-s031-20201214 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install

[PATCH v2 3/6] scsi: ufs: Don't call trace_ufshcd_upiu() in case trace poit is disabled

2020-12-14 Thread Bean Huo
From: Bean Huo Don't call trace_ufshcd_upiu() in case ufshba_upiu trace poit is not enabled. Suggested-by: Steven Rostedt Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c in

[PATCH v2 2/6] scsi: ufs: Use __print_symbolic() for UFS trace string print

2020-12-14 Thread Bean Huo
From: Bean Huo __print_symbolic() is designed for exporting the print formatting table to userspace and allows parsing tool, such as trace-cmd and perf, to analyze trace log according to this print formatting table, meanwhile, by using __print_symbolic()s, save space in the trace ring buffer. or

[PATCH v2 5/6] scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM UPIU trace

2020-12-14 Thread Bean Huo
From: Bean Huo Distinguish between TM request UPIU and response UPIU in TM UPIU trace, for the TM response, let TM UPIU trace print its TM response UPIU. Acked-by: Avri Altman Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

Re: [sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Steven Rostedt
On Mon, 14 Dec 2020 18:59:02 +0300 Anatoly Pugachev wrote: > Hello! > > Enabled ftrace startup tests on a sparc64 test VM/LDOM: > > $ diff -u <(gzip -dc ~/dmesg/config-5.10.0.gz) <(gzip -dc /proc/config.gz) > --- /dev/fd/63 2020-12-14 16:19:38.239372599 +0300 > +++ /dev/fd/62 2020-12-14 16:19

[PATCH v2 0/6] Several changes for the UPIU trace

2020-12-14 Thread Bean Huo
From: Bean Huo Changelog: V1--V2: 1. Convert __get_str(str) to __print_symbolic() 2. Add new patches 1/6, 2/6,3/6 3. Use __print_symbolic() in patch 6/6 Bean Huo (6): scsi: ufs: Remove stringize operator '#' restriction scsi: ufs: Use __print_symbolic() for UFS trace string print sc

[PATCH v2 1/6] scsi: ufs: Remove stringize operator '#' restriction

2020-12-14 Thread Bean Huo
From: Bean Huo Current EM macro definition, we use stringize operator '#', which turns the argument it precedes into a quoted string. Thus requires the symbol of __print_symbolic() should be the string corresponding to the name of the enum. However, we have other cases, the symbol and enum name

Re: [PATCH 01/15] irqchip: Allow to compile bcmstb on other platforms

2020-12-14 Thread Marc Zyngier
Hi Maxime, On 2020-12-14 15:27, Maxime Ripard wrote: Hi Marc, On Thu, Dec 10, 2020 at 05:59:09PM +, Marc Zyngier wrote: [...] I'm always sceptical of making interrupt controllers user-selectable. Who is going to know that they need to pick that one? I'd be much more in favour of direct

Re: [PATCH net-next v3 0/4] vsock: Add flags field in the vsock address

2020-12-14 Thread Paraschiv, Andra-Irina
On 14/12/2020 10:13, Stefano Garzarella wrote: On Sat, Dec 12, 2020 at 09:16:08AM -0800, Jakub Kicinski wrote: On Fri, 11 Dec 2020 16:24:13 +0100 Stefano Garzarella wrote: On Fri, Dec 11, 2020 at 12:32:37PM +0200, Andra Paraschiv wrote: >vsock enables communication between virtual machines a

[PATCH] habanalabs: register to pci shutdown callback

2020-12-14 Thread Oded Gabbay
We need to make sure our device is idle when rebooting a virtual machine. This is done in the driver level. The firmware will later handle FLR but we want to be extra safe and stop the devices until the FLR is handled. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/habanalabs_drv

Re: [PATCH -next] iommu: msm_iommu: Delete useless kfree code

2020-12-14 Thread Bjorn Andersson
On Mon 14 Dec 07:47 CST 2020, Zheng Yongjun wrote: > The parameter of kfree function is NULL, so kfree code is useless, delete it. > > Signed-off-by: Zheng Yongjun Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/iommu/msm_iommu.c | 6 +- > 1 file changed, 1 insertion(+), 5 d

Re: [PATCH v2 0/6] Several changes for the UPIU trace

2020-12-14 Thread Steven Rostedt
On Mon, 14 Dec 2020 17:14:56 +0100 Bean Huo wrote: > From: Bean Huo > > Changelog: > > V1--V2: > 1. Convert __get_str(str) to __print_symbolic() > 2. Add new patches 1/6, 2/6,3/6 > 3. Use __print_symbolic() in patch 6/6 > > Bean Huo (6): > scsi: ufs: Remove stringize operator '#' rest

Re: [PATCH v3 5/9] spi: spi-mem: Allow masters to transfer dummy cycles directly by hardware

2020-12-14 Thread Mark Brown
On Sat, Dec 12, 2020 at 11:57:15AM +0100, Boris Brezillon wrote: > Sowjanya Komatineni wrote: > > This patch adds a flag SPI_MASTER_USES_HW_DUMMY_CYCLES for the controllers > > that support transfer of dummy cycles by the hardware directly. > Hm, not sure this is a good idea. I mean, if we expec

Re: [sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Steven Rostedt
On Mon, 14 Dec 2020 11:15:12 -0500 Steven Rostedt wrote: > Does sparc64 require 8 byte alignment for 8 byte words? > In other words, does this patch fix anything? -- Steve diff --git a/arch/Kconfig b/arch/Kconfig index 56b6ccc0e32d..fa716994f77e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@

Re: Linux 5.10

2020-12-14 Thread Mike Snitzer
On Mon, Dec 14 2020 at 11:02am -0500, Mike Snitzer wrote: > On Mon, Dec 14 2020 at 12:52am -0500, > Greg KH wrote: > > > On Mon, Dec 14, 2020 at 12:31:47AM -0500, Dave Jones wrote: > > > On Sun, Dec 13, 2020 at 03:03:29PM -0800, Linus Torvalds wrote: > > > > Ok, here it is - 5.10 is tagged and

Re: [PATCH v4] Serial: silabs si4455 serial driver

2020-12-14 Thread József Horváth
On Mon, Dec 14, 2020 at 01:39:09PM +0100, Jiri Slaby wrote: > On 14. 12. 20, 13:35, József Horváth wrote: > > I'm in trouble with the device tree binding schema of this driver too. > > Sorry, someone else has to help you who actually masters DT details. > > -- > js I have answer. I forgot read

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-14 Thread Sven Van Asbroeck
Hi Thierry, On Mon, Dec 14, 2020 at 9:28 AM Thierry Reding wrote: > > > Perhaps Clemens and Sven can shed some light into how this driver is > being used. There clearly seem to be people interested in this driver, > so why are there no consumers of this upstream. What's keeping people > from upst

Re: [sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Jessica Clarke
On Mon, Dec 14, 2020 at 11:15:12AM -0500, Steven Rostedt wrote: > On Mon, 14 Dec 2020 18:59:02 +0300 > Anatoly Pugachev wrote: > > > Hello! > > > > Enabled ftrace startup tests on a sparc64 test VM/LDOM: > > > > $ diff -u <(gzip -dc ~/dmesg/config-5.10.0.gz) <(gzip -dc /proc/config.gz) > > ---

Re: [sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Steven Rostedt
On Mon, 14 Dec 2020 16:28:04 + Jessica Clarke wrote: > On Mon, Dec 14, 2020 at 11:15:12AM -0500, Steven Rostedt wrote: > > On Mon, 14 Dec 2020 18:59:02 +0300 > > Anatoly Pugachev wrote: > > > > > Hello! > > > > > > Enabled ftrace startup tests on a sparc64 test VM/LDOM: > > > > > > $ di

Re: [PATCH] kretprobe: avoid re-registration of the same kretprobe earlier

2020-12-14 Thread Steven Rostedt
On Wed, 2 Dec 2020 09:23:35 +0800 "Wangshaobo (bobo)" wrote: > Hi steve, Masami, > > Thanks for your works, i will check code again and modify properly > according to steve's suggestion. > > -- ShaoBo > Anything happen with this? -- Steve > 在 2020/12/2 7:32, Masami Hiramatsu 写道: > > On M

Re: [PATCH v6] char: tpm: add i2c driver for cr50

2020-12-14 Thread Adrian Ratiu
On Fri, 11 Dec 2020, Jarkko Sakkinen wrote: On Wed, Dec 09, 2020 at 02:41:45PM +0200, Adrian Ratiu wrote: On Tue, 08 Dec 2020, Jarkko Sakkinen wrote: > On Mon, Dec 07, 2020 at 04:20:16PM +0200, Adrian Ratiu wrote: > > From: "dlau...@chromium.org" Add > > TPM 2.0 compatible I2C interface fo

Re: [PATCH v4 0/4] Improve s0ix flows for systems i219LM

2020-12-14 Thread Alexander Duyck
On Mon, Dec 14, 2020 at 7:35 AM Mario Limonciello wrote: > > commit e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME > systems") > disabled s0ix flows for systems that have various incarnations of the > i219-LM ethernet controller. This was done because of some regressions > cause

related to fixing depreciated api

2020-12-14 Thread Jeffrin Jose T
hello, i have worked on to fix depreciated api issue from tools/testing/selftests/intel_pstate/aerf.c i met with the following error related... --x--x-> $pwd /home/jeffrin/UP/linux-kselftest/tools/testing/selftests/intel_pstate $make gcc -Wall -D_GN

Re: [RFC PATCH 05/12] pinctrl: sunxi: add pinctrl driver for V831/V833

2020-12-14 Thread Maxime Ripard
On Mon, Dec 14, 2020 at 11:19:48PM +0800, Icenowy Zheng wrote: > > > 于 2020年12月14日 GMT+08:00 下午10:21:18, Maxime Ripard 写到: > >On Sat, Dec 12, 2020 at 12:04:23PM +0800, Icenowy Zheng wrote: > >> V831/V833 are new chips from Allwinner. They're the same die with > >> different package. > >> > >> A

Re: [PATCH v4 2/2] mmc: sdhci-msm: Actually set the actual clock

2020-12-14 Thread Bjorn Andersson
On Fri 11 Dec 11:12 CST 2020, Douglas Anderson wrote: > The MSM SDHCI driver always set the "actual_clock" field to 0. It had > a comment about it not being needed because we weren't using the > standard SDHCI divider mechanism and we'd just fallback to > "host->clock". However, it's still bette

Re: [PATCH AUTOSEL 5.7 03/30] ima: extend boot_aggregate with kernel measurements

2020-12-14 Thread Tyler Hicks
On 2020-12-11 06:01:54, Mimi Zohar wrote: > On Thu, 2020-12-10 at 21:10 -0600, Tyler Hicks wrote: > > On 2020-11-29 08:17:38, Mimi Zohar wrote: > > > Hi Sasha, > > > > > > On Wed, 2020-07-08 at 21:27 -0400, Sasha Levin wrote: > > > > On Wed, Jul 08, 2020 at 12:13:13PM -0400, Mimi Zohar wrote: > >

Re: Linux 5.10

2020-12-14 Thread Greg KH
On Mon, Dec 14, 2020 at 11:02:47AM -0500, Mike Snitzer wrote: > On Mon, Dec 14 2020 at 12:52am -0500, > Greg KH wrote: > > > On Mon, Dec 14, 2020 at 12:31:47AM -0500, Dave Jones wrote: > > > On Sun, Dec 13, 2020 at 03:03:29PM -0800, Linus Torvalds wrote: > > > > Ok, here it is - 5.10 is tagged a

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-14 Thread Sven Van Asbroeck
Hi Thierry, On Mon, Dec 14, 2020 at 9:28 AM Thierry Reding wrote: > > > Perhaps Clemens and Sven can shed some light into how this driver is > being used. There clearly seem to be people interested in this driver, > so why are there no consumers of this upstream. What's keeping people > from upst

Re: Urgent: BUG: PPP ioctl Transport endpoint is not connected

2020-12-14 Thread Guillaume Nault
On Thu, Dec 10, 2020 at 09:16:24AM +0200, Martin Zaharinov wrote: > And one other > From other mailing I see you send patch to Denys Fedoryshchenko this patch is > : > > diff --git a/drivers/net/ppp/ppp_generic.c > b/drivers/net/ppp/ppp_generic.c > > index 255a5def56e9..2acf4b0eabd1 100644 >

Re: [PATCH v5 02/34] KVM: SVM: Remove the call to sev_platform_status() during setup

2020-12-14 Thread Tom Lendacky
On 12/14/20 6:29 AM, Paolo Bonzini wrote: > On 10/12/20 18:09, Tom Lendacky wrote: >> From: Tom Lendacky >> >> When both KVM support and the CCP driver are built into the kernel instead >> of as modules, KVM initialization can happen before CCP initialization. As >> a result, sev_platform_status()

Re: [PATCH v2 1/6] scsi: ufs: Remove stringize operator '#' restriction

2020-12-14 Thread Joe Perches
On Mon, 2020-12-14 at 17:14 +0100, Bean Huo wrote: > From: Bean Huo > > Current EM macro definition, we use stringize operator '#', which turns > the argument it precedes into a quoted string. Thus requires the symbol > of __print_symbolic() should be the string corresponding to the name of > the

[RFC]: kexec: change to handle memory/cpu changes

2020-12-14 Thread Eric DeVolder
As the memory layout or the number of CPUs change, a loaded kdump capture kernel must also be updated. By having an accurate representation of the memory and CPU layout, the resulting kdump capture in response to a kernel panic will be complete and accurate. Currently, the memory and CPU layout

Re: [PATCH v2 1/3] gpio: gpio-hisi: Add HiSilicon GPIO support

2020-12-14 Thread Andy Shevchenko
On Mon, Dec 14, 2020 at 10:11:23AM +0100, Linus Walleij wrote: > On Mon, Dec 14, 2020 at 9:24 AM Luo Jiaxing wrote: > > > This GPIO driver is for HiSilicon's ARM SoC. > > Patch applied, any further issues can certainly be fixed in-tree. I just sent two :-) -- With Best Regards, Andy Shevchenk

[PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Tony Krowiak
The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a VFIO mediated device for a KVM guest is opened to receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM event). When the KVM pointer is set, the vfio_ap driver takes the following act

Re: [RESEND PATCH v2 2/2] MAINTAINERS: Add linux-mips mailing list to JZ47xx entries

2020-12-14 Thread Thomas Bogendoerfer
On Thu, Oct 29, 2020 at 04:44:14PM +0100, Krzysztof Kozlowski wrote: > The entries for JZ47xx SoCs and its drivers lacked MIPS mailing list. > Only MTD NAND driver pointed linux-mtd. Add linux-mips so the relevant > patches will get attention of MIPS developers. > > Signed-off-by: Krzysztof Kozlo

Re: [PATCH 4/4] MIPS: mm: Clean up setup of protection map

2020-12-14 Thread Thomas Bogendoerfer
On Sat, Dec 12, 2020 at 08:29:23AM -0800, Guenter Roeck wrote: > On Fri, Nov 13, 2020 at 12:09:52PM +0100, Thomas Bogendoerfer wrote: > > Protection map difference between RIXI and non RIXI cpus is _PAGE_NO_EXEC > > and _PAGE_NO_READ usage. Both already take care of cpu_has_rixi while > > setting u

Re: [RESEND PATCH v2 1/2] MAINTAINERS: Remove JZ4780 DMA driver entry

2020-12-14 Thread Thomas Bogendoerfer
On Thu, Oct 29, 2020 at 04:44:13PM +0100, Krzysztof Kozlowski wrote: > The entry for MIPS Ingenic JZ4780 DMA driver is not up to date anymore. > Zubair Lutfullah Kakakhel's email bounces and no maintenance is > provided. > > Suggested-by: Paul Cercueil > Signed-off-by: Krzysztof Kozlowski > > -

[PATCH] efi/libstub: Allow EFI_NOT_FOUND on LOAD_FILE2_PROTOCOL calls for initrd

2020-12-14 Thread Ilias Apalodimas
At the moment the EFI stub tries to load an initrd from the cmdline provided option only if the LoadFile2 protocol does not exist on the initrd device path. This might prove problematic for EFI installers that need their own version of initrd to start the installation process and the firmware inst

[PATCH 5.10 0/2] 5.10.1-rc1 review

2020-12-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.10.1 release. There are 2 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Monday, 14 Dec 2020 18:04:42 +. Anything re

Re: [PATCH v1 bpf-next 05/11] tcp: Migrate TCP_NEW_SYN_RECV requests.

2020-12-14 Thread Kuniyuki Iwashima
From: Martin KaFai Lau Date: Thu, 10 Dec 2020 10:49:15 -0800 > On Thu, Dec 10, 2020 at 02:15:38PM +0900, Kuniyuki Iwashima wrote: > > From: Martin KaFai Lau > > Date: Wed, 9 Dec 2020 16:07:07 -0800 > > > On Tue, Dec 01, 2020 at 11:44:12PM +0900, Kuniyuki Iwashima wrote: > > > > This patch

[PATCH 5.10 1/2] Revert "md: change mddev chunk_sectors from int to unsigned"

2020-12-14 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman This reverts commit 6ffeb1c3f8226244c08105bcdbeecc04bad6b89a. It causes problems :( Reported-by: Dave Jones Reported-by: Mike Snitzer Cc: Song Liu Cc: Jens Axboe Cc: Linus Torvalds --- drivers/md/md.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -

[PATCH 5.10 2/2] Revert "dm raid: fix discard limits for raid1 and raid10"

2020-12-14 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman This reverts commit e0910c8e4f87bb9f767e61a778b0d9271c4dc512. It causes problems :( Reported-by: Dave Jones Reported-by: Mike Snitzer Cc: Zdenek Kabelac Cc: Mikulas Patocka Cc: Linus Torvalds --- drivers/md/dm-raid.c | 12 +--- 1 file changed, 5 insertio

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Greg KH
On Mon, Dec 14, 2020 at 11:56:17AM -0500, Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). W

[RFC][PATCH 2/5] sched/fair: Make select_idle_cpu() proportional to cores

2020-12-14 Thread Peter Zijlstra
Instead of calculating how many (logical) CPUs to scan, compute how many cores to scan. This changes behaviour for anything !SMT2. Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/core.c | 19 ++- kernel/sched/fair.c | 12 ++-- 2 files changed, 24 insertions(+)

Re: [PATCH net-next v4 3/5] vsock_addr: Check for supported flag values

2020-12-14 Thread Stefano Garzarella
On Mon, Dec 14, 2020 at 06:11:20PM +0200, Andra Paraschiv wrote: Check if the provided flags value from the vsock address data structure includes the supported flags in the corresponding kernel version. The first byte of the "svm_zero" field is used as "svm_flags", so add the flags check instead

Re: [PATCH v4 2/2] hwspinlock: add sun8i hardware spinlock support

2020-12-14 Thread Bjorn Andersson
On Fri 11 Dec 08:40 CST 2020, Samuel Holland wrote: > On 12/11/20 3:03 AM, Maxime Ripard wrote: > > Hi, > > > > On Fri, Dec 11, 2020 at 09:24:15AM +0100, Wilken Gottwalt wrote: > >> Adds the sun8i_hwspinlock driver for the hardware spinlock unit found in > >> most of the sun8i compatible SoCs. >

Re: [PATCH] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete

2020-12-14 Thread Gorski, Mateusz
If dobj->control is not initialized we end up in an OOPs during skl_tplg_complete: [ 26.553358] BUG: kernel NULL pointer dereference, address: 0078 [ 26.561151] #PF: supervisor read access in kernel mode [ 26.566897] #PF: error_code(0x) - not-present page [ 26.572642] P

[RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting

2020-12-14 Thread Peter Zijlstra
We compute the average cost of the total scan, but then use it as a per-cpu scan cost when computing the scan proportion. Fix this by properly computing a per-cpu scan cost. This also fixes a bug where we would terminate early (!--nr, case) and not account that cost at all. Signed-off-by: Peter Z

Re: Linux 5.10

2020-12-14 Thread Mike Snitzer
On Mon, Dec 14 2020 at 11:44am -0500, Greg KH wrote: > On Mon, Dec 14, 2020 at 11:02:47AM -0500, Mike Snitzer wrote: > > On Mon, Dec 14 2020 at 12:52am -0500, > > Greg KH wrote: > > > > > On Mon, Dec 14, 2020 at 12:31:47AM -0500, Dave Jones wrote: > > > > On Sun, Dec 13, 2020 at 03:03:29PM -080

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2020-12-14 Thread Coly Li
On 12/14/20 11:30 PM, Dongdong Tao wrote: > Hi Coly and Dongsheng, > > I've get the testing result and confirmed that this testing result is > reproducible by repeating it many times. > I ran fio to get the write latency log and parsed the log and then > generated below latency graphs with some vi

Re: [PATCH V3 1/7] remoteproc: elf: support platform specific memory hook

2020-12-14 Thread Mathieu Poirier
On Thu, Dec 10, 2020 at 10:54:17AM -0600, Bjorn Andersson wrote: > On Sun 06 Dec 20:07 CST 2020, Peng Fan wrote: > > > Hi Bjorn, > > > > > Subject: Re: [PATCH V3 1/7] remoteproc: elf: support platform specific > > > memory hook > > > > > > On Fri 04 Dec 01:40 CST 2020, Peng Fan (OSS) wrote: > >

[RFC][PATCH 5/5] sched/fair: SIS_PROP the idle core scan

2020-12-14 Thread Peter Zijlstra
Further unify the new select_idle_cpu() loop and remove the 'smt' selection code and unconditionally use SIS_PROP, even for idle core searches. This effectively brings back the effects of select_idle_smt() which we removed a few patches ago due to always iterating the target core. Signed-off-by:

Re: [PATCH net-next v4 0/5] vsock: Add flags field in the vsock address

2020-12-14 Thread Stefano Garzarella
On Mon, Dec 14, 2020 at 06:11:17PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has been available in the mainline since the v5.5 Linux kernel has

Re: Urgent: BUG: PPP ioctl Transport endpoint is not connected

2020-12-14 Thread Guillaume Nault
On Wed, Dec 09, 2020 at 09:12:18PM +0200, Martin Zaharinov wrote: > > > > On 9 Dec 2020, at 20:10, Guillaume Nault wrote: > > > > On Wed, Dec 09, 2020 at 06:57:44PM +0200, Martin Zaharinov wrote: > >>> On 9 Dec 2020, at 18:40, Guillaume Nault wrote: > >>> On Wed, Dec 09, 2020 at 04:47:52PM +02

Re: [PATCH 2/2] soc: bcm: add PM driver for Broadcom's PMB

2020-12-14 Thread Rafał Miłecki
On 11.12.2020 23:08, Florian Fainelli wrote: On 12/11/20 1:59 PM, Rafał Miłecki wrote: From: Rafał Miłecki PMB can be found on BCM4908 and many other chipsets (e.g. BCM63138). It's needed to power on and off SoC blocks like PCIe, SATA, USB. Signed-off-by: Rafał Miłecki I will do a more tho

drivers/net/mdio/mdio-mux-mmioreg.c:91:25: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-14 Thread kernel test robot
months ago config: openrisc-randconfig-s031-20201214 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

Re: [sparc64] ftrace: kernel startup-tests unaligned access

2020-12-14 Thread Anatoly Pugachev
On Mon, Dec 14, 2020 at 7:26 PM Steven Rostedt wrote: > On Mon, 14 Dec 2020 11:15:12 -0500 Steven Rostedt wrote: > > > Does sparc64 require 8 byte alignment for 8 byte words? > > > > In other words, does this patch fix anything? > > -- Steve > > diff --git a/arch/Kconfig b/arch/Kconfig > index 56

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