RE: [PATCH 2/6] Drivers: hv: vmbus: Avoid double fetch of msgtype in vmbus_on_msg_dpc()

2020-12-06 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, November 18, 2020 6:37 AM > > vmbus_on_msg_dpc() double fetches from msgtype. The double fetch can > lead to an out-of-bound access when accessing the channel_message_table > array. In turn, the use of the out-of-bound entry could lead to code >

Re: [PATCH] staging: rtl8712: check register_netdev() return value

2020-12-06 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/shaojie-dong-isrc-iscas-ac-cn/staging-rtl8712-check-register_netdev-return-value/20201207-000540 base:

Re: [PATCH 4.19 11/32] ibmvnic: notify peers when failover and migration happen

2020-12-06 Thread Pavel Machek
Hi! > From: Lijun Pan > > [ Upstream commit 98025bce3a6200a0c4637272a33b5913928ba5b8 ] > > Commit 61d3e1d9bc2a ("ibmvnic: Remove netdev notify for failover resets") > excluded the failover case for notify call because it said > netdev_notify_peers() can cause network traffic to stall or halt.

[PATCH 3/3] perf tools: Allow to list events via control file

2020-12-06 Thread Jiri Olsa
Adding new control event to display all evlist events. The interface string for control file is 'list'. When received, perf will scan and print current evlist into perf record terminal. Example session: terminal 1: # mkfifo control ack perf.pipe # perf record

[PATCH 1/3] perf tools: Add evlist__disable_evsel/evlist__enable_evsel

2020-12-06 Thread Jiri Olsa
Adding interface to enable/disable single event in the evlist based on its name. It will be used later in new control enable/disable interface. Keeping the evlist::enabled true when one or more events are enabled so the toggle can work properly and toggle evlist to disabled state. Signed-off-by:

[PATCH 2/3] perf tools: Allow to enable/disable events via control file

2020-12-06 Thread Jiri Olsa
Adding new control events to enable/disable specific event. The interface string for control file are: 'enable-' 'disable-' when received the command, perf will scan the current evlist for and if found it's enabled/disabled. Example session: terminal 1: # mkfifo control ack

[PATCH 0/3] perf tools: Allow to enable/disable events via control pipe

2020-12-06 Thread Jiri Olsa
hi, adding support to enable/disable specific events via control file via following commands: # echo enable-sched:sched_process_fork > control # echo disabled-sched:sched_process_fork > control The code is available in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git

RE: [PATCH 1/6] Drivers: hv: vmbus: Initialize memory to be sent to the host

2020-12-06 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, November 18, 2020 6:37 AM > > __vmbus_open() and vmbus_teardown_gpadl() do not inizialite the memory > for the vmbus_channel_open_channel and the vmbus_channel_gpadl_teardown > objects they allocate respectively. These objects contain padding

[PATCH v3 2/5] ARM: dts: sun8i-v3s: Add the V3s NMI IRQ controller

2020-12-06 Thread Paul Kocialkowski
The V3s/V3 has a NMI interrupt controller, mainly used for the AXP209. Its address follows the system controller block, which was previously incorrectly described as spanning over 0x1000 address bytes. Even though this is what the Allwinner documentation indicates, precedence from other SoCs such

[PATCH v3 4/5] dt-bindings: arm: sunxi: Add SL631 with IMX179 bindings

2020-12-06 Thread Paul Kocialkowski
This adds documentation for the compatible strings of the SL631 Action Camera with IMX179. Note that the device is sold under various different names, such as the SJCAM SJ4000 Air or F60 Action Camera. This is a similar situation to the Q8 tablets and just like them, the allwinner vendor is used

[PATCH v3 1/5] dt-bindings: irq: sun7i-nmi: Add binding documentation for the V3s NMI

2020-12-06 Thread Paul Kocialkowski
The V3s NMI controller seems register-compatible with the A80 (sun9i). Add new items for the compatible string, with an entry specific to the V3s and the A80 entry. Signed-off-by: Paul Kocialkowski --- .../interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 3 +++ 1 file changed, 3

[PATCH v3 0/5] Allwinner V3 SL631 Action Camera Support and Related Fixes

2020-12-06 Thread Paul Kocialkowski
This series adds support for the Allwinner V3-based SL631 family of Action Cameras, starting with the IMX179 fashion. A few fixes to V3 support are added along the way, most notably support for the NMI IRQ controller which is necessary for the AXP209 IRQ. Note that some patches in this series

[PATCH v3 5/5] ARM: dts: sun8i-v3: Add support for the SL631 Action Camera with IMX179

