public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/vineet/arc-port-latest] (39 commits) Documentation for ARC port
@ 2020-07-07 22:02 Vineet Gupta
  0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2020-07-07 22:02 UTC (permalink / raw)
  To: glibc-cvs

The branch 'vineet/arc-port-latest' was updated to point to:

 44d941864d... Documentation for ARC port

It previously pointed to:

 9cd814f16d... rebase fixes

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  9cd814f... rebase fixes
  2f85b81... Documentation for ARC port
  d35291e... build-many-glibcs.py: Enable ARC builds
  e651710... ARC: Build Infrastructure
  d9140db... ARC: ABI lists
  4558088... ARC: Linux Startup and Dynamic Loading
  a6c2446... ARC: Linux ABI
  1900af4... ARC: Linux Syscall Interface
  ee38587... ARC: hardware floating point support
  8e2cba1... ARC: math soft float support
  92f0c09... ARC: Atomics and Locking primitives
  7e065d6... ARC: Thread Local Storage support
  d59464c... ARC: startup and dynamic linking code
  93df1d5... ARC: ABI Implementation
  9fc9c3d... xxx: test hacks
  077ec03... sysv: linux: Pass 64-bit version of msgctl syscall
  aad0a9c... msgctl: Remove the msg-pad.h file
  7fac5a0... bits/msg.h: Split out struct msqid_ds
  1a3fa79... sysv: linux: Pass 64-bit version of semctl syscall
  80dd745... sysv: linux: Define the __semid_ds32 struct

commit 9cd814f16dc973edd10a72a2929708eaee7dc74b
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu Jun 25 17:17:57 2020 -0700

    rebase fixes

commit 2f85b8129da1503b14884333337cff5e5b35dbc2
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Mon Nov 20 12:46:17 2017 -0800

    Documentation for ARC port

commit d35291ee9ca6f777b984cf4dfde26928590532d0
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu Mar 12 18:29:59 2020 -0700

    build-many-glibcs.py: Enable ARC builds

commit e65171066c1ea81e67a2f8cc6eed93078ff4ee86
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 15:39:50 2018 -0700

    ARC: Build Infrastructure

commit d9140db886549cd99c86c995b727bfe53188780f
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 15:37:08 2018 -0700

    ARC: ABI lists

commit 455808862f6c6ce6a1732b2ed32f29fd0deb672d
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:58:39 2018 -0700

    ARC: Linux Startup and Dynamic Loading

commit a6c244613639c50b2951f6e36f68b4b2954ce67e
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:56:39 2018 -0700

    ARC: Linux ABI

commit 1900af4da70ef3e9ca19192eed29a8f6baf893ed
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:44:30 2018 -0700

    ARC: Linux Syscall Interface

commit ee38587bf7d8059e363face9bdd5c728cb5d54d1
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Mon Nov 4 16:20:37 2019 -0800

    ARC: hardware floating point support

commit 8e2cba1cdd059d10a36dc0e7c8aab407ac258027
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Wed Oct 24 14:22:54 2018 -0700

    ARC: math soft float support

commit 92f0c09ff0bed8670304f518f0f5a969fbee8d36
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:36:39 2018 -0700

    ARC: Atomics and Locking primitives

commit 7e065d66c3c9b9d055a2a5cd1e25b6eb33f70340
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:18:04 2018 -0700

    ARC: Thread Local Storage support
    
    This includes all 4 TLS addressing models

commit d59464c4d58a28b2856ce361a39fe812626758af
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 12:36:32 2018 -0700

    ARC: startup and dynamic linking code
    
    Code for C runtime startup and dynamic loading including PLT layout.

commit 93df1d54c77620ab319b6eaddf2eae551cc976b9
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 11:38:32 2018 -0700

    ARC: ABI Implementation
    
    This code deals with the ARC ABI.

commit 9fc9c3d546a0d23a810e7dd558dd708b27d5e94b
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu Mar 12 19:33:44 2020 -0700

    xxx: test hacks

commit 077ec03854801bc36a3a64e0f407d548f1b5d6b9
Author: Alistair Francis <alistair.francis@wdc.com>
Date:   Wed Apr 29 10:28:35 2020 -0700

    sysv: linux: Pass 64-bit version of msgctl syscall
    
    Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

