Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-05-24 Thread Sukadev Bhattiprolu
Tyrel Datwyler [tyr...@linux.vnet.ibm.com] wrote: > > + vinst = &vas_instances[0]; > > + for_each_node_by_name(dn, "vas") { > > + rc = init_vas_instance(dn, vinst); > > + if (rc) { > > + pr_err("Error %d initializing VAS instance %ld\n", rc, > > +

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-24 Thread Tyrel Datwyler
On 03/30/2017 10:13 PM, Sukadev Bhattiprolu wrote: > Implement vas_init() and vas_exit() functions for a new VAS module. > This VAS module is essentially a library for other device drivers > and kernel users of the NX coprocessors like NX-842 and NX-GZIP. > In the future this will be extended to ad

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-23 Thread Benjamin Herrenschmidt
On Thu, 2017-03-30 at 22:13 -0700, Sukadev Bhattiprolu wrote: > > + p = of_get_property(dn, "vas-id", NULL); > + if (!p) { > + pr_err("VAS: NULL vas-id? %p\n", p); > + return -ENODEV; > + } > + > + vinst->vas_id = of_read_number(p, 1); of_property_read_u32(

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-23 Thread Benjamin Herrenschmidt
On Thu, 2017-03-30 at 22:13 -0700, Sukadev Bhattiprolu wrote: > +config VAS > +   tristate "IBM Virtual Accelerator Switchboard (VAS)" CONFIG_IBM_VAS or PPC_VAS ... too high risk of collision otherwise Ben.

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-04 Thread Sukadev Bhattiprolu
this will be extended to add support for user space > to access the NX coprocessors. Add "depends on PPC_64K_PAGES" to the Kconfig for VAS. --- >From ff6fb584282363f6917fd956ccac05822d1912d7 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Thu, 12 Jan 2017 02:16:10 -0500 Subject:

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-02 Thread kbuild test robot
Hi Sukadev, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.11-rc4 next-20170331] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sukadev-Bhattiprolu/Add-Power9-PVR/20170402-

[PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-03-30 Thread Sukadev Bhattiprolu
Implement vas_init() and vas_exit() functions for a new VAS module. This VAS module is essentially a library for other device drivers and kernel users of the NX coprocessors like NX-842 and NX-GZIP. In the future this will be extended to add support for user space to access the NX coprocessors. Si