Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp340562ybv; Wed, 19 Feb 2020 00:30:01 -0800 (PST) X-Google-Smtp-Source: APXvYqx9KlPEunlDRmlowjtmQ9Cxp1IE450hsk/kkjxD5u4jaljuzl+ut9fwnvbC5ac2X3fCguCV X-Received: by 2002:aca:1c09:: with SMTP id c9mr4017846oic.85.1582101001417; Wed, 19 Feb 2020 00:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582101001; cv=none; d=google.com; s=arc-20160816; b=I3JW188Otsi9WplFu08hsrEIuUNnYouWlqT8Z9hRnHI+c0tkKFBscrbKHNuT5agGj4 HMl0EHfRy/bj92IVLYqY8xS5x/XArE9l+zf1Cp0XutxdspUZ63SLRkSmlO8+cvuTINSC anIQb2Ms0NqQEi0EdwysAfUhGwiJah2nffumed5WR998kuOjMPpsPg6ijG5wgFKWVwNd k88/q1HEVe4xhbT8wXuYdOQoTx/9VecZ3HWnqM5ZEs6o/qZrWbqI6FcGXsbaqqONEy2c Vm+ZDCpq1hP43l2PKrdk/qMZmo/kK46M779MgPtdDHiKPWT2y1sUJ2doiu36+Q1qbWBH 3unQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=O9+02/gQKMsplcAN9fyadNeM4Hj9FlgE7tkTL0UtMXo=; b=hHAc3d2D92Kki8muO++WTCuJRof2sJwUztK7zfu/DMNl3ivBzuUlhCEZ7EePoE11wF /vNSjE2ehEk6yuV2EtUEL3fLNhAlkZcrAgrLoc8heMmgFGIDZJurGePLpaYu43kTxtTG dKb8uVy5Tiq+Y65Xm+q7g2vD5PO6xCdc0q4yyeNLIc/QvC/PKCLHS1iQwqnvX+K6G9+C ROzy3FLDFd39puAM6Xb8jLI9qw5Qb9TrStTCwuuXf2MmJB7/kG5TNPZxnSUoXazt8lw+ 63LZjWWkrHnkqsor8nQATxs3nfQF3//PeDXxoRx4eQoAHzCeB74boaijnZx8rYg36LSY EEIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si9503091oij.270.2020.02.19.00.29.49; Wed, 19 Feb 2020 00:30:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726514AbgBSI3o (ORCPT + 99 others); Wed, 19 Feb 2020 03:29:44 -0500 Received: from mx2.suse.de ([195.135.220.15]:37240 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbgBSI3o (ORCPT ); Wed, 19 Feb 2020 03:29:44 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 15EADAD46; Wed, 19 Feb 2020 08:29:42 +0000 (UTC) Subject: Re: [PATCH] x86/ioperm: add new paravirt function update_io_bitmap To: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , Thomas Gleixner Cc: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Thomas Hellstrom , Stefano Stabellini , "VMware, Inc." , stable@vger.kernel.org, Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Boris Ostrovsky References: <20200218154712.25490-1-jgross@suse.com> <87mu9fr4ky.fsf@nanos.tec.linutronix.de> From: Jan Beulich Message-ID: Date: Wed, 19 Feb 2020 09:29:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19.02.2020 06:35, Jürgen Groß wrote: > On 18.02.20 22:03, Thomas Gleixner wrote: >> Juergen Gross writes: >>> Commit 111e7b15cf10f6 ("x86/ioperm: Extend IOPL config to control >>> ioperm() as well") reworked the iopl syscall to use I/O bitmaps. >>> >>> Unfortunately this broke Xen PV domains using that syscall as there >>> is currently no I/O bitmap support in PV domains. >>> >>> Add I/O bitmap support via a new paravirt function update_io_bitmap >>> which Xen PV domains can use to update their I/O bitmaps via a >>> hypercall. >>> >>> Fixes: 111e7b15cf10f6 ("x86/ioperm: Extend IOPL config to control ioperm() as well") >>> Reported-by: Jan Beulich >>> Cc: # 5.5 >>> Signed-off-by: Juergen Gross >>> Reviewed-by: Jan Beulich >>> Tested-by: Jan Beulich >> >> Duh, sorry about that and thanks for fixing it. >> >> BTW, why isn't stuff like this not catched during next or at least >> before the final release? Is nothing running CI on upstream with all >> that XEN muck active? > > This problem showed up by not being able to start the X server (probably > not the freshest one) in dom0 on a moderate aged AMD system. Not the freshest one, yes, but also on a system where KMS would not be available (my success rate with KMS is rather low overall, and with newer Linux I see rather more systems to stop working than ones to become working, but I simply don't have the time to investigate). Jan