RE: [PATCH v2 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-10-08 Thread Ryan Chen
> -Original Message- > From: Greg KH > Sent: Friday, October 9, 2020 1:47 PM > To: Joel Stanley > Cc: Ryan Chen ; Andrew Jeffery > ; Linux ARM ; > linux-aspeed ; Linux Kernel Mailing List > ; linux-...@vger.kernel.org; BMC-SW > ; Alan Stern > Subject: Re: [PATCH v2 1/3] configs: aspeed:

Re: [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for the oneplus6

2020-10-08 Thread Wolfram Sang
On Fri, Oct 09, 2020 at 10:56:15AM +0530, Akash Asthana wrote: > On 10/7/2020 11:19 PM, Caleb Connolly wrote: > > The OnePlus 6/T has the same issues as the c630 causing a crash when DMA > > is used for i2c, so disable it. > > > > https://patchwork.kernel.org/patch/11133827 > > Reviewed-by:

[gustavoars-linux:for-next/clang-ft 1/3] drivers/mtd/chips/cfi_cmdset_0002.c:981:1: warning: non-void function does not return a value in all control paths

2020-10-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/clang-ft head: de6b606b07e40c037ed4f83b53ee541692a78c6e commit: 19be9a9946b4bf79ad752f4d1376509fb69e9250 [1/3] treewide: Fix fall-through warnings for Clang config: riscv-randconfig-r004-20201009 (attached as

[gustavoars-linux:for-next/clang-ft 2/3] drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:6318:2: warning: unannotated fall-through between switch labels

2020-10-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/clang-ft head: de6b606b07e40c037ed4f83b53ee541692a78c6e commit: 7d30604536de43168b1eae0a4a938bcbca7786d2 [2/3] Revert "kbuild: Do not enable -Wimplicit-fallthrough for clang for now" config:

Re: [PATCH] docs: Make automarkup ready for Sphinx 3.1+

2020-10-08 Thread Mauro Carvalho Chehab
Em Thu, 08 Oct 2020 13:54:59 + Nícolas F. R. A. Prado escreveu: > On Thu Oct 8, 2020 at 2:27 AM -03, Mauro Carvalho Chehab wrote: > > > > Hi Nícolas, > > > > Em Wed, 07 Oct 2020 23:12:25 + > > Nícolas F. R. A. Prado escreveu: > > > > > While Sphinx 2 used a single c:type role for

Re: [PATCH v3 7/8] mm/mempolicy: use a standard migration target allocation callback

2020-10-08 Thread Hugh Dickins
On Thu, 8 Oct 2020, Mike Kravetz wrote: > On 10/7/20 8:21 PM, Hugh Dickins wrote: > > > > Mike, j'accuse... your 5.7 commit c0d0381ade79 ("hugetlbfs: > > use i_mmap_rwsem for more pmd sharing synchronization"), in which > > unmap_and_move_huge_page() now passes the TTU_RMAP_LOCKED flag to > >

Re: [PATCH v2 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-10-08 Thread Greg KH
On Fri, Oct 09, 2020 at 04:55:19AM +, Joel Stanley wrote: > On Fri, 9 Oct 2020 at 04:45, Greg KH wrote: > > > > On Fri, Oct 09, 2020 at 10:49:35AM +0800, Ryan Chen wrote: > > > v2: > > > -Changed : Add SCSI, BLK_DEV_SD, USB_STORAGE support. > > > v1: > > > -Enable UHCI driver in

Re: [PATCH v3 seccomp 2/5] seccomp/cache: Add "emulator" to check if filter is constant allow

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 11:47:17PM -0500, YiFei Zhu wrote: > On Wed, Sep 30, 2020 at 10:20 AM YiFei Zhu wrote: > > @@ -544,7 +577,8 @@ static struct seccomp_filter > > *seccomp_prepare_filter(struct sock_fprog *fprog) > > { > > struct seccomp_filter *sfilter; > > int ret; > > -

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

2020-10-08 Thread Viresh Kumar
On 08-10-20, 17:00, Nicola Mazzucato wrote: > On 10/8/20 4:03 PM, Ionela Voinescu wrote: > > Hi Viresh, > > > > On Thursday 08 Oct 2020 at 16:32:41 (+0530), Viresh Kumar wrote: > >> On 07-10-20, 13:58, Nicola Mazzucato wrote: > >>> Hi Viresh, > >>> > >>> performance controls is what is exposed by

[PATCH] powerpc/8xx: Fix instruction TLB miss exception with perf enabled

2020-10-08 Thread Christophe Leroy
When perf is enabled, r11 must also be restored when CONFIG_HUGETLBFS is selected. Fixes: a891c43b97d3 ("powerpc/8xx: Prepare handlers for _PAGE_HUGE for 512k pages.") Cc: sta...@vger.kernel.org Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 2 +- 1 file changed, 1

Re: [PATCH v3 seccomp 3/5] seccomp/cache: Lookup syscall allowlist for fast path

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 07:17:39PM -0500, YiFei Zhu wrote: > On Wed, Sep 30, 2020 at 4:32 PM Kees Cook wrote: > > > > On Wed, Sep 30, 2020 at 10:19:14AM -0500, YiFei Zhu wrote: > > > From: YiFei Zhu > > > > > > The fast (common) path for seccomp should be that the filter permits > > > the

xfrm:fragmented ipv4 tunnel packets in inner interface

2020-10-08 Thread Lina Wang
In esp's tunnel mode,if inner interface is ipv4,outer is ipv4,one big packet which travels through tunnel will be fragmented with outer interface's mtu,peer server will remove tunnelled esp header and assemble them in big packet.After forwarding such packet to next endpoint,it will be dropped

Re: drivers/crypto/chelsio/chcr_ktls.c:1078: undefined reference to `tls_get_record'

2020-10-08 Thread Randy Dunlap
On 8/7/20 9:16 AM, kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 86cfccb66937dd6cbf26ed619958b9e587e6a115 commit: 5a4b9fe7fece62ecab6fb28fe92362f83b41c33e cxgb4/chcr: complete record tx handling date: 5 months ago config:

Re: [PATCH v3 5/5] platform/surface: Move Surface Pro 3 Button driver to platform/surface

2020-10-08 Thread Chen Yu
On Thu, Oct 08, 2020 at 04:34:55PM +0200, Maximilian Luz wrote: > Move the Surface Pro 3 Button driver from platform/x86 to the newly > created platform/surface directory. > > Signed-off-by: Maximilian Luz > Acked-by: Chen Yu Thanks! best, Chenyu

Re: [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for the oneplus6

2020-10-08 Thread Akash Asthana
On 10/7/2020 11:19 PM, Caleb Connolly wrote: The OnePlus 6/T has the same issues as the c630 causing a crash when DMA is used for i2c, so disable it. https://patchwork.kernel.org/patch/11133827 Reviewed-by: Akash Asthana Signed-off-by: Caleb Connolly ---

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-08 Thread Joel Stanley
On Thu, 1 Oct 2020 at 04:30, Andrew Jeffery wrote: > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > to a panic in memcpy() when injecting a kprobe despite the fixes found > in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with > FORTIFY_SOURCE") and

[gustavoars-linux:for-next/clang-ft 2/3] drivers/media/dvb-frontends/m88ds3103.c:910:2: warning: unannotated fall-through between switch labels

2020-10-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/clang-ft head: de6b606b07e40c037ed4f83b53ee541692a78c6e commit: 7d30604536de43168b1eae0a4a938bcbca7786d2 [2/3] Revert "kbuild: Do not enable -Wimplicit-fallthrough for clang for now" config:

Re: [PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Viresh Kumar
On 09-10-20, 12:42, Hector Yuan wrote: > On Fri, 2020-10-09 at 09:49 +0530, Viresh Kumar wrote: > > On 08-10-20, 20:13, Hector Yuan wrote: > > > From: "Hector.Yuan" > > > > > > Register CPU power table to energy model framework > > > > > > Signed-off-by: Hector.Yuan > > > --- > > >

Re: [RFC V2] dt-bindings: mailbox : arm,mhuv2: Add bindings

2020-10-08 Thread Viresh Kumar
On 08-10-20, 09:30, Rob Herring wrote: > On Wed, Oct 7, 2020 at 10:28 AM Viresh Kumar wrote: > > + clock-names: > > +items: > > + - const: apb_pclk > > Just 'maxItems: 1' is fine here as the name is already defined. > > > + > > + arm-mhuv2-mode: > > arm,mhuv2-mode. This is what I

linux-next: manual merge of the rcu tree with the tip tree

2020-10-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rcu tree got a conflict in: include/linux/lockdep.h between commit: a046a86082cc ("lockdep: Fix lockdep recursion") from the tip tree and commit: 0eb8743dc570 ("lockdep: Cleanup PREEMPT_COUNT leftovers") from the rcu tree. I fixed it up (see

Re: [PATCH] char: ppdev: check if ioctl argument is present and valid

2020-10-08 Thread Greg KH
On Thu, Oct 08, 2020 at 11:57:13PM +0530, Harshal Chaudhari wrote: > Checking the argument passed to the ioctl is valid > or not. if not then return -EINVAL. Along the the comments that Arnd made, this is not the correct value to be returning from an ioctl when you don't pass in the correct

Re: [PATCH v2 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-10-08 Thread Joel Stanley
On Fri, 9 Oct 2020 at 04:45, Greg KH wrote: > > On Fri, Oct 09, 2020 at 10:49:35AM +0800, Ryan Chen wrote: > > v2: > > -Changed : Add SCSI, BLK_DEV_SD, USB_STORAGE support. > > v1: > > -Enable UHCI driver in aspeed_g5_defconfig. > > > > Signed-off-by: Ryan Chen > > Why do you need this in a

Re: [PATCH v9 3/3] Wire UFFD up to SELinux

2020-10-08 Thread Eric Biggers
On Wed, Sep 23, 2020 at 12:33:24PM -0700, Lokesh Gidra wrote: > > [PATCH v9 3/3] Wire UFFD up to SELinux Seems that this isn't a very good description of the patch, since it isn't SELinux-specific? - Eric

Re: [PATCH v3 seccomp 2/5] seccomp/cache: Add "emulator" to check if filter is constant allow

2020-10-08 Thread YiFei Zhu
On Wed, Sep 30, 2020 at 10:20 AM YiFei Zhu wrote: > @@ -544,7 +577,8 @@ static struct seccomp_filter > *seccomp_prepare_filter(struct sock_fprog *fprog) > { > struct seccomp_filter *sfilter; > int ret; > - const bool save_orig = IS_ENABLED(CONFIG_CHECKPOINT_RESTORE); > +

Re: [PATCH v9 1/3] Add a new LSM-supporting anonymous inode interface

2020-10-08 Thread Eric Biggers
On Wed, Sep 23, 2020 at 12:33:22PM -0700, Lokesh Gidra wrote: > +static struct file *_anon_inode_getfile(const char *name, > + const struct file_operations *fops, > + void *priv, int flags, > +

Re: [PATCH v2 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-10-08 Thread Greg KH
On Fri, Oct 09, 2020 at 10:49:35AM +0800, Ryan Chen wrote: > v2: > -Changed : Add SCSI, BLK_DEV_SD, USB_STORAGE support. > v1: > -Enable UHCI driver in aspeed_g5_defconfig. > > Signed-off-by: Ryan Chen Why do you need this in a defconfig?

Re: [PATCH v2 2/3] usb: host: add uhci compatible support for ast2600-uhci

2020-10-08 Thread Greg KH
On Fri, Oct 09, 2020 at 10:49:36AM +0800, Ryan Chen wrote: > v2: > - Fix continuation lines, align with "of_device" > v1: > - Add support for AST2600 SOC UHCI driver. These all go below the --- line, as the kernel documentation asks for. > Signed-off-by: Ryan Chen You have no changelog text

Re: [PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Hector Yuan
On Fri, 2020-10-09 at 09:49 +0530, Viresh Kumar wrote: > On 08-10-20, 20:13, Hector Yuan wrote: > > From: "Hector.Yuan" > > > > Register CPU power table to energy model framework > > > > Signed-off-by: Hector.Yuan > > --- > > drivers/cpufreq/mediatek-cpufreq-hw.c | 50 > >

Re: [f2fs-dev] [f2fs bug] infinite loop in f2fs_get_meta_page_nofail()

2020-10-08 Thread jaegeuk
On 10/09, Chao Yu wrote: > On 2020/10/9 9:50, jaeg...@kernel.org wrote: > > On 10/09, Chao Yu wrote: > > > On 2020/10/8 5:53, jaeg...@kernel.org wrote: > > > > On 10/07, Eric Biggers wrote: > > > > > [moved linux-fsdevel to Bcc] > > > > > > > > > > On Wed, Oct 07, 2020 at 02:18:19AM -0700, syzbot

Re: [PATCH v2] f2fs: f2fs_get_meta_page_nofail should not be failed

2020-10-08 Thread jaegeuk
Otherwise, f2fs can break the the consistency. (e.g., BUG_ON in f2fs_get_sum_page) Then, this reveals another issue where we go into an infinite loop on normal error case. It turns out we abused f2fs_get_meta_page_nofail() in this path. - f2fs_fill_super - f2fs_build_segment_manager -

Re: [PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Hector Yuan
On Thu, 2020-10-08 at 13:55 +0100, Lukasz Luba wrote: > Hi Hector, > > On 10/8/20 1:13 PM, Hector Yuan wrote: > > From: "Hector.Yuan" > > > > Register CPU power table to energy model framework > > > > Signed-off-by: Hector.Yuan > > --- > > drivers/cpufreq/mediatek-cpufreq-hw.c | 50 > >

Re: [PATCH v2] media: mtk-vcodec: fix builds when remoteproc is disabled

2020-10-08 Thread Alexandre Courbot
On Fri, Oct 9, 2020 at 1:13 AM Hans Verkuil wrote: > > On 08/10/2020 16:02, Alexandre Courbot wrote: > > Hi Hans, thanks for taking the time to look at this! > > > > On Thu, Oct 8, 2020 at 10:12 PM Hans Verkuil > > wrote: > >> > >> On 08/10/2020 15:07, Hans Verkuil wrote: > >>> Hi Alexandre, >

Re: [PATCH] irqbypass: fix error handle when irq_bypass_register_producer() return fails

2020-10-08 Thread gchen chen
Alex Williamson 于2020年9月30日周三 下午10:09写道: > > > Please version your postings so we know which one to consider as the > current proposal. > > On Wed, 30 Sep 2020 20:54:39 +0800 > guomin_c...@sina.com wrote: > > > From: guomin chen > > > > When the producer object registration fails,In the future,

[git pull] drm amdgpu fixes for 5.9 final

2020-10-08 Thread Dave Airlie
Hi Linus, Fixes trickling in this week, Alex had a final fix for the newest GPU they introduced in rc1, along with one build regression and one crasher fix. Cross my fingers that's it for 5.9. Dave. drm-fixes-2020-10-09: drm amdgpu fixes for 5.9 final amdgpu: - Fix a crash on renoir if you

linux-next: build failure after merge of the tip tree

2020-10-08 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (perf) failed like this: In file included from tools/include/linux/build_bug.h:5, from tools/include/linux/kernel.h:8, from util/intel-pt-decoder/intel-pt-insn-decoder.c:7:

[PATCH] spi: imx: Revert "spi: imx: enable runtime pm support"

2020-10-08 Thread Christian Eggers
This reverts commit 525c9e5a32bd7951eae3f06d9d077fea51718a6c. If CONFIG_PM is disabled, the system completely freezes on probe as nothing enables the clock of the SPI peripheral. Signed-off-by: Christian Eggers --- drivers/spi/spi-imx.c | 121 -- 1 file

Re: linux-next: Fixes tag needs some work in the powerpc tree

2020-10-08 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > In commit > > a2d0230b91f7 ("cpufreq: powernv: Fix frame-size-overflow in > powernv_cpufreq_reboot_notifier") > > Fixes tag > > Fixes: cf30af76 ("cpufreq: powernv: Set the cpus to nominal frequency > during reboot/kexec") Gah. I've changed my

Re: [PATCH] MAINTAINERS: Update entry for st7703 driver after the rename

2020-10-08 Thread Lukas Bulwahn
continues to complain: warning: no file matches F: Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt warning: no file matches F: drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c This patch cleanly applies on next-20201008 and resolves the issue above. Reviewed-by: Luka

[tip:perf/core] BUILD SUCCESS 84ad70320241566e028ada955c694ab92f3351e3

2020-10-08 Thread kernel test robot
allnoconfig x86_64 randconfig-a004-20201008 x86_64 randconfig-a003-20201008 x86_64 randconfig-a005-20201008 x86_64 randconfig-a001-20201008 x86_64 randconfig-a002-20201008 x86_64 randconfig-a006

Re: [PATCH] mm: mmap: Fix general protection fault in unlink_file_vma()

2020-10-08 Thread Andrew Morton
On Thu, 8 Oct 2020 07:17:18 + linmiaohe wrote: > Andrew Morton wrote: > > On Wed, 16 Sep 2020 05:07:33 -0400 Miaohe Lin wrote: > > > >> The syzbot reported the below general protection fault: > >> > >> general protection fault, probably for non-canonical address > >> 0xe00eeaee003b:

Re: [PATCH v2 0/4] mailbox: arm_mhu: Add ARM MHU doorbell controller driver

2020-10-08 Thread Viresh Kumar
On 08-10-20, 20:14, Sudeep Holla wrote: > Hi, > > These series adds ARM MHU doorbell controller driver based on the > discussion[1]. The DT patches are just repost from Viresh's last posting[2] > > Regards, > Sudeep > > v1[3]->v2: > - No updates to binding patches(1-2) > - Fixed

Re: [PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Viresh Kumar
On 08-10-20, 20:13, Hector Yuan wrote: > From: "Hector.Yuan" > > Register CPU power table to energy model framework > > Signed-off-by: Hector.Yuan > --- > drivers/cpufreq/mediatek-cpufreq-hw.c | 50 > + > 1 file changed, 38 insertions(+), 12 deletions(-) I

Re: [PATCH 5/5] dmaengine: owl-dma: fix kernel-doc style for enum

2020-10-08 Thread Vinod Koul
On 08-10-20, 19:34, Manivannan Sadhasivam wrote: > On Wed, Oct 07, 2020 at 02:01:13PM +0530, Vinod Koul wrote: > > Driver doesn't use keyword enum for enum owl_dmadesc_offsets resulting > > in warning: > > > > drivers/dma/owl-dma.c:139: warning: cannot understand function prototype: > > 'enum

Re: [PATCH] module: statically initialize init section freeing data

2020-10-08 Thread Eric Biggers
On Thu, Oct 08, 2020 at 01:32:20PM -0400, Daniel Jordan wrote: > Corentin hit the following workqueue warning when running with > CRYPTO_MANAGER_EXTRA_TESTS: > > WARNING: CPU: 2 PID: 147 at kernel/workqueue.c:1473 __queue_work+0x3b8/0x3d0 > Modules linked in: ghash_generic > CPU: 2 PID: 147

[PATCH] MAINTAINERS: rectify ZR36067 VIDEO FOR LINUX DRIVER section

2020-10-08 Thread Lukas Bulwahn
matches F: Documentation/media/v4l-drivers/zoran.rst Point the file entry to the right location and move the section to the right place in MAINTAINERS. Signed-off-by: Lukas Bulwahn --- applies cleanly on next-20201008 Corentin, please ack. Mauro, please pick this minor non-urgent cleanup patch into

Re: [External] Re: [RFC PATCH 00/24] mm/hugetlb: Free some vmemmap pages of hugetlb page

2020-10-08 Thread Muchun Song
On Thu, Oct 8, 2020 at 5:15 AM Mike Kravetz wrote: > > On 9/29/20 2:58 PM, Mike Kravetz wrote: > > On 9/15/20 5:59 AM, Muchun Song wrote: > >> Hi all, > >> > >> This patch series will free some vmemmap pages(struct page structures) > >> associated with each hugetlbpage when preallocated to save

Re: [PATCH v1 1/1] PCI/ERR: don't clobber status after reset_link()

2020-10-08 Thread Hedi Berriche
On Fri, Oct 09, 2020 at 05:09 Hedi Berriche wrote: On Fri, Oct 09, 2020 at 04:46 Raj, Ashok wrote: Hi Ashok, Thanks for looking into this. On Fri, Oct 09, 2020 at 03:52:51AM +0100, Hedi Berriche wrote: Commit 6d2c89441571 ("PCI/ERR: Update error status after reset_link()") changed

Re: [PATCH v1 1/1] PCI/ERR: don't clobber status after reset_link()

2020-10-08 Thread Hedi Berriche
On Fri, Oct 09, 2020 at 04:46 Raj, Ashok wrote: Hi Ashok, Thanks for looking into this. On Fri, Oct 09, 2020 at 03:52:51AM +0100, Hedi Berriche wrote: Commit 6d2c89441571 ("PCI/ERR: Update error status after reset_link()") changed pcie_do_recovery() so that status is updated with the return

Re: general protection fault in percpu_ref_exit

2020-10-08 Thread Ming Lei
On Thu, Oct 08, 2020 at 07:23:02PM -0600, Jens Axboe wrote: > On 10/8/20 2:28 PM, syzbot wrote: > > syzbot has bisected this issue to: > > > > commit 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e > > Author: Ming Lei > > Date: Thu Oct 1 15:48:41 2020 + > > > > percpu_ref: reduce memory

Re: [PATCH v2] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Jason Wang
On 2020/10/9 上午4:42, Stefano Garzarella wrote: If riov and wiov are both defined and they point to different objects, only riov is initialized. If the wiov is not initialized by the caller, the function fails returning -EINVAL and printing "Readable desc 0x... after writable" error message.

Re: [PATCH 0/6] KVM: x86: KVM_SET_SREGS.CR4 bug fixes and cleanup

2020-10-08 Thread Sean Christopherson
On Thu, Oct 08, 2020 at 09:18:18PM +0300, stsp wrote: > 08.10.2020 20:59, Sean Christopherson пишет: > >On Thu, Oct 08, 2020 at 07:00:13PM +0300, stsp wrote: > >>07.10.2020 04:44, Sean Christopherson пишет: > >>>Two bug fixes to handle KVM_SET_SREGS without a preceding KVM_SET_CPUID2. > >>Hi Sean

Re: [RFC PATCH 18/24] vhost-vdpa: support ASID based IOTLB API

2020-10-08 Thread Jason Wang
On 2020/9/28 下午11:44, Eugenio Perez Martin wrote: -u64 iova, u64 size) +static int vhost_vdpa_unmap(struct vhost_vdpa *v, + struct vhost_iotlb *iotlb, + u64 iova, u64 size) { struct vdpa_device *vdpa =

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-08 Thread Jeremy Linton
On 10/8/20 2:43 PM, Ard Biesheuvel wrote: (+ Lorenzo) On Thu, 8 Oct 2020 at 12:14, Catalin Marinas wrote: On Thu, Oct 08, 2020 at 12:05:25PM +0200, Nicolas Saenz Julienne wrote: On Fri, 2020-10-02 at 12:55 +0100, Catalin Marinas wrote: On Thu, Oct 01, 2020 at 07:31:19PM +0200, Nicolas

Re: [RFC PATCH 10/24] vdpa: introduce config operations for associating ASID to a virtqueue group

2020-10-08 Thread Jason Wang
On 2020/10/1 下午9:29, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:11AM +0800, Jason Wang wrote: This patch introduces a new bus operation to allow the vDPA bus driver to associate an ASID to a virtqueue group. So in case of virtio_net, I would expect that all the data virtqueues will be

Re: [RFC PATCH 09/24] vdpa: multiple address spaces support

2020-10-08 Thread Jason Wang
On 2020/10/1 下午9:23, Eli Cohen wrote: + /* Only support 1 address space */ + if (vdpa->ngroups != 1) + return -ENOTSUPP; Checkpatch warning: prefer EOPNOTSUPP Will fix. Thanks

Re: [RFC PATCH 09/24] vdpa: multiple address spaces support

2020-10-08 Thread Jason Wang
On 2020/10/1 下午9:21, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:10AM +0800, Jason Wang wrote: This patches introduces the multiple address spaces support for vDPA device. This idea is to identify a specific address space via an dedicated identifier - ASID. During vDPA device allocation,

Re: [PATCH 2/2] dt: Remove booting-without-of.rst

2020-10-08 Thread Michael Ellerman
Rob Herring writes: > booting-without-of.rstt is an ancient document that first outlined ^ nit > Flattened DeviceTree on PowerPC initially. The DT world has evolved a > lot in the 15 years since and booting-without-of.rst is pretty stale. > The

Re: [RFC PATCH 08/24] vdpa: introduce virtqueue groups

2020-10-08 Thread Jason Wang
On 2020/9/28 下午11:44, Eugenio Perez Martin wrote: On Thu, Sep 24, 2020 at 5:23 AM Jason Wang wrote: This patch introduces virtqueue groups to vDPA device. The virtqueue group is the minimal set of virtqueues that must share an address space. And the adddress space identifier could only be

Re: [PATCH v1 1/1] PCI/ERR: don't clobber status after reset_link()

2020-10-08 Thread Raj, Ashok
On Fri, Oct 09, 2020 at 03:52:51AM +0100, Hedi Berriche wrote: > Commit 6d2c89441571 ("PCI/ERR: Update error status after reset_link()") > changed pcie_do_recovery() so that status is updated with the return > value from reset_link(); this was to fix the problem where we would > wrongly report

Re: [RFC PATCH 06/24] vhost-vdpa: switch to use vhost-vdpa specific IOTLB

2020-10-08 Thread Jason Wang
On 2020/9/30 下午8:02, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:07AM +0800, Jason Wang wrote: To ease the implementation of per group ASID support for vDPA device. This patch switches to use a vhost-vdpa specific IOTLB to avoid the unnecessary refactoring of the vhost core.

Re: [PATCH v2 3/4] powercap: Add AMD Fam17h RAPL support

2020-10-08 Thread Zhang Rui
On Wed, 2020-10-07 at 11:14 -0500, Kim Phillips wrote: > From: Victor Ding > > This patch enables AMD Fam17h RAPL support for the power capping > framework. The support is as per AMD Fam17h Model31h (Zen2) and > model 00-ffh (Zen1) PPR. > > Tested by comparing the results of following two sysfs

Re: [PATCH v2 1/2] perf vendor events: Update CascadelakeX events to v1.08

2020-10-08 Thread Jin, Yao
Hi Arnaldo, On 9/26/2020 2:05 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Sep 23, 2020 at 09:25:06AM +0800, Jin, Yao escreveu: On 9/23/2020 3:42 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Sep 22, 2020 at 11:19:17AM +0800, Jin Yao escreveu: - Update CascadelakeX events to v1.08. - Update

Re: [v5,2/4] dt-binding: mediatek: mt8192: update mtk-wdt document

2020-10-08 Thread Crystal Guo
On Fri, 2020-10-02 at 17:28 +0800, Matthias Brugger wrote: > > On 29/09/2020 05:20, Crystal Guo wrote: > > update mtk-wdt document for MT8192 platform > > > > Signed-off-by: Crystal Guo > > Reviewed-by: Matthias Brugger > > Reviewed-by: Guenter Roeck > > You added Guenters Reviewed-by in v4

[RFC][PATCH] cpufreq: intel_pstate: Delete intel_pstate sysfs if failed to register the driver

2020-10-08 Thread Chen Yu
There is a corner case that if the intel_pstate driver failed to be registered(might be due to invalid MSR access) and with the acpi_cpufreq loaded, the intel_pstate sysfs might still be created, which makes the user confusing(turbostat for example): grep .

[PATCH v2] KVM: x86: Add tracepoint for dr_write/dr_read

2020-10-08 Thread lihaiwei . kernel
From: Haiwei Li When vmexit occurs caused by accessing dr, there is no tracepoint to track this action. Add tracepoint for this on x86 kvm. Signed-off-by: Haiwei Li --- v1 -> v2: * Improve the changelog arch/x86/kvm/svm/svm.c | 2 ++ arch/x86/kvm/trace.h | 27 +++

Re: [v5,0/4] watchdog: mt8192: add wdt support

2020-10-08 Thread Crystal Guo
On Fri, 2020-10-02 at 22:41 +0800, Guenter Roeck wrote: > On 10/2/20 2:51 AM, Matthias Brugger wrote: > > > > > > On 01/10/2020 17:16, Guenter Roeck wrote: > >> On Thu, Oct 01, 2020 at 04:23:02PM +0200, Matthias Brugger wrote: > >>> Hi Crystal, > >>> > >>> It seems you forgot to send the email

[PATCH v1 1/1] PCI/ERR: don't clobber status after reset_link()

2020-10-08 Thread Hedi Berriche
Commit 6d2c89441571 ("PCI/ERR: Update error status after reset_link()") changed pcie_do_recovery() so that status is updated with the return value from reset_link(); this was to fix the problem where we would wrongly report recovery failure, despite a successful reset_link(), whenever the initial

Re: [PATCH v8 2/6] PCI/DPC: define a function to check and wait till port finish DPC handling

2020-10-08 Thread Ethan Zhao
On Thu, Oct 8, 2020 at 2:16 AM Kuppuswamy, Sathyanarayanan wrote: > > > On 10/7/20 4:31 AM, Ethan Zhao wrote: > > Once root port DPC capability is enabled and triggered, at the beginning > > of DPC is triggered, the DPC status bits are set by hardware and then > > sends DPC/DLLSC/PDC interrupts

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:968:31: warning: variable 'num_dspp' set but not used

2020-10-08 Thread kernel test robot
Hi Kalyan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 583090b1b8232e6eae243a9009699666153a13a9 commit: e47616df008b1059c57892fb34883403a6933231 drm/msm/dpu: add support for color processing blocks in dpu

Re: [PATCH v2 10/11] soc: ti: k3-ringacc: Use correct device for allocation in RING mode

2020-10-08 Thread Nishanth Menon
On 14:52-20201008, Peter Ujfalusi wrote: > - ring->ring_mem_virt = dma_alloc_coherent(ringacc->dev, > + ring->ring_mem_virt = dma_alloc_coherent(ring->dma_dev, > ring->size * (4 << ring->elm_size), >

Re: [PATCH v2] MIPS: replace add_memory_region with memblock

2020-10-08 Thread Jiaxun Yang
在 2020/10/8 23:20, Serge Semin 写道: [...] - add_memory_region(LOONGSON_HIGHMEM_START, - highmemsize << 20, BOOT_MEM_RAM); - - add_memory_region(LOONGSON_PCI_MEM_END + 1, LOONGSON_HIGHMEM_START - -

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

2020-10-08 Thread Jun Li
> -Original Message- > From: ChiYuan Huang > Sent: Wednesday, October 7, 2020 1:39 AM > To: Jun Li > Cc: Guenter Roeck ; Greg KH > ; Heikki Krogerus > ; Linux USB List > ; lkml ; > cy_huang ; Jun Li > Subject: Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count > not

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-08 Thread Darrick J. Wong
On Thu, Oct 08, 2020 at 03:38:58PM -0700, Josh Triplett wrote: > On Thu, Oct 08, 2020 at 10:54:48AM -0700, Darrick J. Wong wrote: > > IMO, the prominent free software filesystem projects offer (at least) > > four layers of social structures to keep everyone on the same page, > > including people

[PATCH v2 2/3] usb: host: add uhci compatible support for ast2600-uhci

2020-10-08 Thread Ryan Chen
v2: - Fix continuation lines, align with "of_device" v1: - Add support for AST2600 SOC UHCI driver. Signed-off-by: Ryan Chen --- drivers/usb/host/uhci-platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/uhci-platform.c

[PATCH v2 0/3] Enable USB host for AST2600

2020-10-08 Thread Ryan Chen
v2: -[1/3]: Add SCSI,BLK_DEV_SD,USB_STORAGE in defconfig. -[2/3]: Fix continuation lines. v1: -The patches enable UHCI driver in AST2600 and also enable USB host in aspeed-ast2600-evb.dts. Ryan Chen (3): configs: aspeed: enable UHCI driver in defconfig usb: host: add uhci compatible

[PATCH v2 3/3] ARM: dts: add ehci uhci enable in evb dts

2020-10-08 Thread Ryan Chen
Add EHCI UHCI enable build in aspeed-ast2600-evb.dts Signed-off-by: Ryan Chen --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts index

[PATCH v2 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-10-08 Thread Ryan Chen
v2: -Changed : Add SCSI, BLK_DEV_SD, USB_STORAGE support. v1: -Enable UHCI driver in aspeed_g5_defconfig. Signed-off-by: Ryan Chen --- arch/arm/configs/aspeed_g5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/aspeed_g5_defconfig

Re: [RFC PATCH v1 21/26] docs: reporting-bugs: details on writing and sending the report

2020-10-08 Thread Randy Dunlap
On 10/1/20 1:39 AM, Thorsten Leemhuis wrote: > Outline how to write the report. Give instructions that hopefully will > make people write better reports that ideally are also quick to evaluate > for kernel developers. > > At the same time put some more faith into the readers to make them >

[PATCH] xfrm:ignore big packets when tunnel mode

2020-10-08 Thread mtk81216
From: Lina Wang In tunnel mode, when inner interface is ipv4,outer interface is ipv6, flags of tunnel mode's xfrm state is af-unspec, if a larger packet who is bigger than mtu goes through tunnel interface, it enters ip6_fragment, goes to fail_toobig, and ICMPV6(ICMPV6_PKT_TOOBIG) will be sent.

[PATCH] f2fs: fix to set SBI_NEED_FSCK flag for inconsistent inode

2020-10-08 Thread Chao Yu
If compressed inode has inconsistent fields on i_compress_algorithm, i_compr_blocks and i_log_cluster_size, we missed to set SBI_NEED_FSCK to notice fsck to repair the inode, fix it. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: general protection fault in utf8_casefold

2020-10-08 Thread syzbot
syzbot has bisected this issue to: commit 91db9311945f01901ddb9813ce11364de214a156 Author: Su Sung Chung Date: Mon Jul 8 15:31:39 2019 + drm/amd/display: refactor gpio to allocate hw_container in constructor bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1012ee8b90

Re: [f2fs-dev] [f2fs bug] infinite loop in f2fs_get_meta_page_nofail()

2020-10-08 Thread Chao Yu
On 2020/10/9 9:50, jaeg...@kernel.org wrote: On 10/09, Chao Yu wrote: On 2020/10/8 5:53, jaeg...@kernel.org wrote: On 10/07, Eric Biggers wrote: [moved linux-fsdevel to Bcc] On Wed, Oct 07, 2020 at 02:18:19AM -0700, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:

[PATCH v8 7/7] perf diff: Support hot streams comparison

2020-10-08 Thread Jin Yao
This patch enables perf-diff with "--stream" option. "--stream": Enable hot streams comparison Now let's see example. perf record -b ... Generate perf.data.old with branch data perf record -b ... Generate perf.data with branch data perf diff --stream [ Matched hot streams ] hot

[PATCH v8 5/7] perf util: Calculate the sum of total streams hits

2020-10-08 Thread Jin Yao
We have used callchain_node->hit to measure the hot level of one stream. This patch calculates the sum of hits of total streams. Thus in next patch, we can use following formula to report hot percent for one stream. hot percent = callchain_node->hit / sum of total hits Signed-off-by: Jin Yao

[PATCH v8 3/7] perf util: Compare two streams

2020-10-08 Thread Jin Yao
Stream is the branch history which is aggregated by the branch records from perf samples. Now we support the callchain as stream. If the callchain entries of one stream are fully matched with the callchain entries of another stream, we think two streams are matched. For example, cycles: 1,

[PATCH v8 2/7] perf util: Get the evsel_streams by evsel_idx

2020-10-08 Thread Jin Yao
In previous patch, we have created evsel_streams array This patch returns the specified evsel_streams according to the evsel_idx. Signed-off-by: Jin Yao --- v8: - No change v7: - Rename functions: evsel_streams__entry v6: - Rebase to perf/core v5: - Rebase to

[PATCH v8 4/7] perf util: Link stream pair

2020-10-08 Thread Jin Yao
In previous patch, we have created an evsel_streams for one event, and top N hottest streams will be saved in a stream array in evsel_streams. This patch compares total streams among two evsel_streams. Once two streams are fully matched, they will be linked as a pair. From the pair, we can know

[PATCH v8 0/7] perf: Stream comparison

2020-10-08 Thread Jin Yao
Sometimes, a small change in a hot function reducing the cycles of this function, but the overall workload doesn't get faster. It is interesting where the cycles are moved to. What it would like is to diff before/after streams. The stream is the branch history which is aggregated by the branch

[PATCH v8 1/7] perf util: Create streams

2020-10-08 Thread Jin Yao
We define the stream is the branch history which is aggregated by the branch records from perf samples. For example, the callchains aggregated from the branch records are considered as streams. By browsing the hot stream, we can understand the hot code path. Now we only support the callchain for

[PATCH v8 6/7] perf util: Report hot streams

2020-10-08 Thread Jin Yao
We show the streams separately. They are divided into different sections. 1. "Matched hot streams" 2. "Hot streams in old perf data only" 3. "Hot streams in new perf data only". For each stream, we report the cycles and hot percent (hits%). For example, cycles: 2, hits: 4.08%

[PATCH] HID: ghlive: support for ghlive ps3/wii u dongles

2020-10-08 Thread Pascal Giard
This commit introduces the Guitar Hero Live driver which adds support for the PS3 and Wii U dongles. These dongles require a "magic" USB control message [1] to be sent approximately every 10 seconds otherwise the dongle will not report events where the strumbar is hit while a fret is being held.

Re: [net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio

2020-10-08 Thread Florian Fainelli
On 10/8/2020 7:20 PM, Calvin Johnson wrote: Hi Rob, On Thu, Oct 08, 2020 at 11:35:07AM -0500, Rob Herring wrote: On Thu, Oct 8, 2020 at 9:47 AM Calvin Johnson wrote: Better place for of_mdio.c is drivers/net/mdio. Move of_mdio.c from drivers/of to drivers/net/mdio One thing off my todo

Re: [net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio

2020-10-08 Thread Calvin Johnson
Hi Rob, On Thu, Oct 08, 2020 at 11:35:07AM -0500, Rob Herring wrote: > On Thu, Oct 8, 2020 at 9:47 AM Calvin Johnson > wrote: > > > > Better place for of_mdio.c is drivers/net/mdio. > > Move of_mdio.c from drivers/of to drivers/net/mdio > > One thing off my todo list. I'd started this ages

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:959:30: warning: variable 'topology' set but not used

2020-10-08 Thread kernel test robot
Hi Drew, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c85fb28b6f999db9928b841f63f1beeb3074eeca commit: de3916c70a24e3e1bdbf6b0a77d75b069d8953d9 drm/msm/dpu: Track resources in global state date: 7 months ago

RE: [PATCH V2 0/7] remoteproc: imx_rproc: support iMX8MQ/M

2020-10-08 Thread Peng Fan
> Subject: Re: [PATCH V2 0/7] remoteproc: imx_rproc: support iMX8MQ/M > > On Wed, 7 Oct 2020 at 18:52, Peng Fan wrote: > > > > Mathieu, Oleksij > > > > > Subject: [PATCH V2 0/7] remoteproc: imx_rproc: support iMX8MQ/M > > > > Do you have time to give a look at this patchset? > > I will review

Re: [RFC PATCH 05/24] vhost-vdpa: passing iotlb to IOMMU mapping helpers

2020-10-08 Thread Jason Wang
On 2020/9/30 下午7:26, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:06AM +0800, Jason Wang wrote: To prepare for the ASID support for vhost-vdpa, try to pass IOTLB object to dma helpers. Maybe it's worth mentioning here that this patch does not change any functionality and is presented as a

[PATCH] Input: joystick/analog - mips has get_cycles()

2020-10-08 Thread Pujin Shi
Fixes: drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] Signed-off-by: Pujin Shi --- drivers/input/joystick/analog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/joystick/analog.c

Re: [PATCH 2/2] riscv: Fixup static_obj() fail v2

2020-10-08 Thread Guo Ren
On Thu, Oct 8, 2020 at 11:54 AM Palmer Dabbelt wrote: > > On Wed, 07 Oct 2020 08:08:33 PDT (-0700), guo...@kernel.org wrote: > > From: Guo Ren > > > > v1 is commit: 6184358da0004c8fd940afda6c0a0fa4027dc911 which has > > been reverted. > > > > When enable LOCKDEP, static_obj() will cause error: >

Re: [f2fs-dev] [f2fs bug] infinite loop in f2fs_get_meta_page_nofail()

2020-10-08 Thread jaegeuk
On 10/09, Chao Yu wrote: > On 2020/10/8 5:53, jaeg...@kernel.org wrote: > > On 10/07, Eric Biggers wrote: > > > [moved linux-fsdevel to Bcc] > > > > > > On Wed, Oct 07, 2020 at 02:18:19AM -0700, syzbot wrote: > > > > Hello, > > > > > > > > syzbot found the following issue on: > > > > > > > >

Re: [PATCH v4 01/17] docs: acrn: Introduce ACRN

2020-10-08 Thread Randy Dunlap
On 9/22/20 4:42 AM, shuo.a@intel.com wrote: > From: Shuo Liu > > Add documentation on the following aspects of ACRN: > > 1) A brief introduction on the architecture of ACRN. > 2) I/O request handling in ACRN. > > To learn more about ACRN, please go to ACRN project website >

  1   2   3   4   5   6   7   8   9   10   >