Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Aneesh Kumar K.V
On 10/23/20 12:40 AM, Ira Weiny wrote: On Thu, Oct 22, 2020 at 11:19:43AM -0700, Ralph Campbell wrote: On 10/22/20 8:41 AM, Ira Weiny wrote: On Thu, Oct 22, 2020 at 11:37:53AM +0530, Aneesh Kumar K.V wrote: commit 6f42193fd86e ("memremap: don't use a separate devm action for

Low-Cost Loans for SMEs & Investment Funding.

2020-10-22 Thread Nicholas Toms
Dear My name is Nicholas Toms, an investment portfolio manager with ACLL . We offer the right loan Investment funding with low interest to finance your business or project ranging from US$1M to US$2BIllion. Kindly contact me for more details as I am open to questions. Sincerely, Nicholas

[PATCH 09/10] x86/fault: Report the PKRS state on fault

2020-10-22 Thread ira . weiny
From: Ira Weiny When only user space pkeys are enabled faulting within the kernel was an unexpected condition which should never happen. Therefore a WARN_ON in the kernel fault handler would detect if it ever did. Now this is no longer the case if PKS is enabled and supported. Report a Pkey

[PATCH 04/10] x86/pks: Preserve the PKRS MSR on context switch

2020-10-22 Thread ira . weiny
From: Ira Weiny The PKRS MSR is defined as a per-logical-processor register. This isolates memory access by logical CPU. Unfortunately, the MSR is not managed by XSAVE. Therefore, tasks must save/restore the MSR value on context switch. Define a saved PKRS value in the task struct, as well

[PATCH 05/10] x86/pks: Add PKS kernel API

2020-10-22 Thread ira . weiny
From: Fenghua Yu PKS allows kernel users to define domains of page mappings which have additional protections beyond the paging protections. Add an API to allocate, use, and free a protection key which identifies such a domain. Export 5 new symbols pks_key_alloc(), pks_mknoaccess(),

[PATCH 02/10] x86/fpu: Refactor arch_set_user_pkey_access() for PKS support

2020-10-22 Thread ira . weiny
From: Ira Weiny Define a helper, update_pkey_val(), which will be used to support both Protection Key User (PKU) and the new Protection Key for Supervisor (PKS) in subsequent patches. Co-developed-by: Peter Zijlstra Signed-off-by: Peter Zijlstra Signed-off-by: Ira Weiny --- Changes from RFC

[PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-22 Thread ira . weiny
From: Thomas Gleixner Lockdep state handling on NMI enter and exit is nothing specific to X86. It's not any different on other architectures. Also the extra state type is not necessary, irqentry_state_t can carry the necessary information as well. Move it to common code and extend

[PATCH 10/10] x86/pks: Add PKS test code

2020-10-22 Thread ira . weiny
From: Ira Weiny The core PKS functionality provides an interface for kernel users to reserve keys to their domains set up the page tables with those keys and control access to those domains when needed. Define test code which exercises the core functionality of PKS via a debugfs entry. Basic

[PATCH 08/10] x86/entry: Preserve PKRS MSR across exceptions

2020-10-22 Thread ira . weiny
From: Ira Weiny The PKRS MSR is not managed by XSAVE. It is preserved through a context switch but this support leaves exception handling code open to memory accesses during exceptions. 2 possible places for preserving this state were considered, irqentry_state_t or pt_regs.[1] pt_regs was

[PATCH 03/10] x86/pks: Enable Protection Keys Supervisor (PKS)

2020-10-22 Thread ira . weiny
From: Fenghua Yu Protection Keys for Supervisor pages (PKS) enables fast, hardware thread specific, manipulation of permission restrictions on supervisor page mappings. It uses the same mechanism of Protection Keys as those on User mappings but applies that mechanism to supervisor mappings

[PATCH 01/10] x86/pkeys: Create pkeys_common.h

2020-10-22 Thread ira . weiny
From: Ira Weiny Protection Keys User (PKU) and Protection Keys Supervisor (PKS) work in similar fashions and can share common defines. Specifically PKS and PKU each have: 1. A single control register 2. The same number of keys 3. The same number of bits in the register

[PATCH 07/10] x86/entry: Pass irqentry_state_t by reference

2020-10-22 Thread ira . weiny
From: Ira Weiny In preparation for adding PKS information to struct irqentry_state_t change all call sites and usages to pass the struct by reference instead of by value. While we are editing the call sites it is a good time to standardize on the name 'irq_state'. Signed-off-by: Ira Weiny

[PATCH 00/10] PKS: Add Protection Keys Supervisor (PKS) support

2020-10-22 Thread ira . weiny
From: Ira Weiny Changes from RFC V3[3] Rebase to TIP master Update test error output Standardize on 'irq_state' for state variables From Dave Hansen Update commit messages Add/clean up comments Add X86_FEATURE_PKS to

Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Ira Weiny
On Thu, Oct 22, 2020 at 11:19:43AM -0700, Ralph Campbell wrote: > > On 10/22/20 8:41 AM, Ira Weiny wrote: > > On Thu, Oct 22, 2020 at 11:37:53AM +0530, Aneesh Kumar K.V wrote: > > > commit 6f42193fd86e ("memremap: don't use a separate devm action for > > > devmap_managed_enable_get") changed the

Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Ralph Campbell
On 10/22/20 8:41 AM, Ira Weiny wrote: On Thu, Oct 22, 2020 at 11:37:53AM +0530, Aneesh Kumar K.V wrote: commit 6f42193fd86e ("memremap: don't use a separate devm action for devmap_managed_enable_get") changed the static key updates such that we now call devmap_managed_enable_put() without

Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Ira Weiny
On Thu, Oct 22, 2020 at 11:37:53AM +0530, Aneesh Kumar K.V wrote: > commit 6f42193fd86e ("memremap: don't use a separate devm action for > devmap_managed_enable_get") changed the static key updates such that we > now call devmap_managed_enable_put() without doing the equivalent >

Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org

Re: [PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Sachin Sant
> jump label: negative count! > WARNING: CPU: 52 PID: 1335 at kernel/jump_label.c:235 > static_key_slow_try_dec+0x88/0xa0 > Modules linked in: > …. > > Cc: Christoph Hellwig > Cc: Dan Williams > Cc: Sachin Sant > Cc: linux-nvdimm@lists.01.org > Cc: Ira Weiny > Cc: Jason Gunthorpe >

How To Activate Cash App Card

2020-10-22 Thread greentrust43
Want to activate Cash App Card? Read the step by step process to know how to activate cash app card with QR code or without QR code. https://greentrustcashapplication.com/how-to-activate-cash-app-card/ ___ Linux-nvdimm mailing list --

Amazon Prime Video - amazon.com/mytv

2020-10-22 Thread jonaalex000
Amazon prime movie can be found on nearly all streaming apparatus such as Roku, Amazon Fire TV, Chromecast, and much more. You have to simply activate your amazon prime movie by seeing https://amazonmytventercode.com/ with the aid of an activation code. To know the Whole procedure and more

[PATCH] mm/mremap_pages: Fix static key devmap_managed_key updates

2020-10-22 Thread Aneesh Kumar K.V
commit 6f42193fd86e ("memremap: don't use a separate devm action for devmap_managed_enable_get") changed the static key updates such that we now call devmap_managed_enable_put() without doing the equivalent devmap_managed_enable_get(). devmap_managed_enable_get() is only called for