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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2665CEB64D9 for ; Mon, 19 Jun 2023 15:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231776AbjFSPZu (ORCPT ); Mon, 19 Jun 2023 11:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbjFSPZr (ORCPT ); Mon, 19 Jun 2023 11:25:47 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFB4E10F for ; Mon, 19 Jun 2023 08:25:43 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687188341; 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: in-reply-to:in-reply-to:references:references; bh=OlByzkjBxCCoZPdq7IqMTUU0TdOfFw/RoPP6ta6MsEg=; b=OJndYAmzwlCvlvcQALNMSD+ywOsIeWhWu3Cyixs1oMxmW2zwTTqk4NNcSIEJZxnv62phRO wVoYBQ5MYOIQUtCN82meFx1gzsZyZqekVkdRKGTE1dk6sPw6gLym3/ktqLTenzmT8qYGXx E8gqjTChs9J4+WUJp/KPj+RyQ1D9w1yxE5+Z8wtT/HLJ90i0Ln0VtBHHKnw1OHTihT8k/Z T01tmYnEqtCp6bSlSCxJm+717GYcrJE7yucCb2Qngjass/sh9tufu96pfNg/3s5X9Vg6c+ VkPb39h76nu5+xPdvBzIYkBKsv64p/eLS6imqvaD+SustPq/MHL1kHza2VgQ7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687188341; 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: in-reply-to:in-reply-to:references:references; bh=OlByzkjBxCCoZPdq7IqMTUU0TdOfFw/RoPP6ta6MsEg=; b=P895Flm1FoG4VYzeJtEf+6sjjAQfWCLSGFQRLJ5iKZHtv2VlnZAkDPH9ri0UvI6xndQZKs KQN+0+bt+OptdRAA== To: Cyrill Gorcunov , Dheeraj Kumar Srivastava Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, suresh.b.siddha@intel.com, Kishon Vijay Abraham I , Vasant Hegde Subject: Re: [PATCH v1] x86/apic: Fix kernel panic when "intremap=off" and "x2apic_phys" are set In-Reply-To: References: <20230616212236.1389-1-dheerajkumar.srivastava@amd.com> Date: Mon, 19 Jun 2023 17:25:41 +0200 Message-ID: <874jn3qxsa.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 19 2023 at 01:24, Cyrill Gorcunov wrote: > > Hi! Good catch! In long term I think we could switch to use > x2apic_state variable instead since at the moment the code is somehow > hard to read and remember which exactly deps are to be satisfied to > enable x2apic mode. It's on my todo list for a very long time. Unfortunately that list is growing only into one direction...