Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vWzD937sNzDqC0 for ; Mon, 27 Feb 2017 21:56:41 +1100 (AEDT) From: Michael Ellerman To: Andrew Donnellan , Oliver O'Halloran Cc: Matt Brown , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v3] powerpc/powernv: add hdat attribute to sysfs In-Reply-To: <20170224062054.31408-1-matthew.brown.dev@gmail.com> References: <20170224062054.31408-1-matthew.brown.dev@gmail.com> Date: Mon, 27 Feb 2017 21:56:40 +1100 Message-ID: <87lgsrrjfb.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Matt Brown writes: > diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c b/arch/powerpc/platforms/powernv/opal-hdat.c > new file mode 100644 > index 0000000..3315dd3 > --- /dev/null > +++ b/arch/powerpc/platforms/powernv/opal-hdat.c > @@ -0,0 +1,65 @@ ... > + > + > +/* HDAT attribute for sysfs */ > +static struct bin_attribute hdat_attr = { > + .attr = {.name = "hdat", .mode = 0444}, ^^^^ ajd and oohal report to my office. cheers