From owner-svn-src-head@freebsd.org Fri Nov 15 11:53:07 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98C971C4376; Fri, 15 Nov 2019 11:53:07 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DxYv3cKgz4b5D; Fri, 15 Nov 2019 11:53:07 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5FDF318774; Fri, 15 Nov 2019 11:53:07 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAFBr7Og047960; Fri, 15 Nov 2019 11:53:07 GMT (envelope-from scottl@FreeBSD.org) Received: (from scottl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAFBr7D4047958; Fri, 15 Nov 2019 11:53:07 GMT (envelope-from scottl@FreeBSD.org) Message-Id: <201911151153.xAFBr7D4047958@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: scottl set sender to scottl@FreeBSD.org using -f From: Scott Long Date: Fri, 15 Nov 2019 11:53:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354729 - head/sys/x86/x86 X-SVN-Group: head X-SVN-Commit-Author: scottl X-SVN-Commit-Paths: head/sys/x86/x86 X-SVN-Commit-Revision: 354729 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 11:53:07 -0000 Author: scottl Date: Fri Nov 15 11:53:06 2019 New Revision: 354729 URL: https://svnweb.freebsd.org/changeset/base/354729 Log: Fix a typo in how the AVX512DQ feature bit is checked. Reviewed by: kib Sponsored by: Intel Modified: head/sys/x86/x86/busdma_machdep.c head/sys/x86/x86/cpu_machdep.c Modified: head/sys/x86/x86/busdma_machdep.c ============================================================================== --- head/sys/x86/x86/busdma_machdep.c Fri Nov 15 11:46:53 2019 (r354728) +++ head/sys/x86/x86/busdma_machdep.c Fri Nov 15 11:53:06 2019 (r354729) @@ -236,6 +236,12 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t al return (error); } +bus_dma_tag_t +bus_dma_tag_alloc(bus_dma_tag_t parent, bus_dma_props_t props) +{ + return (NULL); +} + int bus_dma_tag_destroy(bus_dma_tag_t dmat) { Modified: head/sys/x86/x86/cpu_machdep.c ============================================================================== --- head/sys/x86/x86/cpu_machdep.c Fri Nov 15 11:46:53 2019 (r354728) +++ head/sys/x86/x86/cpu_machdep.c Fri Nov 15 11:53:06 2019 (r354729) @@ -1069,7 +1069,7 @@ hw_mds_recalculate(void) } xcr0 = rxcr(0); if ((xcr0 & XFEATURE_ENABLED_ZMM_HI256) != 0 && - (cpu_stdext_feature2 & CPUID_STDEXT_AVX512DQ) != 0) + (cpu_stdext_feature & CPUID_STDEXT_AVX512DQ) != 0) mds_handler = mds_handler_skl_avx512; else if ((xcr0 & XFEATURE_ENABLED_AVX) != 0 && (cpu_feature2 & CPUID2_AVX) != 0)