Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756662AbZCER6y (ORCPT ); Thu, 5 Mar 2009 12:58:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755390AbZCER6o (ORCPT ); Thu, 5 Mar 2009 12:58:44 -0500 Received: from el-out-1112.google.com ([209.85.162.176]:41582 "EHLO el-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754638AbZCER6n (ORCPT ); Thu, 5 Mar 2009 12:58:43 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=vzih3b2AiTux+QXqBb/kBU92XpTrLiOaH5JBknRnbkMWrJ55cYKRGBf57zq4/qxNtf dthJUZWGvOmFKi3ZjjtQxBlFXN9J88knqUFFvZjZpJ5xUQu/SzlB9cOfcO3P2hSbInoA lHynwg1MVijhaAKsQIyAWEOOP1SmYykilAB64= MIME-Version: 1.0 Reply-To: petkovbb@gmail.com In-Reply-To: <200903051752.41611.bzolnier@gmail.com> References: <1236158216-23052-1-git-send-email-petkovbb@gmail.com> <200903051549.22518.bzolnier@gmail.com> <9ea470500903050719m7952f84ct56475c6445846eeb@mail.gmail.com> <200903051752.41611.bzolnier@gmail.com> Date: Thu, 5 Mar 2009 18:58:40 +0100 Message-ID: <9ea470500903050958v5d2219d0ha98fb35ae65fb75d@mail.gmail.com> Subject: Re: [PATCH 3/3] ide-{cd,floppy}: do not map all cmds to an sg From: Borislav Petkov To: Bartlomiej Zolnierkiewicz Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1193 Lines: 34 On Thu, Mar 5, 2009 at 5:52 PM, Bartlomiej Zolnierkiewicz wrote: > On Thursday 05 March 2009, Borislav Petkov wrote: >> Hi, >> >> > Unrelated to the original issue that the patch tries to fix >> > (sg mapping no data commands which OOPS-es w/ DEBUG_VIRTUAL=y): >> > - moving ide_init_sg_cmd()+ide_map_sg() to ide_issue_pc() >> > - converting the code to use blk_rq_bytes() >> >> aah, ok, now I could get exactly what you meant :). However, (!) ide-floppy is >> potentially broken in the same way for data-less cmds since we unconditionally > > Indeed, you are right but it seems that this is not a new problem. Sure, as I said before, nobody's using ide-floppy. > Wait... it makes things "worse" as there should have been 3 patches: > (IOW _three_ patchpoints! ;): > > - ide-cd fix for problematic patch > - ide-floppy fix for mainline > - ide-atapi cleanup for pata tree Yeah, I get the hint. :). -- Regards/Gruss, Boris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/