From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [BACKPORT 4.4.y 02/25] ALSA: compress: add support for 32bit calls in a 64bit kernel Date: Sat, 30 Mar 2019 10:40:39 +0100 Message-ID: <20190330094039.GA17316@kroah.com> References: <20190322154425.3852517-1-arnd@arndb.de> <20190322154425.3852517-3-arnd@arndb.de> <20190326010911.GB29420@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: "# 3.4.x" , Vinod Koul , Jaroslav Kysela , Takashi Iwai , Ravindra Lokhande , Vinod Koul , Takashi Iwai , Mark Brown , Srinivas Kandagatla , Joe Perches , Dan Carpenter , ALSA Development Mailing List , Linux Kernel Mailing List List-Id: alsa-devel@alsa-project.org On Tue, Mar 26, 2019 at 08:55:14AM +0100, Arnd Bergmann wrote: > On Tue, Mar 26, 2019 at 2:23 AM Greg KH wrote: > > > > On Fri, Mar 22, 2019 at 04:43:53PM +0100, Arnd Bergmann wrote: > > > From: Ravindra Lokhande > > > > > > Compress offload does not support ioctl calls from a 32bit userspace > > > in a 64 bit kernel. This patch adds support for ioctls from a 32bit > > > userspace in a 64bit kernel > > > > > > Signed-off-by: Ravindra Lokhande > > > Acked-by: Vinod Koul > > > Signed-off-by: Takashi Iwai > > > (cherry picked from commit c10368897e104c008c610915a218f0fe5fa4ec96) > > > Signed-off-by: Arnd Bergmann > > > --- > > > sound/core/compress_offload.c | 13 +++++++++++++ > > > 1 file changed, 13 insertions(+) > > > > How is this not a "new feature"? What bug does this fix? Has this ever > > worked in the past? > > It has never worked in the past, but I consider it a bug for the compat layer > to behave differently from native code. In this case, any 32-bit application > using the SNDRV_COMPRESS_* ioctls will just fail to do anything on > a 64-bit kernel at all without the trivial fix that should have been there when > the driver was originally merged. Ok, fair enough, now queued up. greg k-h