Skip to content

x86/platform/uv/BAU: UV4 message completion and initialization updates

Andrew Banman lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesNew
  2. v26 patches 4 repliesSuperseded
  3. v16 patches 8 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/platform/uv/BAU: Add uv_bau_version enumerated constantsarch/x86/include/asm/uv/uv_bau.h arch/x86/platform/uv/tlb_uv.c+15 -80 replies
2/6x86/platform/uv/BAU: Add payload descriptor qualifierarch/x86/include/asm/uv/uv_bau.h arch/x86/platform/uv/tlb_uv.c+47 -200 replies
3/6x86/platform/uv/BAU: Cleanup bau_operations declaration and instancesarch/x86/include/asm/uv/uv_bau.h arch/x86/platform/uv/tlb_uv.c+32 -330 replies
4/6x86/platform/uv/BAU: Add status mmr location fields to bau_controlarch/x86/include/asm/uv/uv_bau.h arch/x86/platform/uv/tlb_uv.c+30 -260 replies
5/6x86/platform/uv/BAU: Add wait_completion to bau_operationsarch/x86/include/asm/uv/uv_bau.h arch/x86/platform/uv/tlb_uv.c+20 -130 replies
6/6x86/platform/uv/BAU: Implement uv4_wait_completion with read_statusarch/x86/platform/uv/tlb_uv.c+57 -10 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchMike Travis
1/6
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 0/6] x86/platform/uv/BAU: UV4 message completion and initialization updates

The following patch series adds the necessary functionality to make the BAU on UV4 operational. The purpose of these patches is to implement the correct message completion logic on UV4. Also included is a bug fix to add a field to the INTD payload. This is needed to verify the source of each message.

As of this patch set, the BAU operates without errors and performance tests show TLB shootdowns take up to 42% less time with the BAU enabled.

The series was built and tested on the latest -tip kernel. This version differs from v2 only in some corrected typos and in fixing the context of some patches to resolve build conflicts.

The patches are summarized as follows:

(1) Populate a message payload field to verify messages at the destination. Without this verification, the destination agent triggers a HUB error, resulting in an NMI.

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated [PATCH 2/6] x86/platform/uv/BAU: Add payload descriptor qualifier

This bug fix is included at the start of the series to avoid conflicts in a code path shared by the rest of the series.

(2) Make the wait_completion routine part of the bau_operations interface, and add a uv4_wait_completion routine to employ new completion logic.

The message completion logic for previous generations relies on software- defined timeouts that are not implemented on UV4. Without these patches, the BAU driver on UV4 erroneously identifies a UV2-WAR timeout during normal operation.

[PATCH 3/6] x86/platform/uv/BAU: Cleanup bau_operations declaration [PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to [PATCH 5/6] x86/platform/uv/BAU: Add wait_completion to [PATCH 6/6] x86/platform/uv/BAU: Implement uv4_wait_completion with

Please see the commit messages for details on the motivation and content of each patch.

Thank you,

Andrew Banman
HPE, Linux Kernel Engineer
<[email protected]>