Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1134567rdb; Fri, 20 Oct 2023 09:16:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEkrdBnQM5GYXb4/aRJ6eZ1vIm4PV0gBi8i1CNwXVa4VW9BDExwOL3tgCsfv341JuPdRgD X-Received: by 2002:a05:6358:e49b:b0:142:f1d5:ef89 with SMTP id by27-20020a056358e49b00b00142f1d5ef89mr2162565rwb.5.1697818576076; Fri, 20 Oct 2023 09:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697818576; cv=none; d=google.com; s=arc-20160816; b=JSV5pNe98WQLvhP9nGVcFheO76DLowMoLr9HKifOsW/c4bqNz8jwrU4wRC+f/rfPD6 nIawbk59+BwUbt6C227BKbliFOIsNK42/VlV5UFyYpfs3+LcZDLiRyG06fdD89Xy2z0C a8eL3WcOHOnQdFX3ZbClhPsuHqE92Qvoyx7/98YRJaMwB9/sN88AQx4GUywSpdkaUU/n dBghiJpPn5QWhjxlDwurPqSZ1tPIZgxP7d4fpTsULaIJYYmNVqATT9JZkkTXkcPYY+UN L5n2SLuiQLAb4eqL5WYys7OOVXUCXYYW2wxkmx6ImJ3rMQpJVPNUHkhAi6+3WHESBHD5 /EwQ== 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 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k11-20020a637b4b000000b005ac86e7df6esi2135017pgn.363.2023.10.20.09.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 09:16:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; 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 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 2616882D1C30; Fri, 20 Oct 2023 09:16:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjJTQQC (ORCPT + 99 others); Fri, 20 Oct 2023 12:16:02 -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 ); 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 To: Juergen Gross , xen-devel@lists.xenproject.org Cc: Greg Kroah-Hartman , Jiri Slaby , Roger Pau Monne , Stefano Stabellini , Dawei Li , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Paul Durrant 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 X-SRS-Rewrite: SMTP reverse-path rewritten from 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 09:16:13 -0700 (PDT) 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(-)