2020-12-06 Thread Paul Kocialkowski
The SL631 is a family of Allwinner V3 action cameras sold under various names, such as SJCAM SJ4000 Air or F60 Action Camera. Devices in this family share a common board design but can be found with different image sensors, including the IMX179 and the OV4689. This adds support for a common dtsi

[PATCH v3 3/5] ARM: dts: sun8i: Cleanup the Pinecube AXP209 node

2020-12-06 Thread Paul Kocialkowski
This fixes a few things with the Pinecube AXP209 node: - No compatible is required since it is using an AXP209 (not AXP203) according to the schematics and this is what the included axp209.dtsi already has; - The interrupt-controller and #interrupt-cells properties are already described in

[PATCH v1 1/3] scsi: ufs: Distinguish between query REQ and query RSP in query trace

2020-12-06 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:

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

2020-12-06 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

[PATCH v1 0/3] Three fixes for the UPIU trace

2020-12-06 Thread Bean Huo
From: Bean Huo Bean Huo (3): scsi: ufs: Distinguish between query REQ and query RSP in query trace scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM UPIU trace scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM drivers/scsi/ufs/ufshcd.c |

[PATCH] dt-bindings: sram: Document Allwinner V3s bindings for system-control

2020-12-06 Thread Paul Kocialkowski
Add documentation about the Allwinner system-control bindings used for the V3s SoC. The bindings are already in use in the device-tree files and produced warnings in dt bindings checks. Signed-off-by: Paul Kocialkowski --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 3 +++

[PATCH v1 2/3] scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM UPIU trace

2020-12-06 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. Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v3 1/4] irq: export kstat_irqs

2020-12-06 Thread Thomas Gleixner
On Sat, Dec 05 2020 at 12:39, Jarkko Sakkinen wrote: > On Fri, Dec 04, 2020 at 06:43:37PM -0700, Jerry Snitselaar wrote: >> To try and detect potential interrupt storms that >> have been occurring with tpm_tis devices it was suggested >> to use kstat_irqs() to get the number of interrupts. >>

Re: [PATCH v3 2/4] drm/i915/pmu: Use kstat_irqs to get interrupt count

