Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038AbcLGQYy (ORCPT ); Wed, 7 Dec 2016 11:24:54 -0500 Received: from mail-by2nam01on0110.outbound.protection.outlook.com ([104.47.34.110]:61263 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751710AbcLGQYw (ORCPT ); Wed, 7 Dec 2016 11:24:52 -0500 From: KY Srinivasan To: Olaf Hering CC: "vkuznets@redhat.com" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" Subject: RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel Thread-Topic: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel Thread-Index: AQHSUGcX2rMR2fVQK0y/0wJ0y+Ek/aD8lNrQgAAMiQCAAAVI4IAAA+WAgAAA0EA= Date: Wed, 7 Dec 2016 16:24:51 +0000 Message-ID: References: <20161207085110.GC1618@aepfle.de> <7CEFFEF3-911A-4D37-AC37-DF8C6A3395BF@aepfle.de> <20161207161929.GD1618@aepfle.de> In-Reply-To: <20161207161929.GD1618@aepfle.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; x-originating-ip: [2601:600:8c00:1040:610d:6d5b:cbd7:998c] x-ms-office365-filtering-correlation-id: e79ea10b-c4c2-410e-f1e8-08d41ebd9227 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR03MB2492; x-microsoft-exchange-diagnostics: 1;DM5PR03MB2492;7:N4XxBFbZCvBZLjjQfFw+uq5jLdFpMQSi/UYbKqUAnE4es718OkmVIRuB379W7d7UgEIPbWnfMgerEh8Qo/+7955mszqeVCpn0Wut8xO9EtGF5lIxzo3vaa4P266HZI9QW5lVyYOC7D27W+EVN+SCt1AABnLu4Yq/kboPwZXAP2aQa14b9znATQGvUA78j/lyMTCDR5ZtmB6Jjyutzwbjq8mMCSMHBh+GeNaFOqgb+2KNrRn03dos+mCFF4B44hmndjkz/eQWwo8htAlDdJLqceisN4EUlxPmNV8VvDIshpl0L8Xwbx3eHhG/VWwR7Qf/L1ayG681onoCWTEBqk7dt+UmMZWjuEx7XDR5n1lkZG4++LHSVfU+eOTZk3xGAkMCREHVXslLvIduNyZ7pm0j3XHQlLzwJX1e13PnEUrZy+B7GhwdW+37MTMMC0bQ+NrN8YGlTwSWtyf/uJfdm27z2DUVikoQk6quMGgKIWpCZVY= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558021)(6047074)(6072148);SRVR:DM5PR03MB2492;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2492; x-forefront-prvs: 01494FA7F7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(24454002)(189002)(13464003)(377454003)(199003)(76576001)(76176999)(3660700001)(99286002)(105586002)(106356001)(93886004)(106116001)(3280700002)(7736002)(7846002)(101416001)(50986999)(54356999)(305945005)(74316002)(68736007)(2906002)(102836003)(39450400002)(9686002)(81156014)(8676002)(81166006)(33656002)(39860400001)(110136003)(122556002)(39840400001)(39850400001)(97736004)(6506006)(77096006)(39410400001)(229853002)(8936002)(6116002)(38730400001)(6916009)(189998001)(5005710100001)(2950100002)(86612001)(2900100001)(10290500002)(5660300001)(7696004)(8990500004)(4326007)(92566002)(86362001)(10090500001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR03MB2492;H:DM5PR03MB2490.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2016 16:24:51.4605 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2492 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uB7GOwk8032059 Content-Length: 967 Lines: 27 > -----Original Message----- > From: Olaf Hering [mailto:olaf@aepfle.de] > Sent: Wednesday, December 7, 2016 8:19 AM > To: KY Srinivasan > Cc: vkuznets@redhat.com; gregkh@linuxfoundation.org; linux- > kernel@vger.kernel.org; devel@linuxdriverproject.org > Subject: Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to > kdump kernel > > On Wed, Dec 07, KY Srinivasan wrote: > > > Is there a mechanism for stashing away state that can be retrieved in > > the context of the execed kernel. > > I have to find out. To simplify things the new approach may only be used > in the kdump case, which already passes various info in cmdline. Most > likely there is a way to preserve a few gpfns with the relevant data. May be a better solution might be to have a new mechanism to indicate to the host that all state of the previous incarnation of the kernel needs to be cleaned up. This will be close to what we have on hardware. K. Y > > Olaf