commit aad0a9cbe1d9c6551f75311e2068d03595fd64a6
Author: Alistair Francis <alistair.francis@wdc.com>
Date:   Wed Apr 29 10:08:41 2020 -0700

    msgctl: Remove the msg-pad.h file
    
    Remove the msg-pad.h file and instead have architectures override the
    struct msqid_ds via the bits/types/struct_msqid_ds.h file.

commit 7fac5a095e9043d556d654a88074397cee0ea71f
Author: Alistair Francis <alistair.francis@wdc.com>
Date:   Wed Apr 29 10:02:53 2020 -0700

    bits/msg.h: Split out struct msqid_ds
    
    Split out the struct msqid_ds into it's own file. This will allow us to
    have architectures specify their own version.

commit 1a3fa7988335c0e6a97f7debfc5bf1091c94bd17
Author: Alistair Francis <alistair.francis@wdc.com>
Date:   Tue Feb 25 15:11:23 2020 -0800

    sysv: linux: Pass 64-bit version of semctl syscall
    
    The semctl_syscall() function passes a union semun to the kernel. The
    union includes struct semid_ds as a member. On 32-bit architectures the
    Linux kernel provides a *_high version of the 32-bit sem_otime and
    sem_ctime values. These can be combined to get a 64-bit version of the
    time.
    
    This patch adjusts the struct semid_ds to support the *_high versions
    of sem_otime and sem_ctime. For 32-bit systems with a 64-bit time_t
    this can be used to get a 64-bit time from the two 32-bit values.
    
    Due to alignment differences between 64-bit and 32-bit variables we
    also need to set nsems to ensure it's correct.

commit 80dd745e45ceabc231e53877206677e8d8666898
Author: Alistair Francis <alistair.francis@wdc.com>
Date:   Tue Feb 25 15:11:23 2020 -0800

    sysv: linux: Define the __semid_ds32 struct
    
    Define a struct for 32-bit systems for the semctl command.


Summary of changes (added commits):
-----------------------------------

  44d9418... Documentation for ARC port
  b2e9122... build-many-glibcs.py: Enable ARC builds
  acf4633... ARC: Build Infrastructure
  31b52e8... ARC: ABI lists
  3c46cfb... ARC: Linux Startup and Dynamic Loading
  5b131ea... ARC: Linux ABI
  2eb909e... ARC: Linux Syscall Interface
  1fec532... ARC: hardware floating point support
  a78b89d... ARC: math soft float support
  9d9133f... ARC: Atomics and Locking primitives
  4b0b108... ARC: Thread Local Storage support
  8d892fd... ARC: startup and dynamic linking code
  a627360... ARC: ABI Implementation
  bdacce7... xxx: test hacks
  feb2d33... sysv: linux: Add 64-bit time_t variant for shmctl
  19f0daf... sysvipc: Remove the linux shm-pad.h file
  d1d6f92... sysvipc: Split out linux struct shmid_ds
  e6fc514... sysv: linux: Add 64-bit time_t variant for msgctl
  ec8a57d... sysvipc: Remove the linux msq-pad.h file
  3721447... sysvipc: Split out linux struct semid_ds
  14e996e... sysv: linux: Add 64-bit time_t variant for semctl
  81b1c8c... hurd: Simplify usleep timeout computation
  269e4c1... htl: Enable cancel*16 an cancel*20 tests
  f512321... hurd: Add remaining cancelation points
  1f34133... hurd: fix usleep(ULONG_MAX)
  3c9f67e... hurd: Make fcntl(F_SETLKW*) cancellation points
  09effdc... hurd: make wait4 a cancellation point
  d60fdd4... hurd: Fix port definition in HURD_PORT_USE_CANCEL
  fd3df63... hurd: make close a cancellation point
  4cafcd8... hurd: make open and openat cancellation points
  67a7807... hurd: clean fd and port on thread cancel
  6414eef... htl: Move cleanup handling to non-private libc-lock
  cf2c8cc... htl: Fix includes for lockfile
  726117e... htl: avoid cancelling threads inside critical sections
  b9ca3f3... tst-cancel4-common.c: fix calling socketpair
  4fdd4d4... x86: Detect Intel Advanced Matrix Extensions
  6e540ca... Set width of JUNGSEONG/JONGSEONG characters from UD7B0 to U
  1d21fb1... S390: Optimize __memset_z196.
  0792c8a... S390: Optimize __memcpy_z196.

