Re: general protection fault in strncasecmp

2020-09-28 Thread syzbot
syzbot has bisected this issue to: commit bfd45be0b83e8f711f3abc892850d6047972d127 Author: Christoph Hellwig Date: Tue Oct 11 20:52:22 2016 + kprobes: include instead of bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1613329d90 start commit: 98477740 Merge branch

Re: [PATCH v2 0/5] PCI: dwc: improve msi handling

2020-09-28 Thread Jon Hunter
On 27/09/2020 09:28, Jisheng Zhang wrote: ... > I see, the msi_domain_set_affinity() calls parent->chip->irq_set_affinity > without checking, grepping the irqchip and pci dir, I found that > if the MSI is based on some cascaded interrupt mechanism, they all > point the irq_set_affinity to irq_c

Re: [PATCH v2 0/1] concurrency handling for zoned null-blk

2020-09-28 Thread Kanchan Joshi
On Mon, Sep 28, 2020 at 5:42 PM Greg KH wrote: > > On Mon, Sep 28, 2020 at 03:25:48PM +0530, Kanchan Joshi wrote: > > Changes since v1: > > - applied the refactoring suggested by Damien > > > > Kanchan Joshi (1): > > null_blk: synchronization fix for zoned device > > > > drivers/block/null_blk.

Re: [PATCH v6 bpf-next 6/6] selftests/bpf: add test for bpf_seq_printf_btf helper

2020-09-28 Thread Andrii Nakryiko
On Mon, Sep 28, 2020 at 7:14 AM Alan Maguire wrote: > > > > On Thu, 24 Sep 2020, Alexei Starovoitov wrote: > > > to whatever number, but printing single task_struct needs ~800 lines and > > ~18kbytes. Humans can scroll through that much spam, but can we make it less > > verbose by default somehow?

Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match'

2020-09-28 Thread Nick Desaulniers
On Mon, Sep 28, 2020 at 12:27 AM 'Peter Ujfalusi' via Clang Built Linux wrote: > > > > On 27/09/2020 10.27, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: a1bffa48745afbb54cb4f873bba783b2ae8be042 > > commit: 6748d0559

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Linus Torvalds
On Mon, Sep 28, 2020 at 10:23 AM Peter Xu wrote: > > Yes... Actually I am also thinking about the complete solution to cover > read-only fast-gups too, but now I start to doubt this, at least for the > fork() > path. E.g. if we'd finally like to use pte_protnone() to replace the current > pte_w

[PATCH][next] crypto: sun8i-ss - Fix memory leak in sun8i_ss_prng_generate()

2020-09-28 Thread Gustavo A. R. Silva
Set _err_ to the return error code -EFAULT before jumping to the new label err_d, so resources for _d_ can be released before returning from function sun8i_ss_prng_generate(). Addresses-Coverity-ID: 1497459 ("Resource leak") Fixes: ac2614d721de ("crypto: sun8i-ss - Add support for the PRNG") Signe

