Re: [V3 PATCH 10/16] powerpc/pseries/vas: Integrate API with open/close windows

2021-05-09 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of April 18, 2021 7:08 am: > +static int deallocate_free_window(struct vas_window *win) > +{ > + int rc = 0; > + > + rc = plpar_vas_deallocate_window(win->winid); > + if (!rc) > + kfree(win->lpar.name); Oh, did this kfree sneak in here?

Re: [V3 PATCH 10/16] powerpc/pseries/vas: Integrate API with open/close windows

2021-05-09 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of April 18, 2021 7:08 am: > > This patch adds VAS window allocatioa/close with the corresponding > HCALLs. Also changes to integrate with the existing user space VAS > API and provide register/unregister functions to NX pseries driver. > > The driver register

[V3 PATCH 10/16] powerpc/pseries/vas: Integrate API with open/close windows

2021-04-17 Thread Haren Myneni
This patch adds VAS window allocatioa/close with the corresponding HCALLs. Also changes to integrate with the existing user space VAS API and provide register/unregister functions to NX pseries driver. The driver register function is used to create the user space interface (/dev/crypto/nx-gzip)