commit 44d941864dae85ec99872520c14fb31437b73640
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Mon Nov 20 12:46:17 2017 -0800

    Documentation for ARC port
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit b2e912286c9bc01fb515ac3048a0912299c55ed5
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu Mar 12 18:29:59 2020 -0700

    build-many-glibcs.py: Enable ARC builds
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit acf4633e58b4077c332a2943d0d345e2007d0765
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 15:39:50 2018 -0700

    ARC: Build Infrastructure
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 31b52e80e75f5f7b5073fd8d4ed73762f9e946db
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 15:37:08 2018 -0700

    ARC: ABI lists
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 3c46cfbc2dbcf8a4b117c59bf9dd700ea0f00e28
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:58:39 2018 -0700

    ARC: Linux Startup and Dynamic Loading
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 5b131ea5a38331ea63d647cfc35cc67ed3afc16d
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:56:39 2018 -0700

    ARC: Linux ABI
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 2eb909ec39a38db337a2d2fa4f4cdf5851e018cd
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:44:30 2018 -0700

    ARC: Linux Syscall Interface

commit 1fec5326df410cedffdea6dfda2e143679978f08
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Mon Nov 4 16:20:37 2019 -0800

    ARC: hardware floating point support
    
    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

commit a78b89d0f1c8d7a0d8182d3ba95ceb11a0c90b4a
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Wed Oct 24 14:22:54 2018 -0700

    ARC: math soft float support
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 9d9133f11e635e6d33f7d59e5fd256011d718fb9
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:36:39 2018 -0700

    ARC: Atomics and Locking primitives
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 4b0b10872f1e00ef958ce5bce592978f921be53c
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 14:18:04 2018 -0700

    ARC: Thread Local Storage support
    
    This includes all 4 TLS addressing models
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit 8d892fde326ba0c88525f4074743cb5bbbfd7caa
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 12:36:32 2018 -0700

    ARC: startup and dynamic linking code
    
    Code for C runtime startup and dynamic loading including PLT layout.
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit a62736069b0a3d98af771c4b746f455dfce2607a
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Tue Oct 23 11:38:32 2018 -0700

    ARC: ABI Implementation
    
    This code deals with the ARC ABI.
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

commit bdacce719e4038f24d75ada1fc0736fb50816313
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu Mar 12 19:33:44 2020 -0700

    xxx: test hacks

commit feb2d33e22e2d86c92ae42e7dc92c3ba3eb88c85
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jun 30 14:08:22 2020 -0300

    sysv: linux: Add 64-bit time_t variant for shmctl
    
    To provide a y2038 safe interface a new symbol __shmctl64 is added
    and __shmctl is change to call it instead (it adds some extra buffer
    copy for the 32 bit time_t implementation).
    
    Two two new structures are added:
    
      1. kernel_shmid64_ds: used internally only on 32-bit architectures
         to issue the syscall.  A handful architectures (hppa, i386, mips,
         powerpc32, and sparc32) requires specific implementation due its
         specific kernel ABI.
    
      2. shmid_ds64: this is only for __TIMESIZE != 64 to use along with
         the 64-bit semctl.  It is different than the kernel one because
         the exported 64-bit time_t might require different alignment
         depending of the architecture ABI.
    
    So the resulting implementation does:
    
      1. For 64-bit architectures it assumes shmid_ds already contains
         64-bit time_t fields it will result in just the __shmctl symbol
         using the __shmctl64 code.  The shmid_ds argument is passed as-is
         to the syscall.
    
      2. For 32-bit architectures with default 64-bit time_t (newer ABIs
         such riscv32 or arc), it will also result in only one exported
         symbol but with the required high/low time handling.
    
      3. Finally for 32-bit architecture with both 32-bit and 64-bit time_t
         support we follow the already set way to provide one symbol with
         64-bit time_t support and implement the 32-bit time_t support on
         basis of the 64-bit one.
    
         The default 32-bit symbol will allocate and copy the shmid_ds
         over multiple buffers, but this should be deprecated in favor
         of the __shmctl64 anyway.
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.  I also did some sniff
    tests on powerpc, powerpc64, mips, mips64, armhf, sparcv9, and
    sparc64.

