Commit Graph

300 Commits

Author SHA1 Message Date
Fish (David B. Trout)
a2e06edcc9 Fixes for unreliable console keepalive issue #44:
1. Fix configure.ac tcp.h header and keepalive constant checks and report during ./configure the keepalive support that was detected (none, basic or full).

2. #include the correct tcp.h header in hstdinc.h

3. Issue warning message at build time (during make) when full keepalive support is missing or partial.

4. Report partial or missing keepalive build support via version.c "With" and "Without" messages.

5. Issue error or warning in both impl.c as well as in 'conkpalv' command/statement processing function when keepalive support is either missing or only partially supported. Same for the 2703 device 'ka=' option too.

6. Enhance set_socket_keepalive function to let the caller know not only about failures but also about partial-only successes (so they can be reported).

7. Fix the bad setsockopt call in the Linux version of the set_socket_keepalive function that was using the wrong value, which was at the heart of the problem. (Note: setsockopt was returning "success" anyway even though it had actually failed! [to accomplish anything].)

8. Introduce new get_socket_keepalive function to allow retrieval and reporting of current keepalive settings for a given socket.

9. Manually maintain socket keepalive values for Windows builds so it too can support retrieval of current values via new get_socket_keepalive function. (see comments in w32util.c "get_socket_keepalive" function!)

