linux_dsm_epyc7002/arch/ia64/hp/sim
Jiri Slaby 964105b501 TTY: simserial, remove support of shared interrupts
It never worked there. The ISR was never written for that kind of
stuff. So remove all that crap with a hash of linked lists and pass
the pointer directly to the ISR.

BTW this answers the question there:
  * I don't know exactly why they don't use the dev_id opaque data
  * pointer instead of this extra lookup table

-> Because they thought they will support more devices bound to a
single interrupt w/o IRQF_SHARED. They would need exactly the hash
there.

What I don't understand is rebinding of the interrupt in the shutdown
path. They perhaps meant to do just synchronize_irq? In any case, this
is all gone and free_irq there properly.

By removing the hash we save some bits (exactly NR_IRQS * 8 bytes of
.bss and over a kilo of .text):
before:
   text    data     bss     dec     hex filename
  19600     320    8227   28147    6df3 ../a/ia64/arch/ia64/hp/sim/simserial.o
after:
   text    data     bss     dec     hex filename
  18568     320      28   18916    49e4 ../a/ia64/arch/ia64/hp/sim/simserial.o

Note that a shared interrupt could not work too. request_irq requires
data parameter to be non-NULL. So the whole IRQ_T exercise was
pointless.

Finally, this helps us remove another two members of async_struct :).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-08 12:27:57 -08:00
..
boot hpsim, fix SAL handling in fw-emu 2012-03-08 12:26:30 -08:00
hpsim_console.c [IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator) 2007-09-01 02:52:25 -07:00
hpsim_irq.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_setup.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_ssc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig IA64: HP_SIMETH needs to depend upon NET 2008-12-10 15:24:50 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simeth.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
simscsi.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
simserial.c TTY: simserial, remove support of shared interrupts 2012-03-08 12:27:57 -08:00