commit 19f0daf89ac6b31d3b3e82ce83a3a489d39129c7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jun 30 11:02:52 2020 -0300

    sysvipc: Remove the linux shm-pad.h file
    
    Each architecture overrides the struct msqid_ds which its required
    kernel ABI one.
    
    Checked on x86_64-linux-gnu and some bases sysvipc tests on hppa,
    mips, mipsle, mips64, mips64le, sparc64, sparcv9, powerpc64le,
    powerpc64, and powerpc.

commit d1d6f9219236232d36b8961a0b564c32394d8bdf
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jun 30 10:30:14 2020 -0300

    sysvipc: Split out linux struct shmid_ds
    
    This will allow us to have architectures specify their own version.
    
    Not semantic changes expected.  Checked with a build against the
    all affected ABIs.

commit e6fc514b3d2cab211d1df3e2da0a4f423df83e67
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jun 30 09:20:48 2020 -0300

    sysv: linux: Add 64-bit time_t variant for msgctl
    
    To provide a y2038 safe interface a new symbol __msgctl64 is added
    and __msgctl is change to call it instead (it adds some extra buffer
    copy for the 32 bit time_t implementation).
    
    Two two new structures are added:
    
      1. kernel_msqid64_ds: used internally only on 32-bit architectures
         to issue the syscall.  A handful architectures (hppa, i386, mips,
         powerpc32, and sparc32) requires specific implementation due its
         specific kernel ABI.
    
      2. msqid_ds64: this is only for __TIMESIZE != 64 to use along with
         the 64-bit semctl.  It is different than the kernel one because
         the exported 64-bit time_t might require different alignment
         depending of the architecture ABI.
    
    So the resulting implementation does:
    
      1. For 64-bit architectures it assumes msqid_ds already contains
         64-bit time_t fields it will result in just the __msgctl symbol
         using the __msgctl64 code.  The msgid_ds argument is passed as-is
         to the syscall.
    
      2. For 32-bit architectures with default 64-bit time_t (newer ABIs
         such riscv32 or arc), it will also result in only one exported
         symbol but with the required high/low time handling.
    
      3. Finally for 32-bit architecture with both 32-bit and 64-bit time_t
         support we follow the already set way to provide one symbol with
         64-bit time_t support and implement the 32-bit time_t support on
         basis of the 64-bit one.
    
         The default 32-bit symbol will allocate and copy the msqid_ds
         over multiple buffers, but this should be deprecated in favor
         of the __msgctl64 anyway.
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.  I also did some sniff
    tests on powerpc, powerpc64, mips, mips64, armhf, sparcv9, and
    sparc64.

commit ec8a57d1f1f5f9a3d614353fc36600d3f0cab47f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Jun 29 21:33:14 2020 -0300

    sysvipc: Remove the linux msq-pad.h file
    
    Each architecture overrides the struct msqid_ds which its required
    kernel ABI one.
    
    Checked on x86_64-linux-gnu and some bases sysvipc tests on hppa,
    mips, mipsle, mips64, mips64le, sparc64, sparcv9, powerpc64le,
    powerpc64, and powerpc.

commit 3721447c84e4a500c5af87f9048a9de6b4fe4964
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Jun 29 18:21:14 2020 -0300

    sysvipc: Split out linux struct semid_ds
    
    This will allow us to have architectures specify their own version.
    
    Not semantic changes expected.  Checked with a build against the
    all affected ABIs.

