From patchwork Mon Sep 30 09:30:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavitrakumar Managutte X-Patchwork-Id: 831634 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (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 D15C518A6AF for ; Mon, 30 Sep 2024 09:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727688705; cv=none; b=dV3DDzN0ldSS3vtbjqBuGVVH2o1gsw1vutbr0W2t2yf+z42wsyVF63NCU+IuMlM+FkS/tkuliowjiXz34AcP1+Z2wbVrpH5EHKmYW/Nul+OupxGGKwCDa9uR61rA4aFVBJxtAAiddXjcH6iUcXfTA3rV9gA0WJbyn+3bf89mFsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727688705; c=relaxed/simple; bh=afFwjvtS4RlVspvmU+dLQI3MTGCkXQYZKUE8UXrgApk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lIKKQ2QdhrUhQEIceWMYKcULZnbqdzU47cv6AVEprKTPnVjWU4rGm9FB/x1K/wACIoPKjQ1q++SXUisfDDl0VqFatEu9wl0J+Uk+xxON7Z1/i6VJK8swhmGSBzd3j6Ex8YCXh7LSzFcUnl+fvC4Hzd7DLktE0bMtCgcREs6LlIA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=vayavyalabs.com; spf=pass smtp.mailfrom=vayavyalabs.com; dkim=pass (1024-bit key) header.d=vayavyalabs.com header.i=@vayavyalabs.com header.b=X/aRHf+X; arc=none smtp.client-ip=209.85.167.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=vayavyalabs.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vayavyalabs.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=vayavyalabs.com header.i=@vayavyalabs.com header.b="X/aRHf+X" Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3e2a1049688so1943786b6e.1 for ; Mon, 30 Sep 2024 02:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vayavyalabs.com; s=google; t=1727688703; x=1728293503; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7j9JMGTE7zEUsag9TZFQEVZQV+jJCL4nO3NZoqVd0Do=; b=X/aRHf+Xunl85KOKGxKoABEmqOVK3p8GZ2n13HYZPaG3ooJ8DMVPCEpT+bAdihM43R PcChO7wNrvDg+h5iqd7vapS7AKMdIsAr6NGTm3Wq8/NIdg9hp2/hq+Pj1t8FWJ3TU8vV ChUd07ET98DBQh+eOx6RH2SQ5Db0Xwt5O8/0g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727688703; x=1728293503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7j9JMGTE7zEUsag9TZFQEVZQV+jJCL4nO3NZoqVd0Do=; b=lAFSRftlwuwFhd7ghBJTd3cdewX2mtNeNRTVTL97xho4cigi7UEgRV3CsaQX9GrFRi Ym9CWWNc2u+kGswsNKqkpKr27h3P6OexqHzqqdvSS7k7Pl2g6pAjHsMk90B6+pV7MUfJ CClUZGjmhc1UNpl0/Fz7/njwrC7ogi2NHe4L+/XcZBEegOvkimaBCJjJ/vQxXGKA/2RQ 62lmEuXVkpfq9oSH6vHvKdRTx2XGaPsC9J6PwMOk1MC7sAOYejk7O1edtCiqs/mRFFH0 chjmZxcA5lW6ELfpafSJGl0gM6gynYU7RhKPcMdmddouTUeusFNm0pdc5xJhekJKUQ3h OrLQ== X-Forwarded-Encrypted: i=1; AJvYcCXOi4uTyDiWs88kPhlp5tlXeivJekXKFNGqVVVw4Xb2OUq6uwomc2BQsisf7sQNvXc7gJMwOnsqSzTpEhk=@vger.kernel.org X-Gm-Message-State: AOJu0YxcJZIyTyE/VxYGKoLbujPpKcvK/xBQGm7xbJh7Wy0WYt4Dlnk2 N0OWqZ6EW9gooONevN5OyTed2+tV0xsKggKZismrwypggEp2eeY0eyQOqXXZlpk= X-Google-Smtp-Source: AGHT+IHn7AguvG28Fk7shnHcczUWwr40vK7YIRskf1C5lB4e/2P7SxgCKtx5befNDJpRM9iMPo4zlQ== X-Received: by 2002:a05:6808:10d2:b0:3e0:6809:ab27 with SMTP id 5614622812f47-3e3939e809emr6927128b6e.41.1727688702936; Mon, 30 Sep 2024 02:31:42 -0700 (PDT) Received: from localhost.localdomain ([103.108.57.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b26499743sm6037482b3a.18.2024.09.30.02.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 02:31:42 -0700 (PDT) From: Pavitrakumar M To: devicetree@vger.kernel.org, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, robh@kernel.org Cc: Ruud.Derwig@synopsys.com, manjunath.hadli@vayavyalabs.com, bhoomikak@vayavyalabs.com, Pavitrakumar M , Shweta Raikar Subject: [PATCH v9 6/7] Add SPAcc compilation in crypto Date: Mon, 30 Sep 2024 15:00:53 +0530 Message-Id: <20240930093054.215809-7-pavitrakumarm@vayavyalabs.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240930093054.215809-1-pavitrakumarm@vayavyalabs.com> References: <20240930093054.215809-1-pavitrakumarm@vayavyalabs.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add SPAcc compilation to crypto subsystem Co-developed-by: Bhoomika Kadabi Signed-off-by: Bhoomika Kadabi Co-developed-by: Shweta Raikar Signed-off-by: Shweta Raikar Signed-off-by: Pavitrakumar Managutte Signed-off-by: Manjunath Hadli Acked-by: Ruud Derwig --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 94f23c6fc93b..009cbd0e1993 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -696,6 +696,7 @@ config CRYPTO_DEV_BCM_SPU ahash, and aead algorithms with the kernel cryptographic API. source "drivers/crypto/stm32/Kconfig" +source "drivers/crypto/dwc-spacc/Kconfig" config CRYPTO_DEV_SAFEXCEL tristate "Inside Secure's SafeXcel cryptographic engine driver" diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index ad4ccef67d12..a937e8f5849b 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -48,6 +48,7 @@ obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) += bcm/ obj-$(CONFIG_CRYPTO_DEV_SAFEXCEL) += inside-secure/ obj-$(CONFIG_CRYPTO_DEV_ARTPEC6) += axis/ obj-y += xilinx/ +obj-y += dwc-spacc/ obj-y += hisilicon/ obj-$(CONFIG_CRYPTO_DEV_AMLOGIC_GXL) += amlogic/ obj-y += intel/