From patchwork Sat Feb 25 22:10:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13152279 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B25F3C7EE2D for ; Sat, 25 Feb 2023 22:10:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbjBYWKv (ORCPT ); Sat, 25 Feb 2023 17:10:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbjBYWKu (ORCPT ); Sat, 25 Feb 2023 17:10:50 -0500 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B21D1144B1 for ; Sat, 25 Feb 2023 14:10:48 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 270085C00E3; Sat, 25 Feb 2023 17:10:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 25 Feb 2023 17:10:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1677363048; x=1677449448; bh=7H3xOCblkx8u2nNkjAYxyVG6H wUZpn5p6UZRiNlKWIU=; b=Q4ojiYDZbQH/OMwuM0gsH006YEao9TEpt2hQMwGlB bcHoycCaKfo4RabKvXmoKhpRULSiXMT2Jgl7AZDq7pHwZ7obDIAnDkttjsbjoW3d STXDjypg4Ymk12Boz2BmKvIz5Yg+YDQGwE1IgnJ/2VoKAQ+xHjuC3uzpKyrvHfy6 ksYXngtjpTKGld0VItO7Ve2xODFQlyB6+S8hezGYIl/r7lJhxDQuMfLh13Ou9pDA QbnqCoHWmvgCpoG+CG2Bn0PVbrH7e25NgQHLqUPiqsdm3HwcjSg3whcE4pzHeFkN 3VBJUJQZpE1kxQqitx5mgbW61cNmvjy7nA2LSZ0wnkFog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1677363048; x=1677449448; bh=7H3xOCblkx8u2nNkjAYxyVG6HwUZpn5p6UZ RiNlKWIU=; b=HhmNndd+iKf7V1/Qy9dA0RRVGYXlYjJFA+UopeNb2NivbGaY8y9 /SStX1TjqzPpl/YXcaQWAi0+SZcGFJf0bI62CjJMwUI+lP/plpHp8q+D6UG+4Nbl 6WN+hLcTFGwjJmPFBk7K88ao9800UXeQVNEvUnuMRIH3nT0PymLEitGOfhyXL3do u77bhfdoIYgST3By770tE0sJ/WRvHfDPlrQdMUtk3Ci/ji1+RbRrMC5OYdRJQQX2 KX1ycrFoX2FcaboTQNUvVhmwSkC1sJ5L0lO1QPA3PeO8EYgtW/lGCfkeK5FTzUuR e6NVLooQ1VZ7KRA0auKO4W4iQAReYlM1wzw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekiedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhephfetuddtudevieeljeejte ffheeujeduhefgffejudfhueelleduffefgfffveeknecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Feb 2023 17:10:47 -0500 (EST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, Jiaxun Yang Subject: [PATCH 0/2] MIPS Booting fixes Date: Sat, 25 Feb 2023 22:10:06 +0000 Message-Id: <20230225221008.8520-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hi all, This patchset fixes two issues that was found when doing reboot stress test on Malta/Boston board with various MIPS cores. Perhaps they should go through the mips-fixes tree. Thanks Jiaxun Yang (2): MIPS: smp-cps: Don't rely on CP0_CMGCRBASE MIPS: cevt-r4k: Offset counter value for clearing compare interrupt arch/mips/include/asm/smp-cps.h | 4 ++++ arch/mips/kernel/cevt-r4k.c | 3 +++ arch/mips/kernel/cps-vec.S | 35 ++++++++++++++------------------- arch/mips/kernel/smp-cps.c | 2 ++ 4 files changed, 24 insertions(+), 20 deletions(-)