Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3856748pxb; Tue, 7 Sep 2021 09:01:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWXnNziKFbWvzRRfII2Bh2bxEBIM90fsnLlqhvm8tr0MhwBqkJhV82DwCrUXFkdLy8MHAN X-Received: by 2002:a05:6402:1249:: with SMTP id l9mr154721edw.177.1631030485376; Tue, 07 Sep 2021 09:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631030485; cv=none; d=google.com; s=arc-20160816; b=lxSnvrbigLrDl7SnFk/F0F3AQvapDF0ieSLVgEdqPLp5SacETdJ0xnGxLnaxfmdIWS iqKw6JiTyUKhJ1KNIh7HDMg8dYKOQkBJygkMIgZUYSQ08yIuWFGmxjyr+bpsf4LR0+1E l5MvI0qrOk59NcYz1DawTwoefy0648lZarUmiroSXxTaCPmM4ffKiMM0nIqqmhqBy93G Pylos19BcAhcAff1kc8KTRK4LH1xP+rprZKpGat8BZlL+in/a/8OrLNCmnFgZWM5Z3tm 4QT1b44osxNetI1mKgM6G/xkLJHr39ej2oaVDB8PRxQO4xbgkjK06M6CMaRjeF9+lAAT ZD6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=wb3iMuE8+dgGBp7mPY7dLBqnaPDERTiGYW/cvaJFmj4=; b=vHQnU+lrG5+sTKLZubTCvB2q2GpZR+2xpI5XPON1jMBNRho9KcUxtRvGSvloDIRbM3 9RMg/M4hPvop3XzMh9aW3oe8l/jIxxW7d0LRPxe8L8scLGZPugqPRXDMSlorNXh1PK+q ihrOQS/cZ+IHmorSoM6ebesEAwbZ4Ndg27Z1ZBWd2nP27d1hRMX7fof0FIjJCvR+gab9 k6yHosnOZXg3hbuKyLADKLE9TOi0Ulz9xd5+ijcj+5FJO1Yxy2b3Xg1hMeyubOW0RRYJ 7qNabSWNR7f07eV0DHOGCBDyOs1+XZ1LNMA2A867XUmg+UJo3YrnhN3rXvIdr6wQX+Vt w1sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ES2OUYne; 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 h27si10139660eje.312.2021.09.07.09.00.59; Tue, 07 Sep 2021 09:01:25 -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=ES2OUYne; 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 S1344752AbhIGPJl (ORCPT + 99 others); Tue, 7 Sep 2021 11:09:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:39072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbhIGPJk (ORCPT ); Tue, 7 Sep 2021 11:09:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 54415610FE; Tue, 7 Sep 2021 15:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631027313; bh=wb3iMuE8+dgGBp7mPY7dLBqnaPDERTiGYW/cvaJFmj4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ES2OUYneQn0YkL+UU5T4YP55gCC2ZcCmPLcAWwLonU9V4r1D1sY1QpnmexpxigVJI cxdNeeXcsqM8GaOhtOKW9Ok91tkiDfRlX/ugxGQsl8WIShwnHVv5osnRXszISn5ZSW OjBgRUy4qqLQnct8zk9tqhgaiFuIM8Dbmd2gi/SGX0m2LmTJYzCeVqpwAAVrx7ZdQV +4Vbi2gR7jZeQPal6+qAj+5gikK2FrCQCZLgHA0vE18tlL5a2XqdOQk6z2IEFw3WQr m0yK+I8KDu0rcJwN2JJmm6QbkYdgBHSzB2QgV7Yq0LeFmpRjGpRRqC1/V8D9MfaZaK aSh0Ngx2P5FZg== Message-ID: <250de8f97efe2458afc39f080c3ef6a55f42623c.camel@kernel.org> Subject: Re: [PATCH v4 5/6] x86/sgx: Hook sgx_memory_failure() into mainline code From: Jarkko Sakkinen To: "Luck, Tony" , Sean Christopherson , "Hansen, Dave" Cc: "Zhang, Cathy" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Date: Tue, 07 Sep 2021 18:08:31 +0300 In-Reply-To: <40da1a9a7d5f41bb9b82ea2cbebce73a@intel.com> References: <20210728204653.1509010-1-tony.luck@intel.com> <20210827195543.1667168-1-tony.luck@intel.com> <20210827195543.1667168-6-tony.luck@intel.com> <49fccddbbf92279f575409851a9c682495146ad8.camel@kernel.org> <681d530d72de842c8bf43733c11f3c3f2ebf8c6e.camel@kernel.org> <25db682402d14c34af9ba525cffe85c5@intel.com> <848905ffa20cf234446b16682cbbcf1e56853950.camel@kernel.org> <40da1a9a7d5f41bb9b82ea2cbebce73a@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-09-07 at 15:03 +0000, Luck, Tony wrote: > > > If I just #include in those files I'll break the build fo= r other > > > architectures. > >=20 > > What does specifically break the build? >=20 > There is no file named arch/arm/include/asm/sgx.h (ditto for other archit= ectures that build memory-failure.c and einj.c). >=20 > -Tony Would it be too obnoxious to flag that include in those files? /Jarkko