From owner-svn-src-all@freebsd.org Wed Aug 26 19:16:40 2020 Return-Path: Delivered-To: svn-src-all@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 687EE3B8EE0; Wed, 26 Aug 2020 19:16:40 +0000 (UTC) (envelope-from bdragon@imap.cc) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcFw80KJGz4VYb; Wed, 26 Aug 2020 19:16:39 +0000 (UTC) (envelope-from bdragon@imap.cc) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2C17E15DF; Wed, 26 Aug 2020 15:16:37 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute3.internal (MEProxy); Wed, 26 Aug 2020 15:16:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imap.cc; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=mikaS6Z/bflaiO+AZk7v6Qag7H1eVbV vACMvXnjjykA=; b=lJcf2reZpZv+c2TrVl7HT/Oxy+XhZJAFcPzUS7cD3krLB1H XGZGj0bDmyGFeSP0dwW4+RQeuey1BYcN/unY0tTbjITcfkVd1VgWrAGiyrtnTvWy yfg9P9lbaWbaCkz/RNPHQDjFLYASVrlB1nodo5SWOArfA4YkxBT6e941wHihmjok yKJh9mFX4p+d695r3CzggLhNFAJG39Lf37WJyXYsSjVVEZ8v0KQ+OGoqi9TZAVdk FzU2kjh1lwYpz9fu0RqYp4RQ2/cvlbQyxKho005MDDUVMymNuqOAmxYY8cV1Jt9U +6TP+K0jkqLZ1o52kyNDCKbej7O0K0ltYan8ceA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mikaS6 Z/bflaiO+AZk7v6Qag7H1eVbVvACMvXnjjykA=; b=tbPZ6rRtfsJEuDsjuiqikT Ox1G0rOxjFDEC9KBT4n44AV6L28cDb82apPH3eTjQnczz4q2OReWP4l/QhywzDIW Dc00+jAkepUG+8rwucwVyi8Ob/2dNV9oFZ8PrHOsqePKqG4p7bASWzKpuwI+z+RW Cnk+VfqK8oxIHMtGQYpG68Yh5grU3jVJdsCC3FvKScifLVoHI1pBA51x3O5zpHjj n4a3dc+UwpBOdGPB9jn091dXYVBH2Af2ZFmUOO49w+YaqqxOsOGDaAlQUCRGcjdu MAQLoMkjxqVRJd0DFr6/pzDjWcE7k4gkd9qSNoDWtKCUivuMlJzdAQJ2l3FDmIbA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvvddgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddutddmnecujfgurhepofgfggfkjghffffhvffutgesthdtredt reerjeenucfhrhhomhepfdeurhgrnhguohhnuceuvghrghhrvghnfdcuoegsughrrghgoh hnsehimhgrphdrtggtqeenucggtffrrghtthgvrhhnpefgffeiieehudfgfffhheejteef keeuvdeggfejhffhhfeihfefjeeltdeijeejffenucffohhmrghinhepfhhrvggvsghsug drohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegsughrrghgohhnsehimhgrphdrtggt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 02CF3C200A5; Wed, 26 Aug 2020 15:16:35 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-232-g4bdb081-fm-20200825.002-g4bdb081a Mime-Version: 1.0 Message-Id: <7e0abc1a-a397-46c3-b283-2c1ab21a9c4d@www.fastmail.com> In-Reply-To: <202008260237.07Q2bhwF045988@repo.freebsd.org> References: <202008260237.07Q2bhwF045988@repo.freebsd.org> Date: Wed, 26 Aug 2020 14:16:15 -0500 From: "Brandon Bergren" To: "Alan Somers" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: =?UTF-8?Q?Re:_svn_commit:_r364799_-_in_head:_share/man/man9_sys/crypto/c?= =?UTF-8?Q?cp_sys/dev/cxgbe/crypto_sys/dev/sec_sys/kern_sys/opencrypto?= Content-Type: text/plain X-Rspamd-Queue-Id: 4BcFw80KJGz4VYb X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; REPLY(-4.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 19:16:40 -0000 On Tue, Aug 25, 2020, at 9:37 PM, Alan Somers wrote: > Author: asomers > Date: Wed Aug 26 02:37:42 2020 > New Revision: 364799 > URL: https://svnweb.freebsd.org/changeset/base/364799 > > Modified: head/sys/dev/sec/sec.c > ============================================================================== > --- head/sys/dev/sec/sec.c Wed Aug 26 02:13:27 2020 (r364798) > +++ head/sys/dev/sec/sec.c Wed Aug 26 02:37:42 2020 (r364799) > @@ -851,6 +851,9 @@ sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_ > case CRYPTO_BUF_MBUF: > size = m_length(crp->crp_buf.cb_mbuf, NULL); > break; > + case CRYPTO_BUF_VMPAGE: > + size = PAGE_SIZE - cb->cb_vm_page_offset; > + break; > default: > return (EINVAL); > } Uh, where is cb coming from? Shouldn't this be using crp->crp_buf.cb_vm_page_offset? This is causing a build failure on powerpc and powerpcspe. I don't see why other platforms aren't also erroring out here.