Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp674039iob; Wed, 18 May 2022 10:19:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP+Br/Q7CYwjcZsMbr4IL9nFCgvHOArXwaYGdOZn1MWhMehwrIaKG7bB4csKB9aiynJ/tK X-Received: by 2002:a65:4c41:0:b0:3f5:cf9f:283b with SMTP id l1-20020a654c41000000b003f5cf9f283bmr389975pgr.301.1652894383505; Wed, 18 May 2022 10:19:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652894383; cv=none; d=google.com; s=arc-20160816; b=biTTB3KCmMR0UoMIBxa6Xv38LndZCuKqVmWy3JpKnccssPy2Q5Hx0Mg7BLA4zn+eMn Umu2Vc+hofVbZBSiJoXWMt8Gz2Ws8ce72eCiNfKoNjzNyJKklL+MKx/e0VAgm5GpFWRI qk8gZRJaQirvTSXTbYCVJJ4p7h/udLJCND7x6RjbsZbXiO/zrKtFZd3bWhsnnZNGQiOd Y3Yp/BUdffTgGimFIPsmfjU6Yd4kSzqlvWg93e7fBTl10aG+riw081clT/NUNGkljyrL iZ9PnLqrQmFDZ734El9RxshdfpL+YQ6qqnzA4iPm8HYFCWw4Npvqd22POqqqYJJmWX4l fqsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/f4APx/MmD2R61Oq/wBqbBZa049BgS6jzCZYyWux6uw=; b=M5iTrCRA7J3RWapDhxkzYwha/I1GC4DlYmlVmwwk3F1oZA04HR7MaxQGwhEEF2Yjfl ytTpnQ/SHkDt+4vh9oh9uI5PYCjIUivDkMv0DJq98n1NfgAd9c3sFjtd36m1byXRo7Uo SEjJaVwwQCx7ohH3EeqUhV4Sra97JoAOqggUfyKKw7xkHLvscuCr75rk50owD2i1AELK J++uHv1zVorBUtWTSMPu1MOkGcGmQ2iH/UHMy0rdsKMld+xQ4txH03Zi09L+lnqPyVFQ Uh2Fu8raM1P38bqeQPSzmzFJcqIY0TpbKPwxCfuWsnj0G82E4oAT0cQ4mxid9mA5fO7i eMyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CRqJwsiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y31-20020a056a00181f00b00505b758c8d8si4140910pfa.12.2022.05.18.10.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 10:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CRqJwsiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A328A20E0B3; Wed, 18 May 2022 10:19:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240827AbiERRTJ (ORCPT + 99 others); Wed, 18 May 2022 13:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240806AbiERRTH (ORCPT ); Wed, 18 May 2022 13:19:07 -0400 Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C5820E089; Wed, 18 May 2022 10:19:06 -0700 (PDT) Received: by mail-vk1-xa2d.google.com with SMTP id q136so1489054vke.10; Wed, 18 May 2022 10:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/f4APx/MmD2R61Oq/wBqbBZa049BgS6jzCZYyWux6uw=; b=CRqJwsiNKT4sZEtqe3T41FiSRcnJ1GsrN97IRQZ6MZkmYh8ZdRyxXmtb/J94D0H61o UXlXak6BwEHPqc2i+M+cNvc+wf3aNRyAOIpBmDN/fIjJEV8pftJl6kSgPYBN3pEbXwLm bHZfYOVXsV1IfzwhXAWwHXg3ukhgzhZIRxWz8win7ObqSWummoAxcmSlondFXp08DZJ4 36/jI0h+mLOLIm+PhHabN6wQrZiXMkSwrSOeuYDSMkhROPYdHF0MW6UVpWeuZPpCZvlr IbfiGH1c3JqN/a2fSTNLxa4MWt7gRYQIbq3e/pyR3zd/D8QZT2xw/TM/14tLWOaQ765P KwNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/f4APx/MmD2R61Oq/wBqbBZa049BgS6jzCZYyWux6uw=; b=O1aPuB+yzs2SpMcIC6TnpWK1K3aSz2LvmHJyOSJWG5tqUp4fHRnbytELoelCawhPQF Y3DohQucUtiSZahGa4OTZ3zWfh0ar74EAKsuuwMUSr83TER2Ge65BnFIIHbBmQcpB2y9 R26j7tHY5NdZuFdCGmmU+aFyHeGOfIb3hC7HoMiYuJj7T0QSGOy9f4EaMWM83PpZGZ5T R7T6fchovkBBh1i92x5Qqle2hJ9zZqwDJ18glJAwV+MRt2AUi9qB+xPDwkFIZ4o2gdCr glTqblW0NE510bXkJVm6sd9ANsh+KmoDYKFBPffpy9J0oOJY/sNFXJ243ATgcsToPVzB uU9g== X-Gm-Message-State: AOAM5332MF2ifTMHYhBnaX5EiukODiFi0qtqmbHDU8iTPXQSBz1idSo5 EsN8ahHjE2WGg79ziOq+LtmBcMlRQ64r2pNqvJ8czkNMIak= X-Received: by 2002:a05:6122:818:b0:357:26f8:5e73 with SMTP id 24-20020a056122081800b0035726f85e73mr243934vkj.5.1652894345690; Wed, 18 May 2022 10:19:05 -0700 (PDT) MIME-Version: 1.0 References: <20220518092619.1269111-1-chenhuacai@loongson.cn> In-Reply-To: From: Huacai Chen Date: Thu, 19 May 2022 01:18:53 +0800 Message-ID: Subject: Re: [PATCH V11 00/22] arch: Add basic LoongArch support To: Arnd Bergmann Cc: Huacai Chen , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds , linux-arch , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Xuefeng Li , Yanteng Si , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Arnd, On Wed, May 18, 2022 at 9:42 PM Arnd Bergmann wrote: > > On Wed, May 18, 2022 at 10:25 AM Huacai Chen wrote: > > > > LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. > > LoongArch includes a reduced 32-bit version (LA32R), a standard 32-bit > > version (LA32S) and a 64-bit version (LA64). LoongArch use ACPI as its > > boot protocol LoongArch-specific interrupt controllers (similar to APIC) > > are already added in the next revision of ACPI Specification (current > > revision is 6.4). > > > > This patchset is adding basic LoongArch support in mainline kernel, we > > can see a complete snapshot here: > > https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next > > Stephen, can you add this branch to the linux-next tree? > > I see there are still comments coming in, but at some point this has > to just be considered good enough that any further changes can be addressed > with patches on top rather than rebasing. > > > V10 -> V11: > > 1, Rebased on asm-generic tree; > > I was expecting that you'd base this on just the spinlock changes from Palmer's > tree that are part of the asm-generic tree rather than all of what I have. > > Can you rebase it once more? If there are conflicts against the h8300 removal > series that is also in asm-generic, leaving it on top of that may be > easier though. Thank you very much, I have rebased the below tree on asm-generic tree's spinlock commit 9282d0996936c5fbf877c0d096a3feb45 again, and fixed some small problems from Eric and WANG Xuerui's comments in V11. https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next Huacai > > Arnd