10. Minor HTML documentation edits.
2015-01-19 13:35:29 -08:00
Ian Shorter
4035c417e6 Provide device initialization routine with number of devices
specifed on the configuation statement or attach command.
2015-01-19 11:23:42 +01:00
Fish (David B. Trout)
ca365ac788 OSTAILOR z/VSE: suppress LRA Special Operation Exceptions 2014-09-22 02:21:50 -07:00
Fish (David B. Trout)
6cb172649d Fix for issue #27 "Little issue with I/O subsystem":
Completely disable (for the time being) all Shared Device Server code (since it's causing problems) until we can determine how to properly integrate it into our existing more accurate (architecturally correct) channel subsystem code.
2014-08-21 07:38:48 -07:00
Fish (David B. Trout)
b9b659b87a DEVBLK Shared Device Server field renames:
To more easily locate (grep) code pertaining to one feature from another that of another it helps for them to use different variable names.
2014-08-21 07:21:07 -07:00
Fish (David B. Trout)
312dc2a5ac Rename CCKDDASD_EXT struct fields to eliminate confusion:
To more easily locate (grep) code pertaining to one feature from another that of another it helps for them to use different variable names.
2014-08-21 06:54:26 -07:00
Fish (David B. Trout)
ca8f5d26f0 Use separate COND/counter in console printer handler. 2014-08-21 06:37:14 -07:00
Peter J. Jansen
f6cf335fa8 Enhanced CTC emulation via TCP/IP:
Device type CTCE permits channel-to-channel communications across a TCP/IP link between two Hercules systems. Unlike CTCT, CTCE is designed for general purpose payloads and is not restricted to IP traffic.
2014-07-13 01:54:51 -07:00
Ian Shorter
6be49ba41b LCS would hang during statup of Linux s390x (i.e. Fedora 20) 2014-04-12 16:43:57 +02:00
John P. Hartmann
677ac05291 Fish's patch to fix lots of portability issues. 2013-12-25 09:54:01 +01:00
Roger Bowler
93da32d335 PTF fixes:
PTF request vertical polarization
Add PTF (Perform Topology Function) testcase
STSI 15.1.2 Mag2 and vertical polarization
STSI 15.1.2 fix attribution
2013-11-12 00:08:07 -08:00
Fish (David B. Trout)
5a7bcb5dba Support for tape blocks sizes up to 2MB. 2013-09-19 07:21:32 -07:00
dasdman
9bef9237ac Correct LPARNUM and CPUIDFMT handling. 2013-09-10 18:21:59 -07:00
Fish (David B. Trout)
b238b8b23b OPTION_CAPPING made permanent; build option removed. 2013-05-31 11:22:11 -07:00
Fish (David B. Trout)
77ec1fea76 OPTION_IPLPARM made permanent; build option removed. 2013-05-31 11:03:02 -07:00
Fish (David B. Trout)
c92c385973 OPTION_WAKEUP_SELECT_VIA_PIPE made permanent; build option removed. 2013-05-31 10:56:59 -07:00
Fish (David B. Trout)
81c7a8e29b OPTION_FAST_DEVLOOKUP made permanent; build option removed. 2013-05-31 10:53:27 -07:00
Fish (David B. Trout)
8f115000d5 OPTION_TAPE_AUTOMOUNT made permanent; build option removed. 2013-05-31 10:49:34 -07:00
Fish (David B. Trout)
5d5d1593e6 Add missing CRW and related code:
Original CRW code was committed May 2011 (dc04e4858f) but was accidentally backed out by Jan sometime later.  Mark's recent "Channel cleanup (Phase I)" commits (May 2013) re-introduced MOST of the May 2011 code, but itself accidentally missed some of it. This is the part that Mark missed re-adding such that the original May 2011 correction to our CRW handling is once again complete.
2013-05-26 17:18:40 -07:00
Fish (David B. Trout)
3dcb548ca5 Removed all "FishIO" (OPTION_FISHIO) code:
NOTE: HQA scenarios in hqadefs.h adjusted appropriately. Please update your hqa.h headers a needed.
2013-05-21 10:36:30 -07:00
dasdman
accb0fc03b Channel cleanup (Phase I). 2013-05-02 09:59:27 -07:00
Fish (David B. Trout)
f95b41b6af QETH shutdown/halt tweak/fix 2013-04-24 15:23:36 -07:00
Fish (David B. Trout)
b5ad541f1d More reliable QETH shutdown handling 2013-04-15 19:45:56 -07:00
dasdman
ca86f2322e Keep CPU timer properly running in wait state for LPAR mode operations (uses thread user time when active; TOD when in wait state). 2013-03-28 17:57:06 -07:00
dasdman
538d6e77eb Correct REGS alignment after CPU ID addition. 2013-03-18 16:54:42 -07:00
dasdman
a7e3e048c3 Maintain CPU ID by engine as well as primary in SYSBLK; required for proper identification of older 370 models where frame version code, serial number and CPU model number may all differ (for example, 3168 with a 3062 AP). Part 1 of 2 (part 2 implements the updated commands). 2013-03-18 01:40:36 -07:00
dasdman
815f45d610 Performance: Cacheline and page alignment for REGS and definition of alignment macros. 2013-03-18 01:29:59 -07:00
dasdman
fbeee31641 Correct setting of LPAR for STIDP, etc. 2013-02-11 23:15:10 -08:00
Fish (David B. Trout)
113a28ddcd highsubchan must be int to prevent wrap 2013-02-08 15:30:38 -08:00
Fish (David B. Trout)
0f74bd520d Add help support for internal debugging commands:
$zapcmd, $locate (was locate) and $test commands: cmdlvl must also be at least prog + dev + debug, else commands are hidden/inaccessible.
2013-01-19 22:07:18 -08:00
dasdman
4ca770c9f4 Clean-up capacity and capping reporting to guest. 2013-01-05 23:46:09 -08:00
dasdman
c4bcd6ce5a Continue CPU timer fix 2012-12-26 22:34:02 -08:00
Fish (David B. Trout)
4555834f84 CMPSC-Enhancement Facility 2012-09-10 13:38:37 -07:00
Jan Jaeger
78cf21849c Preliminary / experimental FCP DASD support 2012-04-29 21:13:28 +10:00
Jan Jaeger
4dcc32937c Correct QDIO structure name 2012-04-07 23:55:50 +10:00
Jan Jaeger
d24c2032d8 Move qeth device dependent fields to devblk 2012-04-07 20:24:22 +10:00
Jan Jaeger
93f0a25da9 Remove OSA device type dependency 2012-04-07 10:27:05 +10:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
39da1cd7ae QETH Updates 2012-03-23 22:35:16 +11:00
Jan Jaeger
d9c5b5fef3 Minor updates 2012-03-15 21:05:06 +11:00
Enrico Sorichetti
56bcd5da54 printer skip to channel fix 2012-03-11 14:30:15 +01:00
Harold Grovesteen
823bfd4dcc Create STSI 3.2.2 value field vmid and defaults for vmid and cpid, previously created
git-svn-id: file:///home/jj/hercules.svn/trunk@7791 956126f8-22a0-4046-8f4a-272fa8102e63
2011-10-02 17:57:40 +00:00
Jan Jaeger
80d8a6c449 Fixed cpuverid taking to effect in esame mode
git-svn-id: file:///home/jj/hercules.svn/trunk@7776 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-21 08:07:27 +00:00
Fish (David B Trout)
a1ed31f316 Compiler warning refactoring cont'd: use new WARNING macro.
git-svn-id: file:///home/jj/hercules.svn/trunk@7767 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-20 12:11:17 +00:00
Harold Grovesteen
b68570cb05 Added cpid to GSYSINFO in preparation for STSI 3.2.2
git-svn-id: file:///home/jj/hercules.svn/trunk@7756 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-18 18:36:43 +00:00
Jan Jaeger
a7d5fba923 CHP mods
git-svn-id: file:///home/jj/hercules.svn/trunk@7736 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-02 02:06:57 +00:00
Jan Jaeger
85beb7e9dc QDIO Thin Interrupts
git-svn-id: file:///home/jj/hercules.svn/trunk@7726 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-28 11:41:48 +00:00
Jan Jaeger
784ae54918 Reverting changes that have not yet been agreed
Open questions: named vs unnamed structures
                what field go in device specfic structures vs general structure
                use of malloc vs static
                naming convention


git-svn-id: file:///home/jj/hercules.svn/trunk@7702 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-18 09:47:11 +00:00
Paul Gorlinsky
56c1f9b16a dev->filename moved to a pointer.
git-svn-id: file:///home/jj/hercules.svn/trunk@7700 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-17 22:58:40 +00:00
Paul Gorlinsky
7f91edefcf Create union in DEVBLK for device dependent information.
git-svn-id: file:///home/jj/hercules.svn/trunk@7698 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-17 21:01:37 +00:00