Received: by 10.223.185.111 with SMTP id b44csp50508wrg; Fri, 9 Mar 2018 00:38:39 -0800 (PST) X-Google-Smtp-Source: AG47ELswDe1Qhb0ijYOzcC/keDxJJn7f92Ny1X0zVdsLuTPBrzO5NDVN1CUqqaFV14Tv/SZS0m64 X-Received: by 10.101.64.194 with SMTP id u2mr23742846pgp.280.1520584719018; Fri, 09 Mar 2018 00:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520584718; cv=none; d=google.com; s=arc-20160816; b=yOiFePwWyY0Sf+5dNpp49eRIFzlj3QX4Ip29/NQf9jxnlLG2aF6dHwcqA5mVJz4HYb 4HWeHKhrvs/Zf9QPTZ2wJ0V6cJSYFR4ztc+t6pnun9DQI4B1mc7Wq+e+9efSf9vjc6w1 lhzi1YWRwmodZZBF7+aHXp9q6nAP7KxKj4aCoOnIsgRiSrZ5w8fNxBLkAb1+g2ixPMte LuzfuvpAVLq+gio+CLjwDam9ZiqvAOKwOcykNG1Iio3znDvJfCOeZyzDHDyFJqfAgtKb zOfjTQaQge4ErW8awBSSUOp2LNL5H4XmIqNcSs5QSOOH3cFU+bwxVrD68BaOgKzp9IUn TO9A== 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:arc-authentication-results; bh=H3VKhCCoowBj+mhjIJe9nkg4DdHLDArsB45VeorYIpE=; b=BmOydXjYj2DBGEWRlFBxs+diaiFm0mMROO0DBpZUWfV1LTmIL9LrHkpfq8cuJtfPIN aWsgRna9lS2dcf7mtdTBpVrzm5Oyr54EChenwZvnht7kvh20qnyQLmEL9e96yZ4bt17x AXlm83onEiYrVFtn9MnQQdfEcat1oTmx/n53JgQPVnLf4J0cdLKabM6wSFvpIXiCqsUo dntVtf1zM0vr8tRf1cTMHdqEMxuG0VLuc/4i3RA95Mx6dSkcYX5aXuhLYfeSZMfpyVlq aEFBmLvK51L8wBrdwir5Gngz8jls2di3MgCCR6TNIZvmAHAg8+dMBl3wgf0DdO7o/atY cJFw== 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 v32-v6si479490plb.631.2018.03.09.00.38.24; Fri, 09 Mar 2018 00:38:38 -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 S1752136AbeCIIhE convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Mar 2018 03:37:04 -0500 Received: from mga06.intel.com ([134.134.136.31]:21897 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbeCIIhC (ORCPT ); Fri, 9 Mar 2018 03:37:02 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 00:37:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,444,1515484800"; d="scan'208";a="33649772" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2018 00:37:02 -0800 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.126]) by ORSMSX104.amr.corp.intel.com ([169.254.4.210]) with mapi id 14.03.0319.002; Fri, 9 Mar 2018 00:37:01 -0800 From: "Prakhya, Sai Praneeth" To: Ingo Molnar , Ard Biesheuvel CC: "linux-efi@vger.kernel.org" , Thomas Gleixner , "linux-kernel@vger.kernel.org" , "Lee, Chun-Yi" , "Borislav Petkov" , "Luck, Tony" , Andy Lutomirski , "Michael S . Tsirkin" , "Neri, Ricardo" , "Shankar, Ravi V" Subject: RE: [PATCH 07/12] efi: Use efi_mm in x86 as well as ARM Thread-Topic: [PATCH 07/12] efi: Use efi_mm in x86 as well as ARM Thread-Index: AQHTtrPK9lah9E/Y50aW5dd4kdO5vqPIDIUA//+I8OA= Date: Fri, 9 Mar 2018 08:37:00 +0000 Message-ID: References: <20180308080020.22828-1-ard.biesheuvel@linaro.org> <20180308080020.22828-8-ard.biesheuvel@linaro.org> <20180309074034.put3ko6zxmaoizzr@gmail.com> In-Reply-To: <20180309074034.put3ko6zxmaoizzr@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWUxMzczZjktOGJiYy00YzY1LWFjNDktN2U5YjA4OTNjNDVhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJrdmNuWHozaDJ6ekNHT3VWYzNPZGh3UmpKTlJ0NDlHT2oxN2l3RUNVV1VNaHdjT0RDcWFFWkRBTjVcL2YrWGk2dSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.138] 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 > > diff --git a/include/linux/efi.h b/include/linux/efi.h index > > f5083aa72eae..f1b7d68ac460 100644 > > --- a/include/linux/efi.h > > +++ b/include/linux/efi.h > > @@ -966,6 +966,8 @@ extern struct efi { > > unsigned long flags; > > } efi; > > > > +extern struct mm_struct efi_mm; > > + > > static inline int > > efi_guidcmp (efi_guid_t left, efi_guid_t right) { > > Ugh, I can see three problems with this patch: > > 1) > > Why is the low level asm/efi.h header polluted with two of the biggest header > files in existence, to add a type to _another_ header (efi.h)? > > 2) > > Why is included if what is being relied on is mm_struct? > > 3) > > But even looks unnecessary in efi.h, a simple forward > declaration of mm_struct would do ... > > The high level MM and sched headers should be added to the actual .c files that > make use of them. Ok, makes sense. Sorry! for that. I will fix the issues. Regards, Sai