commit 14e996e0f7ae00bf04f4e5c06d1e92ba39df921b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Jun 29 13:35:50 2020 -0300

    sysv: linux: Add 64-bit time_t variant for semctl
    
    Different than others 64-bit time_t syscalls, the SysIPC interface
    does not provide a new set of syscall for y2038 safeness.  Instead it
    uses ununsed fields in semid_ds structure the return the high bits for
    the timestamps.
    
    To provide a y2038 safe interface a new symbol __semctl64 is added
    and __semctl is change to call it instead (it adds some extra buffer
    copy for the 32 bit time_t implementation).
    
    Two two new structures are added:
    
      1. kernel_semid64_ds: used internally only on 32-bit architectures
         to issue the syscall.  A handful architectures (hppa, i386, mips,
         powerpc32, sparc32) requires specific implementation due its
         specific kernel ABI.
    
      2. semid_ds64: this is only for __TIMESIZE != 64 to use along with
         the 64-bit semctl.  It is different than the kernel one because
         the exported 64-bit time_t might require different alignment
         depending of the architecture ABI.
    
    So the resulting implementation does:
    
      1. For 64-bit architectures it assumes semid_ds already contains
         64-bit time_t fields it will result in just the __semctl symbol
         using the __semctl64 code.  The semid_ds argument is passed as-is
         to the syscall.
    
      2. For 32-bit architectures with default 64-bit time_t (newer ABIs
         such riscv32 or arc), it will also result in only one exported
         symbol but with the required high/low handling.
    
         It might be possible to optimize it further to avoid the
         kernel_semid64_ds to semun transformation if the exported ABI
         for the architectures matches the expected kernel ABI, but the
         implementation is already complex enough and don't think this
         should be a hotspot in any case.
    
      3. Finally for 32-bit architecture with both 32-bit and 64-bit time_t
         support we follow the already set way to provide one symbol with
         64-bit time_t support and implement the 32-bit time_t support on
         basis of the 64-bit one.
    
         The default 32-bit symbol will allocate and copy the semid_ds
         over multiple buffers, but this should be deprecated in favor
         of the __semctl64 anyway.
    
    Checked on i686-linux-gnu and x86_64-linux-gnu.  I also did some sniff
    tests on powerpc, powerpc64, mips, mips64, armhf, sparcv9, and
    sparc64.

commit 81b1c8cbb5b486da60e81ba8435ddf08e554206a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 29 10:09:14 2020 +0200

    hurd: Simplify usleep timeout computation
    
    as suggested by Andreas Schwab
    
    * sysdeps/mach/usleep.c (usleep): Divide timeout in an overflow-safe way.

commit 269e4c17cd1031d3feb5adc608edf7c2b19b3f41
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 29 00:14:52 2020 +0000

    htl: Enable cancel*16 an cancel*20 tests
    
    * nptl/tst-cancel16.c, tst-cancel20.c, tst-cancelx16.c, tst-cancelx20.c:
    Move to...
    * sysdeps/pthread: ... here.
    * nptl/Makefile: Move corresponding references and rules to...
    * sysdeps/pthread/Makefile: ... here.
    * sysdeps/mach/hurd/i386/Makefile: Xfail tst-cancel*16 for now: missing
    barrier pshared support, but test should be working otherwise.

commit f512321130d6c02332d441812ef4780908bb744d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 22:41:18 2020 +0000

    hurd: Add remaining cancelation points
    
    * hurd/hurdselect.c: Include <sysdep-cancel.h>.
    (_hurd_select): Surround call to __mach_msg with enabling async cancel.
    * sysdeps/mach/hurd/accept4.c: Include <sysdep-cancel.h>.
    (__libc_accept4): Surround call to __socket_accept with enabling async cancel,
    and use HURD_DPORT_USE_CANCEL instead of HURD_DPORT_USE.
    * sysdeps/mach/hurd/connect.c: Include <sysdep-cancel.h>.
    (__connect): Surround call to __file_name_lookup and __socket_connect
    with enabling async cancel, and use HURD_DPORT_USE_CANCEL instead of
    HURD_DPORT_USE.
    * sysdeps/mach/hurd/fdatasync.c: Include <sysdep-cancel.h>.
    (fdatasync): Surround call to __file_sync with enabling async cancel, and use
    HURD_DPORT_USE_CANCEL instead of HURD_DPORT_USE.
    * sysdeps/mach/hurd/fsync.c: Include <sysdep-cancel.h>.
    (fsync): Surround call to __file_sync with enabling async cancel, and use
    HURD_DPORT_USE_CANCEL instead of HURD_DPORT_USE.
    * sysdeps/mach/hurd/ioctl.c: Include <sysdep-cancel.h>.
    (__ioctl): When request is TIOCDRAIN, surround call to send_rpc with enabling
    async cancel, and use HURD_DPORT_USE_CANCEL instead of HURD_DPORT_USE.
    * sysdeps/mach/hurd/msync.c: Include <sysdep-cancel.h>.
    (msync): Surround call to __vm_object_sync with enabling async cancel.
    * sysdeps/mach/hurd/sigsuspend.c: Include <sysdep-cancel.h>.
    (__sigsuspend): Surround call to __mach_msg with enabling async cancel.
    * sysdeps/mach/hurd/sigwait.c: Include <sysdep-cancel.h>.
    (__sigwait): Surround wait code with enabling async cancel.
    * sysdeps/mach/msync.c: Include <sysdep-cancel.h>.
    (msync): Surround call to __vm_msync with enabling async cancel.
    * sysdeps/mach/sleep.c: Include <sysdep-cancel.h>.
    (__sleep): Surround call to __mach_msg with enabling async cancel.
    * sysdeps/mach/usleep.c: Include <sysdep-cancel.h>.
    (usleep): Surround call to __vm_msync with enabling async cancel.

