Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164294
b: refs/heads/master
c: daf7b9c
h: refs/heads/master
v: v3
  • Loading branch information
Jack Steiner authored and Ingo Molnar committed Sep 18, 2009
1 parent 500375c commit bac77c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8dc579e868addafd24c0a015c12f0e536b1084b1
refs/heads/master: daf7b9c9216e2b82e4c14b7248a85286dab021c3
11 changes: 11 additions & 0 deletions trunk/arch/x86/kernel/apic/x2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ static __init void map_gru_high(int max_pnode)
map_high("GRU", gru.s.base, shift, max_pnode, map_wb);
}

static __init void map_mmr_high(int max_pnode)
{
union uvh_rh_gam_mmr_overlay_config_mmr_u mmr;
int shift = UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT;

mmr.v = uv_read_local_mmr(UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR);
if (mmr.s.enable)
map_high("MMR", mmr.s.base, shift, max_pnode, map_uc);
}

static __init void map_mmioh_high(int max_pnode)
{
union uvh_rh_gam_mmioh_overlay_config_mmr_u mmioh;
Expand Down Expand Up @@ -643,6 +653,7 @@ void __init uv_system_init(void)
}

map_gru_high(max_pnode);
map_mmr_high(max_pnode);
map_mmioh_high(max_pnode);

uv_cpu_init();
Expand Down

0 comments on commit bac77c8

Please sign in to comment.