From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754975AbbA2QMr (ORCPT ); Thu, 29 Jan 2015 11:12:47 -0500 Received: from outbound-smtp01.blacknight.com ([81.17.249.7]:55022 "EHLO outbound-smtp01.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448AbbA2QMq (ORCPT ); Thu, 29 Jan 2015 11:12:46 -0500 Message-ID: <54CA5BFC.5030301@nexus-software.ie> Date: Thu, 29 Jan 2015 16:12:44 +0000 From: "Bryan O'Donoghue" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Ong, Boon Leong" CC: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , "dvhart@infradead.org" , "linux-kernel@vger.kernel.org" , Andy Shevchenko , Ingo Molnar Subject: Re: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000 References: <1422470186-7860-1-git-send-email-pure.logic@nexus-software.ie> <1422470186-7860-2-git-send-email-pure.logic@nexus-software.ie> <20150129074411.GA4817@gmail.com> <54CA0782.8000807@nexus-software.ie> <54CA502D.9030307@nexus-software.ie> <54CA546B.3040704@nexus-software.ie> In-Reply-To: <54CA546B.3040704@nexus-software.ie> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/01/15 15:40, Bryan O'Donoghue wrote: >> It would be nice to have two variants (1) index based & (2) address >> based. > > Understood. The direction from Ingo was to have address based external > interface imr_del_range() and support an index based internal > imr_clear() - internally. > > So - in order to get test coverage - I'll move the self-test code back > into the main IMR code > > Not as pretty that way - but better coverage :) Talking to myself in public... Second (third) thought - there's no advantage to moving the test code back in - since imr_add_range() won't return the index anymore...