Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp103332ybj; Thu, 19 Sep 2019 11:21:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaJjiem5EqAnShe7loV4vsuDjtkbeGG3EJJm5bfCzAyKPVoCpWNusVoAn5FJgzPpkQ2V2e X-Received: by 2002:a17:906:31c3:: with SMTP id f3mr15903649ejf.296.1568917279491; Thu, 19 Sep 2019 11:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568917279; cv=none; d=google.com; s=arc-20160816; b=O3U+CUVwHl9HBdr3qTo9SzuuXeAUtkPiyQyoZlX7li9TdPRXdsBWodYUTJyDc5v3c4 N+Qpr4W7b9amctSD7CLoLGHrYb2/5hImZUqo5iUCdJzbC1Ul5D5X4wy8GetK/CESh9tR rpUn8oTVkKBLoAjG6f+57YoKkuF1P/Y2niMjlHVNh77e5prPaWRsJuA1oDPj0X1U9wGU QKDtFV1BwpHjQNl7NOrEf++cBiJcxoBptyiXqpu1iMSC339AsHOo6M4McB98nVfWJxtY uqJQkGlpDzkCkIgo5GNw+uCW94Tcws7ZcmS83gu+UDi4F1xwoUSongMn5exTp2q/3wXe eBeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=Uz6XAX/oqPfVhDFsIBCfW2F58IYUq5qo3cd0bv49kzM=; b=szeEDGxx4wl3iSdVuNH47sVfdpgtQt/97SmG3ZnMYCMGY5y56fAHWnOKV5q7q2mETF gR1wUzajN431x4yNmQlNCp1sKGa1k1J+PeqmcDChOwenm6oCl2c5GFP/xFeDL+GCzoyt FkQWGExZAAY2h4VBdC6zpDVul0FNPzhgc3jyktMnDK5rIuanxKm9dcIoq31Jf88RsSpb JAXQW2Cxl6WP5JEzKHMmSLNqgMLmHCgpNRJ8T7kUqXFb5gDvB3shmVbySX9J4lj+teB1 8Tp7h7AjxltCAwb5LfpNdIZGuKYAVqev+otmsL60OCm6ETe1QmnWFlrf9Pdq3Pj6Ravy LpjA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si836403ejs.197.2019.09.19.11.20.55; Thu, 19 Sep 2019 11:21:19 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391454AbfISPvg convert rfc822-to-8bit (ORCPT + 99 others); Thu, 19 Sep 2019 11:51:36 -0400 Received: from mga04.intel.com ([192.55.52.120]:2484 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390134AbfISPvf (ORCPT ); Thu, 19 Sep 2019 11:51:35 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2019 08:51:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,524,1559545200"; d="scan'208";a="388328357" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga006.fm.intel.com with ESMTP; 19 Sep 2019 08:51:35 -0700 Received: from orsmsx116.amr.corp.intel.com (10.22.240.14) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 08:51:34 -0700 Received: from orsmsx115.amr.corp.intel.com ([169.254.4.199]) by ORSMSX116.amr.corp.intel.com ([169.254.7.232]) with mapi id 14.03.0439.000; Thu, 19 Sep 2019 08:51:34 -0700 From: "Luck, Tony" To: James Dingwall , "linux-kernel@vger.kernel.org" CC: Kees Cook , Anton Vorontsov , Colin Cross , Boris Ostrovsky , Juergen Gross Subject: RE: pstore does not work under xen Thread-Topic: pstore does not work under xen Thread-Index: AQHVbtTEG3HZwn8Lm06tueedx7eTRqczJUnA Date: Thu, 19 Sep 2019 15:51:33 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F7F472015@ORSMSX115.amr.corp.intel.com> References: <20190919102643.GA9400@dingwall.me.uk> In-Reply-To: <20190919102643.GA9400@dingwall.me.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjYwYWNjODgtZDVhOS00ZWQyLWEyNjItNTA1YmZmYTJkNWQyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQnJzNkJ1NUpKMFRpTnAxb0pxRVlLVkJcLzF0ZXJza1h3Q1pHeVJheXJaUldKWVFZRHpEMFRwYUdHTkZxT3gxdEsifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I have been investigating a regression in our environment where pstore > (efi-pstore specifically but I suspect this would affect all > implementations) no longer works after upgrading from a 4.4 to 5.0 > kernel when running under xen. (This is an Ubuntu kernel but I don't > think there are patches which affect this area.) I don't have any answer for this ... but want to throw out the idea that VMM systems could provide some hypercalls to guests to save/return some blob of memory (perhaps the "save" triggers automagically if the guest crashes?). That would provide a much better pstore back end than relying on emulation of EFI persistent variables (which have severe contraints on size, and don't support some pstore modes because you can't dynamically update EFI variables hundreds of times per second). -Tony