Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp2342448ybb; Sat, 30 Mar 2019 02:41:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMiXyR8ikMfp6iJiC95CuCQMBLhd/VeZYmqwnc2I8Nm2CQFJtgvh1zmB0RgxP7jVdlcE1z X-Received: by 2002:a63:ff26:: with SMTP id k38mr17788781pgi.123.1553938902656; Sat, 30 Mar 2019 02:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553938902; cv=none; d=google.com; s=arc-20160816; b=yoFDslHKjhQAafQpDTykZEEJqKyFMX+lBYfAfpM4t25DvmVGa1cgE/Br3G8f77NQsG cbKxFrux2yictlpuSsKvSFg4nkwdBJVwYGqja2vUnts/2HBHJKDTwxuuKcZQzTWh7a7m 26D4WxrGoJLXPPaLBdT9oOeSw8YAb+XBSHwH7s6Bs7nj3MxaCpxDMS9G0Slv3WAjGAAl aU0QrYDDvkWRuDX9/UWhXF+opyttg1vY96eSbaR5fw2rP5eLbC1SHRHC632lfKMkgKHq WoBpFrV1Of90oaAUs8ES5u4au4qgRoyq20COFo3h+YnsMtuOXhWOBlXq9nXdCN13E/wD VTcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7yk4tcbPBb5WLLtBxfs1yZTDf4Jjt1ukwbT6Yg7D82w=; b=hZl9lrc+XLLDMD/LUaFjY8o7s022hb+s03Dehx20+8qyyFT9COdTIR1aQhNMV6E+KY gVtGdbwAFyFJrA3CuKe216hy+ML4nenQCjEi708eNkgpi/IBb2xvOKrkRBu6lKcJGF3Z B11VykdQ+j9VC1khpheJqPVk9RIRi0ANvQgBW8pRIJGGJlsiGfF0/8SixXSlwk3liXis u935q1e1Z+n5nxwX28v5WyxnLtAGu5tf6trYPZIWvO9r80YAohg6ifftQLOtm9vx3lfD EG9BtJdMpv6zsmgQKmiGlpNQEqNWV/eSB60bHfj/wUwCjQkSz/dcK/xwwwZI9wwOC1ym n/xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=b9wY18us; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si1152053plx.325.2019.03.30.02.41.24; Sat, 30 Mar 2019 02:41:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=b9wY18us; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730563AbfC3Jko (ORCPT + 99 others); Sat, 30 Mar 2019 05:40:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:36860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730352AbfC3Jkn (ORCPT ); Sat, 30 Mar 2019 05:40:43 -0400 Received: from localhost (unknown [62.119.166.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 10E25218A6; Sat, 30 Mar 2019 09:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553938842; bh=UUUsc2YEK6jUrQB1mE7DirtN25/9BTwMtnB1WDaIO88=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b9wY18usn8EbvWTIueyf8KLg67mSElrt3kzu1dHQvRzuvYqLhF/bDIGAl6b/2ehbd RPSLJqO5DYL+ClrX0ENpZKUfzzZpGO0/7ftYcLp/mP8yei95GUVdvZlsryiWNzINBf jHa/eLFIAdE7s4iuEQi7UO/b0BEULlsv5UNhoSkQ= Date: Sat, 30 Mar 2019 10:40:39 +0100 From: Greg KH 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 Subject: Re: [BACKPORT 4.4.y 02/25] ALSA: compress: add support for 32bit calls in a 64bit kernel 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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