From patchwork Mon Sep 2 15:12:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 825465 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 065C31CB500 for ; Mon, 2 Sep 2024 15:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725289958; cv=none; b=iynkfC/kDt7aW+r5j4YMbSA3uQeO+JsYwGGx3/8a4/kIfPWcrJNi5T1D7dPgg0nU3txoME5tLV1C7dp2TpruhtJ7jF/f9HL84vjR1ac0HJnwPY3ouyD6/vfOA9ovJhP0prssTiMN14CUppkrGsjN47Fv55TULx2jUVmmHADOryA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725289958; c=relaxed/simple; bh=Gmiv/E+cDRWnVMlt9y/4OfF3IdLGtZ1sh6be+KXdINk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=p2tzdJNPmnsu2KDVe9YOJ6VYp/qzjFIbvWaAe3g6o38QTicmTUqgE+ygt63mCUg2/TYAi5w0qu2d1jVihVVVvgnvsHePGogyKPKbWfVPvJM1Qwt88Yt84KVrTXThYGmyYenYsYSLUuSxoer2cULAHMgHTv0RLKVzAiLy1Aqr1Q4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gtmt7Ndb; arc=none smtp.client-ip=209.85.208.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gtmt7Ndb" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2f3f163e379so70409721fa.3 for ; Mon, 02 Sep 2024 08:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725289955; x=1725894755; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HwBtwHrsiFKlPsAPLNk9m8K2n9DcXTsTBYrntTzFN+4=; b=gtmt7Ndb+J8vkiX9zOGLpFVGJswzPG61OVdR3p3/oVC4bMbe5p87ycIiYjN7x/nHI4 P/+WAHVypd0LQtdf4A5NXm1a1WYh0C4yh1BkQfzOKuCKTqzqRgHduTbUnKmY82YhkD6N Ka3Luy3LH567LLP0Yn/R7npSHlGPoaxUAhWmvpyFvMV3U/mNoWX03nVUGUHDYI4Rk4uM UvBVo2xFAHtNksUci099Nj1Zwh43Cng/0iQmhquh3G0damRArp5hAXVZDOU5A7gauJvN aU4ONx7Q7dw1mr4nfQOqrFhHg1Hj1AcjocJXxUMG+huhpEyofiQtIxIMP3y8p4YkjDt+ oDHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725289955; x=1725894755; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HwBtwHrsiFKlPsAPLNk9m8K2n9DcXTsTBYrntTzFN+4=; b=UkOglHrekhrj0J8m2q2BijaFz1T2gq7JqSP8NlUokGi51MfWKLxDSMI7JHWwMu55hZ 7yToP7xtdOS6awXuWO8FPctyfptdAMr/eG1UMIr6efjL3qNR4aW7xb/1PuIUDJTgYwdO WQW8ynKRsn57oSOV/h+7IYZLYbYOQ71hcWX15UmZE+wYSy1Nns8RFU3UrN/15A8ZtBAY 0w6LuH8U4ydkeh18U0aYgMnXRj5TBfoWdKYhKvsRM0SKnBgWg4FjbqsFmiWB2heux8FP NwY6ulz2sMoTlgk1wxyV/qdQZdMVQ/Kzjoh9q757gthekva/EaWJMJ8q4EgxFt1ZcvcU VpGA== X-Forwarded-Encrypted: i=1; AJvYcCVNu8UZlmKxe/SdJ1V/kjkyiBMaxaRUZp3K/WLMZXx79uGfObihmANNp6DSVG8H7S9Ko+RAstw78Dc=@vger.kernel.org X-Gm-Message-State: AOJu0Yw45PMZf36sTuLTrJ1u9XUJd/D1K698TV5vEiX6hr/HrdiDVmvJ 9sDZbenn6BpxiOOV02j/fciaHF3R5Mw61SHiA/xWuO7wYihhn6x7EihgbNIjPPs= X-Google-Smtp-Source: AGHT+IHmQ5yecOA48RQWgeB0rb9/S0HYng5ewvld3qXwZ6/2jVYReqFiUM10vIrA9Xd1128y0qC9uQ== X-Received: by 2002:a2e:a987:0:b0:2ef:226e:e150 with SMTP id 38308e7fff4ca-2f6108930d5mr130784961fa.32.1725289954815; Mon, 02 Sep 2024 08:12:34 -0700 (PDT) Received: from rayden.urgonet (h-217-31-164-171.A175.priv.bahnhof.se. [217.31.164.171]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c255d3da3fsm1923394a12.79.2024.09.02.08.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 08:12:34 -0700 (PDT) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, op-tee@lists.trustedfirmware.org Cc: Ulf Hansson , Arnd Bergmann , Sumit Garg , Linus Walleij , Greg Kroah-Hartman , Jens Wiklander , kernel test robot Subject: [PATCH 1/2] mmc: block: add RPMB dependency Date: Mon, 2 Sep 2024 17:12:30 +0200 Message-Id: <20240902151231.3705204-1-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Prevent build error when CONFIG_RPMB=m and CONFIG_MMC_BLOCK=y by adding a dependency to CONFIG_RPMB for CONFIG_MMC_BLOCK block so the RPMB subsystem always is reachable if configured. This means that CONFIG_MMC_BLOCK automatically becomes compiled as a module if CONFIG_RPMB is compiled as a module. If CONFIG_RPMB isn't configured or is configured as built-in, CONFIG_MMC_BLOCK will remain unchanged. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409021448.RSvcBPzt-lkp@intel.com/ Fixes: 7852028a35f0 ("mmc: block: register RPMB partition with the RPMB subsystem") Signed-off-by: Jens Wiklander --- Replacing "rpmb: use IS_REACHABLE instead of IS_ENABLED" https://lore.kernel.org/lkml/20240902080727.2665235-1-jens.wiklander@linaro.org/ --- drivers/mmc/core/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index bf4e29ef023c..14d2ecbb04d3 100644 --- a/drivers/mmc/core/Kconfig +++ b/drivers/mmc/core/Kconfig @@ -37,6 +37,7 @@ config PWRSEQ_SIMPLE config MMC_BLOCK tristate "MMC block device driver" depends on BLOCK + depends on RPMB || !RPMB imply IOSCHED_BFQ default y help