From owner-freebsd-arch@freebsd.org Mon Feb 22 01:42:50 2016 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ADD3AB0247 for ; Mon, 22 Feb 2016 01:42:50 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3ECF61750 for ; Mon, 22 Feb 2016 01:42:50 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-ob0-x234.google.com with SMTP id gc3so151648690obb.3 for ; Sun, 21 Feb 2016 17:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=7wJLdm/IFW50/TF6yFJ9eAhH31bCuO39UoelMNJIx6A=; b=FNdsT7DR/mGt9d6It77eX/l5kUjfZD1itNiGB2tO5RcESxI0uBKqO8KDqMg+dDzD0S H1ViFTqqta/fuMeIstVRXgtknMh1y75eKFTfp+tqhnLiJE20gNKTajmq4UMqpKIFE8yB j6TpDX6HQ5xnpwZwcDobVA7oJBEkyFX9UHGIPdqyvvCrQkpfoWO5KmDPBtkgttEA8NNk ig4ZW7IP0McTqhbAyakRaz5s9fhOQTN6a9Yrq5RSlyUn9v2vJTlRBlqj/Se27OCleyCl 79MUqVHrSQFi7CdujXDspenJ/hHc7dDAZKjC8jeKOmExZwF38M7/X398FHJBpr4WTQ66 1LwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alumni-cwru-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=7wJLdm/IFW50/TF6yFJ9eAhH31bCuO39UoelMNJIx6A=; b=UEV6hGzxTd4YtffcGapXQ2EfYWGZsCrP7SsEQGqloULKhQ72OsNVAWBkJZKyvVdARt lNTGATnsVwk7Oa/7NWMqBPTFiQ5+K+/okm9CG6zr2l/3LpE6KVglx8Yie3SJrGrw0jEo ux0b/gCnv/EiXO/+DjG9s59MJ4aOdoksZPaQk0RUyCvtDLjcPcHfFMRodO7DA9uNpyCl Mkurjq4FtBv9nLshGEdFpTabuNE3+cXP6k/QxBfgPG6iL+6+3GpV9259XwMWFukPn9yD tt61gfrr5atiOIcNDBEEfMP7+l0wOEwXmAbVt+7LPbinVEx1ETpsH8nLB1ZzhUf7e0vd Sqmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=7wJLdm/IFW50/TF6yFJ9eAhH31bCuO39UoelMNJIx6A=; b=ZTTjmE3PD0h5Egw6Modh/bnYkePdOsuk3C/SWujBLP6TyGC9D4g4oPltX5y9L+qXWQ CpAMYE6NwrGrFalJoy8/wbDM68fU8rN6IIZ6MAxoNJQfXmqN+BBNnNkKYHzxwt+ak+vY gCeIFylMuJ/u5jpbPDCYCG4t3lADeQ/JZ79QLUGwARdWTR4lG5F8rFTGvZrn+ScyWRvh h2FVx4zKz58CW2r+LVLhxAutt8kvNmLvMNHdOSFggrPa1Si0nJbrHImLxt4DI2bdi4m1 LatPnpcyy4YncoqtNXkmSfuN00f31yP+9sNHhgUJDhGFFStPWJFNo6A//WT1QezznjpH 0X7g== X-Gm-Message-State: AG10YOTQ706tSZ3BZUCh8vlXpKqu4DqrFwTkC9x3Aqu2dwvCzMEy+MtG0mJtbA0uPFCoGTF1SmR1hN68NG4lTw== MIME-Version: 1.0 X-Received: by 10.60.83.98 with SMTP id p2mr5878495oey.16.1456105369409; Sun, 21 Feb 2016 17:42:49 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.182.33.8 with HTTP; Sun, 21 Feb 2016 17:42:49 -0800 (PST) Date: Sun, 21 Feb 2016 19:42:49 -0600 X-Google-Sender-Auth: OnnWK22CRiJTmUqbLKEBPVrLyY8 Message-ID: Subject: RF_CACHEABLE flag From: Justin Hibbits To: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 01:42:50 -0000 The Freescale/NXP Datapath Acceleration Architecture uses both cache-inhibited and cache-enabled memory regions for buffer portals. This doesn't quite fit right into the existing framework, so I've added to my personal repo (on github) a RF_CACHEABLE flag to be used by this. Now that I'm ready to commit the driver to head, I want to float this on -arch to get opinions. I did consider another route, using bus_space_map()/bus_space_unmap(), and stashing sizes around, but adding a simple flag to rman would take care of all the details, and rman already knows all the other details for the region anyway. I put the diff on phabricator, at https://reviews.freebsd.org/D5384 . Thoughts on this? - Justin