diff options
author | Robert Mustacchi <rm@joyent.com> | 2018-06-01 22:36:03 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2018-06-06 16:42:37 +0000 |
commit | 788e26d53d698f1ae7fc91da6c1c4cd40d05dfd8 (patch) | |
tree | 6a983608cc41d239f248e9b969fd3a330391fbcb | |
parent | c4c6537e10afdbfcc5221e2f9c3d5d80780235fa (diff) | |
download | illumos-joyent-788e26d53d698f1ae7fc91da6c1c4cd40d05dfd8.tar.gz |
OS-6994 mdb: r9w isn't r8wrelease-20180607
OS-6993 libconv confuses SUNW_AT_COMMPAGE with SUNW_AT_BRAND_AUX4
OS-6995 CONV_CAP_VAL_HW2_BUFSIZE wasn't updated
OS-6996 AV_386_2_AVX512VPOPCDQ elfcap name should be consistent
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Rob Johnston <rob.johnston@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r-- | usr/src/cmd/mdb/intel/mdb/proc_amd64dep.c | 8 | ||||
-rw-r--r-- | usr/src/cmd/sgs/include/conv.h | 4 | ||||
-rw-r--r-- | usr/src/cmd/sgs/libconv/common/corenote.c | 13 | ||||
-rw-r--r-- | usr/src/cmd/sgs/libconv/common/corenote.msg | 3 | ||||
-rw-r--r-- | usr/src/common/elfcap/elfcap.c | 6 |
5 files changed, 18 insertions, 16 deletions
diff --git a/usr/src/cmd/mdb/intel/mdb/proc_amd64dep.c b/usr/src/cmd/mdb/intel/mdb/proc_amd64dep.c index c11e08ba0d..d86c1b79f8 100644 --- a/usr/src/cmd/mdb/intel/mdb/proc_amd64dep.c +++ b/usr/src/cmd/mdb/intel/mdb/proc_amd64dep.c @@ -24,7 +24,7 @@ * Use is subject to license terms. */ /* - * Copyright 2015 Joyent, Inc. + * Copyright (c) 2018, Joyent, Inc. */ /* @@ -74,9 +74,9 @@ const mdb_tgt_regdesc_t pt_regdesc[] = { { "r10w", REG_R10, MDB_TGT_R_EXPORT | MDB_TGT_R_16 }, { "r10l", REG_R10, MDB_TGT_R_EXPORT | MDB_TGT_R_8L }, { "r9", REG_R9, MDB_TGT_R_EXPORT }, - { "r9d", REG_R8, MDB_TGT_R_EXPORT | MDB_TGT_R_32 }, - { "r9w", REG_R8, MDB_TGT_R_EXPORT | MDB_TGT_R_16 }, - { "r9l", REG_R8, MDB_TGT_R_EXPORT | MDB_TGT_R_8L }, + { "r9d", REG_R9, MDB_TGT_R_EXPORT | MDB_TGT_R_32 }, + { "r9w", REG_R9, MDB_TGT_R_EXPORT | MDB_TGT_R_16 }, + { "r9l", REG_R9, MDB_TGT_R_EXPORT | MDB_TGT_R_8L }, { "r8", REG_R8, MDB_TGT_R_EXPORT }, { "r8d", REG_R8, MDB_TGT_R_EXPORT | MDB_TGT_R_32 }, { "r8w", REG_R8, MDB_TGT_R_EXPORT | MDB_TGT_R_16 }, diff --git a/usr/src/cmd/sgs/include/conv.h b/usr/src/cmd/sgs/include/conv.h index 14b6a185a3..7fc4c026d5 100644 --- a/usr/src/cmd/sgs/include/conv.h +++ b/usr/src/cmd/sgs/include/conv.h @@ -25,7 +25,7 @@ * * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. - * Copyright (c) 2015, Joyent, Inc. All rights reserved. + * Copyright (c) 2018, Joyent, Inc. * Copyright 2016 RackTop Systems. */ @@ -171,7 +171,7 @@ typedef union { char buf[CONV_CAP_VAL_HW1_BUFSIZE]; } Conv_cap_val_hw1_buf_t; -#define CONV_CAP_VAL_HW2_BUFSIZE CONV_INV_BUFSIZE /* for now */ +#define CONV_CAP_VAL_HW2_BUFSIZE 350 typedef union { Conv_inv_buf_t inv_buf; char buf[CONV_CAP_VAL_HW2_BUFSIZE]; diff --git a/usr/src/cmd/sgs/libconv/common/corenote.c b/usr/src/cmd/sgs/libconv/common/corenote.c index 55fa1e4ab5..796319ea47 100644 --- a/usr/src/cmd/sgs/libconv/common/corenote.c +++ b/usr/src/cmd/sgs/libconv/common/corenote.c @@ -25,7 +25,7 @@ */ /* * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. - * Copyright 2016 Joyent, Inc. + * Copyright 2018 Joyent, Inc. */ /* @@ -106,20 +106,21 @@ conv_cnote_auxv_type(Word type, Conv_fmt_flags_t fmt_flags, static const conv_ds_msg_t ds_types_2000_2011 = { CONV_DS_MSG_INIT(2000, types_2000_2011) }; - static const Msg types_2014_2025[] = { + static const Msg types_2014_2026[] = { MSG_AUXV_AT_SUN_EXECNAME, MSG_AUXV_AT_SUN_MMU, MSG_AUXV_AT_SUN_LDDATA, MSG_AUXV_AT_SUN_AUXFLAGS, MSG_AUXV_AT_SUN_EMULATOR, MSG_AUXV_AT_SUN_BRANDNAME, MSG_AUXV_AT_SUN_BRAND_AUX1, MSG_AUXV_AT_SUN_BRAND_AUX2, MSG_AUXV_AT_SUN_BRAND_AUX3, MSG_AUXV_AT_SUN_HWCAP2, - MSG_AUXV_AT_SUN_BRAND_NROOT, MSG_AUXV_AT_SUN_COMMPAGE + MSG_AUXV_AT_SUN_BRAND_NROOT, MSG_AUXV_AT_SUN_BRAND_AUX4, + MSG_AUXV_AT_SUN_COMMPAGE }; - static const conv_ds_msg_t ds_types_2014_2025 = { - CONV_DS_MSG_INIT(2014, types_2014_2025) }; + static const conv_ds_msg_t ds_types_2014_2026 = { + CONV_DS_MSG_INIT(2014, types_2014_2026) }; static const conv_ds_t *ds[] = { CONV_DS_ADDR(ds_types_0_25), CONV_DS_ADDR(ds_types_2000_2011), - CONV_DS_ADDR(ds_types_2014_2025), NULL }; + CONV_DS_ADDR(ds_types_2014_2026), NULL }; return (conv_map_ds(ELFOSABI_NONE, EM_NONE, type, ds, fmt_flags, inv_buf)); diff --git a/usr/src/cmd/sgs/libconv/common/corenote.msg b/usr/src/cmd/sgs/libconv/common/corenote.msg index de5214a5ae..9c2b1d577e 100644 --- a/usr/src/cmd/sgs/libconv/common/corenote.msg +++ b/usr/src/cmd/sgs/libconv/common/corenote.msg @@ -24,7 +24,7 @@ # Use is subject to license terms. # # Copyright 2012 DEY Storage Systems, Inc. All rights reserved. -# Copyright 2016 Joyent, Inc. +# Copyright 2018 Joyent, Inc. # @ MSG_NT_PRSTATUS "[ NT_PRSTATUS ]" @@ -105,6 +105,7 @@ @ MSG_AUXV_AT_SUN_BRAND_AUX3 "SUN_BRAND_AUX3" @ MSG_AUXV_AT_SUN_HWCAP2 "SUN_HWCAP2" @ MSG_AUXV_AT_SUN_BRAND_NROOT "SUN_BRAND_NROOT" +@ MSG_AUXV_AT_SUN_BRAND_AUX4 "SUN_BRAND_AUX4" @ MSG_AUXV_AT_SUN_COMMPAGE "SUN_COMMPAGE" diff --git a/usr/src/common/elfcap/elfcap.c b/usr/src/common/elfcap/elfcap.c index 7c39f30a2b..cefb986dfb 100644 --- a/usr/src/common/elfcap/elfcap.c +++ b/usr/src/common/elfcap/elfcap.c @@ -21,7 +21,7 @@ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2017, Joyent, Inc. + * Copyright (c) 2018, Joyent, Inc. */ /* LINTLIBRARY */ @@ -377,8 +377,8 @@ static const elfcap_desc_t hw2_386[ELFCAP_NUM_HW2_386] = { STRDESC("AVX512VBMI"), STRDESC("avx512vbmi"), }, { /* 0x00020000 */ - AV_386_2_AVX512VPOPCDQ, STRDESC("AV_386_2_AVX512VPOPCDQ"), - STRDESC("AVX512VPOPCDQ"), STRDESC("avx512_vpopcntdq"), + AV_386_2_AVX512VPOPCDQ, STRDESC("AV_386_2_AVX512_VPOPCDQ"), + STRDESC("AVX512_VPOPCDQ"), STRDESC("avx512_vpopcntdq"), }, { /* 0x00040000 */ AV_386_2_AVX512_4NNIW, STRDESC("AV_386_2_AVX512_4NNIW"), |