2020-12-06 Thread Thomas Gleixner
On Fri, Dec 04 2020 at 18:43, Jerry Snitselaar wrote: > Now that kstat_irqs is exported, get rid of count_interrupts in > i915_pmu.c > --- a/drivers/gpu/drm/i915/i915_pmu.c > +++ b/drivers/gpu/drm/i915/i915_pmu.c > @@ -423,22 +423,6 @@ static enum hrtimer_restart i915_sample(struct hrtimer >

Re: WARNING in __cfg80211_ibss_joined (2)

2020-12-06 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:7059c2c0 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11a1199b50 kernel config:

Re: [PATCH Xilinx Alveo 0/8] Xilinx Alveo/XRT patch overview

2020-12-06 Thread Tom Rix
On 11/28/20 4:00 PM, Sonal Santan wrote: > Hello, > > This patch series adds management physical function driver for Xilinx Alveo > PCIe > accelerator cards, https://www.xilinx.com/products/boards-and-kits/alveo.html > This driver is part of Xilinx Runtime (XRT) open source stack. A few general

[PATCH 2/2] habanalabs: allow user to pass a staged submission seq

2020-12-06 Thread Oded Gabbay
From: Ofir Bitton In order to support the staged submission feature, user must be allowed to use the same CS sequence for all submissions in the same staged submission. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

[PATCH] habanalabs: update firmware boot interface

2020-12-06 Thread Oded Gabbay
Update to latest firmware hl_boot_if.h file. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/include/common/hl_boot_if.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/misc/habanalabs/include/common/hl_boot_if.h b/drivers/misc/habanalabs/include/common/hl_boot_if.h

[PATCH] habanalabs: refactor MMU locks code

2020-12-06 Thread Oded Gabbay
From: Ohad Sharabi remove mmu_cache_lock as it protects a section which is already protected by mmu_lock. in addition, wrap mmu cache invalidate calls in hl_vm_ctx_fini with mmu_lock. Signed-off-by: Ohad Sharabi Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

[PATCH] habanalabs: Init the VM module for kernel context

2020-12-06 Thread Oded Gabbay
From: Ofir Bitton In order for reserving VA ranges for kernel memory, we need to allow the VM module to be initiated with kernel context. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/context.c | 16 +---

[PATCH 1/2] habanalabs/gaudi: support CS with no completion

2020-12-06 Thread Oded Gabbay
From: Ofir Bitton As part of the staged submission feature, we need Gaudi to support command submissions that will never get a completion. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/command_submission.c | 1 +

[PATCH] habanalabs/gaudi: remove duplicated gaudi packets masks

2020-12-06 Thread Oded Gabbay
From: Ofir Bitton As all packets use the same CTL register masks, we remove duplicated masks and use common masks instead. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 32 +--

!!!!! Ask Details For Relief

2020-12-06 Thread United Nations Covid-19 Relief Unit
You has been chosen via E-mail for the United Nations Covid-19 Relief F und, for more details reply to sangior...@aclipisa.it Best regards, Dr. Susan Marshal

[PATCH -tip v1 1/3] Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g

2020-12-06 Thread Ahmed S. Darwish
Sequence counters with an associated write serialization lock are called seqcount_LOCKNAME_t. Fix the documentation accordingly. While at it, remove a paragraph that inappropriately discussed a seqlock.h implementation detail. Fixes: 6dd699b13d53 ("seqlock: seqcount_LOCKNAME_t: Standardize

[PATCH -tip v1 2/3] seqlock: Prefix internal seqcount_t-only macros with a "do_"

2020-12-06 Thread Ahmed S. Darwish
When the seqcount_LOCKNAME_t group of data types were introduced, two classes of seqlock.h sequence counter macros were added: - An external public API which can either take a plain seqcount_t or any of the seqcount_LOCKNAME_t variants. - An internal API which takes only a plain

[PATCH -tip v1 3/3] seqlock: kernel-doc: Specify when preemption is automatically altered

2020-12-06 Thread Ahmed S. Darwish
The kernel-doc annotations for sequence counters write side functions are incomplete: they do not specify when preemption is automatically disabled and re-enabled. This has confused a number of call-site developers. Fix it. Link: https://lkml.kernel.org/r/20201030235121.gq2620...@nvidia.com

[PATCH -tip v1 0/3] seqlock: assorted cleanups

2020-12-06 Thread Ahmed S. Darwish
Hi, When the seqcount_LOCKNAME_t group of data types were introduced, two classes of seqlock.h sequence counter macros were added: - An external public API which can either take a plain seqcount_t or any of the seqcount_LOCKNAME_t variants. - An internal API which takes only a plain

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-06 Thread Thomas Gleixner
On Thu, Dec 03 2020 at 19:11, Maxim Levitsky wrote: > + case KVM_SET_TSC_STATE: { > + struct kvm_tsc_state __user *user_tsc_state = argp; > + struct kvm_tsc_state tsc_state; > + u64 host_tsc, wall_nsec; > + > + u64 new_guest_tsc,

Re: [PATCH] USB: dummy-hcd: Fix uninitialized array use in init()

2020-12-06 Thread Alan Stern
On Sun, Dec 06, 2020 at 06:24:05PM +0700, Bui Quang Minh wrote: > On Sat, Dec 05, 2020 at 10:15:11AM -0500, Alan Stern wrote: > > On Sat, Dec 05, 2020 at 07:47:01PM +0700, Minh Bùi Quang wrote: > > > Vào Th 6, 4 thg 12, 2020 vào lúc 23:12 Alan Stern > > > đã viết: > > > > Does this

Re: [PATCH] iov_iter: optimise iter type checking

2020-12-06 Thread Pavel Begunkov
On 21/11/2020 14:37, Pavel Begunkov wrote: > The problem here is that iov_iter_is_*() helpers check types for > equality, but all iterate_* helpers do bitwise ands. This confuses > compilers, so even if some cases were handled separately with > iov_iter_is_*(), corresponding ifs in iterate*()

Re: [linux-sunxi] [PATCH 2/8] pinctrl: sunxi: Add support for the Allwinner H616 pin controller

2020-12-06 Thread Icenowy Zheng
于 2020年12月6日 GMT+08:00 下午10:52:17, "André Przywara" 写到: >On 06/12/2020 12:42, Jernej Škrabec wrote: > >Hi, > >> Dne nedelja, 06. december 2020 ob 13:32:49 CET je Clément Péron >napisal(a): >>> Hi Andre, >>> >>> On Wed, 2 Dec 2020 at 14:54, Andre Przywara >wrote: Port A is used for an

Re: [PATCH] staging: rtl8712: check register_netdev() return value

2020-12-06 Thread Greg KH
On Sun, Dec 06, 2020 at 11:59:07PM +0800, shaojie.d...@isrc.iscas.ac.cn wrote: > From: "shaojie.dong" > > Function register_netdev() can fail, so we should check it's return value You just check it, you are not doing anything with it, which is just the same as not checking this. Please fix

[PATCH] staging: rtl8712: check register_netdev() return value

2020-12-06 Thread shaojie . dong
From: "shaojie.dong" Function register_netdev() can fail, so we should check it's return value Signed-off-by: shaojie.dong --- drivers/staging/rtl8712/hal_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/hal_init.c

Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module

2020-12-06 Thread Maximilian Luz
On 12/6/20 8:07 AM, Leon Romanovsky wrote: On Thu, Dec 03, 2020 at 10:26:31PM +0100, Maximilian Luz wrote: Hello, Here is version two of the Surface System Aggregator Module (SAM/SSAM) driver series, adding initial support for the embedded controller on 5th and later generation Microsoft

Re: [PATCH] KVM: mmu: Fix SPTE encoding of MMIO generation upper half

2020-12-06 Thread Maciej S. Szmigiero
On 06.12.2020 11:09, Paolo Bonzini wrote: On 05/12/20 01:48, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Commit cae7ed3c2cb0 ("KVM: x86: Refactor the MMIO SPTE generation handling") cleaned up the computation of MMIO generation SPTE masks, however it introduced a bug how the upper

Re: [NEEDS-REVIEW] [PATCH] do_exit(): panic() when double fault detected

2020-12-06 Thread Dave Hansen
On 12/6/20 5:10 AM, Vladimir Kondratiev wrote: > Double fault detected in do_exit() is symptom of integrity > compromised. For safety critical systems, it may be better to > panic() in this case to minimize risk. Does this fix a real problem that you have observed in practice? Or, is this a

[PATCH v3] checkpatch: add --fix option to include linux checks

2020-12-06 Thread Dwaipayan Ray
Add fix option to INCLUDE_LINUX and ARCH_INCLUDE_LINUX checks to replace asm includes. Macros of type: #include #include are corrected to: #include #include Signed-off-by: Dwaipayan Ray --- Changes in v3: - Add --fix option to ARCH_INCLUDE_LINUX check Changes in v2: - Use \Q..\E

Re: Fair Pay: Some interesting observations of symboldevelopment, Uni / I-T

2020-12-06 Thread Ywe Cærlyn
I also suggest the singular form La Dyas, for related languages. https://youtu.be/V4HVLWoUnl4 Den 03.12.2020 21:37, skrev Ywe Cærlyn: For people interested in subconscious interaction and symboldevelopment (which is a great part of business and related psychology), one should know that Uni is

Re: [PATCH v2 2/3] Input: atmel_mxt_ts - support wakeup methods

2020-12-06 Thread Linus Walleij
On Sat, Dec 5, 2020 at 6:48 AM Dmitry Osipenko wrote: > According to datasheets, chips like mXT1386 have a WAKE line, it is used > to wake the chip up from deep sleep mode before communicating with it via > the I2C-compatible interface. > > If the WAKE line is connected to a GPIO line, the line

[PATCH] dpaa2-mac: Add a missing of_node_put after of_device_is_available

2020-12-06 Thread Christophe JAILLET
Add an 'of_node_put()' call when a tested device node is not available. Fixes:94ae899b2096 ("dpaa2-mac: add PCS support through the Lynx module") Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v1 1/3] dt-bindings: input: atmel_mxt_ts: Document atmel,wakeup-method and wake-GPIO

2020-12-06 Thread Linus Walleij
On Sat, Dec 5, 2020 at 6:34 AM Dmitry Osipenko wrote: > Some Atmel touchscreen controllers have a WAKE line that needs to be > asserted low in order to wake up controller from a deep sleep. Document > the wakeup methods and the wake-GPIO properties. > > Signed-off-by: Dmitry Osipenko Looks

Re: [PATCH v1] gpio: dwapb: mask/unmask IRQ when disable/enable it

2020-12-06 Thread Linus Walleij
On Sat, Dec 5, 2020 at 11:15 PM Serge Semin wrote: > Hmm, that sounds like a problem, but the explanation is a bit unclear > to me. AFAICS you are saying that the only callbacks which are > called during the IRQ request/release are the irq_enable(), right? If > so then the only reason why we

Re: [linux-sunxi] [PATCH 2/8] pinctrl: sunxi: Add support for the Allwinner H616 pin controller

2020-12-06 Thread André Przywara
On 06/12/2020 12:42, Jernej Škrabec wrote: Hi, > Dne nedelja, 06. december 2020 ob 13:32:49 CET je Clément Péron napisal(a): >> Hi Andre, >> >> On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: >>> Port A is used for an internal connection to some analogue circuitry >>> which looks like an

[PATCH] perf arm pmu: fix build error on MUSL libc

2020-12-06 Thread Chanho Park
__always_inline can cause build error on musl libc. The fix patch has submitted but not merged yet[1]. To build perf tool with musl libc, inclusion is necessary and it should be included before perf_event.h. from /usr/include/linux/byteorder/little_endian.h:13, from

[GIT PULL] USB driver fixes for 5.10-rc7

2020-12-06 Thread Greg KH
The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da: Linux 5.10-rc6 (2020-11-29 15:50:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.10-rc7 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 5.10-rc7

2020-12-06 Thread Greg KH
The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da: Linux 5.10-rc6 (2020-11-29 15:50:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.10-rc7 for you to fetch changes up to

[GIT PULL] TTY fixes for 5.10-rc7

2020-12-06 Thread Greg KH
The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: Linux 5.10-rc5 (2020-11-22 15:36:08 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.10-rc7 for you to fetch changes up to

Re: [PATCH] mips: lib: uncached: fix uninitialized variable 'sp'

2020-12-06 Thread Maciej W. Rozycki
On Sun, 6 Dec 2020, Maciej W. Rozycki wrote: > I think this should be OK once the issues I mentioned here have been > addressed. Or alternatively making the variable global would possibly be a better fix as it would let the compiler decide if to waste another register to keep a copy of $sp.

Re: [PATCH] mm/memblock:use a more appropriate order calculation when free memblock pages

2020-12-06 Thread carver4lio
On 12/6/20 7:55 PM, Mike Rapoport wrote: > On Thu, Dec 03, 2020 at 11:23:10PM +0800, carver4...@163.com wrote: >> From: Hailong Liu >> >> When system in the booting stage, pages span from [start, end] of a memblock >> are freed to buddy in a order as large as possible (less than MAX_ORDER) at >>

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-06 Thread Sean Young
Hello Uwe, On Sat, Dec 05, 2020 at 08:25:10PM +0100, Uwe Kleine-König wrote: > On Sat, Dec 05, 2020 at 05:34:44PM +, Sean Young wrote: > > What real life uses-cases are there for round down? If you want to round > > down, is there any need for round up? > > The scenario I have in mind is for

[PATCH 1/1] x86/kprobes: Do not decode opcode in resume_execution()

2020-12-06 Thread Masami Hiramatsu
Currently kprobes x86 decodes opcode right after single stepping in resume_execution(). But it already decoded the opcode while preparing arch_specific_insn in arch_copy_kprobe(). This decodes opcode in arch_copy_kprobe() instead of resume_execution() and sets some flags which classifies the

[PATCH 0/1] x86/kprobes: Classify opcode while preparing kprobe

2020-12-06 Thread Masami Hiramatsu
Hi, I noticed that the kprobe x86 still has an inefficient code. Currently kprobes x86 decodes opcode right after single stepping in resume_execution(), which is kprobe's hot path. But it already decoded the opcode while preparing arch_specific_insn in arch_copy_kprobe(), so this is inefficient.

Re: [PATCH v15 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-12-06 Thread Johan Jonker
Hi Yifeng, Meanwhile, could you post a RFC version for Uboot based on this version plus comments, so people can test the whole process from programming, booting and kernel? On 11/30/20 1:49 PM, Johan Jonker wrote: > Hi, > > Looks good to me. > Do the maintainers or someone else have any major

Re: [PATCH v8 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-06 Thread Kalra, Ashish
> On Dec 6, 2020, at 4:58 AM, Paolo Bonzini wrote: > > On 04/12/20 18:23, Sean Christopherson wrote: >>> On Fri, Dec 04, 2020, Ashish Kalra wrote: >>> An immediate response, actually the SEV live migration patches are preferred >>> over the Page encryption bitmap patches, in other words, if

[PATCH 1/1] ionic: fix array overflow on receiving too many fragments for a packet

2020-12-06 Thread Xiaohui Zhang
From: Zhang Xiaohui If the hardware receives an oversized packet with too many rx fragments, skb_shinfo(skb)->frags can overflow and corrupt memory of adjacent pages. This becomes especially visible if it corrupts the freelist pointer of a slab page. Signed-off-by: Zhang Xiaohui ---

Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module

2020-12-06 Thread Maximilian Luz
On 12/6/20 12:41 PM, Leon Romanovsky wrote: On Sun, Dec 06, 2020 at 11:41:46AM +0100, Hans de Goede wrote: Hi, On 12/6/20 11:33 AM, Leon Romanovsky wrote: On Sun, Dec 06, 2020 at 11:04:06AM +0100, Hans de Goede wrote: But there is a difference between being careful and just nacking it

Re: [PATCH v3 6/7] input: atc260x: Add onkey driver for ATC260x PMICs

2020-12-06 Thread Cristian Ciocaltea
On Sat, Dec 05, 2020 at 07:13:19PM -0800, Dmitry Torokhov wrote: > On Sun, Dec 06, 2020 at 03:27:06AM +0200, Cristian Ciocaltea wrote: > > The Actions Semi ATC260x PMICs are able to manage an onkey button. > > This driver exposes the ATC260x onkey as an input device. It can also > > be configured

Re: memory leak in prepare_creds

2020-12-06 Thread Pavel Begunkov
On 28/11/2020 08:00, Hillf Danton wrote: > On Fri, 27 Nov 2020 19:47:15 -0800 >> syzbot has found a reproducer for the following issue on: >> >> HEAD commit:99c710c4 Merge tag 'platform-drivers-x86-v5.10-2' of git:/.. >> git tree: upstream >> console output:

[PATCH v6 4/5] ARM: dts: rockchip: add hdmi-sound node to rk3066a.dtsi

2020-12-06 Thread Johan Jonker
Add hdmi-sound node to rk3066a.dtsi, so that it can be reused by boards with HDMI support. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index

[PATCH v6 3/5] ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node

2020-12-06 Thread Johan Jonker
'#sound-dai-cells' is required to properly interpret the list of DAI specified in the 'sound-dai' property, so add them to the 'hdmi' node for 'rk3066a.dtsi'. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 5/5] ARM: dts: rockchip: enable hdmi_sound and i2s0 for rk3066a-mk808

2020-12-06 Thread Johan Jonker
Make some noise with mk808. Enable the hdmi_sound node and add i2s0 as sound source for hdmi. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a-mk808.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts

[PATCH v6 2/5] drm: rockchip: add sound support to rk3066 hdmi driver

2020-12-06 Thread Johan Jonker
From: Zheng Yang Add sound support to the rk3066 HDMI driver. The I2S input of the HDMI TX allows transmission of DVD-Audio and decoded Dolby Digital to A/V Receivers and high-end displays. The interface supports 2 to 8 channels audio up to 192 kHz. The HDMI TX supports variable word length of

[PATCH v6 1/5] dt-bindings: display: add #sound-dai-cells property to rockchip rk3066 hdmi

2020-12-06 Thread Johan Jonker
'#sound-dai-cells' is required to properly interpret the list of DAI specified in the 'sound-dai' property. Add it to rockchip,rk3066-hdmi.yaml to document that the rk3066 HDMI TX also can be used to transmit some audio. Signed-off-by: Johan Jonker ---

[PATCH v6 0/5] Enable rk3066a HDMI sound

2020-12-06 Thread Johan Jonker
Update the rk3066a HDMI documents with a #sound-dai-cells property. Include the code for sound in the HDMI driver. Add a simple-sound-card compatible node to rk3066a.dtsi, because I2S0 and HDMI TX are connected internally. And as last enable rk3066a HDMI sound in the rk3066a-mk808.dts file. make

[PATCH 0/3] MIPS: Add vulnerabilities

2020-12-06 Thread Jiaxun Yang
Add vulnerabilities display for MIPS. Jiaxun Yang (3): MIPS: Add vulnerabilities infrastructure MIPS: cpu-probe: Vulnerabilities for MIPS cores MIPS: cpu-probe: Vulnerabilities for Loongson cores arch/mips/Kconfig| 1 + arch/mips/include/asm/cpu-info.h | 5

[PATCH v2 2/2] dt-bindings: net: dsa: lantiq, lantiq-gswip: add example for xRX330

2020-12-06 Thread Aleksander Jan Bajkowski
Add compatible string and example for xRX300 and xRX330. Signed-off-by: Aleksander Jan Bajkowski --- .../bindings/net/dsa/lantiq-gswip.txt | 110 +- 1 file changed, 109 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt

[PATCH v2 1/2] net: dsa: lantiq: allow to use all GPHYs on xRX300 and xRX330

2020-12-06 Thread Aleksander Jan Bajkowski
This patch allows to use all PHYs on GRX300 and GRX330. The ARX300 has 3 and the GRX330 has 4 integrated PHYs connected to different ports compared to VRX200. Port configurations: xRX200: GMAC0: RGMII/MII/REVMII/RMII port GMAC1: RGMII/MII/REVMII/RMII port GMAC2: GPHY0 (GMII) GMAC3: GPHY0 (MII)

[PATCH v2 0/2] net: dsa: lantiq: add support for xRX300 and xRX330

2020-12-06 Thread Aleksander Jan Bajkowski
From: Aleksander Jan Bajkowski Changed since v1: * gswip_mii_mask_cfg() can now change port 3 on xRX330 * changed alowed modes on port 0 and 5 for xRX300 and xRX330 * moved common part of phylink validation into gswip_phylink_set_capab() * verify the compatible

Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module

2020-12-06 Thread Maximilian Luz
On 12/6/20 12:30 PM, Leon Romanovsky wrote: On Sun, Dec 06, 2020 at 11:33:40AM +0100, Maximilian Luz wrote: On 12/6/20 10:06 AM, Leon Romanovsky wrote:> On Sun, Dec 06, 2020 at 05:58:32PM +0900, Blaž Hrastnik wrote: More on that, the whole purpose of proposed interface is to debug and

[GIT pull] locking/urgent for v5.10-rc7

2020-12-06 Thread Thomas Gleixner
Linus, please pull the latest locking/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2020-12-06 up to: 4d916140bf28: intel_idle: Build fix A tiny build fix for a recent change in the intel_idle driver which missed a CONFIG dependency and

[GIT pull] x86/urgent for v5.10-rc7

2020-12-06 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-12-06 up to: 84da009f06e6: x86/sev-es: Use new for_each_insn_prefix() macro to loop over prefixes bytes A set of fixes for x86: - Make the AMD L3 QoS code and

[GIT pull] irq/urgent for v5.10-rc7

2020-12-06 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-12-06 up to: 9ea69a55b3b9: powerpc/pseries: Pass MSI affinity to irq_create_mapping() A set of updates for the interrupt subsystem: - Make multiqueue devices

[GIT pull] perf/urgent for v5.10-rc7

2020-12-06 Thread Thomas Gleixner
Linus, please pull the latest perf/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2020-12-06 up to: fc17db8aa4c5: perf/x86/intel: Check PEBS status correctly Two fixes for performance monitoring on X86: - Add recursion protection to another

[PATCH] do_exit(): panic() when double fault detected

2020-12-06 Thread Vladimir Kondratiev
Double fault detected in do_exit() is symptom of integrity compromised. For safety critical systems, it may be better to panic() in this case to minimize risk. Signed-off-by: Vladimir Kondratiev --- Documentation/admin-guide/kernel-parameters.txt | 5 + include/linux/kernel.h

Re: [GIT PULL] Kbuild fixes for v5.10-rc6

2020-12-06 Thread Masahiro Yamada
The email subject should be "Kbuild fixes for v5.10-rc7", not for v5.10-rc6. On Sun, Dec 6, 2020 at 9:47 PM Masahiro Yamada wrote: > > Hi Linus, > > Please pull some more Kbuild fixes for v5.10 > Thanks. > > > > The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: > >

Re: [linux-sunxi] [PATCH 8/8] arm64: dts: allwinner: Add OrangePi Zero 2 .dts

2020-12-06 Thread Clément Péron
Hi Andre, On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: > > The OrangePi Zero 2 is a development board with the new H616 SoC. > > It features the usual connectors used on those small boards, and comes > with the AXP305, which seems to be compatible with the AXP805. > > For more details see:

[GIT PULL] Kbuild fixes for v5.10-rc6

2020-12-06 Thread Masahiro Yamada
Hi Linus, Please pull some more Kbuild fixes for v5.10 Thanks. The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: Linux 5.10-rc5 (2020-11-22 15:36:08 -0800) are available in the Git repository at:

Re: [linux-sunxi] [PATCH 2/8] pinctrl: sunxi: Add support for the Allwinner H616 pin controller

2020-12-06 Thread Jernej Škrabec
Dne nedelja, 06. december 2020 ob 13:32:49 CET je Clément Péron napisal(a): > Hi Andre, > > On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: > > Port A is used for an internal connection to some analogue circuitry > > which looks like an AC200 IP (as in the H6), though this is not > >

[PATCH RFD] thermal: core: Browse the trip points in reverse order and exit

2020-12-06 Thread Daniel Lezcano
When reading the code it is unclear if the loop is there to handle one trip point or all the trip points above a certain temperature. With the current code, the throttle function is called for every trip point crossed and it is ambiguous if that is made on purpose. Even digging into the history

Re: [linux-sunxi] [PATCH 2/8] pinctrl: sunxi: Add support for the Allwinner H616 pin controller

2020-12-06 Thread Clément Péron
Hi Andre, On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: > > Port A is used for an internal connection to some analogue circuitry > which looks like an AC200 IP (as in the H6), though this is not > mentioned in the manual. > > Signed-off-by: Andre Przywara > --- >

cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8568mds.dtb.dts.tmp: No such file or directory

2020-12-06 Thread kernel test robot
ago config: powerpc-randconfig-r032-20201206 (attached as .config) compiler: powerpc-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/atm/horizon.c:365:9: sparse: sparse: incorrect type in argument 1 (different base types)

2020-12-06 Thread kernel test robot
-s031-20201206 (attached as .config) compiler: microblaze-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 # sparse version: v0.6.3

[PATCH 1/2] interconnect: imx: Add a missing of_node_put after of_device_is_available

2020-12-06 Thread Christophe JAILLET
Add an 'of_node_put()' call when a tested device node is not available. Fixes: f0d8048525d7 ("interconnect: Add imx core driver") Signed-off-by: Christophe JAILLET --- drivers/interconnect/imx/imx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/imx/imx.c

Re: WARN_ON_ONCE

2020-12-06 Thread Dmitry Vyukov
On Sat, Dec 5, 2020 at 1:05 PM Michael Ellerman wrote: > > Alexey Kardashevskiy writes: > > On 04/12/2020 12:25, Michael Ellerman wrote: > >> Dmitry Vyukov writes: > >>> On Thu, Dec 3, 2020 at 10:19 AM Dmitry Vyukov wrote: > On Thu, Dec 3, 2020 at 10:10 AM Alexey Kardashevskiy >

[PATCH 2/2] interconnect: imx: Remove a useless test

2020-12-06 Thread Christophe JAILLET
'dn' can't be NULL here, it is tested just the line above. Remove this useless test. Signed-off-by: Christophe JAILLET --- drivers/interconnect/imx/imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/imx/imx.c b/drivers/interconnect/imx/imx.c index

Re: [PATCH] mm/memblock:use a more appropriate order calculation when free memblock pages

2020-12-06 Thread Mike Rapoport
On Thu, Dec 03, 2020 at 11:23:10PM +0800, carver4...@163.com wrote: > From: Hailong Liu > > When system in the booting stage, pages span from [start, end] of a memblock > are freed to buddy in a order as large as possible (less than MAX_ORDER) at > first, then decrease gradually to a proper

[PATCH 5.4 18/39] chelsio/chtls: fix panic during unload reload chtls

2020-12-06 Thread Greg Kroah-Hartman
From: Vinay Kumar Yadav [ Upstream commit e3d5e971d2f83d8ddd4b91a50cea4517fb488383 ] there is kernel panic in inet_twsk_free() while chtls module unload when socket is in TIME_WAIT state because sk_prot_creator was not preserved on connection socket. Fixes: cc35c88ae4db ("crypto : chtls - CPL

[PATCH 5.4 25/39] cxgb3: fix error return code in t3_sge_alloc_qset()

2020-12-06 Thread Greg Kroah-Hartman
From: Zhang Changzhong [ Upstream commit ff9924897f8bfed82e61894b373ab9d2dfea5b10 ] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: b1fb1f280d09 ("cxgb3 - Fix dma mapping error path") Reported-by: Hulk Robot

[PATCH 5.4 03/39] net/af_iucv: set correct sk_protocol for child sockets

2020-12-06 Thread Greg Kroah-Hartman
From: Julian Wiedmann [ Upstream commit c5dab0941fcdc9664eb0ec0d4d51433216d91336 ] Child sockets erroneously inherit their parent's sk_type (ie. SOCK_*), instead of the PF_IUCV protocol that the parent was created with in iucv_sock_create(). We're currently not using sk->sk_protocol ourselves,

[PATCH 5.4 04/39] net/tls: missing received data after fast remote close

2020-12-06 Thread Greg Kroah-Hartman
From: Vadim Fedorenko [ Upstream commit 20ffc7adf53a5fd3d19751fbff7895bcca66686e ] In case when tcp socket received FIN after some data and the parser haven't started before reading data caller will receive an empty buffer. This behavior differs from plain TCP socket and leads to special

[PATCH 5.4 28/39] chelsio/chtls: fix a double free in chtls_setkey()

2020-12-06 Thread Greg Kroah-Hartman
From: Dan Carpenter [ Upstream commit 391119fb5c5c4bdb4d57c7ffeb5e8d18560783d1 ] The "skb" is freed by the transmit code in cxgb4_ofld_send() and we shouldn't use it again. But in the current code, if we hit an error later on in the function then the clean up code will call kfree_skb(skb) and

[PATCH 5.4 06/39] rose: Fix Null pointer dereference in rose_send_frame()

2020-12-06 Thread Greg Kroah-Hartman
From: Anmol Karn [ Upstream commit 3b3fd068c56e3fbea30090859216a368398e39bf ] rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in

[PATCH 5.4 34/39] net/mlx5: Fix wrong address reclaim when command interface is down

2020-12-06 Thread Greg Kroah-Hartman
From: Eran Ben Elisha [ Upstream commit 1d2bb5ad89f47d8ce8aedc70ef85059ab3870292 ] When command interface is down, driver to reclaim all 4K page chucks that were hold by the Firmeware. Fix a bug for 64K page size systems, where driver repeatedly released only the first chunk of the page.

<    1   2   3   4   5   6   7   >