The branch stable/13 has been updated by khng:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=67d02e13011fa80786a243c9464cea248de4c127

commit 67d02e13011fa80786a243c9464cea248de4c127
Author:     Ka Ho Ng <k...@freebsd.org>
AuthorDate: 2021-06-19 06:05:13 +0000
Commit:     Ka Ho Ng <k...@freebsd.org>
CommitDate: 2021-07-13 17:58:56 +0000

    vmm: Fix ivrs_drv device_printf usage
    
    The original %b description string is wrong.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    imp, jhb
    Differential Revision:  https://reviews.freebsd.org/D30805
    
    (cherry picked from commit 210e6aec4f83ee0efef348ed9dd86be7592596a1)
---
 sys/amd64/vmm/amd/ivrs_drv.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sys/amd64/vmm/amd/ivrs_drv.c b/sys/amd64/vmm/amd/ivrs_drv.c
index 1cd76069d0a2..cdc66f3ecce0 100644
--- a/sys/amd64/vmm/amd/ivrs_drv.c
+++ b/sys/amd64/vmm/amd/ivrs_drv.c
@@ -467,7 +467,7 @@ ivhd_print_flag(device_t dev, enum IvrsType ivhd_type, 
uint8_t flag)
                        "\005IotlbSup"
                        "\006Coherent"
                        "\007PreFSup"
-                       "\008PPRSup");
+                       "\010PPRSup");
                break;
 
        case IVRS_TYPE_HARDWARE_EFR:
@@ -557,9 +557,9 @@ ivhd_print_ext_feature(device_t dev, uint64_t ext_feature)
                "\005GTSup"
                "\006<b5>"
                "\007IASup"
-               "\008GASup"
-               "\009HESup"
-               "\010PCSup",
+               "\010GASup"
+               "\011HESup"
+               "\012PCSup",
                REG_BITS(ext_low, 11, 10),
                REG_BITS(ext_low, 13, 12),
                REG_BITS(ext_low, 15, 14),
@@ -576,17 +576,17 @@ ivhd_print_ext_feature(device_t dev, uint64_t ext_feature)
                (int)(ext_high),
                "\020"
                "\006USSup"
-               "\009PprOvrflwEarlySup"
-               "\010PPRAutoRspSup"
-               "\013BlKStopMrkSup"
-               "\014PerfOptSup"
-               "\015MsiCapMmioSup"
-               "\017GIOSup"
-               "\018HASup"
-               "\019EPHSup"
-               "\020AttrFWSup"
-               "\021HDSup"
-               "\023InvIotlbSup",
+               "\011PprOvrflwEarlySup"
+               "\012PPRAutoRspSup"
+               "\015BlKStopMrkSup"
+               "\016PerfOptSup"
+               "\017MsiCapMmioSup"
+               "\021GIOSup"
+               "\022HASup"
+               "\023EPHSup"
+               "\024AttrFWSup"
+               "\025HDSup"
+               "\027InvIotlbSup",
                REG_BITS(ext_high, 5, 0),
                REG_BITS(ext_high, 8, 7),
                REG_BITS(ext_high, 11, 10));
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to