From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9355AC433E1 for ; Fri, 24 Jul 2020 17:52:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6EFBE2067D for ; Fri, 24 Jul 2020 17:52:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cdWoE2eg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726753AbgGXRwj (ORCPT ); Fri, 24 Jul 2020 13:52:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbgGXRwi (ORCPT ); Fri, 24 Jul 2020 13:52:38 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B4A7C0619E4 for ; Fri, 24 Jul 2020 10:52:38 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id gc15so6164525pjb.0 for ; Fri, 24 Jul 2020 10:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pJMZ9swT3K3bqjJGXw2k3ORIxQ+qFSg1qs4vP+1tpg4=; b=cdWoE2eg0lqtaBCE7gX8/22rPZSJybcSuLoAOGnkDhjuuDHjBqXvxoqznKJrXHU3o1 iTxCtOeQqhFXAo17sRdniHvJKXR9VakV+aww3rop+nAi5XFiPGcfGlfmBDL//k6IuZ7a IW2nzon8XqUePb5x1bKZ2zyLYXpunn4GzgxYQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=pJMZ9swT3K3bqjJGXw2k3ORIxQ+qFSg1qs4vP+1tpg4=; b=lULHCfL/vAGGkDqYYK9W4efQkXwlS7ZVLlg3jYf1QcZ1h4+klQeMV7xrZ4QNxJsRKX LzM7mSLhBkga6nPh1Ej85J6qosnyVAKSKSiZfzV1ry31WN5ZQ2a/aBQCX8C3Xpd4CbD5 2rwS5386Ai9ldhnQZWtrZtSLKwuVKIHzUJDphLUI5zl+crKadWp6eB83hZeI7WxNv53o FqAHf8jTrgTorbd1hrjiOSa4kHoLDOPtGtidIg0IRA/FFqLLmmDUss1VJiCRMD+jepXE EigmRt0n2ul3XCZhm+g7fNxPg6d6D+rNIUamWhPhuBTP6uDJjt5ApBHpiVM6wvguUdCW hNkw== X-Gm-Message-State: AOAM532jqPL6bmpyHkXFMtvMeYLy1MEs13rDzsFDTYf/V/Ar2msIl6+v qW3/ofVRkB/9ftBrvO8yxnK0sw== X-Google-Smtp-Source: ABdhPJwHNZHpjJqrSuBBG12NUV/AuorcdxM+aZufctkjPno4wSr16cgJs0zf8rkmYhm9hIrfeFYV/A== X-Received: by 2002:a17:902:e903:: with SMTP id k3mr9265756pld.148.1595613157934; Fri, 24 Jul 2020 10:52:37 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id e28sm6990626pfm.177.2020.07.24.10.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 10:52:36 -0700 (PDT) Date: Fri, 24 Jul 2020 10:52:35 -0700 From: Kees Cook To: Joerg Roedel Cc: x86@kernel.org, Joerg Roedel , hpa@zytor.com, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , David Rientjes , Cfir Cohen , Erdem Aktas , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v5 34/75] x86/head/64: Make fixup_pointer() static inline Message-ID: <202007241052.1B5F51DB4@keescook> References: <20200724160336.5435-1-joro@8bytes.org> <20200724160336.5435-35-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724160336.5435-35-joro@8bytes.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 06:02:55PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Also move it to a header file so that it can be used in the idt code > to setup the early IDT. > > Signed-off-by: Joerg Roedel Reviewed-by: Kees Cook -- Kees Cook