Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1357018rwb; Fri, 7 Oct 2022 11:22:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4jhtIrPyoE+aJXfic1IsWHmWKutLgxBmE+4YANCNTAG9xYM+akmK2V79jmsL02/eGsqBpo X-Received: by 2002:a05:6402:5256:b0:459:42b3:3d86 with SMTP id t22-20020a056402525600b0045942b33d86mr5638662edd.370.1665166927242; Fri, 07 Oct 2022 11:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665166927; cv=none; d=google.com; s=arc-20160816; b=ZW5wQku1qUmfsiYeShc239yMB9p9CReMNy6v7Xf4uqujBp7KmwVO5geFCC5iEiBiwM Nep6kF2+b5eMfBVEK03S/LreZzP+ldp9RUKKFisSxAuGk/xI+8oTXysbPzoyvYke2h7u 7p3Wvf7IXaRu6UBwDfy3NurEHCwQwzzJ4k2MpW6+ZWLTHAPaW4l8/vktP98QNUWm4hi0 5K9ceIengKjt+0Q9rbfk93E4NlmGn1jGOzCMGNn2gYHwa0IST9t63FUxWX/LlavfQJlB +5G1tXgp8oMUo50F7EFqKi6eBXq8KPG47GLI4rUqTCnym5Ij8kqTMVM2I3oftzufKAWz krGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature:dkim-filter; bh=my1b0qtvsPdCaDJq4ZnTV0d8jLsLsG2IS1TNTWvIsE0=; b=BKvW1CnvrXsyAdZTxmukRfSzw41lsKlNRM38igBh6kRAbjWV9+kAqgiBZPU5he4Tuh 8VD4r04wyRWh5x47kr9s6xJQCdH1I1fQohZEPqIVuA0EYNl+dwOd7W1Ckq/bzxfz0ubj P71JNasxz/owmZmXngT/0g2UTDjE7nl0k8L9CDLmPTaoeBzOqz+oEWF9dnWee2vrjWYf I61ClxnHTQ7hrro2DIpapnIiEvqSHRLRK4XmbSSDT+xikVCbTf8AHYaHJSFb/LIFms/M /GcEnhoi2jrlBuBmrPU2U+y5BaQjfwbP4UHRZ/Wy2wcXpyNtcC2qglOHA22DhrqTdsYT LG8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2022090501 header.b=HmMxuObH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a170906c18a00b0073d5f9aa5e9si2805758ejz.327.2022.10.07.11.21.28; Fri, 07 Oct 2022 11:22:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zytor.com header.s=2022090501 header.b=HmMxuObH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbiJGRoJ (ORCPT + 99 others); Fri, 7 Oct 2022 13:44:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiJGRoH (ORCPT ); Fri, 7 Oct 2022 13:44:07 -0400 Received: from mail.zytor.com (unknown [IPv6:2607:7c80:54:3::138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18BCCD8EFD for ; Fri, 7 Oct 2022 10:44:07 -0700 (PDT) Received: from [127.0.0.1] ([73.223.250.219]) (authenticated bits=0) by mail.zytor.com (8.17.1/8.17.1) with ESMTPSA id 297Hhb1k3871548 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 7 Oct 2022 10:43:37 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 297Hhb1k3871548 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2022090501; t=1665164618; bh=my1b0qtvsPdCaDJq4ZnTV0d8jLsLsG2IS1TNTWvIsE0=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=HmMxuObHYwLnNoVGUqOILqAuESYcH2YUKZOa2xxGUshkwlVsJM3XUdJWpdqy1ggMr k8TRq6sSI0u/neRWMzfvWnhzXSYwxx6V/4OLEhLrUkE5yOLp5Cm44CbZzrDEjh1W8B t+c+ke5CTQ7/yiKLuHkqbS+DqLonFj5inZ1lzV8VsoCWrojgG2IEx3p/p8yMTGKBys akqto1ohGppdZtHAP1TdmrHDNybRjDLu0w/fxzymt44jZoIpQ/RYfVBINyzrc/3Nj4 VqN11tZ0cjmftWoTzExoIvrRjEgxXXE/YS4FZfAy1wJ4gOyUr4ey6Bxm4wrNMTXCyc /D+hQe3vttWNw== Date: Fri, 07 Oct 2022 10:43:34 -0700 From: "H. Peter Anvin" To: Brian Gerst , Xin Li CC: linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_5/6=5D_x86/gsseg=3A_move_loa?= =?US-ASCII?Q?d=5Fgs=5Findex=28=29_to_its_own_header_file?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20221006154041.13001-1-xin3.li@intel.com> <20221006154041.13001-6-xin3.li@intel.com> Message-ID: <6CBB0EC9-5EF1-4396-9B5F-C0A5592BFD37@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On October 7, 2022 8:40:41 AM PDT, Brian Gerst wrote: >On Thu, Oct 6, 2022 at 12:13 PM Xin Li wrote: >> >> From: "H=2E Peter Anvin (Intel)" >> >> depends on , so in order to= be >> able to use alternatives in native_load_gs_index(), factor it out into >> a separate header file=2E >> >> Signed-off-by: H=2E Peter Anvin (Intel) >> Signed-off-by: Xin Li > >This could be moved into instead of creating a new head= er file=2E > >-- >Brian Gerst At least at the time I wrote the code, it could not, without creating yet = another circular header file dependency=2E