From patchwork Mon Apr 24 10:31:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 8589 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2642776vqo; Mon, 24 Apr 2023 03:34:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YNFs5nmZpUbICcdJdmMVwQEPIaBA871bFI25rj9cbMSvWgHKsK621aG1OChc51bePTVuAZ X-Received: by 2002:a05:6a20:7fa4:b0:f5:e533:4dc2 with SMTP id d36-20020a056a207fa400b000f5e5334dc2mr79456pzj.12.1682332447085; Mon, 24 Apr 2023 03:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682332447; cv=none; d=google.com; s=arc-20160816; b=s3nv3PO/uiVungRo1xkK/0VpRG71U6NbVKWuM3ivsMhac0Z6+TXQlC6nAYyaUBI2nE 94Asx8WeuKtgvIBFEEdLKUd2/d/1Skf5YWKxEOiyDsmy+D/0PeriYlATB9B8KwWL73yU DMIkud6k97JTFYEd91nuAySfcYRJIPSnMmXMjmEL9fc2POX8clji4uFrlDYIvWelu5AH 9fWZiOpRtRwHQQh3/9H03mL7pZlWv+UwyMj4Zu0Sv9s4XCjaChy/0b6+ExvRJsePgd9f MRApwTF7SVDIJPiz3PwLv+bflKmeqWGzSHAiYLweq4hwE3Ip8uwmq27IMmc0Vpbwk1D/ CcKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=tdIAU1QeGG0LMr63T+Ys43nJbPa8UgQj9W1zWge6JMM=; b=FG3VZOeqIC/ihVWXAkoRcWwVtO94bTleoaDKTwv8Ly24x0mq8pW9V9UH2YHmFHEkOs yt6tSpuEpWOvAd3sWUbskON79BDOxYKBzg+0EHmZTkfwOACqKaaColtZlPe0e0Ar96pN A5t4BgFHhYSPYwLHaGMiptQMjdooGLWeVln9TUaEM1RaK2nZZzKlrn1omJT0ep2Ij/xH dzrT5ur9srrkC1XM2lPXPZXaYqq1G5c+syGwPPE9ESTYm8BAYfJGggP3WsKESbTEQgcE 0LTXI99Zq//z4v55VKyUF5vI3MxsC/kkjZGa+KgVhcJxlBsERZb2+RH7y+yaknU+vSe1 jeVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=AxRCJ31C; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=gyARfQGn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a63eb41000000b0051b8a81c5d0si10759963pgk.606.2023.04.24.03.33.52; Mon, 24 Apr 2023 03:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=AxRCJ31C; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=gyARfQGn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229581AbjDXKcf (ORCPT + 99 others); Mon, 24 Apr 2023 06:32:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbjDXKcY (ORCPT ); Mon, 24 Apr 2023 06:32:24 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3523B26BD; Mon, 24 Apr 2023 03:32:23 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8438B320093A; Mon, 24 Apr 2023 06:32:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 24 Apr 2023 06:32:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1682332340; x=1682418740; bh=tdIAU1QeGG 0LMr63T+Ys43nJbPa8UgQj9W1zWge6JMM=; b=AxRCJ31CHjixpVL64UiWBEaYGP Jh0Qw+ASKQUQb+Yf8t8IK9cgkERQjgP4qS6QpkDZxU/Z73JWqP2LLnbG68ZkvinS eVbc1d/tDVqwmMl0ivDf7ViuOHcRlSJFIJkCtOV54rt7RzSy65r51KzfqrecJW+X ezoSVR0ho+AbI240uPRBIp7FS3z35fWf/4zzH/h/PS09kILtkWVSYO977QdiL3EG L1sbjQ51alseebnK+26UVZo7bS15lGiPP5zSUwn5hbtjpqpZJLStlAdzRbxDBGxv amjTWbPkoPy717zgqbzUFdVmS/V28Ps4tAM/OiILYxbqV0T47dzteTje4fyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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=fm3; t=1682332340; x=1682418740; bh=tdIAU1QeGG0LM r63T+Ys43nJbPa8UgQj9W1zWge6JMM=; b=gyARfQGnU6+VHHPQOsg9O9QhucwuP jg/3eXun6Mj9XIVPdPU2DVrRGSBAwkzQbtwLWVTk4Q+qWZYH2/3E9VtXMBgdXt1f N/c1dO9EjVburbz6o+xd1ZUTDyX/PQ9PZtHtcDTA5RwutuRhYmnSgKGNstwmtDEQ p30a1jg/el/3/LMvdjpZb7KXxSr+zw5rymNm+ZHvJpsdHowVkRxg1K5wb8KuIouf EPq2ENaPbnHex5hs3oWqOKSDRA+eUizTPrXoAtMZep/tVmn91zys1x0qvf94CXxl idEWXyU36o0aQxxXb96EDW2MUXXd81k4XigO2czO6GhBaBOdbHEU7yVoA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedutddgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhephfetuddtudevieeljeejte ffheeujeduhefgffejudfhueelleduffefgfffveeknecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Apr 2023 06:32:18 -0400 (EDT) From: Jiaxun Yang To: maz@kernel.org Cc: tsbogend@alpha.franken.de, fancer.lancer@gmail.com, tglx@linutronix.de, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Jiaxun Yang Subject: [PATCH 0/2] irqchip/mips-gic fixes Date: Mon, 24 Apr 2023 11:31:54 +0100 Message-Id: <20230424103156.66753-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764053428022511986?= X-GMAIL-MSGID: =?utf-8?q?1764053428022511986?= Hi all, This patchset fixes two issues in the MIPS GIC driver that may block booting on some systems. Please review. Thanks Jiaxun Yang (2): irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable irqchip/mips-gic: Use raw spinlock for gic_lock drivers/irqchip/irq-mips-gic.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) Tested-by: Serge Semin