commit 1f3413338e31e65f2927aef02c151745d3b899d0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 22:39:03 2020 +0000

    hurd: fix usleep(ULONG_MAX)
    
    * sysdeps/mach/usleep.c (usleep): Clamp timeout when rouding up.

commit 3c9f67e7a58487c084f3b657c1dfe490d1a318d5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 18:18:43 2020 +0000

    hurd: Make fcntl(F_SETLKW*) cancellation points
    
    and add _nocancel variant.
    
    * sysdeps/mach/hurd/Makefile [io] (sysdep_routines): Add fcntl_nocancel.
    * sysdeps/mach/hurd/fcntl.c [NOCANCEL]: Include <not-cancel.h>.
    [!NOCANCEL]: Include <sysdep-cancel.h>.
    (__libc_fcntl) [!NOCANCEL]: Surround __file_record_lock call with enabling async cancel, and use HURD_FD_PORT_USE_CANCEL instead of HURD_FD_PORT_USE.
    * sysdeps/mach/hurd/fcntl_nocancel.c: New file, defines __fcntl_nocancel by including fcntl.c.
    * sysdeps/mach/hurd/not-cancel.h (__fcntl64_nocancel): Replace macro with
        __fcntl_nocancel declaration with hidden proto, and make
        __fcntl64_nocancel call __fcntl_nocancel.

commit 09effdc9b04a3a04d4f128fd9e1fa360a251ed81
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 16:54:49 2020 +0000

    hurd: make wait4 a cancellation point
    
    and add _nocancel variant.
    
    * sysdeps/mach/hurd/Makefile [io] (sysdep_routines): Add wait4_nocancel.
    * sysdeps/mach/hurd/wait4.c: Include <sysdep-cancel.h>
    (__wait4): Surround __proc_wait with enabling async cancel, and use
    __USEPORT_CANCEL instead of __USEPORT.
    * sysdeps/mach/hurd/wait4_nocancel.c: New file, contains previous
    implementation of __wait4.
    * sysdeps/mach/hurd/not-cancel.h (__waitpid_nocancel): Replace macro with
    __wait4_nocancel declaration with hidden proto, and make
    __waitpid_nocancel call __wait4_nocancel.

commit d60fdd480d32a9b4bd781cae08e9a8dfb486c3bd
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 17:00:47 2020 +0000

    hurd: Fix port definition in HURD_PORT_USE_CANCEL
    
    * sysdeps/hurd/include/hurd/port.h: Include <libc-lock.h>.
    (HURD_PORT_USE_CANCEL): Add local port variable.

commit fd3df63fb6649720098597ced59eaa3969bbe067
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 15:51:40 2020 +0000

    hurd: make close a cancellation point
    
    and add _nocancel variant.
    
    * sysdeps/mach/hurd/Makefile [io] (sysdep_routines): Add close_nocancel.
    * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE, ld.GLIBC_PRIVATE): Add
    __close_nocancel.
    * sysdeps/mach/hurd/i386/localplt.data (__close_nocancel): Allow PLT.
    * sysdeps/mach/hurd/close.c: Include <sysdep-cancel.h>
    (__libc_close): Surround _hurd_fd_close with enabling async cancel.
    * sysdeps/mach/hurd/close_nocancel.c: New file.
    * sysdeps/mach/hurd/not-cancel.h (__close_nocancel): Replace macro with
    declaration with hidden proto.

