Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102019
b: refs/heads/master
c: 19d0cfe
h: refs/heads/master
i:
  102017: 895e0f7
  102015: 570ec4e
v: v3
  • Loading branch information
Bob Moore authored and Andi Kleen committed Jul 16, 2008
1 parent 18ffafa commit 905778c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0e184abc5983281ef189db2c759d65d56eb1b80
refs/heads/master: 19d0cfe9ddfdf7afa8d1765ab0bd2a7dd30e47c9
3 changes: 1 addition & 2 deletions trunk/arch/x86/mm/srat_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,9 @@ acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *memory_affinity)

num_memory_chunks++;

printk(KERN_DEBUG "Memory range %08lx to %08lx (type %x)"
printk(KERN_DEBUG "Memory range %08lx to %08lx"
" in proximity domain %02x %s\n",
start_pfn, end_pfn,
memory_affinity->memory_type,
pxm,
((memory_affinity->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) ?
"enabled and removable" : "enabled" ) );
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header)
struct acpi_srat_mem_affinity *p =
(struct acpi_srat_mem_affinity *)header;
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"SRAT Memory (0x%lx length 0x%lx type 0x%x) in proximity domain %d %s%s\n",
"SRAT Memory (0x%lx length 0x%lx) in proximity domain %d %s%s\n",
(unsigned long)p->base_address,
(unsigned long)p->length,
p->memory_type, p->proximity_domain,
p->proximity_domain,
(p->flags & ACPI_SRAT_MEM_ENABLED)?
"enabled" : "disabled",
(p->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)?
Expand Down
19 changes: 17 additions & 2 deletions trunk/include/acpi/actbl1.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ struct acpi_table_dbgp {
/*******************************************************************************
*
* DMAR - DMA Remapping table
* From "Intel Virtualization Technology for Directed I/O", Sept. 2007
*
******************************************************************************/

Expand Down Expand Up @@ -382,6 +383,20 @@ struct acpi_dmar_reserved_memory {

#define ACPI_DMAR_ALLOW_ALL (1)


/* 2: Root Port ATS Capability Reporting Structure */

struct acpi_dmar_atsr {
struct acpi_dmar_header header;
u8 flags;
u8 reserved;
u16 segment;
};

/* Flags */

#define ACPI_DMAR_ALL_PORTS (1)

/*******************************************************************************
*
* ECDT - Embedded Controller Boot Resources Table
Expand Down Expand Up @@ -1156,9 +1171,9 @@ struct acpi_srat_mem_affinity {
u16 reserved; /* Reserved, must be zero */
u64 base_address;
u64 length;
u32 memory_type; /* See acpi_address_range_id */
u32 reserved1;
u32 flags;
u64 reserved1; /* Reserved, must be zero */
u64 reserved2; /* Reserved, must be zero */
};

/* Flags */
Expand Down

0 comments on commit 905778c

Please sign in to comment.