Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3420502pxb; Fri, 5 Nov 2021 15:35:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFWb/3nw/FqyhEkuhoUbNbfHt4kefkkXMkZqBMghVYxYgCMPL8zL7N3vyljXbQarlGLpai X-Received: by 2002:a02:9f85:: with SMTP id a5mr1357788jam.139.1636151755154; Fri, 05 Nov 2021 15:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636151755; cv=none; d=google.com; s=arc-20160816; b=CXFYb/m2+D4flOEmWGnu0rb1nvet3Z9XAHChEvc/Dp85wke4KUxsjmscD1jpkaiJmv tawOV3ke6ghmFl7uAgxxESrJsfIax7yy3jC/17iWmdSlWeF97E6HNyn6a8wHjslaKflJ tcC3IiaqgJFWtDWV+Y0cOX1lopr6k4XXknkldDwRHe4g8OEPB+7s7SD3qWCBaUYjTatE rkRhLctuZ7EmZoHT4PZhjuO+gWz5RZucfjscI63uqh76NSFqIl9fNLAc17JSTWXeEw5i SZIVsfv+BlA/3Sj1lfTiBuX4mJ01ZPP+ytNAlFC+013CXyzbbC9N7Dds298tS2JLbfOr RK1A== 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=nNYwlSndtzZq0+/7/P6v8ZZPf1zw4gb38/3BTxP4LQE=; b=BdPlTElsmBKhA/xt3ooLt6DGOT5Stvn+Ew7t4FDxF38p8JpnRDXfyQ8GDV0u02cfUr 4ufo1Rc5UXpLDL1IjZJUDpbwMFOpjXPb8n72Nty/MnsBW3iJ39+SXS5K3yzuqGNSMKx0 7mJEQamwDlkB1J/TmkIvSPV0wFC2geBtqx1zYw9xQpyMY9SzL/AVyWfEvH+Lq2Xgxb/o xKgtyf3pNddVRbdVeuJUxrTxUK7NeiHHg4LLRfRJKjMr2xJJcMbXJ3a8vU61Jyvhsif/ nD/1zB1cCHzf4HFHJRL/211W9bO6ujatO2Axbs3/xazvnFdUMuCjNnQlVCfMhHb7Gh/c 4uqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="bU51s/1M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si18736324ilo.15.2021.11.05.15.35.42; Fri, 05 Nov 2021 15:35:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="bU51s/1M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232135AbhKETqq (ORCPT + 99 others); Fri, 5 Nov 2021 15:46:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:41980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbhKETqp (ORCPT ); Fri, 5 Nov 2021 15:46:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8767961053; Fri, 5 Nov 2021 19:44:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636141444; bh=KZI84csA0pXe4MpppkTQjETD5MBmZg+UKyN3th6aoP4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bU51s/1MhKdRxepJ8pgb+HHOMzmlroDKiUZQ0qvFFjNMQ7BNBOhXwZ/+ENQMlxzzC TBgBIr8zPTq2AuQ2tJBHH8ugKE15CdCCiDWBdVbAz8ISSVA4dO5mNW4O06AHqjS6TU t4PP+vDbwMqp6iHpuG9IMEp4m/DvOCu+Ot35+gVAtI3AzYXmIVnWO6W+f5BNVnn8Te Cy7ft9fyb3tGbBJ8ujfmQrDSAE4leYiVpbc5AP1ZxT91G34aZmo4zRNQo+YuDOdpvS KsgNs/NTf+ithAbFIDg9EVTZWXHa4ccpU9h7DpdvC0kp08QV2702QpPLrpNWFms+vI BV7HWlXMidDlg== Received: by mail-ot1-f41.google.com with SMTP id c26-20020a9d615a000000b0055bf6efab46so6375978otk.6; Fri, 05 Nov 2021 12:44:04 -0700 (PDT) X-Gm-Message-State: AOAM531kh1tKOk+XqlOieYlXhX1rwkwCNwVr5uN6wGL/CcPf55yjrbUk NI7Ts9Cahh0zsIOsjlQfEn5FO/q/aIUEYKd2aUE= X-Received: by 2002:a9d:830:: with SMTP id 45mr20816312oty.112.1636141443855; Fri, 05 Nov 2021 12:44:03 -0700 (PDT) MIME-Version: 1.0 References: <20211104031554.GA34798@roeck-us.net> <77dc70f4-879a-eb5c-2dd6-682b4c7cfd03@roeck-us.net> <202111051242.86E9DBF@keescook> In-Reply-To: <202111051242.86E9DBF@keescook> From: Ard Biesheuvel Date: Fri, 5 Nov 2021 20:43:52 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: parisc build failures in mainline kernel To: Kees Cook Cc: Guenter Roeck , Linus Torvalds , Linux Kernel Mailing List , Helge Deller , linux-parisc Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Nov 2021 at 20:43, Kees Cook wrote: > > On Wed, Nov 03, 2021 at 09:45:47PM -0700, Linus Torvalds wrote: > > On Wed, Nov 3, 2021 at 9:30 PM Guenter Roeck wrote: > > > > > > Unfortunately not. With that patch it complains about task_struct. > > > > Gaah. You'll need something like this too > > > > - DEFINE(TASK_CPU, offsetof(struct task_struct, cpu)); > > + DEFINE(TASK_CPU, offsetof(struct task_struct, thread_info.cpu)); > > > > in arch/parisc/kernel/asm-offsets.c. > > > > And really, it should probably be renamed as TASK_TI_CPU, but then you > > have to rename all the uses too. > > > > There might be other details like that lurking. > > I'll check this out too if Ard doesn't beat me to it. Thanks for the > investigation and sorry for the breakage! > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2a2e8202c7a16a85a881ad2b6e32ccbebdc01dda