commit 4cafcd839f8c002c290ec96c64b6d85e87e270e8
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 14:27:36 2020 +0000

    hurd: make open and openat cancellation points
    
    and add _nocancel variants.
    
    * sysdeps/mach/hurd/Makefile [io] (sysdep_routines): Add open_nocancel
    openat_nocancel.
    * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE, ld.GLIBC_PRIVATE): Add
    __open_nocancel.
    * sysdeps/mach/hurd/dl-sysdep.c (__open_nocancel): Add alias, check it
    is not hidden.
    * sysdeps/mach/hurd/i386/localplt.data (__open_nocancel): Allow PLT.
    * sysdeps/mach/hurd/not-cancel.h (__open_nocancel, __openat_nocancel:
    Replace macros with declarations with hidden proto.
    (__open64_nocancel, __openat64_nocancel): Call __open_nocancel and
    __openat_nocancel instead of __open64 and __openat64.
    * sysdeps/mach/hurd/open.c: Include <sysdep-cancel.h>
    (__libc_open): Surround __file_name_lookup with enabling async cancel.
    * sysdeps/mach/hurd/openat.c: Likewise.
    * sysdeps/mach/hurd/open_nocancel.c,
    sysdeps/mach/hurd/openat_nocancel.c: New files.

commit 67a78072e2891b8b16a7bfb20675844a5854cff1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jun 28 00:15:56 2020 +0000

    hurd: clean fd and port on thread cancel
    
    HURD_*PORT_USE link fd and port with a stack-stored structure, so on
    thread cancel we need to cleanup this.
    
    * hurd/fd-cleanup.c: New file.
    * hurd/port-cleanup.c (_hurd_port_use_cleanup): New function.
    * hurd/Makefile (routines): Add fd-cleanup.
    * sysdeps/hurd/include/hurd.h (__USEPORT_CANCEL): New macro.
    * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_port_use_data): New
    structure.
    (_hurd_fd_port_use_cleanup): New prototype.
    (HURD_DPORT_USE_CANCEL, HURD_FD_PORT_USE_CANCEL): New macros.
    * sysdeps/hurd/include/hurd/port.h (_hurd_port_use_data): New structure.
    (_hurd_port_use_cleanup): New prototype.
    (HURD_PORT_USE_CANCEL): New macro.
    * hurd/hurd/fd.h (HURD_FD_PORT_USE): Also refer to HURD_FD_PORT_USE_CANCEL.
    * hurd/hurd.h (__USEPORT): Also refer to __USEPORT_CANCEL.
    * hurd/hurd/port.h (HURD_PORT_USE): Also refer to HURD_PORT_USE_CANCEL.
    
    * hurd/fd-read.c (_hurd_fd_read): Call HURD_FD_PORT_USE_CANCEL instead
    of HURD_FD_PORT_USE.
    * hurd/fd-write.c (_hurd_fd_write): Likewise.
    * sysdeps/mach/hurd/send.c (__send): Call HURD_DPORT_USE_CANCEL instead
    of HURD_DPORT_USE.
    * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise.
    * sysdeps/mach/hurd/sendto.c (__sendto): Likewise.
    * sysdeps/mach/hurd/recv.c (__recv): Likewise.
    * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
    * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Call __USEPORT_CANCEL
    instead of __USEPORT, and HURD_DPORT_USE_CANCEL instead of
    HURD_DPORT_USE.

