Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7129551rwb; Mon, 12 Dec 2022 10:23:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6z52CgKoeysSjsdlcbJ3ggpuzhsvvo0/A07xIU0AQHXXiu1Mri+IUAoRe7H8Ht1asAZBRI X-Received: by 2002:a17:90a:e391:b0:219:89c1:33ed with SMTP id b17-20020a17090ae39100b0021989c133edmr17282825pjz.46.1670869429498; Mon, 12 Dec 2022 10:23:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670869429; cv=none; d=google.com; s=arc-20160816; b=pY4lrm/NOJwCzJvl6K7Xc7tFhFHInTwBDfuEJa3HbmAgPYg05NsVNCptOYgVImpX6l k4G9ai+VekWrovpuQB/q5PR7rVMXbJQJYkC5vUl4BVk79ffuKnb3xdnu2x/SFLS9sfuj ytb/4njJYlZJ3B1kdqCjGW4sSV6st4HnQ0eQDgZ8IM+vApjHmbn4qziV+RAZSlcaSMWp UyZyUSdkx5fVL4nAw+JcxTgTDni6Ima9YTYRQyWDUBO0Vn7g+SXWOWQ2UnORA90LrugX Vqqia86Bpp0y5AX26nr9RchiH4P8QCFXtZxfH6SVmFtosC1LmWfcb0iWtlJqjKyCB8Jv sqZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OFsIR2a+XBWM5qtZB2BAnv6S/IimnBTL+2i5YL4HSn4=; b=01P7PUscLMTIOUxHuVBYoHzQD6mOW02VN5yVsR1bifVBHd+U7LKKPiL+vK2YxYIqIq vt6ESExZnEuA44wuBMGvKw433b+wCfBpZH7FX3wKV2bTT1rJvKkZWL+QmthoDktxvSxC 4cFl95xmtICjgS/WHBVuo3tV1+4ckKoG4eGJWfNat8jDN4k1d07HTax4yG89bmoc7Tk+ xQKas6seZDg0A3RKN3adaNT6dGt/46lEco+Hg7aYbMZf8Ibv9u5X06Fmg2HFmYxd5vG/ byaVrCuGkweN8lQtqyGHhXJExvZiJbMOFXB6LFXR0+PxJjENHpB64UvF7dw/L+q4i9jf hrJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=D1VjW0Fl; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w185-20020a6382c2000000b004776762655fsi7037655pgd.606.2022.12.12.10.23.38; Mon, 12 Dec 2022 10:23:49 -0800 (PST) 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=@linux-foundation.org header.s=google header.b=D1VjW0Fl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbiLLSF3 (ORCPT + 74 others); Mon, 12 Dec 2022 13:05:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232478AbiLLSF0 (ORCPT ); Mon, 12 Dec 2022 13:05:26 -0500 Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1998D1036 for ; Mon, 12 Dec 2022 10:05:26 -0800 (PST) Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-144b21f5e5fso9347132fac.12 for ; Mon, 12 Dec 2022 10:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OFsIR2a+XBWM5qtZB2BAnv6S/IimnBTL+2i5YL4HSn4=; b=D1VjW0FlDtT5ez1E2byLGyGMcqmokAEUFt7QdwNUUTO0u5HqE9X9yRN1y3IlcLaWmT QYVUKk7dNh4zbGHy7vOemAmWiuxrclkYmO3HFERDd+fZTq83wy92DwWGCcmTM7fAMRuA nbRrTiz0BQbykdIlwykC5fJ7luQT3xnHKT5aA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=OFsIR2a+XBWM5qtZB2BAnv6S/IimnBTL+2i5YL4HSn4=; b=oFtPmi/witKDYyB60bKDLjsBvvaEFyjdSnFZTL9qK429UlZWR4Kna2ejYOemorbnGE Z6KFlKL3AOiFwVZ4MVDNrICXMNNIU7/mfa3U/0WQ0xEO21ok8GNZ3AxUjpZIhadF0zp/ ipmoecd5RrnlDnIh/x8z9Rx4PS9Xj1PLOeINPJ/D+EOjBlUCLyYNoHdBM1GRxZb8nQTI p1MgmSdBae4HpDG99PnE5/zR3JcErvf7/PtsTsqkXF6Rhy6jGqazAuTLDZDvV/z9DVkn 9FQ50s1R6s7GDHE6Oejl/YPWFeCtF0rpL0G4WNVP1mtb4Bhaf7udSIbrzPVDACuMmO90 Ee1A== X-Gm-Message-State: ANoB5plyaOVI34wgd/8Ws9IzpJnzYIBbaHcdcW77ib3WwTKwLeCw1R/f d8JBCHTyqMNJxhf0P1oEajEq1GAZBWjBn6q9 X-Received: by 2002:a05:6358:443:b0:df:6acc:b97b with SMTP id 3-20020a056358044300b000df6accb97bmr591093rwe.13.1670868324760; Mon, 12 Dec 2022 10:05:24 -0800 (PST) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com. [209.85.160.180]) by smtp.gmail.com with ESMTPSA id dm20-20020a05620a1d5400b006fca1691425sm6123916qkb.63.2022.12.12.10.05.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Dec 2022 10:05:24 -0800 (PST) Received: by mail-qt1-f180.google.com with SMTP id z12so6706735qtv.5 for ; Mon, 12 Dec 2022 10:05:23 -0800 (PST) X-Received: by 2002:a05:622a:1745:b0:3a6:8b84:47ce with SMTP id l5-20020a05622a174500b003a68b8447cemr33323876qtk.678.1670868323427; Mon, 12 Dec 2022 10:05:23 -0800 (PST) MIME-Version: 1.0 References: <20221209112500.GA3116@willie-the-truck> In-Reply-To: <20221209112500.GA3116@willie-the-truck> From: Linus Torvalds Date: Mon, 12 Dec 2022 10:05:07 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] arm64 updates for 6.2 To: Will Deacon Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com, maz@kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Fri, Dec 9, 2022 at 3:25 AM Will Deacon wrote: > > Dynamic SCS: > * Support for dynamic shadow call stacks to allow switching at > runtime between Clang's SCS implementation and the CPU's > pointer authentication feature when it is supported (complete > with scary DWARF parser!) I've pulled this thing, but this part makes me nervous. There's some bad history with debug information not being 100% reliable probably simply because it gets very little correctness testing. It might be worth thinking about at least verifying the information using something like objtool, so that you at least catch problem cases at *build* time rather than runtime. For example, that whole default: pr_err("unhandled opcode: %02x in FDE frame %lx\n", opcode[-1], (uintptr_t)frame); return -ENOEXEC; really makes me go "this should have been verified at build time, it's much too late to notice now that you don't understand the dwarf data". Hmm? Linus