From patchwork Sat Feb 24 08:53:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 205789 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1052683dyb; Sat, 24 Feb 2024 00:54:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUBUCllbDtmfYn1xtk66Ukit2REKo9BY7dUI53NN8QlCjtB+yBNdDtSaPoHCMTFl8l14i/wsbEb3q9ZNA3rgj6e6/41gQ== X-Google-Smtp-Source: AGHT+IGBfkovjWMBv7mJAY0gYf91qTrKYXSZNZB4sc+JV3YU+7tgaVSf1Sx+HrQvbkZmc9413F+d X-Received: by 2002:a17:902:d4c4:b0:1db:e837:4081 with SMTP id o4-20020a170902d4c400b001dbe8374081mr2392272plg.34.1708764871651; Sat, 24 Feb 2024 00:54:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708764871; cv=pass; d=google.com; s=arc-20160816; b=BNZkNuQocm4lYVEiA8tpCcSnDk6Zie2ruLnl68p4kaUqvJBd16jCyl5ofyozhVtHHX 6HjQzrOlB0VQFN8cBagzjIj/L/lwThTze7pBb+eMocXSjNSiQL52BhQolBhqFEmhtmy3 IWCozs8lVWoBDFl0hL4jXuUtbXy3oW66sbzuFQD+LtEY0f9lOZ2+uBINvYfXWxKGNoey Fu0Zf4YmgNvSsL8LJHWZexzsdLxX95U9Wmy4CPKnYAmOGNCBfvUSnRzQn5UJPwKjar+K PyUhRhmrX+MuOcmoE7Hbo9TKBjoPLJa5TkkNKXX4zBDd4/txivsLogFeAAZAESx5+VFc j6QQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=rX4zoWel4TNOov6R/g4RCBHnfOVaU6pgvEX83zv34qs=; fh=eZDZpyLCldNet11DUAlW2xdOjkOJb0WWgFS/Jxwslqg=; b=ho/elz1aiJa1PVIIhO7rU6P67h+CtBwmTDNninAk+M9YUV1LbPUZQpKrkpHhAqh3XI cSQPORzkktGUF7IkyAdyBdUSmbJRcRe8C+FaSza6H6NB3B5a/7yywHwjaFffTqG5SXQi aAJYqCrDUUfn95ASmJ0QFUY915FO05iZfEErd5WLvCPG9qS1npgTo+9stnpc7XimBwzE Y/p7xpQpP8olvL5k+rCXkpv44w+iJOxrU3Q9nec/ThXErLbkpQRxeah+HBYb5zxnbOyC LhxqIeHiDgTJ/hJ0OXOje1+6aiQ5XI6l13Hdd6U82QT7n2GyD+Vq5pIZo8PxKU0VLPOm gBTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79516-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79516-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w16-20020a1709026f1000b001dbcfb509fcsi548707plk.63.2024.02.24.00.54.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 00:54:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79516-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79516-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79516-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5800F284ACC for ; Sat, 24 Feb 2024 08:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC03D18628; Sat, 24 Feb 2024 08:54:16 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B2F02563; Sat, 24 Feb 2024 08:54:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708764855; cv=none; b=bVsgPCvs6QtaGramP7OKI4kcZEakgD3PGU9ElFP9JHYjoMATnVVzGQHYPbdlSL6CymPaNy9TShG/NU0M1qdfzmO7Gpq32UPZwkXCy3qn3fpNDqlMWZ7eHN3UpjK1iRUJ7yNiL361K1MDqJHYkIXE4tV48bFPEUZzberdHPSC5eg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708764855; c=relaxed/simple; bh=EGe9UYsEr/9yfU000DGqVOgAZaeuzfLn2Tyry0Qc094=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i09fGzKlN9DVzlIYC0dLowgNLdztROOD3lZ/Jr5VzrN6k/DIgic9ivF7cMNR95KqtSKgJ85Is9HBzKKro8ghDlTibbEJL1a5M/IjV79Eo+tAls70rGWodEiNd4KekjglaltUy1RLSbXKNmMNCuvwQYw7BTtgfIedsjdwiIDQTc0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5ACF4C433C7; Sat, 24 Feb 2024 08:54:12 +0000 (UTC) From: Huacai Chen To: Linus Torvalds , Arnd Bergmann , Huacai Chen Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Guo Ren , Xuerui Wang , Jiaxun Yang , Huacai Chen Subject: [GIT PULL] LoongArch fixes for v6.8-rc6 Date: Sat, 24 Feb 2024 16:53:53 +0800 Message-ID: <20240224085353.2066777-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791769833883115894 X-GMAIL-MSGID: 1791769833883115894 The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d: Linux 6.8-rc5 (2024-02-18 12:56:25 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.8-3 for you to fetch changes up to f0f5c4894f89bac9074b45bccc447c3659a0fa6f: LoongArch: KVM: Streamline kvm_check_cpucfg() and improve comments (2024-02-23 14:36:31 +0800) ---------------------------------------------------------------- LoongArch fixes for v6.8-rc6 Fix two cpu-hotplug issues, fix the init sequence about FDT system, fix the coding style of dts, and fix the wrong CPUCFG ID handling of KVM. ---------------------------------------------------------------- Huacai Chen (3): LoongArch: Disable IRQ before init_fn() for nonboot CPUs LoongArch: Update cpu_sibling_map when disabling nonboot CPUs LoongArch: Call early_init_fdt_scan_reserved_mem() earlier Krzysztof Kozlowski (1): LoongArch: dts: Minor whitespace cleanup WANG Xuerui (3): LoongArch: KVM: Fix input validation of _kvm_get_cpucfg() & kvm_check_cpucfg() LoongArch: KVM: Rename _kvm_get_cpucfg() to _kvm_get_cpucfg_mask() LoongArch: KVM: Streamline kvm_check_cpucfg() and improve comments arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 +- arch/loongarch/boot/dts/loongson-2k1000-ref.dts | 2 +- arch/loongarch/kernel/setup.c | 4 +- arch/loongarch/kernel/smp.c | 122 ++++++++++++++---------- arch/loongarch/kvm/vcpu.c | 81 ++++++++-------- 5 files changed, 113 insertions(+), 98 deletions(-)