Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2248210iob; Thu, 5 May 2022 20:34:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy20IDXwyIhM+0PySpiPivuRLoy0VFWwBD2RStpItG3ikRqaDrSwpWBQ1IG0nQ0EhThBfL3 X-Received: by 2002:a17:902:988f:b0:15b:8195:5199 with SMTP id s15-20020a170902988f00b0015b81955199mr1540338plp.96.1651808068045; Thu, 05 May 2022 20:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651808068; cv=none; d=google.com; s=arc-20160816; b=MDi1YTrFshnR7PuxBDXpbKwwyVZq2RpIekVVDFP7qQjoH3glTpM/9oDisiLlVdNOzt 4dpBMBkqjsb8HNlpepuc6nlZRv/joMjsaSbpBiaDRTffnOf8gsUax1QedkGxZrx8JWVy p0v47HHz/Yowc5//3WFsIwbrDnTSBeuQmwQh/QazVTfDs4LcP5ehEyZQ/2Ja9Qdo4PWt lpFemKuTWUWA/8mEdu4vFIgdEL/mmwIBqCc97d4mP/aASRzzkSj5T27I9FE+7gTXRVqr a6TvGKEesvKcSqeD6da971qSzhxQ6axVHCgzbKUmInoeURFqfn546IyRc/NcBVlIwWWt om+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/wAafEcvdoFkc7XAwWoriBGnM9/bPt4WcbimyEi0FVU=; b=H1x7TPJ53UE09eqr39/XJvZiltl76WKjg0NLmbUQBdsV5yHSMzUmsJPGxuYRlCUd2b D+Qi1HMjPfQPSPJ34EU8vM0rUH2ZRoXSzVYJrFEM+PGY890tRyt80fH50iA87ynXRg6q yo3qsHuG9zhGLrAPECsGVV7e5fS3XL/dkUsPnPDlpG0Yv8XiOIgqQdCigyAsnuSaBxYZ A/KPS78yf2SoC7KHJlbQ009sCWtRsaPcG7b9vnINm37guBS+m+eR1qK7t8fpTnwAqznc 3LZm9TiiKCCofWQl4nmDwo8zWU3JgEu3mygpyGFXPR+9B+y9q3jvZIKq02OZFBnfQuHK 9gGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TMY0b7uQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o22-20020a63fb16000000b0039dc635f2d9si3245934pgh.281.2022.05.05.20.34.13; Thu, 05 May 2022 20:34:28 -0700 (PDT) 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=@intel.com header.s=Intel header.b=TMY0b7uQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359367AbiEEXjE (ORCPT + 99 others); Thu, 5 May 2022 19:39:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233701AbiEEXjC (ORCPT ); Thu, 5 May 2022 19:39:02 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8CF262CC; Thu, 5 May 2022 16:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651793720; x=1683329720; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=QdHqNWyGLHU7CNlXQvsoiMH9bQPQvhJL4LtZP/GKoVg=; b=TMY0b7uQhqKJtyWZKPVGmvDLlcrbwdgsCc7Fh1p9STEiougAk6bTGyBS GeOsbwhYfLzF/+H212EBAt4UU3lMfQb/Qyt/34sCrZ91M1SuvFqJGGdcc 6RqczqmAqiE2608t7oz3vMQ+fRjdGyGFjqb3lHBG5ZgCG0/wo4u6bAB0I ems86GFt/TD7hrgt4UI6L/G0T0zCAFXtrSMc6JSGbkZXVhpD/iIjC09nH mgFXP0n/wnTVYRSxV/nnWY9voxwKD/Ka98zB1Y+1KZqX/YneROTOlgvrO hu2xz/uY2wx04grbADaSJpYDqR1y4cO7esiDg8HxQY4NhqWGHZc0abVoo A==; X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="328831078" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="328831078" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 16:35:20 -0700 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="665203550" Received: from jesicili-mobl1.amr.corp.intel.com (HELO [10.213.189.201]) ([10.213.189.201]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 16:35:19 -0700 Message-ID: <32803e0b-8ff6-ae8d-f9cb-ce2d3fd37229@intel.com> Date: Thu, 5 May 2022 16:35:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Issue With real-time patches on 5.15.y Content-Language: en-US To: Joseph Salisbury , tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com, linux-rt-users@vger.kernel.org References: From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 5/5/22 16:18, Joseph Salisbury wrote: > The real-time kernel build failure can be resolved by reverting commit > b50854eca0e0.  The failure seems to be due to the removal of an include > of xstate.h from pkru.h and caused spinlock_t to not be defined.  The > commit would only be reverted for the real-time kernel and not any other > kernels.  I wanted to see if reverting the commit is the proper > approach, or if cherry-picking additional commits might be a better > solution in preparation for additional changes that might be coming in > the future? > > Any suggestions would be greatly appreciated. I thought you distro folks were the franenkernel experts. :) But, seriously... This isn't rocket science. Just look at the pkru.h in your tree and figure out what includes it needs. If it needs FPU gunk, include the FPU header. If you get a compile error for spinlock_t ... well ... find the code using spinlock_t and make sure it includes spinlock.h.