Message ID | 20231020161529.355083-1-dwmw2@infradead.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp1168582vqb; Fri, 20 Oct 2023 09:16:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJKoe1su3+G26iE3I/elbnXzksVlC2BC5ALq3s0XxV2wWmwU5W7FvOSLLjzkui9uPhBQIq X-Received: by 2002:a05:6a21:4982:b0:179:fbd6:95f1 with SMTP id ax2-20020a056a21498200b00179fbd695f1mr2182145pzc.26.1697818573934; Fri, 20 Oct 2023 09:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697818573; cv=none; d=google.com; s=arc-20160816; b=gnhMTGIWy2tEUSoGoIqgLUXpneBlqDF02hLWJoOGPCIEyDjvhurT31EQdUob+6Yrks OG90n7J0tLYBRQYnFN9AZz2u5v5quJCEBJz8iKjIZsAMNToHdSmyx5CO0sviNDqPqwth e32LFWW3vrncYWTwmiM6FgjNLUjn3n/ZyAVwh5rwnvICOekTp2E2dU8T4E2HJtaz9tJk sPszJmv46/xzLK009MmZjJmvP5uPQyL8iWRfhYorE66dc0qSbMCfAUMOE8XM/FtAHvvB X+6y/QLUGQrp9+0M2aFuwnNjhwKSYyedAgC3cxOzBo1fKLISf577EeZGJCByX/H9xrVT z4xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+yckRkFG8qkJeHSM7gJpLJWXmYYcv8nGS7sjBbidu2o=; fh=hRowg7FHjFkNvsaqzIhvo3cvY/I4Cr+L17V0ykyMVw0=; b=mYpGl9QjK7dTd7mpuX5jvboJK9sSiKcl1CV0cxMu3WMe42cT548AdQVrUkYKJC8/Zu uUrDyhLeTyrdg+0btoYNt22RvfjOVcxL+/nPseZLOftZ72N2m6P+pEaFW5nvdZTZfHhY hPHPEbiqx3YYVaMqv189A7v/7V5k7N4Dn5reMiX7dXfjnb0C570etGSjojeqSwwyTajy Q3NnR+NPxwUGXvkNMxGCaOEf3Pb9c8+1y/p+f5j1PNZLzbGBTqvKZ6kXV1wvNG0DlViA CZ3Xtu8xDP3L5qMWMrZhLmJFx8mvvrjN+5+NER/fL63l/0wJWCInz3OUdCnJ/VzHW4MH RDIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=T0zKb6Qe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id e8-20020a056a0000c800b006901387b09bsi2074906pfj.344.2023.10.20.09.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 09:16:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=T0zKb6Qe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 713EE836B4E7; Fri, 20 Oct 2023 09:16:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377676AbjJTQQD (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Fri, 20 Oct 2023 12:16:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbjJTQP5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Oct 2023 12:15:57 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F35114; Fri, 20 Oct 2023 09:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=+yckRkFG8qkJeHSM7gJpLJWXmYYcv8nGS7sjBbidu2o=; b=T0zKb6Qe+rPgKfDjqH/Yy6akUz iPqrhSFIqIkEL5Zx1lo+Xf8Ln6ZtkAldLanYm/TC+BiWcrLRUcQ7aYSs2pLWZ2YieCBlAIb/k7M/7 t3T+lTc5eljToOU5aSM5pXsfSvxK9Kqe9iVLwwl353CI80nUZL3HYDGXD5o3LdUX5/eNgvAIVv7EA h8ATW3NHs8MGFwvwj64DIAwyJQi8A56iiBnF2Cp+Iyh66H0pPzt8sPBJ35utrpRCrdTMTH1lXlnPa PQqmwpaCOZlnPANH8XpVwHB5IUUFp0nTpjJIVqMv813nea7BnGnAGOxQKOJKJmeEKBsRlybO9JZKq ftfzAo2Q==; Received: from [2001:8b0:10b:1::ebe] (helo=i7.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qts9u-00E44D-7G; Fri, 20 Oct 2023 16:15:34 +0000 Received: from dwoodhou by i7.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qts9s-001UOT-0R; Fri, 20 Oct 2023 17:15:32 +0100 From: David Woodhouse <dwmw2@infradead.org> To: Juergen Gross <jgross@suse.com>, xen-devel@lists.xenproject.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Roger Pau Monne <roger.pau@citrix.com>, Stefano Stabellini <sstabellini@kernel.org>, Dawei Li <set_pte_at@outlook.com>, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Paul Durrant <paul@xen.org> Subject: [PATCH v2 0/3] hvc/xen: Xen console fixes. Date: Fri, 20 Oct 2023 17:15:26 +0100 Message-Id: <20231020161529.355083-1-dwmw2@infradead.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: David Woodhouse <dwmw2@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from <dwmw2@infradead.org> by casper.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 09:16:11 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780291808997719304 X-GMAIL-MSGID: 1780291808997719304 |
Series | hvc/xen: Xen console fixes. | |
Message
David Woodhouse
Oct. 20, 2023, 4:15 p.m. UTC
It started out relatively simple, fixing the fact that the secondary consoles didn't work at *all* due to bugs in the IRQ setup. There were one or two other simple fixes that I snuck into the same patch in v1. But it's much more broken than that, so split the fixes out, especially the last one for hot-unplug. Preserving the Reviewed-by: from Jürgen on the first two seems fair; the third patch is new and exciting but *does* fix the case of removing the console while userspace is spamming it. And all I really wanted to do this week was spin up a PV guest under KVM so I could play with its SMEP behaviour... David Woodhouse (3): hvc/xen: fix event channel handling for secondary consoles hvc/xen: fix error path in xen_hvc_init() to always register frontend driver hvc/xen: fix console unplug drivers/tty/hvc/hvc_xen.c | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-)