From owner-svn-src-head@freebsd.org Wed Feb 20 23:52:48 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79C9714E16F5 for ; Wed, 20 Feb 2019 23:52:48 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f172.google.com (mail-it1-f172.google.com [209.85.166.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB39C75A76 for ; Wed, 20 Feb 2019 23:52:47 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f172.google.com with SMTP id h6so20177654itl.1 for ; Wed, 20 Feb 2019 15:52:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:cc; bh=lb8j3J4dEqe0AzuH9DjWIJkvi872JvGn5ShEQWpEMuI=; b=m7YyKOjXGk+j2H7tM7u6iu9hwk3F6yj7xg42WBQVnDRAIyNA/xKXtNlwAOSod1e85v PTS8eoYhDUbLCcIReCWdHaSw7Qnr+6PFyUGXYtWPcViw8AUG1vo8rYUG8jC6mrctqMfe /e9g5KL8pL9yDzls7NXnfZ7yJkyuxnFlwwcnVmtNeN+XVEAJ9TzWSI21/XP+YX8MVCSm YXEq3I9JjFqkH1v3LdJ7+Oo2fFQWln0lPe64kfZ2SrNqcvHs+oR4ZEmxpaRh0/bqJU0i xNOELPeiwlmd78qlaXjjotALg0u6Wt9A+TJm+Moo4NxIozC3i1xKvAnWt1tyqIR6Y/Lx imRA== X-Gm-Message-State: AHQUAuahA3FOHtpX/F7asS/JUZGuRszZiNrm1xsF18T4wFn7axnffU9S qn9xNXTq4CWCP0hHxgdgCTbBtkzK X-Google-Smtp-Source: AHgI3IbGkV6aDNM8plReKjkyfQmzV0/gByFZDo8xMDMIr1w1RiKPNDSxhclyOQl+wcOYbmqoUxtRsg== X-Received: by 2002:a5d:818d:: with SMTP id u13mr20526833ion.20.1550706766863; Wed, 20 Feb 2019 15:52:46 -0800 (PST) Received: from mail-it1-f169.google.com (mail-it1-f169.google.com. [209.85.166.169]) by smtp.gmail.com with ESMTPSA id n20sm1184985iom.5.2019.02.20.15.52.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Feb 2019 15:52:46 -0800 (PST) Received: by mail-it1-f169.google.com with SMTP id f10so19779961ita.4 for ; Wed, 20 Feb 2019 15:52:46 -0800 (PST) X-Received: by 2002:a5e:9243:: with SMTP id z3mt22986508iop.107.1550706766253; Wed, 20 Feb 2019 15:52:46 -0800 (PST) MIME-Version: 1.0 References: <201902200951.x1K9pDQs001745@repo.freebsd.org> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Wed, 20 Feb 2019 15:52:35 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r344353 - in head/sys: amd64/amd64 amd64/include arm/include arm64/include i386/include mips/include powerpc/include riscv/include sparc64/include vm x86/include Cc: Konstantin Belousov , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: EB39C75A76 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 20 Feb 2019 23:52:48 -0000 Nevermind, sorry about that. I see the subsequent commits now. On Wed, Feb 20, 2019 at 2:33 PM Conrad Meyer wrote: > > Hi Konstantin, > > What is the (K)API for this (do you have any intended consumers in > mind)? Will it be documented in a manual page at some point? Does it > make sense to expose to userspace via mmap(2) or similar? > > Thanks, > Conrad > > On Wed, Feb 20, 2019 at 1:51 AM Konstantin Belousov wrote: > > > > Author: kib > > Date: Wed Feb 20 09:51:13 2019 > > New Revision: 344353 > > URL: https://svnweb.freebsd.org/changeset/base/344353 > > > > Log: > > Add kernel support for Intel userspace protection keys feature on > > Skylake Xeons. > > > > See SDM rev. 68 Vol 3 4.6.2 Protection Keys and the description of the > > RDPKRU and WRPKRU instructions. > > > > Reviewed by: markj > > Tested by: pho > > Sponsored by: The FreeBSD Foundation > > MFC after: 2 weeks > > Differential revision: https://reviews.freebsd.org/D18893