uio/gen-pci: don't enable interrupts in ISR
Subsystems (2)
PATCH 1/1 uio/gen-pci: don't enable interrupts in ISR
As reported by Anthony in a short way:
|irq 17 handler uio_interrupt+0x0/0x68 enabled interrupts |NIP [c0069d84] handle_irq_event_percpu+0x260/0x26c
The problem here is that spin_unlock_irq() enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even if IRQF_DISABLED has not been specified since v2.6.35. Therefore this patch uses simple spin_locks().
Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland. So there is _no_ protection against read-modify-write of user vs kernel so even that pci_block_user_cfg_access() is kinda pointless. pci_block_user_cfg_access() in open() + ->irqcontrol() should fix this. Since changes the API of this driver I leave it up to the relevant users what to do.
--- drivers/uio/uio_pci_generic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/uio/uio_pci_generic.c +2 -2
@@ -57,7 +57,7 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info)BUILD_BUG_ON (PCI_COMMAND %4 );BUILD_BUG_ON (PCI_COMMAND +2 !=PCI_STATUS ); -spin_lock_irq (&gdev->lock); +spin_lock (&gdev->lock);pci_block_user_cfg_access (pdev);/* Read both command and status registers in a single 32-bit operation.
@@ -83,7 +83,7 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info) done:pci_unblock_user_cfg_access (pdev); -spin_unlock_irq (&gdev->lock); +spin_unlock (&gdev->lock);return ret; }
Signature · 1 line
1.7.4.4
Michael S. Tsirkin
maintainerQuoted 5 lines · Sebastian Andrzej Siewior
As reported by Anthony in a short way:
|irq 17 handler
uio_interrupt+0x0/0x68enabled interrupts |NIP [c0069d84]handle_irq_event_percpu+0x260/0x26c
Quoted 8 lines
The problem here is that
spin_unlock_irq()enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even ifIRQF_DISABLEDhas not been specified since v2.6.35. Therefore this patch uses simplespin_locks().Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.
Quoted 2 lines
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland.
Through sysfs.
Quoted 3 lines
So there is _no_ protection
against read-modify-write of user vs kernel so even thatpci_block_user_cfg_access()is kinda pointless.
I didn't get that. pci_block_user_cfg_access is to prevent sysfs access while we read modify-write the command register. Isn't it effective for that?
Quoted 1 line
pci_block_user_cfg_access()inopen()+ ->irqcontrol() should fix this.
Why block in open? We don't access the device there, do we?
Quoted 2 lines
Since changes the API of this driver I leave it up to the relevant users what to do.
Yes, changing API's not good, we need to keep existing userspace happy.
Quoted 31 lines
Cc <[email protected]> # .35 and laterReported-and-Tested-by Anthony Foiani <[email protected]>Signed-off-by Sebastian Andrzej Siewior <[email protected]>--- drivers/uio/uio_pci_generic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)drivers/uio/uio_pci_generic.c +2
-2@@ -57,7 +57,7 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info)BUILD_BUG_ON (PCI_COMMAND %4 );BUILD_BUG_ON (PCI_COMMAND +2 !=PCI_STATUS ); -spin_lock_irq (&gdev->lock); +spin_lock (&gdev->lock);pci_block_user_cfg_access (pdev);/* Read both command and status registers in a single 32-bit operation. @@ -83,7 +83,7 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info) done:pci_unblock_user_cfg_access (pdev); -spin_unlock_irq (&gdev->lock); +spin_unlock (&gdev->lock);return ret; }Signature · 1 line
1.7.4.4
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Sebastian Andrzej Siewior
As reported by Anthony in a short way:
|irq 17 handler
uio_interrupt+0x0/0x68enabled interrupts |NIP [c0069d84]handle_irq_event_percpu+0x260/0x26cThe problem here is that
spin_unlock_irq()enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even ifIRQF_DISABLEDhas not been specified since v2.6.35. Therefore this patch uses simplespin_locks().
Quoted 7 lines
Quoted 3 lines
Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.
That sounds reasonable.
Quoted 5 lines
Quoted 3 lines
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland.
Through sysfs.
How? With /sys/devices/pci.../enable ?
Thanks,
Hans
Quoted 7 lines · * Michael S. Tsirkin | 2011-08-05 00:04:13 [+0300]:
Quoted 3 lines
Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.
Okay. So I post antoher patch with this lock removed and cc stable.
Quoted 7 lines
Quoted 3 lines
So there is _no_ protection
against read-modify-write of user vs kernel so even thatpci_block_user_cfg_access()is kinda pointless.I didn't get that.
pci_block_user_cfg_accessis to prevent sysfs access while we read modify-write the command register. Isn't it effective for that?
It probably works well enough for you because you only care the one bit and don't change anything else in the kernel driver.
Lets assume user land changes another bit in this register:
user kernel
read config() |
add a bit |
| interrupt
| block user land
| read + clear + write
| unblock user landwrite config back |
You did not *re-read* the config field after the interrupt so kernel's modifications are lost. So you get two interrupts accounted while only one happend. It seems to me that you could drop this "user block" thing since you never change anything outside of this command register and it does not stop the race.
Quoted 3 lines
Quoted 1 line
pci_block_user_cfg_access()inopen()+ ->irqcontrol() should fix this.Why block in open? We don't access the device there, do we?
Yeah. That might not work for you since you need change other values.
Sebastian
Michael S. Tsirkin
maintainerQuoted 26 lines · Hans J. Koch
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Sebastian Andrzej Siewior
As reported by Anthony in a short way:
|irq 17 handler
uio_interrupt+0x0/0x68enabled interrupts |NIP [c0069d84]handle_irq_event_percpu+0x260/0x26cThe problem here is that
spin_unlock_irq()enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even ifIRQF_DISABLEDhas not been specified since v2.6.35. Therefore this patch uses simplespin_locks().Quoted 7 lines
Quoted 3 lines
Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.That sounds reasonable.
Quoted 4 lines
Quoted 3 lines
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland.
Quoted 6 lines
Quoted 1 line
Through sysfs.
How? With
/sys/devices/pci.../enable?Thanks,
Hans
No. By writing to the command register using/sys/bus/pci/devices/.../config
Michael S. Tsirkin
maintainerQuoted 30 lines · Sebastian Andrzej Siewior
Quoted 7 lines · * Michael S. Tsirkin | 2011-08-05 00:04:13 [+0300]:
Quoted 3 lines
Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.Okay. So I post antoher patch with this lock removed and cc stable.
Quoted 7 lines
Quoted 3 lines
So there is _no_ protection
against read-modify-write of user vs kernel so even thatpci_block_user_cfg_access()is kinda pointless.I didn't get that.
pci_block_user_cfg_accessis to prevent sysfs access while we read modify-write the command register. Isn't it effective for that?It probably works well enough for you because you only care the one bit and don't change anything else in the kernel driver.
Lets assume user land changes another bit in this register:
user kernel
readconfig()|
add a bit || interrupt | block user land | read + clear + write | unblock user land
Quoted 6 lines
write config back |
You did not *re-read* the config field after the interrupt so kernel's modifications are lost. So you get two interrupts accounted while only one happend.
So we might get an extra interrupt. This is harmless, and the window seems small enough for this not to affect performance. This will also never happen if
userspace is careful to make interrupt unmasking its last action.
Quoted 3 lines
It seems to me that you could drop this "user block" thing since you never change anything outside of this command register and it does not stop the race.
I don't think so: if we did, we would lose userspace modifications to other bits such as io enable, and there's no way to guess what their values should be.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
pci_block_user_cfg_access()inopen()+ ->irqcontrol() should fix this.Why block in open? We don't access the device there, do we?
Yeah. That might not work for you since you need change other values.
Sebastian
Quoted 17 lines · Michael S. Tsirkin
Quoted 16 lines · Hans J. Koch
Quoted 15 lines · Michael S. Tsirkin
Quoted 13 lines · Sebastian Andrzej Siewior
As reported by Anthony in a short way:
|irq 17 handler
uio_interrupt+0x0/0x68enabled interrupts |NIP [c0069d84]handle_irq_event_percpu+0x260/0x26cThe problem here is that
spin_unlock_irq()enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even ifIRQF_DISABLEDhas not been specified since v2.6.35. Therefore this patch uses simplespin_locks().Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.That sounds reasonable.
Should I hack up a patch to remove the lock, or do you have anything in your pipeline?
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland.
Through sysfs.
Quoted 7 lines
Quoted 4 lines
How? With
/sys/devices/pci.../enable?Thanks,
HansNo. By writing to the command register using
/sys/bus/pci/devices/.../config
Hope that works at all times...
Anyway, the spin_lock in uio_pci_generic.c definetly doesn't help.
Thanks,
Hans
Michael S. Tsirkin
maintainerQuoted 18 lines · Hans J. Koch
Quoted 17 lines · Michael S. Tsirkin
Quoted 16 lines · Hans J. Koch
Quoted 15 lines · Michael S. Tsirkin
Quoted 13 lines · Sebastian Andrzej Siewior
As reported by Anthony in a short way:
|irq 17 handler
uio_interrupt+0x0/0x68enabled interrupts |NIP [c0069d84]handle_irq_event_percpu+0x260/0x26cThe problem here is that
spin_unlock_irq()enables the interrupts which is a no-no in interrupt context because they always run with interrupts disabled. This is the case even ifIRQF_DISABLEDhas not been specified since v2.6.35. Therefore this patch uses simplespin_locks().Looking at it further here is only one spot where the lock is hold. So giving the fact that an ISR is not reentrant and is not executed on two cpus at the same time why do we need a lock here?
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
I'm not sure anymore. I think the idea was to use it for synchronization down the road somehow,
but it never materialized. Let's drop that lock completely.That sounds reasonable.
Should I hack up a patch to remove the lock, or do you have anything in your pipeline?
Please do.
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 6 lines
Quoted 4 lines
The driver lacks of ->irqcontrol function so I guess the interrupt is enabled via direct PCI-access in userland.
Through sysfs.
How? With
/sys/devices/pci.../enable?Thanks,
Hans
Quoted 8 lines
Quoted 2 lines
No. By writing to the command register using
/sys/bus/pci/devices/.../configHope that works at all times...
Anyway, thespin_lockinuio_pci_generic.cdefinetly doesn't help.Thanks,
Hans
True.
Quoted 7 lines · Michael S. Tsirkin
Quoted 3 lines
It seems to me that you could drop this "user block" thing since you never change anything outside of this command register and it does not stop the race.
I don't think so: if we did, we would lose userspace modifications to other bits such as io enable, and there's no way to guess what their values should be.
How so?
Sebastian
Michael S. Tsirkin
maintainerQuoted 5 lines · Sebastian Andrzej Siewior
Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines
It seems to me that you could drop this "user block" thing since you never change anything outside of this command register and it does not stop the race.
Quoted 7 lines
Quoted 3 lines
I don't think so: if we did, we would lose userspace modifications to other bits such as io enable, and there's no way to guess what their values should be.
How so?
Sebastian
Let's assume we start with e.g. io enable bit cleared.
user kernel
read config |
set io enable |
| interrupt
| read + set interrupt mask
write config back |
write
We end up with io enable bit cleared. Locking around rmw that we have fixes this race.
Signature · 1 line
MST
Quoted 7 lines · Michael S. Tsirkin
Quoted 3 lines
Should I hack up a patch to remove the lock, or do you have anything in your pipeline?
Please do.
Here it is:
Greg (and anyone else...), you can also pull this from branch "uio-for-greg" from
git://hansjkoch.de/git/linux-hjk
Quoted 1 line
From
ff74627ade002d40fe1f902b7aadab8b1f15f889Mon Sep 17 00:00:00 2001
From: "Hans J. Koch" <[email protected]>
Date: Tue, 9 Aug 2011 20:34:31 +0200
Subject: [PATCH] uio: uio_pci_generic: Remove useless spin_lock
The spin_lock in uio_pci_generic.c is only used in the interrupt handler, which cannot be executed twice at the same time. That makes the lock rather pointless. This patch removes it.
--- drivers/uio/uio_pci_generic.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/uio/uio_pci_generic.c +0 -5
@@ -24,7 +24,6 @@#include <linux/pci.h> #include <linux/slab.h> #include <linux/uio_driver.h> -#include <linux/spinlock.h> #define DRIVER_VERSION "0.01.0"#define DRIVER_AUTHOR "Michael S. Tsirkin <[email protected]>"
@@ -33,7 +32,6 @@struct uio_pci_generic_dev {struct uio_info info;struct pci_dev *pdev; -spinlock_t lock;/* guards command register accesses */ }; static inline struct uio_pci_generic_dev *
@@ -57,7 +55,6 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info)BUILD_BUG_ON (PCI_COMMAND %4 );BUILD_BUG_ON (PCI_COMMAND +2 !=PCI_STATUS ); -spin_lock_irq (&gdev->lock);pci_block_user_cfg_access (pdev);/* Read both command and status registers in a single 32-bit operation.
@@ -83,7 +80,6 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info) done:pci_unblock_user_cfg_access (pdev); -spin_unlock_irq (&gdev->lock);return ret; }
@@ -158,7 +154,6 @@ static int __devinit probe(struct pci_dev *pdev, gdev->info.irq_flags =IRQF_SHARED ; gdev->info.handler = irqhandler; gdev->pdev = pdev; -spin_lock_init (&gdev->lock);if (uio_register_device (&pdev->dev, &gdev->info)) goto err_register;
Signature · 1 line
1.7.5.4
Quoted 13 lines · Michael S. Tsirkin
Let's assume we start with e.g. io enable bit cleared.
user kernel
read config |
set io enable |
| interrupt
| read + set interrupt mask
write config back |
write
Quoted 2 lines
We end up with io enable bit cleared. Locking around rmw that we have fixes this race.
Okay, forgot about the SMP case, sorry.
Sebastian
Quoted 25 lines · Hans J. Koch
Quoted 7 lines · Michael S. Tsirkin
Quoted 3 lines
Should I hack up a patch to remove the lock, or do you have anything in your pipeline?
Please do.
Here it is:
Greg (and anyone else...), you can also pull this from branch "uio-for-greg" from
git://hansjkoch.de/git/linux-hjkQuoted 1 line
From
ff74627ade002d40fe1f902b7aadab8b1f15f889Mon Sep 17 00:00:00 2001From: "Hans J. Koch" <[email protected]>
Date: Tue, 9 Aug 2011 20:34:31 +0200
Subject: [PATCH] uio:uio_pci_generic: Remove uselessspin_lockThe
spin_lockinuio_pci_generic.cis only used in the interrupt handler, which cannot be executed twice at the same time. That makes the lock rather pointless. This patch removes it.
Quoted 8 lines
Cc "Michael S. Tsirkin" <[email protected]>Cc Chris Wright <[email protected]>Cc Jesse Barnes <[email protected]>Cc Sebastian Andrzej Siewior <[email protected]>Cc Anthony Foiani <[email protected]>Reported-by Anthony Foiani <[email protected]>Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Hans J. Koch <[email protected]>
I also suggest this for the stable trees.
Quoted 50 lines
--- drivers/uio/uio_pci_generic.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)drivers/uio/uio_pci_generic.c +0
-5@@ -24,7 +24,6 @@#include <linux/pci.h> #include <linux/slab.h> #include <linux/uio_driver.h> -#include <linux/spinlock.h> #define DRIVER_VERSION "0.01.0"#define DRIVER_AUTHOR "Michael S. Tsirkin <[email protected]>"@@ -33,7 +32,6 @@struct uio_pci_generic_dev {struct uio_info info;struct pci_dev *pdev; -spinlock_t lock;/* guards command register accesses */ }; static inline struct uio_pci_generic_dev *@@ -57,7 +55,6 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info)BUILD_BUG_ON (PCI_COMMAND %4 );BUILD_BUG_ON (PCI_COMMAND +2 !=PCI_STATUS ); -spin_lock_irq (&gdev->lock);pci_block_user_cfg_access (pdev);/* Read both command and status registers in a single 32-bit operation. @@ -83,7 +80,6 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info) done:pci_unblock_user_cfg_access (pdev); -spin_unlock_irq (&gdev->lock);return ret; }@@ -158,7 +154,6 @@ static int __devinit probe(struct pci_dev *pdev, gdev->info.irq_flags =IRQF_SHARED ; gdev->info.handler = irqhandler; gdev->pdev = pdev; -spin_lock_init (&gdev->lock);if (uio_register_device (&pdev->dev, &gdev->info)) goto err_register;Signature · 1 line
1.7.5.4
Quoted 36 lines · Michael S. Tsirkin
Quoted 25 lines · Hans J. Koch
Quoted 7 lines · Michael S. Tsirkin
Quoted 3 lines
Should I hack up a patch to remove the lock, or do you have anything in your pipeline?
Please do.
Here it is:
Greg (and anyone else...), you can also pull this from branch "uio-for-greg" from
git://hansjkoch.de/git/linux-hjkQuoted 1 line
From
ff74627ade002d40fe1f902b7aadab8b1f15f889Mon Sep 17 00:00:00 2001From: "Hans J. Koch" <[email protected]>
Date: Tue, 9 Aug 2011 20:34:31 +0200
Subject: [PATCH] uio:uio_pci_generic: Remove uselessspin_lockThe
spin_lockinuio_pci_generic.cis only used in the interrupt handler, which cannot be executed twice at the same time. That makes the lock rather pointless. This patch removes it.Quoted 8 lines
Cc "Michael S. Tsirkin" <[email protected]>Cc Chris Wright <[email protected]>Cc Jesse Barnes <[email protected]>Cc Sebastian Andrzej Siewior <[email protected]>Cc Anthony Foiani <[email protected]>Reported-by Anthony Foiani <[email protected]>Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Hans J. Koch <[email protected]>
Quoted 3 lines
I also suggest this for the stable trees.
Why, it's not fixing a bug that anyone hits, right?
greg k-h
Quoted 3 lines · * Greg KH | 2011-08-22 17:49:43 [-0700]:
Quoted 1 line
Quoted 1 line
Cc Anthony Foiani <[email protected]>Why, it's not fixing a bug that anyone hits, right?
"earlier" the interrupt handler was executed either with interrupts enabled or disabled if IRQF_DISABLED was specified. Later the latter become default even if IRQF_DISABLED was not specified. This lead to the splat Anthony reported because the irq handler was entered with IRQs disabled and the ISR enabled them via spin_unlock_irq(). My initial patch simply used spin_unlock_irqrestore() (and its counterpart) to have the same state as we had.
So the bug Anthony hit was that the interrupts were enabled where they should not be.
Quoted 1 line
greg k-h
Sebastian
Quoted 14 lines · Sebastian Andrzej Siewior
Quoted 3 lines · * Greg KH | 2011-08-22 17:49:43 [-0700]:
Quoted 1 line
Quoted 1 line
Cc Anthony Foiani <[email protected]>Why, it's not fixing a bug that anyone hits, right?
"earlier" the interrupt handler was executed either with interrupts enabled or disabled if
IRQF_DISABLEDwas specified. Later the latter become default even ifIRQF_DISABLEDwas not specified. This lead to the splat Anthony reported because the irq handler was entered with IRQs disabled and the ISR enabled them viaspin_unlock_irq(). My initial patch simply usedspin_unlock_irqrestore()(and its counterpart) to have the same state as we had.
Quoted 7 lines
So the bug Anthony hit was that the interrupts were enabled where they should not be.
Quoted 1 line
greg k-h
Sebastian
Greg, I'll change the commit message so that it becomes clear, and send you a pull request.
There is also one more UIO patch pending. Do you want a separate branch for -stable, or can you cherry-pick that from one UIO branch?
Thanks,
Hans
Quoted 20 lines · Hans J. Koch
Quoted 19 lines · Sebastian Andrzej Siewior
Quoted 3 lines · * Greg KH | 2011-08-22 17:49:43 [-0700]:
Quoted 1 line
Quoted 1 line
Cc Anthony Foiani <[email protected]>Why, it's not fixing a bug that anyone hits, right?
"earlier" the interrupt handler was executed either with interrupts enabled or disabled if
IRQF_DISABLEDwas specified. Later the latter become default even ifIRQF_DISABLEDwas not specified. This lead to the splat Anthony reported because the irq handler was entered with IRQs disabled and the ISR enabled them viaspin_unlock_irq(). My initial patch simply usedspin_unlock_irqrestore()(and its counterpart) to have the same state as we had.So the bug Anthony hit was that the interrupts were enabled where they should not be.
Quoted 1 line
greg k-h
Quoted 8 lines
Quoted 2 lines
Sebastian
Greg, I'll change the commit message so that it becomes clear, and send you a pull request.
There is also one more UIO patch pending. Do you want a separate branch for -stable, or can you cherry-pick that from one UIO branch?
Forget it, I just saw you already added it to your tree.
Thanks,
Hans