summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10 [illumos-gate merge]Jerry Jelinek3-29/+15
commit 0e8ce6ee7524ee6c2c24a2d4ed28ea71a5dcd85e 9786 loader.efi: enumeration value 'EfiMaxMemoryType' not handled in switch commit c8bfc1e4e5bf8c7324dc1b265113ba9e401264db 9785 loader.efi: variable 'attr' set but not used commit 6649cbcc75f82cb221ebe2ee6f5afc2001249848 9784 loader: multiboot.c has unused variables and function commit c9a7c757006f9d80806dedf907c3e03ab5ae04e4 9743 libi386: biosdisk should use BD_RD and BD_WR constants
2018-09-109786 loader.efi: enumeration value 'EfiMaxMemoryType' not handled in switchToomas Soome1-1/+3
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-109785 loader.efi: variable 'attr' set but not usedToomas Soome1-2/+0
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-109784 loader: multiboot.c has unused variables and functionToomas Soome1-17/+1
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-099743 libi386: biosdisk should use BD_RD and BD_WR constantsToomas Soome1-9/+11
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-07OS-7214 strndup() performs pathologicallyBryan Cantrill1-2/+7
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-07OS-7175 BLOCKIF_IOV_MAX inadequate for Win2016 on bhyvePatrick Mooney3-1/+27
Reviewed by: Jorge Schrauwen <jorge@blackdot.be> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Jason King <jbk@joyent.com>
2018-09-07OS-7222 thread_create() should ensure ->t_cpu is setJohn Levon1-30/+27
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-07OS-6847 vxlan header allocation should think about mblk chainsRobert Mustacchi2-14/+36
Reviewed by: Jason King <jbk@joyent.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-07 [illumos-gate merge]Jerry Jelinek4-54/+46
commit b075503f221374dd0495c40e8811d229cb9fdc74 9783 loader: linux.c: format '%x' expects argument of type 'unsigned int' commit 6d65bee7bcc62b2d9bdfde6610561ce76c92a908 9459 Implement topo module to enumerate dimms from smbios Conflicts: usr/src/lib/fm/topo/modules/common/smbios/smbios_enum.c usr/src/lib/fm/topo/libtopo/common/topo_hc.h
2018-09-07fix column MakefileJohn Levon1-1/+1
2018-09-06OS-7221 crypto tests need to run 32-bit and 64-bitRobert Mustacchi13-67/+150
Reviewed by: Jason King <jason.king@joyent.com> Approved by: John Levon <john.levon@joyent.com>
2018-09-06OS-7206 Multi-TRB xhci transfers should use event dataRobert Mustacchi5-126/+318
OS-7207 xhci needs to always set slot context OS-7208 increase xhci bulk transfer sgl count OS-7210 xhci_transfer_get_tdsize can return values that are too large Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Alex Wilson <alex.wilson@joyent.com>
2018-09-069783 loader: linux.c: format '%x' expects argument of type 'unsigned int'Toomas Soome1-1/+1
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-09-069459 Implement topo module to enumerate dimms from smbiosRob Johnston13-42/+605
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-09-05OS-7095 Want risc-v disassemblerRobert Mustacchi47-81/+4190
Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
2018-09-05cmd/column: remove unreferenced copyright globalJohn Levon3-12/+9
2018-09-05 [illumos-gate merge]Jerry Jelinek10-260/+2304
commit d2df75e755ab7973e38d93f9937214d0062c20e0 9771 loader.efi: 'handles' is used uninitialized in comconsole.c commit dd842a538534a82ca85614863fb473633d7ee59c 9770 loader.efi: unused variable 'cons' in comconsole.c commit 8c5d29ab25ca6e74ebaba57fba6b4794fab41f3c 9731 uts: update sys/queue.h commit 8c3347c4989237d6ebeeb03a67b21a523fc105d6 9782 eventfd support in zones is incomplete
2018-09-049771 loader.efi: 'handles' is used uninitialized in comconsole.cToomas Soome1-0/+1
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-049770 loader.efi: unused variable 'cons' in comconsole.cToomas Soome1-1/+1
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-049731 uts: update sys/queue.hToomas Soome5-258/+2209
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-049782 eventfd support in zones is incompleteAlexander Pyhalov3-1/+4
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-04update pbchk manpage, add mancheck in scriptsJohn Levon3-53/+44
2018-09-04pbchk: should use -c and -p options. Fix 'nits'John Levon1-12/+15
2018-09-04Fix and cleanup 32/64 compiler setting, few other cw self-review changes.John Levon6-54/+44
2018-09-03XXXX git pbchk could use an -f optionJohn Levon1-8/+18
2018-09-03unused var in zdoor.cJohn Levon1-13/+7
2018-09-03import upstream 9169 patch from tsoomeJohn Levon2-89/+83
2018-09-03Various cmd/bhyve nits. Not all them could be easily guarded by __FreeBSD__John Levon5-2/+26
due to gcc's pickiness.
2018-09-03/root/src/gcc/projects/illumos/usr/src/lib/libctf/common/ctf_dwarf.c: In ↵John Levon1-5/+2
function 'ctf_dwarf_create_array': /root/src/gcc/projects/illumos/usr/src/lib/libctf/common/ctf_dwarf.c:1448:15: error: variable 'ar' set but not used [-Werror=unused-but-set-variable]
2018-09-03don't seem to need -Wno-addressJohn Levon1-1/+0
2018-09-03../../common/io/virtio/virtio.c: In function 'virtio_register_intx':John Levon1-5/+1
../../common/io/virtio/virtio.c:988:6: error: variable 'config_handler_count' set but not used [-Werror=unused-but-set-variable]
2018-09-03Bunch of qede stuff, needs review - and upstream?John Levon4-29/+31
2018-09-03../../intel/io/vmxnet/vmxnet.c: In function 'Vxn_Attach':John Levon1-1/+5
../../intel/io/vmxnet/vmxnet.c:1879:25: error: variable 'revid' set but not used [-Werror=unused-but-set-variable] - only used when DPRINTF() enabled. Mark __unused.
2018-09-03../../i86pc/io/vmm/io/vrtc.c: In function 'rtc_to_secs':John Levon1-0/+28
../../i86pc/io/vmm/io/vrtc.c:286:13: error: variable 'vm' set but not used [-Werror=unused-but-set-variable] struct vm *vm; ^~ ../../i86pc/io/vmm/io/vrtc.c: In function 'vrtc_time_update': ../../i86pc/io/vmm/io/vrtc.c:402:13: error: variable 'oldbase' set but not used [-Werror=unused-but-set-variable]
2018-09-03../../i86pc/io/vmm/vmm_sol_dev.c: In function 'vmmdev_do_ioctl':John Levon1-2/+2
../../i86pc/io/vmm/vmm_sol_dev.c:982:9: error: variable 'srcp' set but not used [-Werror=unused-but-set-variable] - not sure about this code ... but we don't hit this path
2018-09-03../../i86pc/io/vmm/vmm.c: In function 'vm_iommu_modify':John Levon1-0/+13
../../i86pc/io/vmm/vmm.c:1018:22: error: variable 'host_domain' set but not used [-Werror=unused-but-set-variable] void *vp, *cookie, *host_domain; ^~~~~~~~~~~ ../../i86pc/io/vmm/vmm.c: In function 'vm_handle_hlt': ../../i86pc/io/vmm/vmm.c:1534:14: error: variable 'wmesg' set but not used [-Werror=unused-but-set-variable] const char *wmesg; ^~~~~ ../../i86pc/io/vmm/vmm.c: In function 'vm_handle_suspend': ../../i86pc/io/vmm/vmm.c:1746:9: error: variable 'done' set but not used [-Werror=unused-but-set-variable] int i, done;
2018-09-03../../i86pc/io/vmm/vmm_sol_vm.c: In function 'eptable_mapout':John Levon1-2/+0
../../i86pc/io/vmm/vmm_sol_vm.c:697:9: error: variable 'oldpfn' set but not used [-Werror=unused-but-set-variable]
2018-09-03../../i86pc/io/vmm/intel/vmx.c: In function 'vmx_handle_cpuid':John Levon1-0/+4
../../i86pc/io/vmm/intel/vmx.c:1178:15: error: variable 'func' set but not used [-Werror=unused-but-set-variable] GCC is right.
2018-09-03../../common/inet/udp/udp.c: In function 'udp_srcport_hash':John Levon1-4/+1
../../common/inet/udp/udp.c:376:23: error: variable 'ether' set but not used [-Werror=unused-but-set-variable] struct ether_header *ether; GCC is correct.
2018-09-03../../common/io/dr_sas/dr_sas.c: In function 'build_cmd':John Levon1-16/+20
../../common/io/dr_sas/dr_sas.c:3340:6: error: this statement may fall through [-Werror=implicit-fallthrough=] if (acmd->islogical) { gcc default of -Wimplicit-fallthrough=3 is particularly picky about the fallthrough comment syntax. We can't - yet - set gcc-version-specific options, so just work around it for now. ../../common/io/dr_sas/dr_sas.c: In function 'build_cmd': ../../common/io/dr_sas/dr_sas.c:3274:12: error: variable 'context' set but not used [-Werror=unused-but-set-variable] uint32_t context; ^~~~~~~ ../../common/io/dr_sas/dr_sas.c: In function 'disable_intr_ppc': ../../common/io/dr_sas/dr_sas.c:4702:11: error: variable 'mask' set but not used [-Werror=unused-but-set-variable] uint32_t mask; - looks like these are there for side-effects, mark __unused
2018-09-03fix missing breakJohn Levon1-1/+1
2018-09-03pci_emul.c: In function 'pci_emul_alloc_pbar':John Levon1-0/+4
pci_emul.c:591:17: error: 'mask' may be used uninitialized in this function [-Werror=maybe-uninitialized] This is because gcc doesn't understand that assert(0) never returns; replace it with abort().
2018-09-03Don't use our own version of offsetof() in the freebsd compat headers,John Levon1-4/+0
as it confuses GCC into thinking we have a file-scope VLA in CTASSERT(). In file included from /root/src/gcc/projects/illumos/usr/src/compat/freebsd/sys/mutex.h:21:0, from ../../common/sys/time.h:277, from /root/src/gcc/projects/illumos/usr/src/compat/freebsd/sys/time.h:19, from /root/src/gcc/projects/illumos/usr/src/compat/freebsd/sys/param.h:29, from ../../i86pc/io/vmm/amd/svm_msr.c:30: ../../i86pc/io/vmm/amd/vmcb.h:325:26: error: variably modified '__compile_time_assertion__325' at file scope [-Werror] CTASSERT(offsetof(struct vmcb, state) == 0x400);
2018-09-03XXXX fix libresolv2_joy gcc warningsJohn Levon95-425/+23
import "8849 libresolv2: remove rcsid" into libresolv2_joy
2018-09-03cw should support parallel, cw should not let GCC_ROOT go into the futureJohn Levon7-34/+50
2018-09-039128 cw(1onbld) should be able to run multiple shadowsJohn Levon14-646/+490
9129 file-locking tests shouldn't build multiple source files in one compiler invocation 9130 DTrace tst.gcc.d isn't useful 9132 cw(1onbld) shouldn't shadow pure preprocessing
2018-09-01OS-7150 expose processor model name on chip topo nodesRob Johnston4-6/+45
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-09-01OS-7093 Deadlock in ACPI Method EvaluationRobert Mustacchi385-23888/+79789
OS-7203 Update ACPI to joyent/20180629 Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
2018-08-31OS-7046 Want tests for nawk(1)Cody Peter Mello915-2/+61875
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>