commit 6414eef6e013f46ee94d5f961af15659e1933182
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 27 18:33:52 2020 +0000

    htl: Move cleanup handling to non-private libc-lock
    
    This adds sysdeps/htl/libc-lock.h which augments sysdeps/mach/libc-lock.h with
    the htl-aware cleanup handling. Otherwise inclusion of libc-lock.h
    without libc-lockP.h would keep only the mach-aware handling.
    
    This also fixes cleanup getting called when the binary is
    statically-linked without libpthread.
    
    * sysdeps/htl/libc-lockP.h (__libc_cleanup_region_start,
    __libc_cleanup_end, __libc_cleanup_region_end,
    __pthread_get_cleanup_stack): Move to...
    * sysdeps/htl/libc-lock.h: ... new file.
    (__libc_cleanup_region_start): Always set handler and arg.
    (__libc_cleanup_end): Always call the cleanup handler.
    (__libc_cleanup_push, __libc_cleanup_pop): New macros.

commit cf2c8cc2c674dd6c1145c6984121ea4754b79162
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 27 12:20:24 2020 +0000

    htl: Fix includes for lockfile
    
    These only need exactly to use __libc_ptf_call.
    
    * sysdeps/htl/flockfile.c: Include <libc-lockP.h> instead of
    <libc-lock.h>
    * sysdeps/htl/ftrylockfile.c: Include <libc-lockP.h> instead of
    <errno.h>, <pthread.h>, <stdio-lock.h>
    * sysdeps/htl/funlockfile.c: Include <libc-lockP.h> instead of
    <pthread.h> and <stdio-lock.h>

commit 726117e01b59b129d471304fec4bf78fa280ff9e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 27 02:34:18 2020 +0200

    htl: avoid cancelling threads inside critical sections
    
    Like hurd_thread_cancel does.
    
    * sysdeps/mach/hurd/htl/pt-docancel.c: Include <hurd/signal.h>
    (__pthread_do_cancel): Lock target thread's critical_section_lock and ss
    lock around thread mangling.

commit b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 26 22:44:30 2020 +0200

    tst-cancel4-common.c: fix calling socketpair
    
    PF_UNIX was actually never intended to be passed as protocol parameter to
    socket() calls: it is a protocol family, not a protocol.  It happens that
    Linux introduced accepting it during its 2.0 development, but it shouldn't.
    OpenBSD kernels accept it as well, but FreeBSD and NetBSD rightfully do not.
    GNU/Hurd does not either.
    
    * nptl/tst-cancel4-common.c (do_test): Pass 0 instead of PF_UNIX as
    protocol.

commit 4fdd4d41a17dda26c854ed935658154a17d4b906
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jun 25 15:12:57 2020 -0700

    x86: Detect Intel Advanced Matrix Extensions
    
    Intel Advanced Matrix Extensions (Intel AMX) is a new programming
    paradigm consisting of two components: a set of 2-dimensional registers
    (tiles) representing sub-arrays from a larger 2-dimensional memory image,
    and accelerators able to operate on tiles.  Intel AMX is an extensible
    architecture.  New accelerators can be added and the existing accelerator
    may be enhanced to provide higher performance.  The initial features are
    AMX-BF16, AMX-TILE and AMX-INT8, which are usable only if the operating
    system supports both XTILECFG state and XTILEDATA state.
    
    Add AMX-BF16, AMX-TILE and AMX-INT8 support to HAS_CPU_FEATURE and
    CPU_FEATURE_USABLE.

commit 6e540caa21616d5ec5511fafb22819204525138e
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Tue Jun 16 08:29:40 2020 +0200

    Set width of JUNGSEONG/JONGSEONG characters from UD7B0 to UD7FB to 0 [BZ #26120]
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

commit 1d21fb1061cbeb50414a8f371abb36548d90f150
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Fri Jun 26 09:45:11 2020 +0200

    S390: Optimize __memset_z196.
    
    It turned out that an 256b-mvc instruction which depends on the
    result of a previous 256b-mvc instruction is counterproductive.
    Therefore this patch adjusts the 256b-loop by storing the
    first byte with stc and setting the remaining 255b with mvc.
    Now the 255b-mvc instruction depends on the stc instruction.

commit 0792c8ae1aebf538de45ff9a0e2e401a60525de2
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Fri Jun 26 09:45:11 2020 +0200

    S390: Optimize __memcpy_z196.
    
    This patch introduces an extra loop without pfd instructions
    as it turned out that the pfd instructions are usefull
    for copies >=64KB but are counterproductive for smaller copies.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-07 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 22:02 [glibc/vineet/arc-port-latest] (39 commits) Documentation for ARC port Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).