Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267979AbUIJWht (ORCPT ); Fri, 10 Sep 2004 18:37:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267994AbUIJWhZ (ORCPT ); Fri, 10 Sep 2004 18:37:25 -0400 Received: from higgs.elka.pw.edu.pl ([194.29.160.5]:20426 "EHLO higgs.elka.pw.edu.pl") by vger.kernel.org with ESMTP id S268004AbUIJW1p (ORCPT ); Fri, 10 Sep 2004 18:27:45 -0400 From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [patch][0/6] ide: sanitize PIO code, take 2 Date: Sat, 11 Sep 2004 00:26:20 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200409110026.20064.bzolnier@elka.pw.edu.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 31 Hi, This patchkit: - converts PIO code to use scatterlists instead of directly walking bios - fixes longstanding 'data integrity on error' issue in non-taskfile PIO code - unifies single/multiple PIO handling - unifies taskfile/non-taskfile PIO handling Changes: - resync with -bk (first two patches are now merged) - ide_sg_init() become generic init_sg_one() helper (linux/scatterlist.h) (thanks to Jeff and Jens for suggestions) - use init_sg_one() in Etrax IDE driver - bugfix: use sg->length instead of sg_dma_len(sg) (found thanks to rmk's concerns) - uninline ide_pio_multi() - make ide_pio_sector() and task_error() static - drop removal of bio walking for now Testing (esp. on non x86) and comments are welcomed. BTW 'sanitize DMA' patchkit should be ready soon. Bartlomiej - 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/