Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2978882rdb; Tue, 13 Feb 2024 03:18:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVr+vae9XRt082A7FaPOYcSS4IEQHc9yzxFleYhRdCpb9Jroifwp7jaH1EjXM4zN38HkQlUNZ5+krjsKm7/1CBw+f54CX2SKYqlLYbplQ== X-Google-Smtp-Source: AGHT+IG1y9U3XHT6wrzvtMO52WfbP4qkmNnDTSahUknpXQDkgnGrnfJPJePBMJI2pGkK5pkAtwSz X-Received: by 2002:ac8:5790:0:b0:42c:6e04:18f with SMTP id v16-20020ac85790000000b0042c6e04018fmr4071095qta.0.1707823118603; Tue, 13 Feb 2024 03:18:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823118; cv=pass; d=google.com; s=arc-20160816; b=ouyAUamNEHC61evCRZe3CHwsJ7fcszXXsyNgESrK3McmWXOO36icZ5pxgKZd7La2zO sXpKlNalxNNmXbK3TEXhwUPK7r1LeDrV71BBAX4jMT9GsG3QZwMo9fUtUVHTwA/K5Mrp +H3fXic12JMYhLFmbSUjMiEwF6szSUMJaSuMd6ZjLBGGqZWl5dtwawroDGvFthdl7FjE fdIOuW/p2G6k+ZYU1rp+ZMCigLgSw4FssXDa+laZHXxynoI0jpZozsWQgCJ5pIvnRf+u VI+jj/sSLLGQZlBWSiyk3xZHriB30t74YXa0o5jkYt1jsUFYzyQqc9E8Srvp/Wj/kSx4 wijg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mnD0LyfphM+5T3FfKZ8+3uwWUYYqYaWpKyqC6RAcHs8=; fh=kyw1K3DAWculx26QUTn1kBAQ0uRG35HmzAllNVLfAZg=; b=q6cM+ny1nXSSCcNiv4AyZfDRAgH7PPdvgOtXqNDPJLd1SE92Wupo7cCd4o2sELZ5Um 1oiuG/G4n1BhTM8yYC8XgGseYEeG2YvMUzive3PafloPuyGQoNtoh1mcuQoHbaeXCMMC w4v8M1v5riDxPpXrqJrgLMXtY7U4WL4ox1hBtrn7Di28w0mhQnegViaf0RvvbWt02Adq y60Z/MESAAkD1n+Mv4ASVPtu3Q4wfTjodNqEp6dBKIU2NUW+KlxUeYjFVdcbWV+C0mS2 P65ZkRctNAXxAooOJRXtPxQHya6AuM19cvWUXp8SciDmsLV55ZBuGOFNNQAhaU572iZX IWcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FzGpoSCc; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-63415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63415-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=2; AJvYcCUpt6jD1DGBQr9d/fIoHMI9AGMwu+jYLIn2yxRucqrMG6zRDGnCoiTG/UCkuNsXe/cn122kTxkZST6mRggaT0gGCi7bHBr5H1prsB+FZw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f11-20020ac859cb000000b0042a990ecee2si2814130qtf.479.2024.02.13.03.18.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:18:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FzGpoSCc; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-63415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63415-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E09F1C22899 for ; Tue, 13 Feb 2024 11:18:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 263FB364C1; Tue, 13 Feb 2024 11:18:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="FzGpoSCc" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94A2533CD2 for ; Tue, 13 Feb 2024 11:18:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823111; cv=none; b=Hoc8yCK9SQbyYsZ3vSRv9fgTkhKABtO+2zvkoKzokFF41Sxau+1wX+yZw35W4BbZNYpxs6lwAnR2e5BUAvCCrmHl79OLUW2DyU6EwOAzW5xb+++krawTOEpbtMXr18rMzwxUWFM8B14pw6hmJauu/KsDzcwvgfRXHOjJBWJWbyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823111; c=relaxed/simple; bh=pOuycacgZVSd0+Xk2nlR7yGsAnTnGbn6e75fF1Lc+R4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gnLkQyX9sqiQGCtnPSWecFIzoab3sbmDgnH35zKkayWU4kynC4d/pTu6LK8AII1XRu38+am9mR+W7XQnoE09XH9o67DZrzDEFz/T2KYu8/stMj7ForK4j0URKCqWaWpPNA2QuzheVY2ihnHwq9KzUPMpEEDJSDWsRsBgkDKoCi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=FzGpoSCc; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 62C4E40E0192; Tue, 13 Feb 2024 11:18:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9FkHX8FMSUfN; Tue, 13 Feb 2024 11:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1707823096; bh=mnD0LyfphM+5T3FfKZ8+3uwWUYYqYaWpKyqC6RAcHs8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FzGpoSCciCs42AFik0XBwUecSZEj6IDLGvqmWyfIfL0UNbQ3Ml+L+/Y1gpVlPDF5N MSNM2x9qUUbH+xFGo/rukBRDWl6tpqZ1zLe3pOy7j6YSOOAcU7yi3GE2Wf52BXFiuu fGnqO+HLSrY21vKyv+/+n+omu5um5ccj8eEJ/tjiT3kEu1MxfKCFetNVU8aVBmdURn 4mti7Zvgutvustdf0qxPKe680RWTEYxpN/FSKCMT7TRRAY5pzVKYDua9iAGUFRLKqO HhiLKY8F6UilArk+G0xM2xBz8Q/IzFeSLhKsEG5D39qdV0yPBDrtdEyrgtJIWgMHBl AKnemHF4tULcjrhuyqiEJuDnVLfIkQMWdF7rYP9D6IcgdfveczFGktroMlrJ1zXEb0 7bmh824dndmy+sztiyaCli/Fh0fmL7fj0vg7zM71FgJKSwe0p20C95R5hMuwGlbdXE DguQc2FSXsOZp2Oag4JlbyxBtTFaPNB8PY6cjFt9ER7lC9mzo+GHxdC+hEaTUyrlzM yYnVX4EK36z6zrCWoAuzDZtk0beiOLCOAOPs7n9rKCIFlq5/WzsbqGGe0BzKvi8qiB D6mam0D2c+tPPfdkPNPemmHQTlLgxTfbG45Nteloum50ebADBh60qrdhhaGAs0cxGs uwqBYF7q5IzVJFozHtRemrjM= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4591840E00B2; Tue, 13 Feb 2024 11:18:10 +0000 (UTC) Date: Tue, 13 Feb 2024 12:18:04 +0100 From: Borislav Petkov To: kernel test robot Cc: Ashish Kalra , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Michael Roth Subject: Re: [tip:x86/sev 22/33] drivers/crypto/ccp/sev-dev.c:1672: undefined reference to `amd_iommu_snp_disable' Message-ID: <20240213111804.GAZctP7KibCgW5DVpw@fat_crate.local> References: <202402130940.IHNXTMSN-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <202402130940.IHNXTMSN-lkp@intel.com> On Tue, Feb 13, 2024 at 09:23:56AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sev > head: 45ba5b3c0a02949a4da74ead6e11c43e9b88bdca > commit: f366a8dac1b8fef28a470d4e67b9843ebb8e2a1f [22/33] iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdown > config: x86_64-randconfig-072-20240212 (https://download.01.org/0day-ci/archive/20240213/202402130940.IHNXTMSN-lkp@intel.com/config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240213/202402130940.IHNXTMSN-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202402130940.IHNXTMSN-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > ld: drivers/crypto/ccp/sev-dev.o: in function `__sev_snp_shutdown_locked': > >> drivers/crypto/ccp/sev-dev.c:1672: undefined reference to `amd_iommu_snp_disable' Yeah, I know. This should fix it: https://lore.kernel.org/r/20240207204721.6189-1-bp@alien8.de -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette