Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp461105rdb; Thu, 15 Feb 2024 05:44:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU7dBnI/pK0neT3kYKL/tSWOS4H/skT0HGJNV37WEDFYzYHiXBj81PBnX9q1lZudDSokPtoERA0CHwBN+danQFLPZFLWEa7lpligyFQSw== X-Google-Smtp-Source: AGHT+IGNLxijRR+vtqVqp0Rd6bZDeqZJNU6Kd8vTvMkFpcw4dZpgLL2WvC3OQG5es03KnuNJWLOz X-Received: by 2002:a17:902:6841:b0:1db:28dd:a428 with SMTP id f1-20020a170902684100b001db28dda428mr1537717pln.23.1708004696727; Thu, 15 Feb 2024 05:44:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708004696; cv=pass; d=google.com; s=arc-20160816; b=CcJfNIl+vD4U63TmLNwL1nNMJ04TL8hnsY+B0hWOAuBnhqaUEheJywABr05ptYbMa8 NGuIgQeyF/qEUI/19RVkfsJCbT120sovkXRnj0OjCNJ4RdTwf4xS9rnEyc/9D1kk3WvP uvT+Mwmc2d4Lv7D7Xpk+cvbJwZjgCag+xg/gQ0e5/vow/iWcPwZgP4w8gz2E6isRHLjK 3tq8bWPy2wYj8wUHv2VXxNVcIo+mqGzdfbyOrfuHDGiuiF9wJMjaVO4gPL13VsaKIG7Q 9X1eXaCkShpf+VPq8v16MQ/gdBtrZRu4LMHOOiDPmAZBtzc3yySNtrQFVR3rknkQb66z 29Vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=W9nI3ZRmtTHCWeDMSD40UuJ/QU4EqcKl1SWCDB53wMQ=; fh=HElgDQAVDHF+gi9sm4y+kkakbRQyy7OAgOlYv6e+YII=; b=tAwYvIKMX2fDvZ+UU/yOCLCOXMQZbVJrjxU88Mx5EKYK1Mjou3UQvel7Yg/oNR1aKh 1l0g+TtaYTOpE3avP5cycqNXVzOeC50395tYzQPdvHrlZ1983hqgkhTkpQFZnFSBrZRS 8ORDgO9Z1640NBLnEef2R8eVaLqI5fbNgxHf/gpQZ8D4IA5n+bPNs84X7PpnQ05a6tRt YY6dR9YWu6CiM5dsf6UUdh1E90xvsUy9/9cgvoE29gVmi+SFOJM74q91cCVJF04vQzf2 2NgVS98AKE8iD5fzPG1JaRWtSCuwzM81mCM59mDaaUqV810Ik5E8iPViu9zfxcv6Nl7/ Fgxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66939-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x23-20020a170902b41700b001db47573c0dsi1157868plr.59.2024.02.15.05.44.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:44:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66939-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66939-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8DCE1B277CB for ; Thu, 15 Feb 2024 13:00:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24BAD12F5A2; Thu, 15 Feb 2024 12:59:52 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CB8F12E1C7 for ; Thu, 15 Feb 2024 12:59:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708001991; cv=none; b=sR0JOoJ7ZpLzQSU0os1O+I5UgdRSeyuwlldaZigLe3ELlB9fxBCODrbbIuC1lo9VIy6dh7hI+nsnSWX2We0DjCHjlIX8N0S4nDSzUB3uUdmJN8VbwxshEUUULIqK6C2NREV7Ybi0NTXXjS4OwUgWoyMPmBdxiAE2ivlJasNK54s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708001991; c=relaxed/simple; bh=KOW6CW1R6T1RofAsuGzYSFK5XvFJ8rVlWVmsRwyXFZs=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Yk2v58uhuZ1i7dVPI6ocCfl1feJQM/bS+J2MWVtm1cR3riTDAG7ZQt8ur8kINof5L48z6g6CHsOA5fyhzP2vLO9SFbX6q+d2giTCqF7XcOppVlf+Hsy2an0MFTO81kYb8AQOD/9M9ekk+v3RSl8GNGYACDdGT6gbizbR5scYg18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TbFX23Q7Sz4wcp; Thu, 15 Feb 2024 23:59:46 +1100 (AEDT) From: Michael Ellerman To: npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com, David Engraf Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20240207092758.1058893-1-david.engraf@sysgo.com> References: <20240207092758.1058893-1-david.engraf@sysgo.com> Subject: Re: [PATCH] powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E Message-Id: <170800185785.599237.15747454436307843287.b4-ty@ellerman.id.au> Date: Thu, 15 Feb 2024 23:57:37 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 07 Feb 2024 10:27:58 +0100, David Engraf wrote: > Commit e320a76db4b0 ("powerpc/cputable: Split cpu_specs[] out of cputable.h") > moved the cpu_specs to separate header files. Previously PPC_FEATURE_BOOKE > was enabled by CONFIG_PPC_BOOK3E_64. The definition in cpu_specs_e500mc.h > for PPC64 no longer enables PPC_FEATURE_BOOKE. > > This breaks user space reading the ELF hwcaps and expect PPC_FEATURE_BOOKE. > Debugging an application with gdb is no longer working on e5500/e6500 > because the 64-bit detection relies on PPC_FEATURE_BOOKE for Book-E. > > [...] Applied to powerpc/fixes. [1/1] powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E https://git.kernel.org/powerpc/c/eb6d871f4ba49ac8d0537e051fe983a3a4027f61 cheers