Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp100661rdb; Mon, 14 Aug 2023 10:39:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmlTDIjyagTZKrCfzOjhJJBYoD9ISKrAKlSgiCCNaLGTJS3TdmxTsc35RkSAwjLKrbyKMA X-Received: by 2002:a05:6a20:6a10:b0:13f:9cee:ff42 with SMTP id p16-20020a056a206a1000b0013f9ceeff42mr14310281pzk.41.1692034741466; Mon, 14 Aug 2023 10:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692034741; cv=none; d=google.com; s=arc-20160816; b=UeB2vZE5+CYJuy9juz6LGorxpKTjoCVF4Vrv9PyKltuKNPtfuUgOZ4B3tUXDYFj/G2 zo1kHOSy2XblhLZLcI+dITMX7juPrL0MoPTjzodGB0RAPsDvk3iy2Fub0Y+kAcbvpR72 aULBJJ3g2hqgoRLKWVy+PfcymEm4Tn3/kCxVjxT9PPcnvihluLk4E+XFbNcYJ0ZmDAQ2 3GoomTeeK+7EfF3lSRgt9MN2aKFGuJVzTOt6WTbUHzS6HRVye5A5B0m5ZEX8wZZa0FSX V9NS+Yv6a+RjfZAQd1Zk6jdJdYS7imhPTbq0rABvA+y1/yiw8iEZ947z2iqT0K5hXJRO Npow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=IPu7inolqtI1q6OEIIr6rwE4HWAEJRXOPK5OU87TuH0=; fh=+jPIqfMEfOi3LN8Yn6N2tXzh6aPmuu6En0Wy825rlCo=; b=yHb9dWUX8T4ot5UG94yh6SgONlEnUBpvElBoG6sPfIl5BCol+vXk7r6PVrCXp8hzkN yxj7RLAZM9jR32fpFJ3pK85QURLcMhu98rDcfZ+YsbTxRpZKtV6eEOW2R2+dM1Xx1WAk fZZPG/BT/9c3HtoWZXgt4dh5eE1OoX7rXOvNgp5yPDj6yTu5iOfRIJQQlUHuDhRn6lpx JYj4/jsU8O3CG68HnOLk22W+drBBH9eevCGD1VlvWjgyzagkPMqGpsvVpjA1A6CZjWKA /+wm3823Dyv6a20dZ4y1RTIHrn7imnmJEvQYPHMArTQssG2NWuwlHyzD5qvl7F/cFoT+ WOzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=vNoQmix+; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020a632158000000b0055ff89f224bsi8535432pgm.689.2023.08.14.10.38.49; Mon, 14 Aug 2023 10:39:01 -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=@linutronix.de header.s=2020 header.b=vNoQmix+; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbjHNRMP (ORCPT + 99 others); Mon, 14 Aug 2023 13:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbjHNRMJ (ORCPT ); Mon, 14 Aug 2023 13:12:09 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB0D10F for ; Mon, 14 Aug 2023 10:12:08 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1692033126; 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=IPu7inolqtI1q6OEIIr6rwE4HWAEJRXOPK5OU87TuH0=; b=vNoQmix+jy8t7rV+ogQjlqECUPQIQe/eMMaYIESht6USUlj8dork2QOvYV5eKKswec4m7x kchYvd1uhrfO4ZlxAD6vJACjhbigyBML4MyItnQDsfn49i0z2MWRFnpWCbrflL4XXEs/DH zPS+eRXYiLE3kKIwTj4M03PsFTryTRVfeKzXB6k4iulQemu2535rgByguSqJFzfXPHM5i6 8rqCwRjZPQbIY5J1q5w9MAEE0cN9gq++3oKj0gUHGBdblC6cMq/usUOp5i2Bu8K1sPimBj 3s8oFqnoG4JtAk0z/AaHhbYyXUhS+lkB5Az2BWTguDv3YM1lYtj38ns+mwGqGA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1692033126; 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=IPu7inolqtI1q6OEIIr6rwE4HWAEJRXOPK5OU87TuH0=; b=Gh5mZ/m2IhCqY/48cFEvl4dxCCkXeRVwfYzB3PDtC2Oj2YnAh0WZb+VnGyk4MYyeQbPZlT iHelpYukn9IIL9Ag== To: "Zhang, Rui" , "linux-kernel@vger.kernel.org" Cc: "Brown, Len" , "Gross, Jurgen" , "mikelley@microsoft.com" , "arjan@linux.intel.com" , "x86@kernel.org" , "thomas.lendacky@amd.com" , "ray.huang@amd.com" , "andrew.cooper3@citrix.com" , "Sivanich, Dimitri" , "wei.liu@kernel.org" Subject: Re: [patch V3 27/40] x86/cpu: Provide a sane leaf 0xb/0x1f parser In-Reply-To: <265f4f8a3eceebd1acef4c8a9ff99a6d78a0126d.camel@intel.com> References: <20230802101635.459108805@linutronix.de> <20230802101934.258937135@linutronix.de> <8e5bbbc91ff9f74244efe916a4113999abc52213.camel@intel.com> <87350ogh7j.ffs@tglx> <87ttt3f0fu.ffs@tglx> <87il9hg67i.ffs@tglx> <265f4f8a3eceebd1acef4c8a9ff99a6d78a0126d.camel@intel.com> Date: Mon, 14 Aug 2023 19:12:05 +0200 Message-ID: <874jl1im56.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, Aug 14 2023 at 15:28, Rui Zhang wrote: > On Mon, 2023-08-14 at 14:26 +0200, Thomas Gleixner wrote: >> What's the problem you are trying to solve? Some real world issue or >> some academic though experiment which might never become a real >> problem? >> > Maybe I was misleading previously, IMO, I totally agree with your > points, and "using optional die/tile/module" is what I propose to > address these concerns. That's exactly what's implemented. If module, tile, die are not advertised, then you end up with: N threads N/2 cores 1 module 1 tile 1 die in a package because the bits occupied by module, tile and die are exactly 0. But from a conceptual and consistency point of view they exist, no? Thanks, tglx