Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2556050rdb; Fri, 22 Sep 2023 01:58:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1tkt067V8W2ushPZOZ+OtinNBl5a1AnM+Eu2+uaMLKz4Y7tKc7U5kocCirieuNchMhkX4 X-Received: by 2002:a05:6a20:8f03:b0:153:8754:8a7e with SMTP id b3-20020a056a208f0300b0015387548a7emr9424271pzk.3.1695373130660; Fri, 22 Sep 2023 01:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695373130; cv=none; d=google.com; s=arc-20160816; b=WKpNOtBiBRCETsosPDnZfk/f8K6bhcp5lmQf0qFhrmnxTLAinUPVq1+OM2a8YCPb2E K4scJ8kKYjrC6AromA8zgvYRKh8Dn/Ht3LWAYQJo+e/fn/MiR/0RmbEy5tUj6dkA8Z9n JcC+jwIMn3czkLuVh5YPkr5NHp3an0bxvkf1lEC0D9zTtOSApl16N2rcjxw4YMJM+NAg +HMlysHzfjUnhPgmWA3iJ0YGu3Mxy+POnKiDywERUqcmVvaiMBQft/XIDebnn9bV+e46 r+A0sX77mZA+cEeJQXSKp41vcFYOI3t2vxQJI/bhNBIwPksB7TpiRzRwbqBZiwQ6oQ5a 5OKA== 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:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=MGuV725+A52UkxEuSgzeQeAhaGDz2ANft+qmFiacDG8=; fh=lA97i+by0AVHUNutwQf8PobMTzJJb8nocBI6FxbEwQg=; b=oY/NrXGCIeN2xhYF5LBqwhspqK7gI+stcZRu5DV+fGlrUB2WDZBziLjcyd+SWmirDU pedqnshG2NcyJZhhDPQEH607Nnjv+DOillmTcGI1os3EfAuq8G3wzP6CPuu3fo7dn+yH KPQ9e0fa/rbKF5THbbPQFD669mMYdJ9JprGqw6E3bnAeP8GOskjGxZ8G5iqZgWJc6DDn KTIvVrTb4Ev5OHgKgBXNxW3DH64L1WZ8hMxTjd2gAegSd4/nJ192ui68hjAPvDEIKEfB xpnKLQsNxNF4Vsw7N6U8UOE7ttu8R63UoHg8NvY5DAR5QKgjskVzlhjTidenKTzQfZS7 z3oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Uc1XkSal; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ei42-20020a056a0080ea00b00690c6da95c4si3161652pfb.273.2023.09.22.01.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 01:58:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Uc1XkSal; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9B6A58335B32; Thu, 21 Sep 2023 13:21:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231193AbjIUUVZ (ORCPT + 99 others); Thu, 21 Sep 2023 16:21:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231596AbjIUUUy (ORCPT ); Thu, 21 Sep 2023 16:20:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3BDB51018; Thu, 21 Sep 2023 10:15:29 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695290903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MGuV725+A52UkxEuSgzeQeAhaGDz2ANft+qmFiacDG8=; b=Uc1XkSaloHBlxYQ1zN6hh9geAvtQDrA6rzrrOm0XEDhASCCuiOJd0ZUQDVk5pu7smVlZfM YcyVj5MIlW6dCw0gZAVps0Rws2yHAHtHT3yI0KmpTXMdgnz/3Z1IfNIMpPSXeG2C1xVIZa RVC8GvYWzw2wNPbssRcVWZprhIJD5GCzDZQZel4mnlA7NNIdTJN8FZXnfD5refPia6Z4Ep NvWaLlqsVp24Afci/BqY4B8bDTeZUFFOfG/ZbjsHOCaUcJSGcTEfuO29KH+o6OntuQsdt1 Yeu0DTomo1WSKteeMcOT97KH0jVECo7ht6Xx698kxrEZHO2MRgqhLwxglLtcag== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695290903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MGuV725+A52UkxEuSgzeQeAhaGDz2ANft+qmFiacDG8=; b=YhxFLYB1hUEgCK9ZzqoixCOcdsJ9EkBa/RsLR3qBRdXVZTcXsEUrSFZvzIKcv5QclewR1g FaT5gQjP7YRGAsBA== To: Nikolay Borisov , Xin Li , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, linux-hyperv@vger.kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, luto@kernel.org, pbonzini@redhat.com, seanjc@google.com, peterz@infradead.org, jgross@suse.com, ravi.v.shankar@intel.com, mhiramat@kernel.org, andrew.cooper3@citrix.com, jiangshanlai@gmail.com Subject: Re: [PATCH v10 28/38] x86/fred: FRED entry/exit and dispatch code In-Reply-To: <22921663-0e5e-58c0-c6c8-c45f991790ea@suse.com> References: <20230914044805.301390-1-xin3.li@intel.com> <20230914044805.301390-29-xin3.li@intel.com> <22921663-0e5e-58c0-c6c8-c45f991790ea@suse.com> Date: Thu, 21 Sep 2023 12:08:23 +0200 Message-ID: <871qerj0tk.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.3 required=5.0 tests=DATE_IN_PAST_06_12,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 13:21:53 -0700 (PDT) On Thu, Sep 21 2023 at 12:48, Nikolay Borisov wrote: > On 14.09.23 =D0=B3. 7:47 =D1=87., Xin Li wrote: >> + >> + /* INT80 */ >> + case IA32_SYSCALL_VECTOR: >> + if (likely(IS_ENABLED(CONFIG_IA32_EMULATION))) { > > Since future kernels will support boottime toggling of whether 32bit=20 > syscall interface should be enabled or not as per: > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=3Dx= 86/entry&id=3D1da5c9bc119d3a749b519596b93f9b2667e93c4a > > It will make more sense to replace this with ia32_enabled() invocation.=20 > I guess this could be done as a follow-up patch based on when this is=20 > merged as the ia32_enbaled changes are going to be merged in 6.7. The simplest solution is to rebase the series to tip x86/entry and just do it right away :)