[PATCH v2 0/2] Remove problematic include in <asm/set_memory.h>

Kevin Brodsky posted 2 patches 1 year ago
arch/x86/include/asm/set_memory.h       |  2 --
arch/x86/include/asm/smp.h              |  2 +-
arch/x86/mm/pat/set_memory.c            | 13 -------------
drivers/virt/coco/sev-guest/sev-guest.c |  1 +
4 files changed, 2 insertions(+), 16 deletions(-)
[PATCH v2 0/2] Remove problematic include in <asm/set_memory.h>
Posted by Kevin Brodsky 1 year ago
This series removes an unnecessary and potentially problematic include
of <linux/mm.h> in <asm/set_memory.h>. There is no functional difference
in v2 compared to v1.

v1..v2:
* Squashed include fixups into the last patch removing the include from
  <asm/set_memory.h>. [Borislav's suggestion]
* Moved new include in <asm/smp.h>.  [Borislav's suggestion]

v1: https://lore.kernel.org/all/20241210184610.2080727-1-kevin.brodsky@arm.com/

- Kevin

Cc: bp@alien8.de
Cc: dan.j.williams@intel.com
Cc: dave.hansen@linux.intel.com
Cc: david@redhat.com
Cc: jane.chu@oracle.com
Cc: osalvador@suse.de
Cc: tglx@linutronix.de
---
Kevin Brodsky (2):
  x86/mm: Remove unused __set_memory_prot()
  x86/mm: Remove unnecessary include in set_memory.h

 arch/x86/include/asm/set_memory.h       |  2 --
 arch/x86/include/asm/smp.h              |  2 +-
 arch/x86/mm/pat/set_memory.c            | 13 -------------
 drivers/virt/coco/sev-guest/sev-guest.c |  1 +
 4 files changed, 2 insertions(+), 16 deletions(-)


base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
-- 
2.47.0
Re: [PATCH v2 0/2] Remove problematic include in <asm/set_memory.h>
Posted by David Hildenbrand 11 months, 4 weeks ago
On 12.12.24 09:09, Kevin Brodsky wrote:
> This series removes an unnecessary and potentially problematic include
> of <linux/mm.h> in <asm/set_memory.h>. There is no functional difference
> in v2 compared to v1.
> 
> v1..v2:
> * Squashed include fixups into the last patch removing the include from
>    <asm/set_memory.h>. [Borislav's suggestion]
> * Moved new include in <asm/smp.h>.  [Borislav's suggestion]
> 
> v1: https://lore.kernel.org/all/20241210184610.2080727-1-kevin.brodsky@arm.com/
> 

LGTM

Acked-by: David Hildenbrand <david@redhat.com>

-- 
Cheers,

David / dhildenb