> On Sep 30, 2020, at 10:20, Jarkko Sakkinen
> wrote:
>
> On Tue, Sep 29, 2020 at 01:52:04PM -0400, Mimi Zohar wrote:
>> On Mon, 2020-09-28 at 22:16 +0800, Kai-Heng Feng wrote:
>>> Hi Jarkko,
>>>
On Sep 28, 2020, at 22:06, Jarkko Sakkinen
wrote:
On Mon, Sep 28, 2020 at
On Wed, Oct 07, 2020 at 05:45:30PM +0200, Rafael J. Wysocki wrote:
> > pre-cst is just before your patch
> > enable-cst is your patch that was bisected
> > enable-cst-no-hsx-acpi is your patch with use_acpi disabled
> > 5.9-rc8-vanilla is what it sounds like
> > 5.9-rc8-no-hsx-acpi disables
On Tue, 6 Oct 2020 at 17:33, Thomas Gleixner wrote:
>
> Brad,
>
> On Wed, Oct 07 2020 at 00:45, Brad Harper wrote:
> > I'm happy to test anything on a range of amlogic hardware with standard
> > / rt and multiple mmc devices. Ill test Jerome's patch in next 24
> > hours to report the results.
>
On Tue, Oct 06, 2020 at 02:40:32PM +0900, namhy...@kernel.org wrote:
> On Tue, Oct 06, 2020 at 11:39:49AM +0900, namhy...@kernel.org wrote:
> > > > On Fri, Oct 02, 2020 at 10:03:17PM +0900, Namhyung Kim wrote:
> > > > > Below measures time and memory usage during the perf inject and
> > > > >
On Wed, Oct 07, 2020 at 03:53:47PM -0400, Arvind Sankar wrote:
> Save the boot_params pointer passed in by the bootloader in
> startup_32/64. This avoids having to initialize it in two different
> places in C code, and having to preserve SI through the early assembly
> code.
>
> Signed-off-by:
On Thu, Oct 08, 2020 at 03:28:32PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> WARNING: modpost: EXPORT symbol "copy_mc_fragile" [vmlinux] version
> generation failed, symbol will not be
On Thu 2020-10-08 14:52:38, Sergey Senozhatsky wrote:
> On (20/10/08 01:29), Sergey Senozhatsky wrote:
> > On (20/10/07 08:57), Guenter Roeck wrote:
> > > On 10/7/20 5:30 AM, Sergey Senozhatsky wrote:
> >
> > [..]
> >
> > > I can see to options: Link /dev/console to /dev/null if there is no
> >
On Wed 07-10-20 14:49:25, Ralph Campbell wrote:
> There are several places where ZONE_DEVICE struct pages assume a reference
> count == 1 means the page is idle and free. Instead of open coding this,
> add helper functions to hide this detail.
>
> Signed-off-by: Ralph Campbell
> Reviewed-by:
The following commit has been merged into the ras/core branch of tip:
Commit-ID: b3149ffcdb31a8eb854cc442a389ae0b539bf28a
Gitweb:
https://git.kernel.org/tip/b3149ffcdb31a8eb854cc442a389ae0b539bf28a
Author:Borislav Petkov
AuthorDate:Wed, 07 Oct 2020 18:55:35 +02:00
Tero,
On 06/10/20 6:40 pm, Tero Kristo wrote:
> On 06/10/2020 16:03, Faiz Abbas wrote:
>> Hi Tero,
>>
>> On 06/10/20 5:21 pm, Tero Kristo wrote:
>>> On 02/10/2020 19:45, Faiz Abbas wrote:
The following patches enable configs in the arm64 defconfig to support
GPIO and I2C support on TI's
Hi Peter,
Peter Zijlstra writes:
> On Wed, Oct 07, 2020 at 12:05:51PM +0200, Peter Zijlstra wrote:
>> On Wed, Oct 07, 2020 at 09:53:25AM +0200, Sven Schnelle wrote:
>> > Hi Peter,
>> >
>> > pet...@infradead.org writes:
>> >
>> > > After commit eb1f00237aca ("lockdep,trace: Expose
I found some typos related to "arbitrary".
s/abitrary/arbitrary/
s/arbitary/arbitrary/
This series fixes them.
These typos have been reported in the past in other codes, but
correction 'abitrary||arbitrary' wasn't added to scripts/spelling.txt.
Therefore, PATCH #6 adds it to spelling.txt.
Hi Joe,
Thanks for looking at this.
On Wed, Oct 07, 2020 at 11:47:57PM +0100, Joe Perches wrote:
> On Wed, 2020-10-07 at 10:27 +0100, Matteo Franchin wrote:
> > Add ABGR format with 10-bit components packed in 64-bit per pixel.
> > This format can be used to handle
> >
Fix comment typo.
s/arbitary/arbitrary/
Signed-off-by: Naoki Hayama
---
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index c6404b8d067f..5077004f7fbf
Fix comment typo.
s/arbitary/arbitrary/
Signed-off-by: Naoki Hayama
---
sound/pci/rme9652/hdspm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 572350aaf18d..a808b445afd8 100644
--- a/sound/pci/rme9652/hdspm.c
+++
Fix comment typo.
s/abitrary/arbitrary/
Signed-off-by: Naoki Hayama
---
drivers/net/ethernet/ti/tlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/ethernet/ti/tlan.c
index 76a342ea3797..e922258cae3f 100644
---
Fix comment typo.
s/abitrary/arbitrary/
Signed-off-by: Naoki Hayama
---
Documentation/devicetree/bindings/pinctrl/pinctrl-atlas7.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-atlas7.txt
Fix comment typo.
s/abitrary/arbitrary/
Signed-off-by: Naoki Hayama
---
.../devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt
Add "abitrary||arbitrary".
Signed-off-by: Naoki Hayama
---
scripts/spelling.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index feb2efaaa5e6..a77b628e3af0 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -9,6 +9,7 @@
#
On 07/10/2020 12.13, Greg Kroah-Hartman wrote:
On Tue, Oct 06, 2020 at 04:26:27PM +0300, M. Vefa Bicakci wrote:
On 05/10/2020 18.26, Greg Kroah-Hartman wrote:
From: M. Vefa Bicakci
commit d6407613c1e2ef90213dee388aa16b6e1bd08cbc upstream.
This commit reverts commit 7a2f2974f265 ("usbip:
On Wed, Oct 07, 2020 at 10:43:19AM -0500, Jassi Brar wrote:
> On Wed, Oct 7, 2020 at 6:40 AM Sudeep Holla wrote:
> >
> > On Fri, Oct 02, 2020 at 02:42:37PM -0500, Jassi Brar wrote:
> > > On Mon, Sep 28, 2020 at 6:45 AM Sudeep Holla wrote:
> > >
> > > > +
> > > > +static void
On Wed 2020-10-07 21:30:44, Sergey Senozhatsky wrote:
> On (20/10/07 09:28), Petr Mladek wrote:
> >
> > /*
> > * Dirty hack to prevent using any console with tty
> > * binding as a fallback and adding the empty
> > * name into console_cmdline
Hello,
syzbot found the following issue on:
HEAD commit:5edb1df2 kmsan: drop the _nosanitize string functions
git tree: https://github.com/google/kmsan.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=1279b1c050
kernel config:
On Thu, Oct 8, 2020 at 5:48 AM wrote:
>
> From: Muhammad Husaini Zulkifli
>
> Add header file to handle API function for device driver to communicate
> with Arm Trusted Firmware.
Arm -> ARM ?
...
> .../linux/firmware/intel/keembay_firmware.h | 47 +++
Please, drop dup of
On 08/10/2020 04:35, Neal Liu wrote:
On Wed, 2020-10-07 at 12:44 +0200, Matthias Brugger wrote:
On 27/08/2020 05:06, Neal Liu wrote:
MediaTek bus fabric provides TrustZone security support and data
protection to prevent slaves from being accessed by unexpected
masters.
The security
add_memory_region was the old interface for registering memory and
was already changed to used memblock internaly. Replace it by
directly calling memblock functions.
Signed-off-by: Thomas Bogendoerfer
---
Changes in v2:
fixed missing memblock include in fw/sni/sniprom.c
tested on
syzbot suspects this issue was fixed by commit:
commit 9c516e0e4554e8f26ab73d46cbc789d7d8db664d
Author: Brian Foster
Date: Tue Aug 18 15:05:58 2020 +
xfs: finish dfops on every insert range shift iteration
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=157f71e050
On Mon, 2020-10-05 at 11:38 +0200, Mauro Carvalho Chehab wrote:
> the files under /80211 calls kernel-doc script 207 times, one for each
> single function and doc chapter. Due to that, it takes a lot of time
> handling it:
>
> $ touch Documentation/driver-api/80211/*rst && time make
>
On Wed, Oct 07, 2020 at 03:53:51PM -0400, Arvind Sankar wrote:
> On 64-bit, the startup_64_setup_env() function added in
> 866b556efa12 ("x86/head/64: Install startup GDT")
> has stack protection enabled because of set_bringup_idt_handler().
>
> At this point, %gs is not yet initialized, and
On 07/10/2020 18.46, Rob Herring wrote:
> On Wed, Oct 07, 2020 at 12:09:06PM +0300, Peter Ujfalusi wrote:
>>
>>
>> On 06/10/2020 22.29, Rob Herring wrote:
>>> On Wed, Sep 30, 2020 at 12:14:03PM +0300, Peter Ujfalusi wrote:
New binding document for
Texas Instruments K3 Block Copy DMA
On Thu, Oct 8, 2020 at 1:13 AM Daniel Vetter wrote:
>
> On Thu, Oct 8, 2020 at 9:50 AM Dan Williams wrote:
> >
> > On Wed, Oct 7, 2020 at 4:25 PM Jason Gunthorpe wrote:
> > >
> > > On Wed, Oct 07, 2020 at 12:33:06PM -0700, Dan Williams wrote:
> > > > On Wed, Oct 7, 2020 at 11:11 AM Daniel
On Thu, Oct 08, 2020 at 12:45:30PM +0530, Maninder Singh wrote:
> Observed Stack Overflow on 8KB kernel stack on ARM specially
> incase on network interrupts, which results in undeterministic behaviour.
> So there is need for per cpu dedicated IRQ stack for ARM.
>
> As ARm does not have extra
Used the generic PHY framework API to create the PHY, this driver
supoorts USB OTG PHY used in JZ4770 SoC, JZ4780 SoC, X1000 SoC,
and X1830 SoC.
Tested-by: 周正 (Zhou Zheng)
Tested-by: H. Nikolaus Schaller
Co-developed-by: 漆鹏振 (Qi Pengzhen)
Signed-off-by: 漆鹏振 (Qi Pengzhen)
Signed-off-by: 周琰杰
Remove unnecessary "of_match_ptr()", because Ingenic SoCs all
depend on Device Tree.
Suggested-by: Paul Cercueil
Signed-off-by: 周琰杰 (Zhou Yanjie)
Reviewed-by: Paul Cercueil
---
Notes:
v3:
New patch.
v3->v4:
No change.
v4->v5:
Add Paul Cercueil's Reviewed-by.
v3->v4:
Only add new generic-PHY driver, without removing the old one. Because the
jz4740-musb driver is not ready to use the generic PHY framework. When the
jz4740-musb driver is modified to use the generic PHY framework, the old
jz4770-phy driver can be "retired".
v4->v5:
1.Add an extra blank
On Tue, 6 Oct 2020 10:56:52 -0700 (PDT)
Stefano Stabellini wrote:
> On Tue, 6 Oct 2020, Masami Hiramatsu wrote:
> > On Mon, 5 Oct 2020 18:13:22 -0700 (PDT)
> > Stefano Stabellini wrote:
> >
> > > On Mon, 5 Oct 2020, Julien Grall wrote:
> > > > Hi Masami,
> > > >
> > > > On 05/10/2020 14:39,
On Tue, Oct 06, 2020 at 08:23:06AM +0100, Christoph Hellwig wrote:
> If people want to use the "raw" IOMMU API with not cache coherent
> devices we'll need a cache maintainance API that goes along with it.
> It could either be formally part of the IOMMU API or be separate.
The IOMMU-API does not
On Wed, Oct 07, 2020 at 09:44:09AM -0700, Rob Clark wrote:
> On Mon, Oct 5, 2020 at 5:15 AM Ville Syrjälä
> wrote:
> >
> > On Fri, Oct 02, 2020 at 10:55:52AM -0700, Rob Clark wrote:
> > > On Fri, Oct 2, 2020 at 4:05 AM Ville Syrjälä
> > > wrote:
> > > >
> > > > On Fri, Oct 02, 2020 at 01:52:56PM
Hi Bjorn,
On Wed, Oct 07, 2020 at 10:43:14AM -0500, Bjorn Helgaas wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=209321
>
> Not much detail in the bugzilla yet, but apparently this started in
> v5.8.0-rc1:
>
> DMAR: [DMA Read] Request device [03:00.0] PASID fault addr
>
On 07/10/2020 8.44, Vinod Koul wrote:
> Hi Peter,
>
> On 30-09-20, 12:13, Peter Ujfalusi wrote:
>> Additional configuration for the DMA event router might be needed for a
>> channel which can not be done during device_alloc_chan_resources callback
>> since the router information is not yet
On Thu, Oct 8, 2020 at 9:50 AM Dan Williams wrote:
>
> On Wed, Oct 7, 2020 at 4:25 PM Jason Gunthorpe wrote:
> >
> > On Wed, Oct 07, 2020 at 12:33:06PM -0700, Dan Williams wrote:
> > > On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter
> > > wrote:
> > > >
> > > > Since 3234ac664a87 ("/dev/mem:
On Thu, Oct 8, 2020 at 12:29 AM Dan Williams wrote:
>
> On Wed, Oct 7, 2020 at 3:23 PM Dan Williams wrote:
> >
> > On Wed, Oct 7, 2020 at 12:49 PM Daniel Vetter
> > wrote:
> > >
> > > On Wed, Oct 7, 2020 at 9:33 PM Dan Williams
> > > wrote:
> > > >
> > > > On Wed, Oct 7, 2020 at 11:11 AM
Hi!
> +int main(void)
> +{
> +struct pollfd pfd = { .events = POLLIN };
> +struct counter_event event_data[2];
> +
> +pfd.fd = open("/dev/counter0", O_RDWR);
> +
> +ioctl(pfd.fd, COUNTER_SET_WATCH_IOCTL, watches);
> +
Wilken Gottwalt writes:
> Add usb ids of the Cellient MPL200 card.
>
> Signed-off-by: Wilken Gottwalt
> ---
> drivers/net/usb/qmi_wwan.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
> index 07c42c0719f5..5ca1356b8656 100644
>
From: Yulei Zhang
Dmem page is pfn invalid but not mmio. Support cacheable
dmem page for kvm.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
arch/x86/kvm/mmu/mmu.c | 5 +++--
include/linux/dmem.h | 7 +++
mm/dmem.c | 7 +++
3 files changed, 17 insertions(+), 2
From: Yulei Zhang
Add pud_special() and follow_special_pud() to support dmem
huge pud as we do for dmem huge pmd.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
arch/x86/include/asm/pgtable.h | 2 +-
include/linux/huge_mm.h| 2 +-
mm/gup.c | 46
From: Yulei Zhang
dmemfs register the mce handler, send signal to the procs
whose vma is mapped in mce pfn.
Signed-off-by: Haiwei Li
Signed-off-by: Yulei Zhang
---
fs/dmemfs/inode.c| 141 +++
include/linux/dmem.h | 7 +++
include/linux/mm.h |
From: Yulei Zhang
follow_pfn() will get pfn of pmd if huge pmd is encountered.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
mm/memory.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index 2d2c0f8a966b..ca42a6e56e9b
From: Yulei Zhang
Introduce dmemfs.rst to document the basic usage of dmemfs.
Signed-off-by: Yulei Zhang
---
Documentation/filesystems/dmemfs.rst | 59
1 file changed, 59 insertions(+)
create mode 100644 Documentation/filesystems/dmemfs.rst
diff --git
From: Yulei Zhang
If dmem contained in dmem region is too large and dmemfs is mounted as
4K pagesize, size of bitmap in this dmem region maybe exceed maximal
available memory of kzalloc(). It would cause kzalloc() fail.
So introduce dmem_bitmap_alloc() and use vzalloc() if bitmap is larger than
From: Yulei Zhang
This test case is used to test dmem management system.
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
---
tools/testing/dmem/Kbuild | 1 +
tools/testing/dmem/Makefile| 10 ++
tools/testing/dmem/dmem-test.c | 184 +
3
From: Yulei Zhang
Introduce __dmemfs_huge_fault() to handle 1G huge pud for dmemfs.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
fs/dmemfs/inode.c | 40
1 file changed, 40 insertions(+)
diff --git a/fs/dmemfs/inode.c b/fs/dmemfs/inode.c
From: Yulei Zhang
Currently dmemfs do not support memory readonly, so change_protection()
will be disabled for dmemfs vma. Since vma->vm_flags could be changed to
new flag in mprotect_fixup(), so we introduce a new vma flag VM_DMEM and
check this flag in mprotect_fixup() to avoid changing
From: Yulei Zhang
pud_special() will check both _PAGE_SPECIAL and _PAGE_DMEM bit
as pmd_special() does.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
arch/x86/include/asm/pgtable.h | 13 +
include/linux/pgtable.h| 10 ++
2 files changed, 23 insertions(+)
From: Yulei Zhang
dmem handle the mce if the pfn belongs to dmem when mce occurs.
1. check whether the pfn is handled by dmem. return if true.
2. mark the pfn in a new error bitmap defined in page.
3. a series of mechanism to ensure that the mce pfn is not allocated.
Signed-off-by: Haiwei Li
From: Yulei Zhang
Temporarily disable record_steal_time when entering
the guest for dmem.
Signed-off-by: Yulei Zhang
---
arch/x86/kvm/x86.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 1994602a0851..409b5a68aa60 100644
---
From: Yulei Zhang
Since we had supported dmem huge pud, here support dmem huge pud for
hva_to_pfn().
Similar to follow_pte_pmd(), follow_pte_pud() allows a PTE lead or a
huge page PMD or huge page PUD to be found and returned.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
From: Yulei Zhang
It is required by munmap() for dmemfs mapping.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
mm/huge_memory.c | 2 ++
mm/memory.c | 8 +---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index
From: Yulei Zhang
As dmem-pmd had been distinguished from thp-pmd, we need to add
pmd_special() such that pmd_trans_huge_lock could fetch ptl
for dmem huge pmd and treat it as stable pmd.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
include/linux/huge_mm.h | 3 ++-
From: Yulei Zhang
Fix estimation of reserved page for vaddr_get_pfn() and
check 'ret' before checking writable permission
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
drivers/vfio/vfio_iommu_type1.c | 4
1 file changed, 4 insertions(+)
diff --git
From: Yulei Zhang
A dmem huge page is ultimately not a transparent huge page. As we
decided to use pmd_special() to distinguish dmem-pmd from thp-pmd,
we should make some slightly different semantics between pmd_special()
and pmd_trans_huge(), just as pmd_devmap() in upstream. This distinction
From: Yulei Zhang
It add hugepage support for dmemfs. We use PFN_DMEM to notify
vmf_insert_pfn_pmd, and dmem huge pmd will be marked with
_PAGE_SPECIAL and _PAGE_DMEM. So that GUP-fast can separate
dmemfs page from other page type and handle it correctly.
Signed-off-by: Chen Zhuo
From: Yulei Zhang
Add pmd_special() check in gup_huge_pmd() to support dmem huge pmd.
GUP will return zero if enconter dmem page, and we could handle it
outside GUP routine.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
mm/gup.c | 6 +-
1 file changed, 5 insertions(+), 1
From: Yulei Zhang
It is required by __split_vma() to adjust vma. munmap() which create
hole unaligned to pagesize in dmemfs-mapping should be forbidden.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
fs/dmemfs/inode.c | 8
1 file changed, 8 insertions(+)
diff --git
From: Yulei Zhang
Since vmf_insert_pfn_pmd will BUG_ON non-pmd-devmap, we make pfn dmem pass
the check.
Dmem huge pmd will be marked with _PAGE_SPECIAL and _PAGE_DMEM, so that
follow_pfn() could recognize it.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
mm/huge_memory.c | 4 +++-
From: Yulei Zhang
It is required by ptrace_writedata and ptrace_readdata to access
dmem memory remotely. The typical user is gdb, after this patch,
gdb is able to read & write memory owned by the attached process
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
---
fs/dmemfs/inode.c
On Wed, 2020-09-30 at 20:32 +0200, Thomas Gleixner wrote:
> On Tue, Sep 15 2020 at 16:27, Dave Jiang wrote:
> > @@ -1303,9 +1303,10 @@ static void intel_irq_remapping_prepare_irte(struct
> > intel_ir_data *data,
> > case X86_IRQ_ALLOC_TYPE_HPET:
> > case X86_IRQ_ALLOC_TYPE_PCI_MSI:
> >
From: Yulei Zhang
While follow_pmd_mask(), dmem huge pmd should be recognized and return
error pointer of '-EEXIST' to indicate that proper page table entry exists
in pmd special but no corresponding struct page, because dmem page means
non struct page backend. We update pmd if foll_flags takes
From: Yulei Zhang
Export interface interleave_nid() to serve dmem allocator.
Signed-off-by: Yulei Zhang
---
include/linux/mempolicy.h | 3 +++
mm/mempolicy.c| 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/linux/mempolicy.h
From: Yulei Zhang
Create 'dmem' directory under debugfs and show some
statistic for dmem pool, track total and free dpages
on dmem pool and each numa node.
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
---
mm/Kconfig | 9 +
mm/dmem.c | 100
From: Yulei Zhang
Introduce PFN_DMEM as a new pfn flag for dmem pfn, define it
by setting (BITS_PER_LONG_LONG - 6) bit.
Introduce pfn_t_dmem() helper to recognize dmem pfn.
Signed-off-by: Chen Zhuo
Signed-off-by: Yulei Zhang
---
include/linux/pfn_t.h | 17 -
1 file changed,
From: Yulei Zhang
It specifies the dmem page number allocated at one time, then
multiple radix entries can be created. That will relief the
allocation pressure and make page fault more fast.
However that could cause no dmem page mmapped to userspace
even if there are some free dmem pages.
Set
From: Yulei Zhang
It adds mempolicy support for dmem to allocates memory
from mempolicy specified nodes.
Signed-off-by: Haiwei Li
Signed-off-by: Yulei Zhang
---
arch/x86/Kconfig | 1 +
arch/x86/include/asm/pgtable.h | 7
arch/x86/include/asm/pgtable_types.h
From: Yulei Zhang
x86 pat uses 'struct page' by only checking if it's system ram,
however it is not true if dmem is used, let's teach pat to
recognize this case if it is ram but it is !pfn_valid()
We always use WB for dmem and any attempt to change this
behavior will be rejected and WARN_ON is
From: Yulei Zhang
dmemfs (Direct Memory filesystem) is device memory or reserved
memory based filesystem. This kind of memory is special as it
is not managed by kernel and it is without 'struct page'.
The original purpose of dmemfs is to drop the usage of
'struct page' to save extra system
From: Yulei Zhang
Add tracepoints for alloc_init, alloc and free functions,
that helps us to figure out what is happening inside dmem
allocator
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
---
fs/dmemfs/Makefile | 1 +
fs/dmemfs/inode.c | 5 +++
From: Yulei Zhang
Introduce 'dmem=' to reserve system memory for DMEM (direct memory),
comparing with 'mem=' and 'memmap', it reserves memory based on the
topology of NUMA, for the detailed info, please refer to
kernel-parameters.txt
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
From: Yulei Zhang
It adds mmap support. Note the file will be extended if it's
beyond mmap's offset, that drops the requirement of write()
operation, however, it has not supported cutting file down.
Signed-off-by: Xiao Guangrong
Signed-off-by: Yulei Zhang
---
fs/dmemfs/inode.c| 337
From: Yulei Zhang
To support cut inode down, it will
introduce the race between page fault handler and
truncating handler as the entry to be deleted is being
mapped into process's VMA
in order to make page fault faster (as it's the hot
path), we use RCU to sync these two handlers. When
inode's
From: Yulei Zhang
It introduces the interfaces to manage dmem pages that include:
- dmem_region_register(), it registers the reserved memory to the
dmem management system, later it can be allocated out for dmemfs
- dmem_alloc_init(), initiate dmem allocator, note the page size the
On 2020-10-08 12:45:30 [+0530], Maninder Singh wrote:
> Observed Stack Overflow on 8KB kernel stack on ARM specially
> incase on network interrupts, which results in undeterministic behaviour.
> So there is need for per cpu dedicated IRQ stack for ARM.
You could try to look where this stack
From: Yulei Zhang
In current system each physical memory page is assocaited with
a page structure which is used to track the usage of this page.
But due to the memory usage rapidly growing in cloud environment,
we find the resource consuming for page structure storage becomes
highly remarkable.
Hi!
> > > The node names for devices using the pwm-leds driver follow a certain
> > > naming scheme (now). Parent node name is not enforced, but recommended
> > > by DT project.
> > >
> > > DTC Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml
> > > CHECK
Hi Chun-Kuang,
On 8/10/20 2:01, Chun-Kuang Hu wrote:
> Hi, Enric:
>
> Enric Balletbo i Serra 於 2020年10月7日 週三
> 上午3:33寫道:
>>
>> From: CK Hu
>>
>> Actually, setting the registers for routing, use multiple 'if-else' for
>> different
>> routes, but this code would be more and more complicated
On Wed, Oct 7, 2020 at 4:25 PM Jason Gunthorpe wrote:
>
> On Wed, Oct 07, 2020 at 12:33:06PM -0700, Dan Williams wrote:
> > On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter
> > wrote:
> > >
> > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims
> > > the region") /dev/kmem zaps
On Thu, Oct 08, 2020 at 08:42:59AM +0300, Ivan Zaentsev wrote:
> sysfs attribute names are mixed with the same normal text terms.
> Use ReST to distinguish.
>
> Fix typos and mistakes.
>
> Signed-off-by: Ivan Zaentsev
You forgot a "Reported-by:" line in here. I'll go add that...
thanks,
On Wed, Oct 07, 2020 at 11:15:41PM -0700, Badhri Jagan Sridharan wrote:
> Hi,
>
> Made two changes:
>
> 1. Added "additionalProperties: false" as suggested by Rob Herring in
> https://lore.kernel.org/linux-usb/20201005144618.GA154206@bogus/
>
> 2. Removed FRS dts binding constants to address
Each tracepoint infromation consist of the different size value.
So, in order to improve the readability, use the fixed indentation size.
Signed-off-by: Chanwoo Choi
---
include/trace/events/devfreq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The update_devfreq() and update_passive_devfreq() have the duplicate
code when changing the target frequency on final stage. So, unify
frequency change code to devfreq_update_target() to remove the
duplicate code and to centralize the frequency change code.
Signed-off-by: Chanwoo Choi
---
From: Matthias Kaehlcke
Add a tracepoint for frequency changes of devfreq devices and
use it.
Signed-off-by: Matthias Kaehlcke
[cw00.choi: Move print position of tracepoint and add more information]
Signed-off-by: Chanwoo Choi
---
drivers/devfreq/devfreq.c | 8
Add devfreq_tracepoint to track the correct timing of frequency change
with following information:
- device name
- current frequency
- previous frequency
- load when change frequency
- tracepoint path : /sys/kernel/debug/tracing/events/devfreq_frequency
And add devfreq_update_target() function to
On Wed, Oct 7, 2020 at 11:44 AM Axel Rasmussen wrote:
> The goal of these tracepoints is to be able to debug lock contention
> issues. This lock is acquired on most (all?) mmap / munmap / page fault
> operations, so a multi-threaded process which does a lot of these can
> experience significant
Hello,
syzbot found the following issue on:
HEAD commit:c85fb28b Merge tag 'arm64-fixes' of git://git.kernel.org/p..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15b2b40050
kernel config: https://syzkaller.appspot.com/x/.config?x=de7f697da23057c7
On Wed, Oct 07 2020 at 14:54, Dave Jiang wrote:
> On 9/30/2020 12:57 PM, Thomas Gleixner wrote:
>> Aside of that this is fiddling in the IMS storage array behind the irq
>> chips back without any comment here and a big fat comment about the
>> shared usage of ims_slot::ctrl in the irq chip driver.
Wed, Oct 07, 2020 at 08:00:44AM CEST, mo...@mellanox.com wrote:
>Add reload limit to demand restrictions on reload actions.
>Reload limits supported:
>no_reset: No reset allowed, no down time allowed, no link flap and no
> configuration is lost.
>
>By default reload limit is unspecified
On 08. 10. 20 4:09, muhammad.husaini.zulki...@intel.com wrote:
> From: Muhammad Husaini Zulkifli
>
> Voltage switching sequence is needed to support UHS-1 interface.
> There are 2 places to control the voltage.
> 1) By setting the AON register using firmware driver calling
> system-level
On 08. 10. 20 4:09, muhammad.husaini.zulki...@intel.com wrote:
> From: Muhammad Husaini Zulkifli
>
> Add DT bindings of uhs-gpio for Keem Bay SOC UHS Mode Support
>
> Signed-off-by: Muhammad Husaini Zulkifli
> ---
> Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml | 8 +++-
> 1
On Thu, Oct 08, 2020 at 08:42:22AM +0200, Johannes Berg wrote:
> 1) each value that we derive from this ever-incrementing (modulo 2^32)
> variable only get used for a limited amount of time (max. 5 minutes)
Ah! That's what I misunderstood, the resulting value is only used for 5
minutes. Got
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: mike.looijm...@topicproducts.com
W: www.topicproducts.com
Please consider the environment before printing this e-mail
On
On 08. 10. 20 4:09, muhammad.husaini.zulki...@intel.com wrote:
> From: Muhammad Husaini Zulkifli
>
> Add header file to handle API function for device driver to communicate
> with Arm Trusted Firmware.
>
> Signed-off-by: Muhammad Husaini Zulkifli
> ---
>
901 - 1000 of 1070 matches
Mail list logo