X86_64, UV: Update kernel for SGI UV4 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | X86_64, UV: Add Initial UV4 definitionsarch/ arch/ | +62 | 0 replies | |
| 2/21 | X86_64, UV: Add UV Architecture Definesarch/ | +31 | 0 replies | |
| 3/21 | X86_64, UV: Add UV4 Specific Definesarch/ | +9 | 0 replies | |
| 4/21 | X86_64, UV: Add UV MMR Illegal Access Functionarch/ | +12 | 0 replies | |
| 5/21 | X86_64, UV: Prep for UV4 MMR updatesarch/ arch/ | +129 | 0 replies | |
| 6/21 | X86_64, UV: Add UV4 Specific MMR definitions | +0 | 0 replies | |
| 7/21 | X86_64, UV: Remove Support for UV1arch/ arch/ arch/ +1 more | +5 | 2 replies | |
| 8/21 | X86_64, UV: Clean up redunduncies after merge of UV4 MMR definitionsarch/ arch/ | +0 | 0 replies | |
| 9/21 | X86_64, UV: Update MMIOH setup function to work for both UV3 and UV4arch/ | +2 | 0 replies | |
| 10/21 | X86_64, UV: Create per cpu info structs to replace per hub info structsarch/ arch/ | +25 | 0 replies | |
| 11/21 | X86_64, UV: Move scir info to the per cpu info structarch/ arch/ | +19 | 0 replies | |
| 12/21 | X86_64, UV: Move blade local processor ID to the per cpu info structarch/ arch/ arch/ +1 more | +14 | 0 replies | |
| 13/21 | X86_64, UV: Allocate common per node hub info structs on local nodearch/ arch/ | +78 | 0 replies | |
| 14/21 | X86_64, UV: Fold blade info into per node hub info structsarch/ arch/ | +133 | 0 replies | |
| 15/21 | X86_64, UV: Add UV4 addressing discovery functionarch/ | +72 | 0 replies | |
| 16/21 | X86_64, UV: Add obtaining GAM Range Table from UV BIOSarch/ arch/ arch/ | +82 | 1 reply | |
| 17/21 | X86_64, UV: Support UV4 socket address changesarch/ arch/ | +129 | 0 replies | |
| 18/21 | X86_64, UV: Build GAM reference tablesarch/ arch/ | +155 | 0 replies | |
| 19/21 | X86_64, UV: Update physical address conversions for UV4arch/ arch/ | +209 | 0 replies | |
| 20/21 | X86_64, UV: Remove Obsolete GRU MMR address translationarch/ drivers/ | +20 | 1 reply | |
| 21/21 | X86_64, UV: Fix incorrect nodes and pnodes for cpuless and memoryless nodesarch/ | +27 | 0 replies |
Reviews trailers per patch
15 of 21 patches have a Reviewed-by or Acked-by.
| Patch | Dimitri Sivanich | John Estabrook | Gary Kroening | Andrew Banman |
|---|---|---|---|---|
| 1/21 | T-b | T-b | ||
| 2/21 | R-b | T-b | T-b | |
| 3/21 | R-b | T-b | T-b | |
| 4/21 | R-b | T-b | T-b | |
| 5/21 | R-b | T-b | T-b | |
| 6/21 | T-b | T-b | ||
| 7/21 | R-b | T-b | T-b | |
| 8/21 | R-b | T-b | T-b | R-b |
| 9/21 | R-b | T-b | T-b | |
| 10/21 | R-b | T-b | T-b | |
| 11/21 | R-b | T-b | T-b | |
| 12/21 | R-b | T-b | T-b | |
| 13/21 | R-b | T-b | T-b | R-b |
| 14/21 | T-b | T-b | T-b | R-b |
| 15/21 | R-b | T-b | T-b | |
| 16/21 | T-b | T-b | T-b | |
| 17/21 | R-b T-b | T-b | T-b | |
| 18/21 | R-b T-b | T-b | T-b | |
| 19/21 | T-b | T-b | T-b | |
| 20/21 | T-b | T-b | ||
| 21/21 | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/21] X86_64, UV: Update kernel for SGI UV4 support
This patch set primarily updates the Linux kernel to support the next generation SGI Ultraviolet system, UV4. This architecture change is a larger incremental change than previous UV updates because of a major change to the addressing scheme. Previous UV architectures used a fixed address width per node which was entirely appropriate, since the size of RAM memory usually did not deviate very much between nodes.
Now on UV4 non-volatile memories can be added to any or all of the nodes. The available sizes can be both smaller and much larger than that of volatile memory on the same node.
To accommodate this configuration change, the architecture was updated to support a varying per node memory width (or total per node memory). And since this removed a key conversion factor known as "M" (the number of address space bits per node), the kernel also had to change to support the new address conversion functions.
Other changes in addition to this basic overhaul of the internal logic include support for the increasing number of cores and thus CPU threads per node. Another inevitable architecture change will be the increase of the system addressing space supported in future processors, upward from the current 46 bits.
One other aspect, because these are somewhat extensive changes to the UV kernel support system, we've also done extensive testing on current UV architectures to insure that these changes do not break existing functionality. Since we do not have actual UV4 hardware yet, the UV4 simulator has been used to test and debug UV4 specific changes.
Specific changes that support the updates are:
* Add support for UV4 specific hardware changes. This was done in a way to maintain source code compatibility with supported external modules, for distros with kernel releases prior to the UV4 changes.
* Add new UV4 MMR definitions from automated verilog to MMR defines scripts. Add control info to select UV4 in "UV common" functions.
* Migrate from using per cpu information structures to consolidating information common to nodes (move per cpu UVHUB info to per node info).
* Migrate more information look up from lists allocated on node 0 to structures allocated on the local node (move per blade info to per node info).
* Use more "soft" information that is collected by UV BIOS to control conversion routines instead of relying on information in MMR fields (gather more info from the EFI UVsystab system table.)
* Add high speed physical address to node/pnode/NASID conversion look ups.
* Add "soft" support for undefined MMR access to aid debugging the UV common functions.
* Remove support for UV1 going forward. Remove obsolete GRU support from the GRU/XP drivers. Fix an ongoing problem determining the correct physical placement of nodes containing either no cpus or no memory ("headless/memoryless nodes").