mbox series

[0/7] scsi: bfa: do_gettimeofday removal

Message ID 20171110153715.1929456-1-arnd@arndb.de
Headers show
Series scsi: bfa: do_gettimeofday removal | expand

Message

Arnd Bergmann Nov. 10, 2017, 3:37 p.m. UTC
The bfa driver is one of the main users of do_gettimeofday(), a function
that I'm trying to remove as part of the y2038 cleanup.

The timestamps are all uses in slightly different ways, so this has turned
into a rather longish series for doing something that should be simple.

The last patch in the series ("scsi: bfa: use 64-bit times in
bfa_aen_entry_s ABI") is one that needs to be reviewed very carefully,
and it can be skipped if the maintainers prefer to leave the 32-bit ABI
unchanged, the rest are hopefully fairly straightforward.

      Arnd

Arnd Bergmann (7):
  scsi: bfa: use ktime_get_real_ts64 for firmware timestamp
  scsi: bfa: use proper time accessor for stats_reset_time
  scsi: bfa: improve bfa_ioc_send_enable/disable data
  scsi: bfa: document overflow of io_profile_start_time
  scsi: bfa: replace bfa_get_log_time() with ktime_get_real_seconds()
  scsi: bfa: try to sanitize vendor netlink events
  scsi: bfa: use 64-bit times in bfa_aen_entry_s ABI

 drivers/scsi/bfa/bfa_cs.h       |  6 +++---
 drivers/scsi/bfa/bfa_defs_svc.h |  3 ++-
 drivers/scsi/bfa/bfa_fcpim.c    |  3 ++-
 drivers/scsi/bfa/bfa_fcpim.h    |  4 ++--
 drivers/scsi/bfa/bfa_ioc.c      |  8 ++++---
 drivers/scsi/bfa/bfa_port.c     | 15 +++----------
 drivers/scsi/bfa/bfa_port.h     |  2 +-
 drivers/scsi/bfa/bfa_svc.c      | 47 ++++++++++++-----------------------------
 drivers/scsi/bfa/bfa_svc.h      |  2 +-
 drivers/scsi/bfa/bfad_bsg.c     |  4 +---
 drivers/scsi/bfa/bfad_im.h      | 32 +++++++++++++++++++---------
 11 files changed, 56 insertions(+), 70 deletions(-)

-- 
2.9.0

Comments

Christoph Hellwig Nov. 10, 2017, 5:24 p.m. UTC | #1
This stuff look ok - but I have a bigger question and that is if
bfa is still alive at all.  Everytime I look at it I have doubts if
it works at all, so I wonder if we need to keep it on life support.
Gurumurthy, Anil Nov. 10, 2017, 5:33 p.m. UTC | #2
The bfa drivers are in deep maintenance mode for some time now. We have not had issues reported on them for a while, but it would be good to continue to have them.

The series looks ok to me too.

Thanks,
Anil

-----Original Message-----
From: Christoph Hellwig [mailto:hch@lst.de] 

Sent: 10 November 2017 22:55
To: Arnd Bergmann <arnd@arndb.de>
Cc: Gurumurthy, Anil <Anil.Gurumurthy@cavium.com>; Kalluru, Sudarsana <Sudarsana.Kalluru@cavium.com>; James E . J . Bottomley <jejb@linux.vnet.ibm.com>; Martin K . Petersen <martin.petersen@oracle.com>; linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org; y2038@lists.linaro.org; hch@lst.de; hare@suse.com; jthumshirn@suse.de
Subject: Re: [PATCH 0/7] scsi: bfa: do_gettimeofday removal

This stuff look ok - but I have a bigger question and that is if bfa is still alive at all.  Everytime I look at it I have doubts if it works at all, so I wonder if we need to keep it on life support.
Martin K. Petersen Nov. 21, 2017, 3:04 a.m. UTC | #3
Arnd,

> The bfa driver is one of the main users of do_gettimeofday(), a

> function that I'm trying to remove as part of the y2038 cleanup.

>

> The timestamps are all uses in slightly different ways, so this has

> turned into a rather longish series for doing something that should be

> simple.

>

> The last patch in the series ("scsi: bfa: use 64-bit times in

> bfa_aen_entry_s ABI") is one that needs to be reviewed very carefully,

> and it can be skipped if the maintainers prefer to leave the 32-bit

> ABI unchanged, the rest are hopefully fairly straightforward.


Applied to 4.16/scsi-queue, thanks!

Will drop #7 if something breaks.

-- 
Martin K. Petersen	Oracle Linux Engineering