Re: [PATCH 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-09-28 Thread Jani Nikula
On Mon, 28 Sep 2020, Matt Roper wrote: > Why are we adding IS_JASPERLAKE at all? EHL/JSL are documented as the > same graphics IP, but are paired with different PCHs in the final SoCs, > which is what causes the minor differences in programming. My > understanding is that the voltage programming

Re: [PATCH v7 5/7] KVM: arm64: pmu: Make overflow handler NMI safe

2020-09-28 Thread Will Deacon
On Thu, Sep 24, 2020 at 12:07:04PM +0100, Alexandru Elisei wrote: > From: Julien Thierry > > kvm_vcpu_kick() is not NMI safe. When the overflow handler is called from > NMI context, defer waking the vcpu to an irq_work queue. > > A vcpu can be freed while it's not running by kvm_destroy_vm(). Pr

Re: [PATCH 03/18] [ARM] pata_icside: use semicolons rather than commas to separate statements

2020-09-28 Thread Joe Perches
On Mon, 2020-09-28 at 19:11 +0200, Julia Lawall wrote: > > On Mon, 28 Sep 2020, Joe Perches wrote: > > > On Sun, 2020-09-27 at 21:12 +0200, Julia Lawall wrote: > > > Replace commas with semicolons. What is done is essentially described by > > > the following Coccinelle semantic patch (http://coc

Re: [PATCH 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-09-28 Thread Matt Roper
On Mon, Sep 28, 2020 at 08:14:02PM +0300, Jani Nikula wrote: > On Mon, 28 Sep 2020, "Surendrakumar Upadhyay, TejaskumarX" > wrote: > > > > From: Jani Nikula > > Sent: Monday, September 28, 2020 7:07 PM > > To: Surendrakumar Upadhyay, TejaskumarX > > ; Vivi, Rodr

Re: [PATCH] x86/mm: drop superfluous initialization

2020-09-28 Thread Dave Hansen
On 9/28/20 3:00 AM, Lukas Bulwahn wrote: > diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c > index c7a47603537f..5632f02146ca 100644 > --- a/arch/x86/mm/init.c > +++ b/arch/x86/mm/init.c > @@ -609,7 +609,7 @@ static void __init memory_map_top_down(unsigned long > map_start, > step_size

Re: Mount options may be silently discarded

2020-09-28 Thread Dmitry Kasatkin
On Mon, Sep 28, 2020 at 5:36 PM David Laight wrote: > > From: Dmitry Kasatkin > > Sent: 28 September 2020 15:03 > > > > "copy_mount_options" function came to my eyes. > > It splits copy into 2 pieces - over page boundaries. > > I wonder what is the real reason for doing this? > > Original comment

[RFC PATCH v2 21/30] mm: thp: PUD THP support in try_to_unmap().

2020-09-28 Thread Zi Yan
From: Zi Yan Unmap different subpages in different sized THPs properly in the try_to_unmap() function. pvmw.pte, pvmw.pmd, pvmw.pud are used to identify unmapped page sizes: 1. pvmw.pte != NULL: PTE pages or PageHuge. 2. pvmw.pte == NULL and pvmw.pmd != NULL: PMD pages. 3. pvmw.pte == NULL and p

[RFC PATCH v2 07/30] mm: thp: add anonymous PUD THP page fault support without enabling it.

2020-09-28 Thread Zi Yan
From: Zi Yan This adds PUD THP support for anonymous pages. Applications will be able to get PUD pages during page faults when their VMAs are larger than PUD page size after the page fault path is enabled. No shared zero PUD THP is created and shared by all read-only zero PUD THPs, different zer

[RFC PATCH v2 29/30] mm: thp: use cma reservation for pud thp allocation.

2020-09-28 Thread Zi Yan
From: Zi Yan Sharing hugepage_cma reservation with hugetlb for pud thp allocaiton. The reserved cma regions still can be used for moveable page allocations. During 1GB page split, all subpages are cleared from the CMA bitmap, since they are no more 1GB pages and will be freed via the normal path

[RFC PATCH v2 12/30] mm: rmap: add mappped/unmapped page order to anonymous page rmap functions.

2020-09-28 Thread Zi Yan
From: Zi Yan page_add_anon_rmap, do_page_add_anon_rmap, page_add_new_anon_rmap, page_remove_rmap are changed to have page order as a parameter. This prepares for PMD-mapped PUD THP, since a PUD THP can be mapped in three different ways, PTEs, PMDs, and PUDs and the original boolean parameter is n

[RFC PATCH v2 16/30] mm: debug: adapt dump_page to PUD THP.

2020-09-28 Thread Zi Yan
From: Zi Yan Since the order of a PUD THP is greater than MAX_ORDER, do not consider its tail pages corrupted. Also print sub_compound_mapcount when dumping a PMDPageInPUD. Signed-off-by: Zi Yan --- mm/debug.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mm/debug.c

[RFC PATCH v2 02/30] mm: pagewalk: use READ_ONCE when reading the PMD entry unlocked

2020-09-28 Thread Zi Yan
From: Zi Yan The pagewalker runs while only holding the mmap_sem for read. The pud can be set asynchronously, while also holding the mmap_sem for read. This follows the same way as the commit: mm/pagewalk: use READ_ONCE when reading the PUD entry unlocked" Signed-off-by: Zi Yan --- fs/proc/ta

[RFC PATCH v2 06/30] mm: change thp_order and thp_nr as we will have not just PMD THPs.

2020-09-28 Thread Zi Yan
From: Zi Yan As PUD THP is going to be added in the following patches, thp_order and thp_nr can be HPAGE_PUD_ORDER and HPAGE_PUD_NR, respectively. Signed-off-by: Zi Yan --- include/linux/huge_mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/huge_mm.h b

[RFC PATCH v2 27/30] mm: thp: make PUD THP size public.

2020-09-28 Thread Zi Yan
From: Zi Yan User can access the PUD THP size via `cat /sys/kernel/mm/transparent_hugepage/hpage_pud_size`. This is similar to make PMD THP size public. Signed-off-by: Zi Yan --- Documentation/admin-guide/mm/transhuge.rst | 1 + mm/huge_memory.c | 13 + 2

[RFC PATCH v2 04/30] mm: add new helper functions to allocate one PMD page with 512 PTE pages.

2020-09-28 Thread Zi Yan
From: Zi Yan This prepares for PUD THP support, which allocates 512 of such PMD pages when creating a PUD THP. These page table pages will be withdrawn during THP split. Signed-off-by: Zi Yan --- arch/x86/include/asm/pgalloc.h | 60 ++ arch/x86/mm/pgtable.c

[RFC PATCH v2 09/30] mm: thp: add PUD THP support to zap_huge_pud.

2020-09-28 Thread Zi Yan
From: Zi Yan Preallocated 513 (1 PMD and 512 PTE) page table pages need to be freed when PUD THP is removed. zap_pud_deposited_table is added to perform the action. Signed-off-by: Zi Yan --- mm/huge_memory.c | 48 +--- 1 file changed, 45 insertions(+

[RFC PATCH v2 03/30] mm: thp: use single linked list for THP page table page deposit.

2020-09-28 Thread Zi Yan
From: Zi Yan The old design uses the double linked list page->lru to chain all deposited page table pages when creating a THP and page->pmd_huge_pte to point to the first page of the list. As the second pointer in page->lru overlaps with page->pmd_huge_pte, the design prevents multi-level page ta

[RFC PATCH v2 17/30] mm: thp: PUD THP COW splits PUD page and falls back to PMD page.

2020-09-28 Thread Zi Yan
From: Zi Yan COW on PUD THPs has the same behavior as COW on PMD THPs to avoid high COW overhead. As a result, do_huge_pmd_wp will see PMD-mapped PUD THPs, thus needs to count PUD mappings in total mapcount when calling page_trans_huge_map_swapcount in reuse_swap_page to avoid false positive. Cha

[RFC PATCH v2 05/30] mm: thp: add page table deposit/withdraw functions for PUD THP.

2020-09-28 Thread Zi Yan
From: Zi Yan We deposit 512 PMD pages, each of which has 512 PTE pages deposited in its ->deposit_head, to mm->deposit_head_pud. They will be withdrawn and used when a PUD THP split into 512 PMD THPs. In this way, when any of the 512 PMD THPs is split further, we will use the existing code path t

[RFC PATCH v2 14/30] mm: thp: add PUD THP split_huge_pud_page() function.

2020-09-28 Thread Zi Yan
From: Zi Yan It mimics PMD-level THP split. In addition, to support PMD-mapped PUD THP, PMDPageInPUD() is added to identify the first page in the PMD sized aligned physical pages. For example, in x86_64, the page[0], page[512], page[1024], ... are regarded as PMDPageInPUD. For the mapcount of PM

[RFC PATCH v2 25/30] mm: vma: add VM_HUGEPAGE_PUD to vm_flags at bit 37.

2020-09-28 Thread Zi Yan
From: Zi Yan madvise can set this bit via MADV_HUGEPAGE | MADV_HUGEPAGE_1GB and unset it via MADV_NOHUGEPAGE | MADV_HUGEPAGE_1GB. Later, kernel will check this bit to decide whether to allocate PUD THPs or not on a VMA when the global PUD THP is set to madvise. Signed-off-by: Zi Yan --- includ

[RFC PATCH v2 11/30] mm: thp: handling PUD THP reference bit.

2020-09-28 Thread Zi Yan
From: Zi Yan Add PUD-level TLB flush ops and teach page_vma_mapped_talk about PUD THPs. Signed-off-by: Zi Yan --- arch/x86/include/asm/pgtable.h | 3 +++ arch/x86/mm/pgtable.c | 13 + include/linux/mmu_notifier.h | 13 + include/linux/pgtable.h| 14 +

[RFC PATCH v2 01/30] mm/pagewalk: use READ_ONCE when reading the PUD entry unlocked

2020-09-28 Thread Zi Yan
From: Jason Gunthorpe The pagewalker runs while only holding the mmap_sem for read. The pud can be set asynchronously, while also holding the mmap_sem for read eg from: handle_mm_fault() __handle_mm_fault() create_huge_pmd() dev_dax_huge_fault() __dev_dax_pud_fault() vmf_in

[RFC PATCH v2 15/30] mm: thp: add PUD THP to deferred split list when PUD mapping is gone.

2020-09-28 Thread Zi Yan
From: Zi Yan When PUD mapping is gone, there is no need to keep the PUD THP. Add it to deferred split list, so when memory pressure comes, the THP will be split. Signed-off-by: Zi Yan --- mm/rmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/rmap.c b/mm/rmap.c index b4950f7a0978.

[RFC PATCH v2 18/30] mm: thp: PUD THP follow_p*d_page() support.

2020-09-28 Thread Zi Yan
From: Zi Yan Add follow_page support for PUD THPs. Signed-off-by: Zi Yan --- include/linux/huge_mm.h | 11 +++ mm/gup.c| 60 - mm/huge_memory.c| 73 - 3 files changed, 142 insertions(+), 2 delet

[RFC PATCH v2 30/30] mm: thp: enable anonymous PUD THP at page fault path.

2020-09-28 Thread Zi Yan
From: Zi Yan All previous commits have anonymous PUD THP support ready, so we can enable anonymous PUD THP page fault now. Signed-off-by: Zi Yan --- mm/memory.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 9f7b509a3aa7..dc285d9872fc 1

[RFC PATCH v2 08/30] mm: thp: add PUD THP support for copy_huge_pud.

2020-09-28 Thread Zi Yan
From: Zi Yan copy_huge_pud needs to allocate 1 PMD page table page and 512 PTE page table pages and deposit them when copying a PUD THP. It is similar to what we do at PUD THP page faults. Signed-off-by: Zi Yan --- mm/huge_memory.c | 36 1 file changed, 28

[RFC PATCH v2 23/30] mm: support PUD THP pagemap support.

2020-09-28 Thread Zi Yan
From: Zi Yan pagemap_pud_range is added to print pud page flags properly. Signed-off-by: Zi Yan --- fs/proc/task_mmu.c | 63 ++ 1 file changed, 63 insertions(+) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 077196182288..04a3158d0d5b 10

[RFC PATCH v2 28/30] hugetlb: cma: move cma reserve function to cma.c.

2020-09-28 Thread Zi Yan
From: Zi Yan It will be used by other allocations, like 1GB THP allocation in the upcoming commit. Signed-off-by: Zi Yan --- .../admin-guide/kernel-parameters.txt | 2 +- arch/arm64/mm/hugetlbpage.c | 2 +- arch/powerpc/mm/hugetlbpage.c | 2 +- arch

[RFC PATCH v2 20/30] mm: page_vma_walk: teach it about PMD-mapped PUD THP.

2020-09-28 Thread Zi Yan
From: Zi Yan We now have PMD-mapped PUD THP and PTE-mapped PUD THP, page_vma_walk should handle them properly. Signed-off-by: Zi Yan --- mm/page_vma_mapped.c | 152 +-- 1 file changed, 118 insertions(+), 34 deletions(-) diff --git a/mm/page_vma_mapped.c

[RFC PATCH v2 13/30] mm: rmap: add map_order to page_remove_anon_compound_rmap.

2020-09-28 Thread Zi Yan
From: Zi Yan When PMD-mapped PUD THP is enabled by the upcoming commits, we can unmap a PMD-mapped PUD THP that should be counted as NR_ANON_THPS. The added map_order tells us about this situation. Signed-off-by: Zi Yan --- mm/rmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[RFC PATCH v2 22/30] mm: thp: split PUD THPs at page reclaim.

2020-09-28 Thread Zi Yan
From: Zi Yan We cannot swap PUD THPs, so split them before swap them out. PUD THPs will be split into PMD THPs, so that if THP_SWAP is enabled, PMD THPs can be swapped out as a whole. Signed-off-by: Zi Yan --- mm/swap_slots.c | 2 ++ mm/vmscan.c | 33 +++-- 2 f

[RFC PATCH v2 00/30] 1GB PUD THP support on x86_64

2020-09-28 Thread Zi Yan
From: Zi Yan Hi all, This patchset adds support for 1GB PUD THP on x86_64. It is on top of v5.9-rc5-mmots-2020-09-18-21-23. It is also available at: https://github.com/x-y-z/linux-1gb-thp/tree/1gb_thp_v5.9-rc5-mmots-2020-09-18-21-23 Other than PUD THP, we had some discussion on generating THPs

[RFC PATCH v2 26/30] mm: thp: add a global knob to enable/disable PUD THPs.

2020-09-28 Thread Zi Yan
From: Zi Yan Like the existing global PMD THP knob, it allows user to enable/disable PUD THPs. PUD THP is disabled by default unless user knows the performance tradeoff of using it, like longer first time page fault due to larger page zeroing and longer page allocation time when memory is fragmen

[RFC PATCH v2 10/30] fs: proc: add PUD THP kpageflag.

2020-09-28 Thread Zi Yan
From: Zi Yan Bit 27 is used to identify PUD THP. Signed-off-by: Zi Yan --- fs/proc/page.c | 2 ++ include/uapi/linux/kernel-page-flags.h | 1 + 2 files changed, 3 insertions(+) diff --git a/fs/proc/page.c b/fs/proc/page.c index f3b39a7d2bf3..e4e2ad3612c9 100644 --- a/f

Re: PROBLEM: zstd bzImage decompression fails for some x86_32 config on 5.9-rc1

2020-09-28 Thread Nick Terrell
> On Sep 28, 2020, at 1:55 AM, Feng Tang wrote: > > Hi Nick, > > 0day has found some kernel decomprssion failure case since 5.9-rc1 (X86_32 > build), and it could be related with ZSTD code, though initially we bisected > to some other commits. > > The error messages are: > > ea

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-09-28 Thread Sinan Kaya
On 9/28/2020 1:15 PM, Kuppuswamy, Sathyanarayanan wrote: > Since there is no state restoration for FATAL errors, I am wondering > whether > calls to ->error_detected(), ->mmio_enabled() and ->slot_reset() are > required? Good question, Initially when we started, we were trying to handle both NON_

[RFC PATCH v2 19/30] mm: stats: make smap stats understand PUD THPs.

2020-09-28 Thread Zi Yan
From: Zi Yan Signed-off-by: Zi Yan --- fs/proc/task_mmu.c | 68 ++ 1 file changed, 63 insertions(+), 5 deletions(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index a21484b1414d..077196182288 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/ta

Re: [PATCH 2/2] dt-bindings: devfreq: Document L2 Krait CPU Cache devfreq driver

2020-09-28 Thread Rob Herring
On Sun, 27 Sep 2020 18:05:13 +0200, Ansuel Smith wrote: > Document dedicated L2 Krait CPU Cache devfreq scaling driver. > > Signed-off-by: Ansuel Smith > --- > .../bindings/devfreq/krait-cache-devfreq.yaml | 77 +++ > 1 file changed, 77 insertions(+) > create mode 100644 > Docu

[RFC PATCH v2 24/30] mm: madvise: add page size options to MADV_HUGEPAGE and MADV_NOHUGEPAGE.

2020-09-28 Thread Zi Yan
From: Zi Yan It allows user to specify up to what page size kernel will generate THPs to back up the memory range in madvise. Because we now have PMD and PUD THPs, they require different amount of kernel effort to be generated, and we want to prevent user from getting long page fault latency if w

Re: [PATCH] mm/vmalloc.c: check the addr first

2020-09-28 Thread Ira Weiny
On Mon, Sep 28, 2020 at 12:33:37AM +0800, Hui Su wrote: > As the comments said, if @addr is NULL, no operation > is performed, check the addr first in vfree() and > vfree_atomic() maybe a better choice. I don't see how this change helps anything. kmemleak_free() checks addr so no danger there. A

Re: [PATCH] vt_ioctl: make VT_RESIZEX behave like VT_RESIZE

2020-09-28 Thread Martin Hostettler
On Sun, Sep 27, 2020 at 08:46:30PM +0900, Tetsuo Handa wrote: > VT_RESIZEX was introduced in Linux 1.3.3, but it is unclear that what > comes to the "+ more" part, and I couldn't find a user of VT_RESIZEX. > It seems this is/was used by "svgatextmode" which seems to be at http://www.ibiblio.org/p

Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match'

2020-09-28 Thread Mark Brown
On Mon, Sep 28, 2020 at 10:52:54AM -0700, Nick Desaulniers wrote: > On Mon, Sep 28, 2020 at 12:27 AM 'Peter Ujfalusi' via Clang Built > > Right, in the attached .config: > > # CONFIG_OF is not set > > There must be a clean way to handle this without extensive ifedfery... > Pretty sure I just saw

Re: [PATCH 2/2] dt-bindings: devfreq: Document L2 Krait CPU Cache devfreq driver

2020-09-28 Thread Rob Herring
On Sun, Sep 27, 2020 at 06:05:13PM +0200, Ansuel Smith wrote: > Document dedicated L2 Krait CPU Cache devfreq scaling driver. > > Signed-off-by: Ansuel Smith > --- > .../bindings/devfreq/krait-cache-devfreq.yaml | 77 +++ > 1 file changed, 77 insertions(+) > create mode 100644

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-28 Thread H.J. Lu
On Mon, Sep 28, 2020 at 9:44 AM Andrew Cooper wrote: > > On 28/09/2020 01:58, Jarkko Sakkinen wrote: > > On Fri, Sep 25, 2020 at 07:23:59PM +0100, Andrew Cooper wrote: > >> On 15/09/2020 12:28, Jarkko Sakkinen wrote: > >>> diff --git a/arch/x86/entry/vdso/vsgx_enter_enclave.S > >>> b/arch/x86/ent

YOUR RESPONSE IS NEEDED IMMEDIATELY

2020-09-28 Thread FEDERAL RESERVE BANK OF NEW YORK
FEDERAL RESERVE BANK OF NEW YORK ADDRESS: 33 LIBERTY STREET, NEW YORK, N.Y 10038. ATTN: FUND BENEFICIARY, Re: ATM Card payment notification. This is to officially inform you that the bank Federal Reserve Board New York Branch has concluded in the meeting today over your long o

Re: [PATCH v2 2/4] dt-bindings: PCI: uniphier-ep: Add iATU register description

2020-09-28 Thread Rob Herring
On Mon, 28 Sep 2020 10:05:31 +0900, Kunihiko Hayashi wrote: > In the dt-bindings, "atu" reg-names is required to get the register space > for iATU in Synopsis DWC version 4.80 or later. > > Signed-off-by: Kunihiko Hayashi > --- > Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.y

Re: [PATCH 4/7] dt-bindings: pinctrl: qcom: Add ipq5018 pinctrl bindings

2020-09-28 Thread Rob Herring
On Mon, 28 Sep 2020 10:45:37 +0530, Varadarajan Narayanan wrote: > Add device tree binding Documentation details for ipq5018 > pinctrl driver. > > Signed-off-by: Varadarajan Narayanan > --- > .../bindings/pinctrl/qcom,ipq5018-pinctrl.yaml | 143 > + > 1 file changed, 143

WARNING: filesystem loop1 was created with 512 inodes, the real maximum is 511, mounting anyway

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c9c9e6a4 Merge tag 'trace-v5.9-rc5-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=138b09d990 kernel config: https://syzkaller.appspot.com/x/.config?x=5f4c828c9e3cef97 das

Re: [PATCH] dt-bindings: usb: add properties for hard wired devices

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/D

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-28 Thread Andy Lutomirski
On Mon, Sep 28, 2020 at 11:08 AM H.J. Lu wrote: > > On Mon, Sep 28, 2020 at 9:44 AM Andrew Cooper > wrote: > > > > On 28/09/2020 01:58, Jarkko Sakkinen wrote: > > > On Fri, Sep 25, 2020 at 07:23:59PM +0100, Andrew Cooper wrote: > > >> On 15/09/2020 12:28, Jarkko Sakkinen wrote: > > >>> diff --gi

Re: [PATCH] ARM: davinci: fix kconfig dependency warning when !GPIOLIB

2020-09-28 Thread Sekhar Nori
On 14/09/20 7:49 PM, Necip Fazil Yildiran wrote: > When MACH_DAVINCI_DA830_EVM is enabled and GPIOLIB is disabled, it results > in the following Kbuild warning: > > WARNING: unmet direct dependencies detected for GPIO_PCF857X > Depends on [n]: GPIOLIB [=n] && I2C [=y] > Selected by [y]: > -

Re: [PATCH] dt-bindings: usb: add properties for hard wired devices

2020-09-28 Thread Rob Herring
On Mon, 28 Sep 2020 14:39:50 +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++ > 1 file changed, 11 insertions(+) > My bot found errors

Re: [PATCH v2 1/2] Add DT bindings schema for PVT controller

2020-09-28 Thread Rob Herring
On Mon, 28 Sep 2020 17:44:18 +0800, Rahul Tanwar wrote: > PVT controller (MR75203) is used to configure & control > Moortec embedded analog IP which contains temprature sensor(TS), > voltage monitor(VM) & process detector(PD) modules. > > Add DT bindings schema for PVT controller. > > Signed-off-

Re: [PATCH v2 8/8] x86/MCE/AMD Support new memory interleaving modes during address translation

2020-09-28 Thread Borislav Petkov
On Mon, Sep 28, 2020 at 10:53:50AM -0500, Yazen Ghannam wrote: > I don't have any clear reasons. I just get vague use cases sometimes > about not using EDAC and relying on other things. But it shouldn't hurt > to have the module load anyway. The EDAC messages can be suppressed, and > the sysfs inte

REGRESSION: in intel video driver following introduction of mm_struct.has_pinned

2020-09-28 Thread Tony Fischetti
After a length git bisection, I determined the commit that introduced a change that ultimately caused a bug/oops null dereference (see below for relevant syslog entries) was 008cfe4418b3dbda2ff.. (mm: Introduce mm_struct.has_pinned) The RIP (according to syslog) occurs in function `__get_user_page

Re: [PATCH v2 1/2] Add DT bindings schema for PVT controller

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 05:44:18PM +0800, Rahul Tanwar wrote: > PVT controller (MR75203) is used to configure & control > Moortec embedded analog IP which contains temprature sensor(TS), > voltage monitor(VM) & process detector(PD) modules. > > Add DT bindings schema for PVT controller. > > Signe

Re: [GIT PULL] Please pull NFS client bugfixes

2020-09-28 Thread pr-tracker-bot
The pull request you sent on Mon, 28 Sep 2020 17:27:14 +: > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.9-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fb0155a09b0224a7147cb07a4ce6034c8d29667f Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-28 Thread Dave Hansen
On 9/28/20 11:12 AM, Andy Lutomirski wrote: >> endbr64 >> /* Check if shadow stack is in use. NB: R11 is the only usable >>scratch register for function calls. */ >> xorl %r11d, %r11d >> rdsspq %r11 >> testq %r11, %r11 >> jnz 3f >> call 2f >> 1: >> pause >> lfence >> jmp 1b >> 2: >> mov %rax,

Re: Mount options may be silently discarded

2020-09-28 Thread Al Viro
On Mon, Sep 28, 2020 at 09:00:54PM +0300, Dmitry Kasatkin wrote: > But why "we" should allow "discarding" failed part instead of failing > with EFAULT as a whole? Because there might very well be absolutely legitimate users of mount(2) passing it something smaller than 4Kb immediately followed by

Reporting bug in mpi_ec_mul_point()

2020-09-28 Thread Gustavo A. R. Silva
Hi all, I'm reporting the following bug detected by Coverity: The _scalar_copied_ variable is set to 0 at lib/mpi/ec.c:1255: 1255 int scalar_copied = 0; and it is never updated before reaching the code below: lib/mpi/ec.c:1317 1317 if (scalar_copied)

Re: [PATCH v14 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-09-28 Thread Rob Herring
On Thu, 24 Sep 2020 16:42:31 +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add YAML file for dt-bindings to support NAND Flash Controller > on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > .../devicetree/bindings/mtd

[PATCH v1 1/5] mm/page_alloc: convert "report" flag of __free_one_page() to a proper flag

2020-09-28 Thread David Hildenbrand
Let's prepare for additional flags and avoid long parameter lists of bools. Follow-up patches will also make use of the flags in __free_pages_ok(), however, I wasn't able to come up with a better name for the type - should be good enough for internal purposes. Reviewed-by: Alexander Duyck Reviewe

[PATCH v1 4/5] mm/page_alloc: place pages to tail in __free_pages_core()

2020-09-28 Thread David Hildenbrand
__free_pages_core() is used when exposing fresh memory to the buddy during system boot and when onlining memory in generic_online_page(). generic_online_page() is used in two cases: 1. Direct memory onlining in online_pages(). 2. Deferred memory onlining in memory-ballooning-like mechanisms (Hype

[PATCH v1 2/5] mm/page_alloc: place pages to tail in __putback_isolated_page()

2020-09-28 Thread David Hildenbrand
__putback_isolated_page() already documents that pages will be placed to the tail of the freelist - this is, however, not the case for "order >= MAX_ORDER - 2" (see buddy_merge_likely()) - which should be the case for all existing users. This change affects two users: - free page reporting - page

[PATCH v1 0/5] mm: place pages to the freelist tail when onling and undoing isolation

2020-09-28 Thread David Hildenbrand
When adding separate memory blocks via add_memory*() and onlining them immediately, the metadata (especially the memmap) of the next block will be placed onto one of the just added+onlined block. This creates a chain of unmovable allocations: If the last memory block cannot get offlined+removed() s

[PATCH v1 3/5] mm/page_alloc: always move pages to the tail of the freelist in unset_migratetype_isolate()

2020-09-28 Thread David Hildenbrand
Page isolation doesn't actually touch the pages, it simply isolates pageblocks and moves all free pages to the MIGRATE_ISOLATE freelist. We already place pages to the tail of the freelists when undoing isolation via __putback_isolated_page(), let's do it in any case (e.g., if order <= pageblock_or

[PATCH v1 5/5] mm/memory_hotplug: update comment regarding zone shuffling

2020-09-28 Thread David Hildenbrand
As we no longer shuffle via generic_online_page() and when undoing isolation, we can simplify the comment. We now effectively shuffle only once (properly) when onlining new memory. Cc: Andrew Morton Cc: Alexander Duyck Cc: Mel Gorman Cc: Michal Hocko Cc: Dave Hansen Cc: Vlastimil Babka Cc:

Re: [Regression] "tpm: Require that all digests are present in TCG_PCR_EVENT2 structures" causes null pointer dereference

2020-09-28 Thread Kenneth R. Crudup
On Mon, 28 Sep 2020, Jarkko Sakkinen wrote: > That's a good guess. Just a bit confused how that particular patch can > have the effect: it has two deferences to efispecid instead of one in > the same statement. Would be interesting to hear if the bug is triggered > in Kenneth's environment by th

THANK YOU

2020-09-28 Thread XXXXXXXXXX 95758756658505
>From Harvey Terence (Mr.) 25 Canada Square, Canary Wharf, London E14 5LB, Good day I am Mr. Harvey Terence, Operating Officer of this bank. I am assuring you that with your honest assistance and joint effort we can complete this life time transaction within 7/14 working days. I need a reliable

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-09-28 Thread Sinan Kaya
On 9/28/2020 2:02 PM, Sinan Kaya wrote: > Since there is no state restoration for FATAL errors, I am wondering > whether > calls to ->error_detected(), ->mmio_enabled() and ->slot_reset() are > required? I also would like to ask someone closer to the spec language double check this. When we recov

Re: [PATCH v3 01/10] arm64: pmu: Add hook to handle pmu-related undefined instructions

2020-09-28 Thread Will Deacon
On Fri, Sep 11, 2020 at 03:51:09PM -0600, Rob Herring wrote: > From: Raphael Gault > > This patch introduces a protection for the userspace processes which are > trying to access the registers from the pmu registers on a big.LITTLE > environment. It introduces a hook to handle undefined instructi

Re: [PATCH v6 5/6] dt-bindings: dw-apb-ictl: convert to json-schema

2020-09-28 Thread Rob Herring
On Thu, Sep 24, 2020 at 03:17:53PM +0800, Zhen Lei wrote: > Convert the Synopsys DesignWare APB interrupt controller (dw_apb_ictl) > binding to DT schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../interrupt-controller/snps,dw-apb-ictl.txt | 43 - > .../int

Re: [PATCH v5 1/3] dt-bindings: iio: adc: add bindings doc for MT6360 ADC

2020-09-28 Thread Rob Herring
On Mon, 21 Sep 2020 19:24:00 +0800, Gene Chen wrote: > From: Gene Chen > > This change adds the binding doc for the MT6360 ADC. > > Signed-off-by: Gene Chen > --- > .../bindings/iio/adc/mediatek,mt6360-adc.yaml | 34 > ++ > 1 file changed, 34 insertions(+) > create m

Re: [PATCH v4 1/6] dt-bindings: ti-serdes-mux: Add defines for J7200 SoC

2020-09-28 Thread Rob Herring
On Mon, 21 Sep 2020 17:39:36 +0300, Roger Quadros wrote: > There are 4 lanes in each J7200 SERDES. Each SERDES lane mux can > select upto 4 different IPs. Define all the possible functions. > > Cc: Peter Rosin > Signed-off-by: Roger Quadros > --- > include/dt-bindings/mux/ti-serdes.h | 22 +

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-09-28 Thread Kuppuswamy, Sathyanarayanan
On 9/28/20 11:25 AM, Sinan Kaya wrote: On 9/28/2020 2:02 PM, Sinan Kaya wrote: Since there is no state restoration for FATAL errors, I am wondering whether calls to ->error_detected(), ->mmio_enabled() and ->slot_reset() are required? I also would like to ask someone closer to the spec lang

Re: [PATCH v6 6/6] ARC: [dts] fix the errors detected by dtbs_check

2020-09-28 Thread Vineet Gupta
On 9/24/20 12:17 AM, Zhen Lei wrote: > xxx/arc/boot/dts/axs101.dt.yaml: dw-apb-ictl@e0012000: $nodename:0: \ > 'dw-apb-ictl@e0012000' does not match '^interrupt-controller(@[0-9a-f,]+)*$' > From schema: xxx/interrupt-controller/snps,dw-apb-ictl.yaml > > The node name of the interrupt controller mu

Re: WARNING in hrtimer_forward

2020-09-28 Thread Thomas Gleixner
On Tue, Sep 29 2020 at 01:11, Hillf Danton wrote: > On Mon, 28 Sep 2020 18:13:42 +0200 Thomas Gleixner wrote: >> So the timer was armed at some point and then the expiry which does the >> forward races with the ioctl which starts the timer. Lack of >> serialization or such ... > > To make syzbot ha

[PATCH v4 3/4] i40e: Limit msix vectors to housekeeping CPUs

2020-09-28 Thread Nitesh Narayan Lal
If we have isolated CPUs designated to perform real-time tasks, to keep the latency overhead to a minimum for real-time CPUs IRQ vectors are moved to housekeeping CPUs from the userspace. Creating MSIX vectors only based on the online CPUs could lead to exhaustion of housekeeping CPU IRQ vectors in

[PATCH v4 0/4] isolation: limit msix vectors to housekeeping CPUs

2020-09-28 Thread Nitesh Narayan Lal
This is a follow-up posting for "[PATCH v3 0/4] isolation: limit msix vectors to housekeeping CPUs". Issue = With the current implementation device drivers while creating their MSIX         vectors only take num_online_cpus() into consideration which works quite well   for a non-RT environment

[PATCH v4 2/4] sched/isolation: Extend nohz_full to isolate managed IRQs

2020-09-28 Thread Nitesh Narayan Lal
Extend nohz_full feature set to include isolation from managed IRQS. This is required specifically for setups that only uses nohz_full and still requires isolation for maintaining lower latency for the listed CPUs. Suggested-by: Frederic Weisbecker Signed-off-by: Nitesh Narayan Lal --- kernel/s

[PATCH v4 4/4] PCI: Limit pci_alloc_irq_vectors() to housekeeping CPUs

2020-09-28 Thread Nitesh Narayan Lal
If we have isolated CPUs dedicated for use by real-time tasks, we try to move IRQs to housekeeping CPUs from the userspace to reduce latency overhead on the isolated CPUs. If we allocate too many IRQ vectors, moving them all to housekeeping CPUs may exceed per-CPU vector limits. When we have isol

[PATCH v4 1/4] sched/isolation: API to get number of housekeeping CPUs

2020-09-28 Thread Nitesh Narayan Lal
Introduce a new API housekeeping_num_online_cpus(), that can be used to retrieve the number of online housekeeping CPUs based on the housekeeping flag passed by the caller. Some of the consumers for this API are the device drivers that were previously relying only on num_online_cpus() to determine

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Jason Gunthorpe
On Mon, Sep 28, 2020 at 10:54:28AM -0700, Linus Torvalds wrote: > On Mon, Sep 28, 2020 at 10:23 AM Peter Xu wrote: > > > > Yes... Actually I am also thinking about the complete solution to cover > > read-only fast-gups too, but now I start to doubt this, at least for the > > fork() > > path. E.

[PATCH] mailmap: add entry for

2020-09-28 Thread Mark Starovoytov
Map the address to my private mail, because my Marvell account has been suspended. Signed-off-by: Mark Starovoytov --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index a780211468e4..f7bd4ee8c4b9 100644 --- a/.mailmap +++ b/.mailmap @@ -195,6 +195,7 @@ Macie

Re: general protection fault in io_poll_double_wake (2)

2020-09-28 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+81b3883093f772add...@syzkaller.appspotmail.com Tested on: commit: fad8e0de io_uring: fix potential ABBA deadlock in ->show_f.. git tree: git://git.kernel.dk/li

Re: [PATCH v4 1/2] dt-bindings: leds: Add bindings for MT6360 LED

2020-09-28 Thread Rob Herring
On Wed, Sep 23, 2020 at 08:50:51PM +0800, Gene Chen wrote: > From: Gene Chen > > Add bindings document for LED support on MT6360 PMIC > > Signed-off-by: Gene Chen > --- > .../devicetree/bindings/leds/leds-mt6360.yaml | 107 > + > 1 file changed, 107 insertions(+) > c

[PATCH] dt-bindings: pinctrl: renesas,pfc: align example GPIO hog name with dtschema

2020-09-28 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema expects GPIO hogs to end with 'hog' suffix. Adjust the example DTS in the binding. No changes to binding itself. Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl

Re: [PATCH v4 1/4] dt-bindings: media: imx258: add bindings for IMX258 sensor

2020-09-28 Thread Rob Herring
On Wed, 23 Sep 2020 17:21:26 +0200, Krzysztof Kozlowski wrote: > Add bindings for the IMX258 camera sensor. The bindings, just like the > driver, are quite limited, e.g. do not support regulator supplies. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v3: > 1. Document also t

Re: [PATCH v4 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-28 Thread Rob Herring
On Wed, 23 Sep 2020 10:24:15 -0500, Ricardo Rivera-Matos wrote: > Add the bindings for the bq256xx series of battery charging ICs. > > Datasheets: > - https://www.ti.com/lit/ds/symlink/bq25600.pdf > - https://www.ti.com/lit/ds/symlink/bq25601.pdf > - https://www.ti.com/lit/ds/symlink/bq25600d.pdf

Re: [PATCH 5/7] pinctrl: qcom: Add IPQ5018 pinctrl driver

2020-09-28 Thread Bjorn Andersson
On Mon 28 Sep 00:15 CDT 2020, Varadarajan Narayanan wrote: > diff --git a/drivers/pinctrl/qcom/pinctrl-ipq5018.c > b/drivers/pinctrl/qcom/pinctrl-ipq5018.c [..] > +static const struct msm_function ipq5018_functions[] = { [..] > + FUNCTION(qspi_clk), > + FUNCTION(qspi_cs), > + FUNCTION(

Re: [PATCH v4 2/2] USB: misc: Add onboard_usb_hub driver

2020-09-28 Thread Alan Stern
On Mon, Sep 28, 2020 at 10:13:55AM -0700, Matthias Kaehlcke wrote: > The main issue this driver addresses is that a USB hub needs to be > powered before it can be discovered. For discrete onboard hubs (an > example for such a hub is the Realtek RTS5411) this is often solved > by supplying the hub w

Re: [PATCH v3 01/11] xen/manage: keep track of the on-going suspend mode

2020-09-28 Thread boris . ostrovsky
On 9/25/20 6:28 PM, Anchal Agarwal wrote: > On Fri, Sep 25, 2020 at 04:02:58PM -0400, boris.ostrov...@oracle.com wrote: >> CAUTION: This email originated from outside of the organization. Do not >> click links or open attachments unless you can confirm the sender and know >> the content is safe

<    4   5   6   7   8   9   10   11   12   13   >