1. 09 11月, 2017 2 次提交
  2. 08 11月, 2017 3 次提交
    • H
      s390: remove named saved segment support · 978fa72e
      Heiko Carstens 提交于
      Remove the support to create a z/VM named saved segment (NSS). This
      feature is not supported since quite a while in favour of jump labels,
      function tracing and (now) CPU alternatives. All of these features
      require to write to the kernel text section which is not possible if
      the kernel is contained within an NSS.
      
      Given that memory savings are minimal if kernel images are shared and
      in addition updates of shared images are painful, the NSS feature can
      be removed.
      Reviewed-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      978fa72e
    • H
      s390/archrandom: Reconsider s390 arch random implementation · f44fa887
      Harald Freudenberger 提交于
      The reworked version of the random device driver now calls
      the arch_get_random_* functions on a very high frequency.
      It does about 100.000 calls to arch_get_random_long for
      providing 10 MB via /dev/urandom. Each invocation was
      fetching entropy from the hardware random generator which
      has a rate limit of about 4 MB/s. As the trng invocation
      waits until enough entropy is gathered, the random device
      driver is slowed down dramatically.
      
      The s390 true random generator is not designed for such
      a high rate. The TRNG is more designed to be used together
      with the arch_get_random_seed_* functions. This is similar
      to the way how powerpc has implemented their arch random
      functionality.
      
      This patch removes the invocations of the s390 TRNG for
      arch_get_random_long() and arch_get_random_int() but leaving
      the invocations for arch_get_random_seed_long() and
      arch_get_random_seed_int(). So the s390 arch random
      implementation now contributes high quality entropy to
      the kernel random device for reseeding.
      Signed-off-by: NHarald Freudenberger <freude@linux.vnet.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      f44fa887
    • C
      s390/pci: do not require AIS facility · 48070c73
      Christian Borntraeger 提交于
      As of today QEMU does not provide the AIS facility to its guest.  This
      prevents Linux guests from using PCI devices as the ais facility is
      checked during init. As this is just a performance optimization, we can
      move the ais check into the code where we need it (calling the SIC
      instruction). This is used at initialization and on interrupt. Both
      places do not require any serialization, so we can simply skip the
      instruction.
      
      Since we will now get all interrupts, we can also avoid the 2nd scan.
      As we can have multiple interrupts in parallel we might trigger spurious
      irqs more often for the non-AIS case but the core code can handle that.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Reviewed-by: NPierre Morel <pmorel@linux.vnet.ibm.com>
      Reviewed-by: NHalil Pasic <pasic@linux.vnet.ibm.com>
      Acked-by: NSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      48070c73
  3. 03 11月, 2017 2 次提交
  4. 02 11月, 2017 2 次提交
  5. 26 10月, 2017 3 次提交
  6. 23 10月, 2017 3 次提交
  7. 19 10月, 2017 5 次提交
  8. 18 10月, 2017 7 次提交
  9. 16 10月, 2017 6 次提交
  10. 12 10月, 2017 1 次提交
  11. 09 10月, 2017 6 次提交