On Wed, Oct 07, 2020 at 10:52:15PM -0700, Joe Perches wrote:
> On Thu, 2020-10-08 at 08:41 +0300, Leon Romanovsky wrote:
> > On Wed, Oct 07, 2020 at 07:36:23PM -0700, Joe Perches wrote:
> > > A recent commit added a sysfs_emit and sysfs_emit_at to allow various
> > > sysfs show functions to ensure
My appologies for adding a typo to the linux-kernel address, corrected
now.
On Wed, Oct 07, 2020 at 10:58:00PM -0700, Stephane Eranian wrote:
> Hi Peter,
>
> On Tue, Oct 6, 2020 at 6:17 AM Peter Zijlstra wrote:
> >
> > Hi all,
> >
> > I've been trying to float this idea for a fair number of ye
It is not an error if a the host requests to balloon down, but the VM
refuses to do so. Without this change a warning is logged in dmesg
every five minutes.
Fixes commit b3bb97b8a49f3
Signed-off-by: Olaf Hering
---
drivers/hv/hv_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
On 10/7/2020 1:08 AM, Lukas Wunner wrote:
> [CAUTION: External Email]
>
> On Tue, Oct 06, 2020 at 01:24:28PM -0500, Sanjay R Mehta wrote:
>> if DL_ACTIVE bit is set it means that there is no need to check
>> PCI_EXP_LNKSTA_LT bit, as DL_ACTIVE would have set only if the link
>> is already train
ago
> config: arc-randconfig-r035-20201008 (attached as .config)
> compiler: arceb-elf-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget
> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
> ~/bin/make.cross
> chmod +x ~/bin/make.cros
On Thu, Oct 08, 2020 at 08:47:33AM +0200, Wilken Gottwalt wrote:
> On Tue, 6 Oct 2020 09:02:01 +0200
> Johan Hovold wrote:
>
> > On Mon, Oct 05, 2020 at 02:07:23PM +0200, Wilken Gottwalt wrote:
> > > On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin wrote:
> > > > It is very likely that Cellient has
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: [#1] PREEMPT SMP KASAN
>> KASAN: maybe wild-memory-access in ran
This patch allows unwind_frame() to traverse from interrupt stack to task
stack correctly.
A similar approach is taken to modify dump_backtrace_entry(),
which expects to find struct pt_regs underneath any call to
functions marked __exception. When on an irq_stack,
the struct pt_regs is stored on t
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 co-processor register
to save thread info pointer, IRQ stack will be at some
self pointer to thread info is added in thread info.
It is base change required for IRQ stack on ARM.
both stacks will have pointer to thread_info at bottom.
Co-developed-by: Vaneet Narang
Signed-off-by: Vaneet Narang
Signed-off-by: Maninder Singh
---
arch/arm/Kconfig | 10 +
This patch adds code for switching to IRQ stack.
IRQ stack and Kernel SVC stack have below design.
IRQ STACK:-
IRQ stack top
| |
. .
. .
Am Thu, 8 Oct 2020 09:12:15 +0200
schrieb Olaf Hering :
> warning is logged in dmesg
Actually it is logged on the system console, depending on how logging is
configured.
Olaf
pgpdjkpjAh1xK.pgp
Description: Digitale Signatur von OpenPGP
Am 07.10.20 um 18:01 schrieb Gustavo A. R. Silva:
Hi all,
This series aims to replace one-element arrays with flexible-array
members.
There is a regular need in the kernel to provide a way to declare having
a dynamically sized set of trailing elements in a structure. Kernel code
should always u
On 10/8/2020 4:04 AM, Paul E. McKenney wrote:
On Sun, Oct 04, 2020 at 10:11:32PM -0400, Joel Fernandes (Google) wrote:
During testing, I see it is possible that rcu_pending() returns 1 when
offloaded callbacks are ready to execute thus raising the RCU softirq.
However, softirq does not execu
Luca Coelho writes:
> On Tue, 2020-10-06 at 10:10 +0300, Kalle Valo wrote:
>> Lee Jones writes:
>>
>> > On Tue, 06 Oct 2020, Kalle Valo wrote:
>> >
>> > > Lee Jones writes:
>> > >
>> > > > On Thu, 10 Sep 2020, Lee Jones wrote:
>> > > >
>> > > > > This is a rebased/re-worked set of patches w
Add the Cellient MPL200 card to usb/qmi_wwan and serial/option. The
serial/option patch got already applied.
Changes v2:
Picked proper subject for qmi_wwan patch, moved the MPL200 device to
the section of the combined devices and changed the comment about the
device to be more precise.
Wilken Got
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
--- a/drivers/net/usb/qmi_wwan.c
+++ b/driver
Add usb ids of the Cellient MPL200 card.
Signed-off-by: Wilken Gottwalt
---
drivers/usb/serial/option.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 0c6f160a214a..a65e620b2277 100644
--- a/drivers/usb/serial/option.c
+++ b
On Wed, Oct 7, 2020 at 11:44 AM Axel Rasmussen wrote:
> It's common [1] to define tracepoint fields as "bool" when they contain
> a true / false value. Currently, defining a synthetic event with a
> "bool" field yields EINVAL. It's possible to work around this by using
> e.g. u8 (assuming sizeof(b
On Wed, 07 Oct 2020, Russ Weight wrote:
> On 10/7/20 12:00 AM, Lee Jones wrote:
> > On Fri, 02 Oct 2020, Russ Weight wrote:
> >
> >> Add macros and definitions required by the MAX10 BMC
> >> Security Engine driver.
> >>
> >> Signed-off-by: Russ Weight
> >> ---
> >> v2:
> >> - These functions and
On Thu, Oct 8, 2020 at 2:44 AM John Hubbard wrote:
>
> On 10/7/20 9:44 AM, Daniel Vetter wrote:
> > Way back it was a reasonable assumptions that iomem mappings never
> > change the pfn range they point at. But this has changed:
> >
> > - gpu drivers dynamically manage their memory nowadays, inval
Hi Stephen,
On 08/10/2020 04:00, Stephen Boyd wrote:
Quoting Hanks Chen (2020-10-03 03:06:47)
Hi Michael & Stephen,
Please kindly let me know your comments about this patch.
Thanks
What's the base for this patch? I tried applying to v5.9-rc1 and it
didn't work.
Can you please double chec
On 08/10/2020 07:18, Pawel Laszczak wrote:
Hi Roger,
On 07/10/2020 06:35, Pawel Laszczak wrote:
On failure, the platform_get_irq_byname prints an error message
so, patch removes error message related to this function from
core.c file.
A change was suggested during reviewing CDNSP driver b
On Wed, 07 Oct 2020, Hans de Goede wrote:
> Hi,
>
> On 10/7/20 8:54 AM, Lee Jones wrote:
> > On Tue, 06 Oct 2020, David E. Box wrote:
> >
> > > On Tue, 2020-10-06 at 19:51 -0500, Bjorn Helgaas wrote:
> > > > On Tue, Oct 06, 2020 at 03:45:54PM -0700, David E. Box wrote:
> > > > > Hi Bjorn,
> > >
Pawel,
On 08/10/2020 06:57, Pawel Laszczak wrote:
Siergei,
On 10/7/20 11:15 AM, Roger Quadros wrote:
[...]
Patch removes not used variable 'length' from
cdns3_wa2_descmiss_copy_data function.
Signed-off-by: Pawel Laszczak
Fixes: commit 141e70fef4ee ("usb: cdns3: gadget: need to handle s
Greg Kroah-Hartman writes:
> On Wed, Oct 07, 2020 at 12:19:36PM +0200, Jerome Pouiller wrote:
>> From: Jérôme Pouiller
>>
>> I think the wfx driver is now mature enough to be accepted in the
>> drivers/net/wireless directory.
>>
>> There is still one item on the TODO list. It is an idea to imp
On Thu, Oct 08, 2020 at 09:22:19AM +0200, Wilken Gottwalt wrote:
> Add usb ids of the Cellient MPL200 card.
>
> Signed-off-by: Wilken Gottwalt
> ---
So I had already applied this one (which didn't change since v1).
Thanks again.
Johan
On Thu, Oct 8, 2020 at 1:24 AM 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 p
On Wed, 07 Oct 2020, David E. Box wrote:
> On Wed, 2020-10-07 at 07:57 +0100, Lee Jones wrote:
> > On Fri, 02 Oct 2020, David E. Box wrote:
> >
> > > Intel Platform Monitoring Technology (PMT) is an architecture for
> > > enumerating and accessing hardware monitoring facilities. PMT
> > > support
On Wed, 07 Oct 2020, Pavel Machek wrote:
> 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
On 08. 10. 20 4:09, muhammad.husaini.zulki...@intel.com wrote:
> From: Muhammad Husaini Zulkifli
>
> Add struct device *dev in probe func() so that it can widely use in
> probe to make code more readable.
>
> Signed-off-by: Muhammad Husaini Zulkifli
> ---
> drivers/mmc/host/sdhci-of-arasan.
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
> ---
> .../linux/firmware/intel/keembay_fir
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 0
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 i
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 platf
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 f
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 an
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.
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 co
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
das
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
---
driver
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
include/trace/ev
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
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 a/include/trace/events/devfre
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,
greg
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 Rob
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 whi
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 p
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 Documentation/devic
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 over
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. S
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 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
allo
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 +++
fs/dmemfs/trac
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
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 t
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 memor
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, 1
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 i
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
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 F
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 b/include/linux/mempolicy.
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 deletio
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 a/fs/dme
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
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
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 |
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
is
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 531493a0bc8
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 ++-
mm/huge_memory.c
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 a/drivers/vfio/vfio_iommu_typ
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
Signed-off-by:
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
Si
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 vma->vm
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 a/Documenta
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 file
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
ind
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
--- a/arch/x86/kvm/x
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
---
mm/memory
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 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 100
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
> -
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);
> +
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 Dani
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: Revo
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 pres
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
> fffd300
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
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 c
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, Ma
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 li
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: 周琰杰 (Zh
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 co
1 - 100 of 1142 matches
Mail list logo