From owner-svn-src-all@freebsd.org Wed Feb 20 23:52:54 2019 Return-Path: Delivered-To: svn-src-all@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 EE9C014E170A for ; Wed, 20 Feb 2019 23:52:53 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f169.google.com (mail-it1-f169.google.com [209.85.166.169]) (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 81B2875A7B for ; Wed, 20 Feb 2019 23:52:53 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f169.google.com with SMTP id h6so20177650itl.1 for ; Wed, 20 Feb 2019 15:52:53 -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=LsZ75u6cQ28nj495SESuee5kuagTwbVpQJhmDpy9+aydvyM4H+X3A4ZOYafkVclU4g ThCbte8FjIltmNSQA8e3K754X3in5FJ3VbF12Ty1Qq8FduE/HCG6E01A/Ylhg+xSRlqz evj0XIWEj1rupejIrCH7CwK2YLmSrkNvWKn3gsayX6O7Zg5ze3htpR+L04SFy4DHzU6Z jIRpOw/LzMtzsNqj1LoBKfhPiioMJ10j1aEjnFRu3A5dT80L+MtFK9e8zsW94d+dH+Fz C7mYlllDVH4c4k1jaVL/k3wE9UJyyk5vAiKpMCCrlRq2MjNotg7fIaK1lpUQzZ0Oimol /LSg== X-Gm-Message-State: AHQUAubt8fdRyA/9zFkaWpw2hMf1Z9rPbdb6EalrzOoofSJdmeRQboAP szEEV5Nxb1g47FuXHjMi+y7Fik/G X-Google-Smtp-Source: AHgI3Ib/nP1R1hm3PMXApGh3IOTC53ukhCnWdDwEJM+cXkHkhGo7f5GD8H28fp1ahE4S4ACXncjVJg== X-Received: by 2002:a24:de8a:: with SMTP id d132mr2678710itg.55.1550706766820; Wed, 20 Feb 2019 15:52:46 -0800 (PST) Received: from mail-it1-f174.google.com (mail-it1-f174.google.com. [209.85.166.174]) by smtp.gmail.com with ESMTPSA id 10sm3429774itm.41.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-f174.google.com with SMTP id x131so19785797itc.3 for ; Wed, 20 Feb 2019 15:52:46 -0800 (PST) X-Received: by 2002:a5e:9243:: with SMTP id z3mt22986506iop.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: 81B2875A7B 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.990,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2019 23:52:54 -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