Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp265488pxj; Fri, 14 May 2021 02:57:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlEK0hefImWdZeKLh0PsD5t46d6uY1nHIVWXh5rm67fA/9PWHP2DkZq8hEsOhtnOcYohIp X-Received: by 2002:a05:6e02:2167:: with SMTP id s7mr2594712ilv.254.1620986228207; Fri, 14 May 2021 02:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620986228; cv=none; d=google.com; s=arc-20160816; b=G9SEQ+YCkwXGMHidJqVX7v4Acp5iheIKqsJqc+nd0mh0J8ZHPUcWoxUTqyHnX1LcLV TB/XgYmtyJSIIDepR58JXQuQQCEQYPivf9aqoNdSKvE1FvYRZTjPi3rqFab05H3o46Kw azkPmMzoh3bFhxenNf6+4zi+74Isu0dY1b4Nixx2g5HWYFU4vJEF55bP2PHDL3vD2HFa QtYlFoj6k+EJ1gvm6ywTLx3YlIB874UmLxKOqSC5bpfPEDtfbnLdDRl6IOgFPU4IauEf feALpkx+g+sJS3+0NCqLD0GCsDVnPbmK3fdrs4ibyuCSQ+qH6Rz991X7xZ05VCHEE39X OpZQ== 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=ksvjS+87xkTe7D27QtQxqyp950apFsTl5xWaEGXi3kc=; b=XW0VYgzhyj5GompUTyLQ/q4XKhrQ2OtgJQGIx3wRHyE+eqdQGDguCwLddWkULJ0pjK zPBxJbhK4yM5M5M7Rs+VaSq0CA++cwUr4XgfTvaQJ0oNswlkG3fyUvCPqGt7qDsWBVoc 7/kU6yLbGYG5goiTMDfSumdxZ7o5b8rtxkzklumSfdM+4HM4yF93WJcPObEq/luRbaQs C2lsP9/UJER+512RCM+ayhWzifw4yO8SSOKNsjeJpEEHL+7A++gur7WIYK3XAv/UDQFB kyNv9OqpODyoJvC3O6dTCqif+hQLM8+IlxrB/bkC/p5QYwjics8Oyz0pbZzUGGyKTzQe o32g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=qhnrjx2G; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si5240957ils.162.2021.05.14.02.56.55; Fri, 14 May 2021 02:57:08 -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=@alien8.de header.s=dkim header.b=qhnrjx2G; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231398AbhENHHA (ORCPT + 99 others); Fri, 14 May 2021 03:07:00 -0400 Received: from mail.skyhub.de ([5.9.137.197]:53954 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230371AbhENHG6 (ORCPT ); Fri, 14 May 2021 03:06:58 -0400 Received: from zn.tnic (p200300ec2f0b2c00f343c5c4aba7bf62.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:2c00:f343:c5c4:aba7:bf62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 53A011EC04DA; Fri, 14 May 2021 09:05:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1620975946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=ksvjS+87xkTe7D27QtQxqyp950apFsTl5xWaEGXi3kc=; b=qhnrjx2G/KZbOulEdl4/k8AjV0q1t3cStG639U1CPcyXvIcykEZabxBIxbDnMwIBRzYxQJ S0LV/8jrTZmKnQfyHo3SAUtpT20f9XKZPDzwX0XwRbkyTXwt48kwrthR+Cfo4mhUgAICel abDNIIwC6BEOp0iaJUzHpLZ0G4FBWmw= Date: Fri, 14 May 2021 09:05:47 +0200 From: Borislav Petkov To: "Joshi, Mukul" Cc: "amd-gfx@lists.freedesktop.org" , "Kasiviswanathan, Harish" , x86-ml , lkml Subject: Re: [PATCH] drm/amdgpu: Register bad page handler for Aldebaran Message-ID: References: <20210512013058.6827-1-mukul.joshi@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 13, 2021 at 11:10:34PM +0000, Joshi, Mukul wrote: > That's probably not the best example to look at. Oh, it is the *perfect* example but... > smca_get_long_name() is used in drivers/edac/mce_amd.c and this file > doesn't get compiled when CONFIG_X86_MCE_AMD is not defined. > > And amdgpu driver has no dependency on CONFIG_X86_MCE_AMD. ... maybe this will make you see it the right way: how much of the amdgpu RAS functionality you're adding, is going to even function without CONFIG_X86_MCE_AMD? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette