From patchwork Thu Mar 16 05:19:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Yang X-Patchwork-Id: 13176998 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD381C6FD1F for ; Thu, 16 Mar 2023 05:21:08 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=hBtZkCS3I5022COwz8KhKnCPADjo5ExXbCm6N0QlTqU=; b=QmfOB4rwBDDaHM txP63SEPMiHFlR1Tdes+60fq3XAuGmJFyBhmNQEIh2LLwl5g8j2suozlT3KLFrw6MfXi9+H2l54Wk LJFCf2C8KeJE/nFxnaWyGSrGd04c4M7/1fg0WwXAAgbg+J5Ixdh8hiEKLiZBkR7sgFmrH2dypbwZU NCHNHFe/IfJQ/tUn7DAl7p6eiForJyC7tu+sWNJWq8Th/Jqn5xBJ1XVNnKgIO7/KEzAlhbEupI5+G sX/G8OVsQeXE0ksdaY4WCtXR1wHl/deD90wcUgj0dT/Muxv2snWl4ZcEVzZmE5otXEPshZnlFMfza Lc0Sn8aaJoxSOMU4e0WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcg1z-00FFfK-2c; Thu, 16 Mar 2023 05:20:03 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcg1w-00FFeJ-2i for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2023 05:20:02 +0000 Received: by mail-pj1-x1032.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso443939pjb.3 for ; Wed, 15 Mar 2023 22:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678943997; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xAnoNAg/wEFIyazuIz3SvYiQvbZa3Cm+e5t9iiTafMM=; b=ogfWJ1M10cinsLgiOAHKG+R/e+AeY7RLAjxzO5+PTzaZzHnE+duwairY1Zbn2F5c2f 1iRx3C90ofLuUhJy6e7SLhwesqZn9u29O1m8vus+X8ud4mW605FucHslMCSNT0jh1ByS jHrlR/lFjWTBvs9NkjE53WyuNN1sSl2rqamLpNNB1Kv/nkpAcMzOmK3bRcoRgQ7ZyoK5 15SDbruJxM2MnUTAin4deSVBs9mJpHq9trBSCcDN0SAFUl5QlE2BKIayRzJyimuAkyD0 s9LCY3bSd5jqRWkk+IkEx/gfDZv58P1UGYlTceiXThtTe8ZV4ERXr5YEFlh4HghHM3SQ cIXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678943997; 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=xAnoNAg/wEFIyazuIz3SvYiQvbZa3Cm+e5t9iiTafMM=; b=hXoeCm9Jdx8uif0yvwx3WnAXsnazATgUq/V8gMCrrWh55z6ihIHnqr6w4rQa2KhZU7 zbRhr3cxmaceyRXu5Lt03A0LNl22TbHvgLPirasBsZHY5rmOoj3XWEsHCRUMcOVaoGRr PRSAnkHARoHDMD3+OBU+RdGhWZtzTmTrniIK/blbdpv3wNtoG4/p09RRcA4FJ3mVZwUa Yx/NiBUvcGg8CF06kIEG7ff/YxX0CXM0DdbU7hFJwPUaoJDNZJn73KNbOMv0Dtbx5XSc E0sjWLfnHzsTw9fZQWyO5QGROh9AIgEy07FBVZYG8vjEY4tqubrrTimXHYIi2r784KWx dW6w== X-Gm-Message-State: AO0yUKX7Tsoz0ftLQhMHkpgH5bJXFGyWgEOC8iQDa79/YQIWuUlu04xa ZDQo1KoU2l2DI1GtmklZ2og= X-Google-Smtp-Source: AK7set8c84uHAkq4MtaFVRHC3YXK22SqDEUPVWFCrcEGkReUCFOEGDytzQLUpjDl0h1WyuxwlB4GEw== X-Received: by 2002:a17:903:234a:b0:1a0:51d4:f055 with SMTP id c10-20020a170903234a00b001a051d4f055mr2499980plh.49.1678943997153; Wed, 15 Mar 2023 22:19:57 -0700 (PDT) Received: from d.home.yangfl.dn42 ([104.28.213.199]) by smtp.gmail.com with ESMTPSA id jh1-20020a170903328100b0019a593e45f1sm4475708plb.261.2023.03.15.22.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 22:19:56 -0700 (PDT) From: David Yang To: mmyangfl@gmail.com Cc: Wei Xu , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] ARM: hisi: Support Hi3798 SoC Date: Thu, 16 Mar 2023 13:19:32 +0800 Message-Id: <20230316051936.1775033-1-mmyangfl@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230315_222000_896275_EB552A40 X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series enables booting Hi3798 SoCs. David Yang (3): ARM: hisi: Add S40 IO map ARM: hisi: Add S5 IO map ARM: hisi: Support Hi3798 SoC arch/arm/mach-hisi/Makefile | 2 +- arch/arm/mach-hisi/core.h | 6 ++ arch/arm/mach-hisi/headsmp.S | 36 ++++++++++ arch/arm/mach-hisi/hisilicon.c | 70 ++++++++++++++++++ arch/arm/mach-hisi/hotplug.c | 120 +++++++++++++++++++++++++++++-- arch/arm/mach-hisi/platsmp.c | 128 +++++++++++++++++++++++++++++++++ 6 files changed, 357 insertions(+), 5 deletions(-) create mode 100644 arch/arm/mach-hisi/headsmp.S