From patchwork Fri May 13 12:17:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Ferre X-Patchwork-Id: 1630677 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=sfO4YMrN; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=tM0FWpY0; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L072Q1nqXz9sFs for ; Fri, 13 May 2022 22:17:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/SUzaoDYgYERkpB9o/k4De/9EWyZswceil4rZT94X9A=; b=sfO4YMrNxqDuqR 3wwJ3Yq2CPLDVxxqU0jraF3+94ztBVP840jqRmXhZj+aFUjwlZkkYYPf+j+wFtds2+Lw2oNURSpoc goO2hCeJhdzf6uplO77fAmc26VOQu9Rc4LHODK6Shd17wdjtrQ7erWofwO3QXIr/7Fadlxs8zfPKe CbTee2CmmYJ4YBkrQCPYfCrx0Sd5WkKKk+DF0Y1/GqHKysRPwGMh37NzvSRPmV3+bBkBdK7PtHlX9 h4cbI1/W78JbxsSm8efHqvOao1za6TVTBm9P4w1uLP47iT/FT5QWs65vwTuIomCF2on6k2n8Xvf9U C3yn8afxSykty8usd+WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npUEb-00FyH6-5q; Fri, 13 May 2022 12:17:29 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npUEX-00FyGA-QO for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 12:17:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652444245; x=1683980245; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=801V6lsXCptv+F1vOY2jyhDHT7zZq1ih5XI439rzglc=; b=tM0FWpY0dXjipB/2LSwMsPgzEJ31CXDB/Wbw7omBee629cIgV9mHxbsj Muvkfq8qnUuWe/qbQ272hURI8KUCBeq3UCG8EJSk4vGS0BuB0UghJGNFE oaMLBsEKR05/4eVAJ1N7b1u9Is5sjzOiudWV+bMr1MsXijq+6JCA1NQhU vH5L6B43IvaO72fsT44r9QfqJkE/M76xMKFV/645VZbUPnZJy6+6Xsap0 Fln7aObZ0YMpFW4BnQD8QOZk+UfbMmMI+sX8/cdZS3aulQEhC8z/xjvO+ E6p1y+nNNkPAgt6GIhnje0HbAayThLkMdVODqstTwedvmITpljIvddm3c Q==; X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="163935065" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 May 2022 05:17:22 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 13 May 2022 05:17:22 -0700 Received: from ROU-LT-M43238L.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 13 May 2022 05:17:19 -0700 From: To: Arnd Bergmann , Olof Johansson , , Subject: [GIT PULL] ARM: at91: soc for 5.19 Date: Fri, 13 May 2022 14:17:01 +0200 Message-ID: <20220513121701.77683-1-nicolas.ferre@microchip.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Organization: microchip X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_051725_901358_8B317EF0 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Nicolas Ferre Arnd, Olof, Here are the at91 and Polarfire soc changes for 5.19. Thanks to Claudiu who did most of the work collecting the patches for this pull-request! Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.153.233 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Linux Kernel list , Ludovic Desroches , kavyasree.kotagiri@microchip.com, clement.leger@bootlin.com, Claudiu Beznea , linux-arm-kernel Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: Nicolas Ferre Arnd, Olof, Here are the at91 and Polarfire soc changes for 5.19. Thanks to Claudiu who did most of the work collecting the patches for this pull-request! Please pull. Thanks, best regards, Nicolas The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17: Linux 5.18-rc1 (2022-04-03 14:08:21 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/at91-soc-5.19 for you to fetch changes up to 6041558ebf1fc87d1e0bdeb51e985807dab06bed: ARM: at91: debug: add lan966 support (2022-05-13 13:42:03 +0200) ---------------------------------------------------------------- AT91 & POLARFIRE SoC #1 for 5.19: - Power Management: add possibility to implement specific pm quirks for some SoCs - Kconfig update for AT91 PIT64 and LAN966 low-level debugging - sama5d2: add secure calls to OP-TEE and secure suspend ---------------------------------------------------------------- Claudiu Beznea (5): ARM: at91: pm: keep documentation inline with structure members ARM: at91: pm: introduce macros for pm mode replacement ARM: at91: pm: use kernel documentation style ARM: at91: pm: add quirks for pm ARM: at91: Kconfig: implement PIT64B selection Clément Léger (2): ARM: at91: add code to handle secure calls ARM: at91: pm: add support for sama5d2 secure suspend Kavyasree Kotagiri (1): ARM: at91: debug: add lan966 support arch/arm/Kconfig.debug | 22 ++ arch/arm/mach-at91/Kconfig | 20 +- arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/pm.c | 431 ++++++++++++++++++++++++++++++++--- arch/arm/mach-at91/sam_secure.c | 46 ++++ arch/arm/mach-at91/sam_secure.h | 18 ++ arch/arm/mach-at91/sama5.c | 2 + 7 files changed, 506 insertions(+), 35 deletions(-) create mode 100644 arch/arm/mach-at91/sam_secure.c create mode 100644 arch/arm/mach-at91/sam_secure.h