Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2929520rdb; Mon, 4 Dec 2023 11:18:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcJWFLV7ntM66o0DUXyoWhjF75jgs8HUA5ILhl55v9mgaPIFQ9OLcS1l7qLvsuIvXkBjMv X-Received: by 2002:a05:6a21:32a0:b0:18f:97c:8a29 with SMTP id yt32-20020a056a2132a000b0018f097c8a29mr5824772pzb.84.1701717531988; Mon, 04 Dec 2023 11:18:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701717531; cv=none; d=google.com; s=arc-20160816; b=hGNx3bBG1fwqr/SsdYiI5/35mapjmUBkW3lE0s/ds2VbQFX7+DBASRs8W5bs9qamh3 RIH/g5pPsBucXK5k4rFH3GLZgcl+QrR/s6i2E/nRXu/eUGpfeCFOEq63kGwjq1m9Q5U8 HZsmfrX4jStAc4hBGpH/8a6c9K+ERm/pnLXUjUFcAwDVp7/PTEVMZ1LtX92EOjVbYN61 clpUvnVZtiZRqo3UDMSrI8RsmBNiJrGNhfXe0NM04PKI3cnMs0d4b19mAre03ABJzxw9 hIwLqLduFmhXfSEwFj3el2FbF01yBCZA/9zqWLKcYGlWZFnoT/BebTg2pA8denA/UMji btmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=VWNzZv699g9WmaMge8Xt2XGWr8M2fBvBoGU1E608xn8=; fh=fPgafumPuQ6h4ikiC5DjkN/d9szf/hkOrWhoeeRYCQk=; b=KpwzhkngAeqUs1xQHrtkjTqPKC87Nv4KTO08afjJlAh29hDoKe4eXKCgBlHEVit5WJ MSEW+QpY2QHxXSAWXCVqt5VX5nvHb+Djb+CO5bpmtTpqq9LyFVWinEfgGkRhD6KpNDc7 WscG+vqPPyKKbuU31mcB/OOpqP/Az7qihcuoZcF1d8NHXHRGCh3o3x4Hu6CuKdzWEJR6 4gLFckQfU88nYzyZI5hXD8rXR4P4I1d3FUyeghf0uLce0yIlUfFJltZvLwGKgQJiKVCP WKO7GD1OxGDkR6TFhZ1rhNh/rzWv2KroO3mZEGOOA2pUmJwRNfH2vt/B1FmCdUfKgZLS fF0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ogvbZv28; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i27-20020a63541b000000b005c684e1f2cesi2485440pgb.391.2023.12.04.11.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:18:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ogvbZv28; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AA5BD809AFE5; Mon, 4 Dec 2023 11:18:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231462AbjLDTSf (ORCPT + 99 others); Mon, 4 Dec 2023 14:18:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjLDTSe (ORCPT ); Mon, 4 Dec 2023 14:18:34 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A030DE6 for ; Mon, 4 Dec 2023 11:18:40 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6d880219f01so786010a34.0 for ; Mon, 04 Dec 2023 11:18:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1701717520; x=1702322320; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VWNzZv699g9WmaMge8Xt2XGWr8M2fBvBoGU1E608xn8=; b=ogvbZv288l9hOeOHP58Zsi8eOI/g8vnxaXwHTjoqELNgUGTZgezgFk8KTjOp/RoZmW BUgwfSSHi+95sYPbKRxXNe3SBZHlJV5b8I4OyPrFAII4FClPXkyvp+sucAIs5ATbMw1p m1iQJ/9Pl1KNn6Ye0XjtCFzhIKMLx6f5mF5bwrFR9dyEgPoq82kZzZiDmGuFFu/pOn2o A+PcH7g7LKPt8qT+J2SAOxG5++6Iut2Fbt7iV71mBD2pOt2p3XqPEeexJiFraWg1/Wz7 bvsRLwqVld+vT2Z7FUQQlIFANn00FnRQ+2td9V1obTI2aXDM9boRIyJoNZGEaW3qlf7W WrEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701717520; x=1702322320; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VWNzZv699g9WmaMge8Xt2XGWr8M2fBvBoGU1E608xn8=; b=Os419G1ar6IuyfS+Vm6Ovsv7xWK1ZXRs7m+boq5Mt8n/ia8aQ+L0eB+VfoQln3zAN4 TPkc/Gskmne47eITlACX/htZ/QdljVD26rIn9NfQULmRO3w7pEekettveigDLzfRYcn+ PlapsRLWHs3pWPVIXFKq661RyIYN8zDphXQW19thpQRkQfpwfGL5/O3IUa/EfYNvY6td qH1KXdIZd+PhUrrCUR3hXMS264liqfEZP4zIjeqBCF/+4YB1fM8qH+2vAvHPzHlpCt2E Jnst5opDCNfqL/zzVs7r3TSgUqrpcoUGNA/e2F+jZhUB73dd2pk5P25Fw8QdTSfyCGUC cldw== X-Gm-Message-State: AOJu0YxV2ByHcMTzZAGA89Yz2b/+XRRvsX0CeQ2sWzKUIGXRNOOBiyjy fSdiAus9ZRQscSrcH6OLtZOXJO0leEFS9Q1dxWkCvA== X-Received: by 2002:a9d:4d02:0:b0:6d8:75a8:8455 with SMTP id n2-20020a9d4d02000000b006d875a88455mr2668679otf.50.1701717519644; Mon, 04 Dec 2023 11:18:39 -0800 (PST) MIME-Version: 1.0 References: <20231130133630.192490507@infradead.org> <20231130134204.026354676@infradead.org> In-Reply-To: <20231130134204.026354676@infradead.org> From: Sami Tolvanen Date: Mon, 4 Dec 2023 11:18:03 -0800 Message-ID: Subject: Re: [PATCH v2 1/2] cfi: Flip headers To: Peter Zijlstra Cc: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, davem@davemloft.net, dsahern@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, Arnd Bergmann , keescook@chromium.org, nathan@kernel.org, ndesaulniers@google.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-arch@vger.kernel.org, llvm@lists.linux.dev, jpoimboe@kernel.org, joao@overdrivepizza.com, mark.rutland@arm.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:18:49 -0800 (PST) On Thu, Nov 30, 2023 at 5:43=E2=80=AFAM Peter Zijlstra wrote: > > Normal include order is that linux/foo.h should include asm/foo.h, CFI ha= s it > the wrong way around. > > Signed-off-by: Peter Zijlstra (Intel) > --- > arch/riscv/include/asm/cfi.h | 3 ++- > arch/riscv/kernel/cfi.c | 2 +- > arch/x86/include/asm/cfi.h | 3 ++- > arch/x86/kernel/cfi.c | 4 ++-- > include/asm-generic/Kbuild | 1 + > include/asm-generic/cfi.h | 5 +++++ > include/linux/cfi.h | 1 + > 7 files changed, 14 insertions(+), 5 deletions(-) Looks good to me, thanks! Reviewed-by: Sami Tolvanen Sami