LKML Archive on lore.kernel.org
 help / color / Atom feed
From: Denis Efremov <efremov@linux.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block <linux-block@vger.kernel.org>,
	"Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>,
	Willy Tarreau <w@1wt.eu>
Subject: [GIT PULL] Floppy cleanups for next
Date: Mon, 16 Mar 2020 13:47:11 +0300
Message-ID: <57ce0ee0-839c-a889-0bc0-ec46985e76d3@linux.com> (raw)

Hi Jens,

The following changes since commit 5d50c8f405bf91d9d9a48628fde0f2f4ff069d7b:

  Merge branch 'for-5.7/io_uring' into for-next (2020-03-14 17:20:45 -0600)

are available in the Git repository at:

  https://github.com/evdenis/linux-floppy tags/floppy-for-5.7

Please pull

----------------------------------------------------------------
Floppy patches for 5.7

Cleanups from Willy Tarreau:
  - expansion of macros referencing global or local variables with
    equivalent code
  - removal of incomplete support for second FDC from ARM code
  - renaming the "fdc" global variable to "current_fdc" to differ
    between global and local context

Changes were compile tested on arm, x86 arches. Changes introduce
no binary difference on x86 arch (before and after the patches).
On arm, incomplete support for second FDC removed. This set of
patches with commit 2e90ca68 ("floppy: check FDC index for errors
before assigning it") was tested with syzkaller and simple
write/read/format tests for no new issues.

Signed-off-by: Denis Efremov <efremov@linux.com>

----------------------------------------------------------------
Willy Tarreau (16):
      floppy: cleanup: expand macro FDCS
      floppy: cleanup: expand macro UFDCS
      floppy: cleanup: expand macro UDP
      floppy: cleanup: expand macro UDRS
      floppy: cleanup: expand macro UDRWE
      floppy: cleanup: expand macro DP
      floppy: cleanup: expand macro DRS
      floppy: cleanup: expand macro DRWE
      floppy: cleanup: expand the R/W / format command macros
      floppy: cleanup: expand the reply_buffer macros
      floppy: remove dead code for drives scanning on ARM
      floppy: remove incomplete support for second FDC from ARM code
      floppy: prepare ARM code to simplify base address separation
      floppy: introduce new functions fdc_inb() and fdc_outb()
      floppy: separate the FDC's base address from its registers
      floppy: rename the global "fdc" variable to "current_fdc"

 arch/arm/include/asm/floppy.h |   88 +----
 drivers/block/floppy.c        | 1093 +++++++++++++++++++++++++++++++----------------------------
 include/uapi/linux/fdreg.h    |   18 +-
 3 files changed, 586 insertions(+), 613 deletions(-)

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16 10:47 Denis Efremov [this message]
2020-03-16 15:08 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57ce0ee0-839c-a889-0bc0-ec46985e76d3@linux.com \
    --to=efremov@linux.com \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git