Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4821027iob; Mon, 9 May 2022 02:22:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBKo1cFT71pAHKsxAR0wB8w7CauxdR1zsj4Ms/s8S+NNesxCWMOHEaoJNpi/aEJ64vP1So X-Received: by 2002:a65:6d06:0:b0:3c6:890:5609 with SMTP id bf6-20020a656d06000000b003c608905609mr12429769pgb.357.1652088169117; Mon, 09 May 2022 02:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652088169; cv=none; d=google.com; s=arc-20160816; b=bMAqjs3VE69uEtk27hHBRiieiy3kM8Equ2LxpgsakAc22RnKpHe1uMQjPkwRGt4NP1 SpOibusSHML5j3v6wbStRhyOGC27wpuBr8/emMOwmP7O8YVv1/X5zNuFtzNEO/VGKQ7X PcErWpFOZvXtlOsIOb9QXV/QdaKai8/sgUbdwpMY8ghCIOBMJXFo1/cL99fl03DTvZun zIvfcbUYlg6y3GhftRq27aOXV32XPWQkp4CnUV0xs3Hns7VTThiPM/T8P0rebdKGT9bD Cq7P8sus7lu/Hgs9pSs2Xrfh9GwZ+eNZW299PxiAgzk7ndSioIUZFmI6SFPdk6ZNMUFx f0vA== 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=AhY6XnbZGCaa4rZcAy/QJhv0KQphb6EX3UBpmJcYre4=; b=hjjgu4d89lwJ48FwJMnzBI1+Xxh4t65YMtCDVmeY2Zm/p+nuq4hk9ucp7t0AlrQUfF ocfMBNRyXgtbim4ocFmeL3oBu+ngh+p7lrHUnH6L5HHZ8+sZInePGobLI1onoAN/UCOy WMf8wj7qXPlpyaUA4z5DW1NqoY+v6IBWZqgFLYIhBI/7JFr6Lqsixgsp10bFs9p7bidM 1zReh4/gemiPd1uGJFYEhJv12FnlF4xW57saeWVN0j3S5UsSdGeTWOR6Fvxq3y5t2OLp 9I2yOgPCbEfj2HQA0nfxId/T5KALmPUHl+nCuHiyhMuz5QNTiexJv8mK7Wspc/9fSkEL eQdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=IBsLG3Mh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m23-20020a17090a7f9700b001dc240137bcsi12671922pjl.37.2022.05.09.02.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:22:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=IBsLG3Mh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0809F1912EF; Mon, 9 May 2022 02:11:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390787AbiEFTTV (ORCPT + 99 others); Fri, 6 May 2022 15:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390660AbiEFTS6 (ORCPT ); Fri, 6 May 2022 15:18:58 -0400 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B22CE6D4E2; Fri, 6 May 2022 12:15:14 -0700 (PDT) Received: from [192.168.1.30] (097-089-247-249.biz.spectrum.com [97.89.247.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id A85273F616; Fri, 6 May 2022 19:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1651864512; bh=AhY6XnbZGCaa4rZcAy/QJhv0KQphb6EX3UBpmJcYre4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IBsLG3MhrwhXcPHusLcHwEq1Qz0eU34L4OZe52BXOlw2nZXsjl456W8pvNW3AP6nA r5y9ej4AwjYpB7jgKCVKQ3GeALz9KeKvxdxmxXzBILE5AVekW++Xj1Zk4fOKZTMwtm 9GK3100drIvlvEoS0qDLJosthdohnHwDg66yLFlWeN8lhZB8by9m2CrMGIrEoEcU++ zQeRjnGbABdFyZUAqQT3nt0Of7RbBhUZZadHrjhGkCdei+Awjeo34uI41QsW0trray 5tQY3xpOqFqs8B90+pxlJ9ncCU9IZBZCqzx/LUws2MsnNiByvonYRcnyoTWIvxf+RZ Kgbx3TdYi7teA== Message-ID: <29829c01-f31e-2c4f-06e9-fc15c0261f93@canonical.com> Date: Fri, 6 May 2022 15:15:09 -0400 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: Dave Hansen , tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com, linux-rt-users@vger.kernel.org References: <32803e0b-8ff6-ae8d-f9cb-ce2d3fd37229@intel.com> From: Joseph Salisbury In-Reply-To: <32803e0b-8ff6-ae8d-f9cb-ce2d3fd37229@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 19:35, Dave Hansen wrote: > 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. > Thanks for the advice, Dave. Your suggestion will probably be the easiest approach.  I was just trying to limit the amount of frankenkernel changes, since there are already so many  :-)  It's always best to stay as close to mainline as possible.