Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3315190pxb; Fri, 5 Nov 2021 13:30:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytxJz1kCU6ks12oWoN1mq2YCytLFBFV32Qu5io17JLnmJqLA7IeTmiJYK7QMDDipV68s0a X-Received: by 2002:a5d:9492:: with SMTP id v18mr1107889ioj.158.1636144211779; Fri, 05 Nov 2021 13:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636144211; cv=none; d=google.com; s=arc-20160816; b=DixLzfbh/oFKpsCYEE8eHWH+tplg5NZk8WhYkNYzGDf1qSEooI1XBOLdXyKaZOaU/f GCXm/2RkiSfnYcGLQioD6Gfh32oT75NjmJiE/jOOe4Cdw8nb7aVMNxacK7LnIWaRg/4O QzF2uR5qf2fjpPd5jylHxPlD5V5RiTrMMAdf9lzltrAHjTw9b7kOI+jlQqQocr/9kKif 7ZRCyCVYK4Ky0qtXZwSiyVEoJnvdpubOuP9pTxXGQlceMlxSGEwh97ikKxEJqRFdw5TQ 7Dtrc+L/9r+GZerMHkL8uPxnQf1rgfcbCJu+kLoN57kjOPBARz2f+ZEneES3iLKYeqHf KMzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=squVkhv4km3z5tN6L4QImms65JcT1KD/LPFKJ715zrE=; b=lZ869xUZwrSN2glHYI5s6hFXQ1ApEoj7hzXAxa907u9sbsJdsUUcChIC3CCePSOXjy 5eYa9Azh+068HSfBjTC6mmGOr2efSnJxbY+FzAIj/MBfEt634QX+LqMUSHrknY6T0SRI zy8IjfHVyiaybZWOW2uMOfqA6bdzIbSnMFwH1GK8ZXC0Z/ZfhkWYuSinBk7ipXEVTShg rX5U2sqrMTxakgMst6nH6+6h2dpIGC+xSklVEWmtZYlQuZC9mX8G4W+UtWFcdpYg7VmT Noq9H6tmprszYfrNzvcgxfmc78wKCIlE4auzFfQfL5odY8AlDH5tVcSaVtwO/sTyvJKf Yo8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QoRz0hte; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si17517233jak.40.2021.11.05.13.29.56; Fri, 05 Nov 2021 13:30:11 -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=@chromium.org header.s=google header.b=QoRz0hte; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbhKETpq (ORCPT + 99 others); Fri, 5 Nov 2021 15:45:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231938AbhKETpm (ORCPT ); Fri, 5 Nov 2021 15:45:42 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3BC8C061205 for ; Fri, 5 Nov 2021 12:43:02 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id f8so11651601plo.12 for ; Fri, 05 Nov 2021 12:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=squVkhv4km3z5tN6L4QImms65JcT1KD/LPFKJ715zrE=; b=QoRz0htecI4xyG+YX3S4YI/eBSENAzqrmpMS9V4vHUMxlFMaeVglFIOUTo4jv2i920 vbVxY9fkUzdU6s2fTpXn4tQ5jsR0kltYIhAWZB5Dv7ycacIjVAhAxagsR/8tSJp6sWx1 l4dSa+8Su3W7Mou3Jz6iTTEhohAsPBFO7Gj2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=squVkhv4km3z5tN6L4QImms65JcT1KD/LPFKJ715zrE=; b=hwrj/v/6+cRWaIcG8rUu1KqgHmW/8tzytyD2vQvSPd72eNtfvW4FiyWEEXFh1WPYeH /R0ucJqRYuElBdk+HH1I/tOD16dyOeNTnBpI5c3kyogxOPCPG3yq1PcDBXETXsltFWdV NXbcMvkisVAqaw5JOrfvAefePLx8xuoIrP+xEzdNt8uyLhsIb5+Vn6sJGEfPFh2eG8d0 5HSgI2IFPZ5nJppgg08pmpkgk7G+D6KhSXzvXQiue3XAWUczbu6M6KBZtrY4Z8R7oQzT hZGz7efki64kZnpUzNFzzULtzy2GWSSw95TI8e37PLCGQ6UerJJXGUKb8eM/xn+UXDG6 MswA== X-Gm-Message-State: AOAM532wXRcYm7O4pBh0v86ZmpM4lahKPEbO+BLmPdJqehe7SQ1KvEj7 5zjt0y3f5v9wwET9B27qTBDrTA== X-Received: by 2002:a17:902:ea11:b0:141:c6c8:823a with SMTP id s17-20020a170902ea1100b00141c6c8823amr40658952plg.29.1636141382220; Fri, 05 Nov 2021 12:43:02 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m26sm3892873pfe.23.2021.11.05.12.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 12:43:01 -0700 (PDT) Date: Fri, 5 Nov 2021 12:43:00 -0700 From: Kees Cook To: Guenter Roeck Cc: Linus Torvalds , Linux Kernel Mailing List , Ard Biesheuvel , Helge Deller , linux-parisc Subject: Re: parisc build failures in mainline kernel Message-ID: <202111051242.86E9DBF@keescook> References: <20211104031554.GA34798@roeck-us.net> <77dc70f4-879a-eb5c-2dd6-682b4c7cfd03@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- Kees Cook